Lines Matching refs:hw
115 #define hw_parent(hw) ((hw)->parent_of_hw + 0)
117 #define hw_sibling(hw) ((hw)->sibling_of_hw + 0)
119 #define hw_child(hw) ((hw)->child_of_hw + 0)
127 #define hw_family(hw) ((hw)->family_of_hw + 0)
129 #define hw_name(hw) ((hw)->name_of_hw + 0)
131 #define hw_args(hw) ((hw)->args_of_hw + 0)
133 #define hw_path(hw) ((hw)->path_of_hw + 0)
139 #define hw_root(hw) ((hw)->root_of_hw + 0)
143 #define hw_system(hw) ((hw)->system_of_hw)
147 struct _sim_cpu *hw_system_cpu (struct hw *hw);
152 #define hw_data(hw) ((hw)->data_of_hw)
154 #define set_hw_data(hw, value) \
155 ((hw)->data_of_hw = (value))
163 (struct hw *me);
165 #define hw_reset(hw) ((hw)->to_reset (hw))
167 #define set_hw_reset(hw, method) \
168 ((hw)->to_reset = method)
197 (struct hw *me,
202 struct hw *client); /*callback/default*/
207 #define set_hw_attach_address(hw, method) \
208 ((hw)->to_attach_address = (method))
211 (struct hw *me,
216 struct hw *client); /*callback/default*/
221 #define set_hw_detach_address(hw, method) \
222 ((hw)->to_detach_address = (method))
231 (struct hw *me,
237 #define hw_io_read_buffer(hw, dest, space, addr, nr_bytes) \
238 ((hw)->to_io_read_buffer (hw, dest, space, addr, nr_bytes))
240 #define set_hw_io_read_buffer(hw, method) \
241 ((hw)->to_io_read_buffer = (method))
244 (struct hw *me,
250 #define hw_io_write_buffer(hw, src, space, addr, nr_bytes) \
251 ((hw)->to_io_write_buffer (hw, src, space, addr, nr_bytes))
253 #define set_hw_io_write_buffer(hw, method) \
254 ((hw)->to_io_write_buffer = (method))
267 (struct hw *bus,
280 (struct hw *bus,
322 (struct hw *me);
333 (struct hw *bus,
340 #define set_hw_unit_decode(hw, method) \
341 ((hw)->to_unit_decode = (method))
344 (struct hw *bus,
352 #define set_hw_unit_encode(hw, method) \
353 ((hw)->to_unit_encode = (method))
364 (struct hw *bus,
368 struct hw *client);
373 #define set_hw_unit_address_to_attach_address(hw, method) \
374 ((hw)->to_unit_address_to_attach_address = (method))
377 (struct hw *bus,
380 struct hw *client);
385 #define set_hw_unit_size_to_attach_size(hw, method) \
386 ((hw)->to_unit_size_to_attach_size = (method))
390 extern char *hw_strdup (struct hw *me, const char *str);
418 (struct hw *me,
423 (struct hw *me,
441 (struct hw *me,
445 extern void hw_vabort (struct hw *me, const char *fmt, va_list ap)
449 (struct hw *me,
454 #define hw_trace_p(hw) ((hw)->trace_of_hw_p + 0)
457 (struct hw *me,
483 struct hw
487 struct hw *parent_of_hw;
488 struct hw *sibling_of_hw;
489 struct hw *child_of_hw;
501 struct hw *root_of_hw;