Home
last modified time | relevance | path

Searched refs:is_host (Results 1 – 3 of 3) sorted by relevance

/openbmc/qemu/include/user/
H A Dthunk.h85 int thunk_type_size_array(const argtype *type_ptr, int is_host);
86 int thunk_type_align_array(const argtype *type_ptr, int is_host);
88 static inline int thunk_type_size(const argtype *type_ptr, int is_host) in thunk_type_size() argument
108 if (is_host) { in thunk_type_size()
115 if (is_host) { in thunk_type_size()
140 return size * thunk_type_size_array(type_ptr + 2, is_host); in thunk_type_size()
143 return se->size[is_host]; in thunk_type_size()
149 static inline int thunk_type_align(const argtype *type_ptr, int is_host) in thunk_type_align() argument
159 if (is_host) { in thunk_type_align()
165 if (is_host) { in thunk_type_align()
[all …]
/openbmc/u-boot/drivers/usb/musb-new/
H A Dmusb_core.h62 #define is_peripheral_active(m) (!(m)->is_host)
63 #define is_host_active(m) ((m)->is_host)
183 { (_musb)->is_host = true; }
185 { (_musb)->is_host = false; }
190 #define MUSB_MODE(musb) ((musb)->is_host ? "Host" : "Peripheral")
388 bool is_host; member
/openbmc/qemu/linux-user/
H A Dthunk.c467 int thunk_type_size_array(const argtype *type_ptr, int is_host) in thunk_type_size_array() argument
469 return thunk_type_size(type_ptr, is_host); in thunk_type_size_array()
472 int thunk_type_align_array(const argtype *type_ptr, int is_host) in thunk_type_align_array() argument
474 return thunk_type_align(type_ptr, is_host); in thunk_type_align_array()