Searched refs:is_host (Results 1 – 3 of 3) sorted by relevance
85 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() argument108 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() argument159 if (is_host) { in thunk_type_align()165 if (is_host) { in thunk_type_align()[all …]
62 #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
467 int thunk_type_size_array(const argtype *type_ptr, int is_host) in thunk_type_size_array() argument469 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() argument474 return thunk_type_align(type_ptr, is_host); in thunk_type_align_array()