/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | qmi_wlfw_v01.c | 14 .elem_size = sizeof(u32), 23 .elem_size = sizeof(enum wlfw_pipedir_enum_v01), 32 .elem_size = sizeof(u32), 41 .elem_size = sizeof(u32), 50 .elem_size = sizeof(u32), 63 .elem_size = sizeof(u32), 72 .elem_size = sizeof(enum wlfw_pipedir_enum_v01), 81 .elem_size = sizeof(u32), 94 .elem_size = sizeof(u16), 103 .elem_size = sizeof(u16), [all …]
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | qmi.c | 32 .elem_size = sizeof(u8), 41 .elem_size = sizeof(u8), 50 .elem_size = sizeof(u8), 59 .elem_size = sizeof(u8), 76 .elem_size = sizeof(u8), 85 .elem_size = sizeof(u32), 94 .elem_size = sizeof(u8), 103 .elem_size = sizeof(u32), 112 .elem_size = sizeof(u8), 121 .elem_size = sizeof(u8), [all …]
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | qmi.c | 50 .elem_size = sizeof(u8), 59 .elem_size = sizeof(u32), 68 .elem_size = sizeof(u8), 77 .elem_size = sizeof(u32), 86 .elem_size = sizeof(u8), 95 .elem_size = sizeof(u8), 104 .elem_size = sizeof(u32), 113 .elem_size = sizeof(u8), 122 .elem_size = sizeof(u8), 131 .elem_size = sizeof(u8), [all …]
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_chain.h | 136 u16 elem_size; member 173 #define ELEMS_PER_PAGE(elem_size) (ECORE_CHAIN_PAGE_SIZE/(elem_size)) argument 175 #define UNUSABLE_ELEMS_PER_PAGE(elem_size, mode) \ argument 178 (elem_size))) : 0) 180 #define USABLE_ELEMS_PER_PAGE(elem_size, mode) \ argument 181 ((u32) (ELEMS_PER_PAGE(elem_size) - \ 182 UNUSABLE_ELEMS_PER_PAGE(elem_size, mode))) 184 #define ECORE_CHAIN_PAGE_CNT(elem_cnt, elem_size, mode) \ argument 185 DIV_ROUND_UP(elem_cnt, USABLE_ELEMS_PER_PAGE(elem_size, mode)) 461 p_chain->elem_size); in ecore_chain_produce() [all …]
|
H A D | ecore_cxt.c | 556 u32 elem_size) in ecore_ilt_cli_blk_fill() argument 566 if (elem_size) in ecore_ilt_cli_blk_fill() 567 p_blk->real_size_in_page = (ilt_size / elem_size) * elem_size; in ecore_ilt_cli_blk_fill() 912 u32 ilt_page_size, elem_size; in ecore_cxt_cfg_ilt_compute_excess() local 934 elem_size = p_mngr->task_type_size[p_seg->type]; in ecore_cxt_cfg_ilt_compute_excess() 935 if (!elem_size) in ecore_cxt_cfg_ilt_compute_excess() 938 return (ilt_page_size / elem_size) * excess_lines; in ecore_cxt_cfg_ilt_compute_excess() 2398 u32 reg_offset, shadow_line, elem_size, hw_p_size, elems_per_p, line; in ecore_cxt_dynamic_ilt_alloc() local 2410 elem_size = CONN_CXT_SIZE(p_hwfn); in ecore_cxt_dynamic_ilt_alloc() 2417 elem_size = SRQ_CXT_SIZE; in ecore_cxt_dynamic_ilt_alloc() [all …]
|
H A D | ecore_dev_api.h | 566 osal_size_t elem_size,
|
/freebsd/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_value_subr.c | 290 size_t elem_size; in bhnd_nvram_value_size() local 292 elem_size = strnlen(p, ilen - total_size); in bhnd_nvram_value_size() 293 p += elem_size; in bhnd_nvram_value_size() 297 elem_size++; in bhnd_nvram_value_size() 305 if (SIZE_MAX - total_size < elem_size) in bhnd_nvram_value_size() 308 total_size += elem_size; in bhnd_nvram_value_size()
|
/freebsd/sys/dev/smartpqi/ |
H A D | smartpqi_queue.c | 79 memcpy(resp, ob_q->array_virt_addr + (ob_q->ci_local * ob_q->elem_size), in pqisrc_submit_admin_req() 121 softs->admin_ib_queue.elem_size = ((val & 0xFF0000) >> 16) * 16; in pqisrc_get_admin_queue_config() 122 softs->admin_ob_queue.elem_size = ((val & 0xFF000000) >> 24) * 16; in pqisrc_get_admin_queue_config() 125 softs->admin_ib_queue.num_elem, softs->admin_ib_queue.elem_size); in pqisrc_get_admin_queue_config() 127 softs->admin_ob_queue.num_elem, softs->admin_ob_queue.elem_size); in pqisrc_get_admin_queue_config() 158 ib_array_size = ib_q->num_elem * ib_q->elem_size; in pqisrc_allocate_and_init_inbound_q() 230 ob_array_size = ob_q->num_elem * ob_q->elem_size; in pqisrc_allocate_and_init_outbound_q() 358 softs->admin_ib_queue.elem_size); in pqisrc_print_adminq_config() 366 softs->admin_ob_queue.elem_size); in pqisrc_print_adminq_config() 689 admin_req.req_type.create_op_oq.elem_len = op_ob_q->elem_size / 16; in pqisrc_create_op_obq() [all …]
|
H A D | smartpqi_cmd.c | 45 ASSERT(iu_len <= ib_q->elem_size); in pqisrc_submit_cmnd() 57 offset = ib_q->pi_local * ib_q->elem_size; in pqisrc_submit_cmnd()
|
H A D | smartpqi_sis.c | 333 uint32_t elem_size = 0; in pqisrc_init_struct_base() local 359 elem_size = PQISRC_ERR_BUF_ELEM_SIZE; in pqisrc_init_struct_base() 360 softs->err_buf_dma_mem.size = num_elem * elem_size; in pqisrc_init_struct_base() 378 init_struct->err_buf_elem_len = elem_size; in pqisrc_init_struct_base()
|
H A D | smartpqi_event.c | 196 memcpy(&response, event_q->array_virt_addr + (obq_ci * event_q->elem_size), in pqisrc_process_event_intr_src()
|
H A D | smartpqi_response.c | 444 offset = oq_ci * ob_q->elem_size; in pqisrc_process_response_queue()
|
/freebsd/sys/dev/hyperv/vmbus/ |
H A D | vmbus_brvar.h | 113 vmbus_br_nelem(int br_size, int elem_size) in vmbus_br_nelem() argument 119 elem_size += sizeof(uint64_t); in vmbus_br_nelem() 120 return (br_size / elem_size); in vmbus_br_nelem()
|
H A D | vmbus_chan.c | 2249 int elem_size; in vmbus_chan_prplist_nelem() 2251 elem_size = __offsetof(struct vmbus_chanpkt_prplist, in vmbus_chan_prplist_nelem() local 2253 elem_size += dlen_max; in vmbus_chan_prplist_nelem() 2254 elem_size = VMBUS_CHANPKT_TOTLEN(elem_size); in vmbus_chan_prplist_nelem() 2256 return (vmbus_br_nelem(br_size, elem_size)); in vmbus_chan_prplist_nelem()
|
/freebsd/sys/ddb/ |
H A D | db_pprint.c | 172 size_t elem_size; in db_pprint_arr() local 179 elem_size = ((elem_type->ctt_size == CTF_V3_LSIZE_SENT) ? in db_pprint_arr() 183 end = addr + (arr->cta_nelems * elem_size); in db_pprint_arr() 188 for (; elem_addr < end; elem_addr += elem_size) { in db_pprint_arr() 194 if ((elem_addr + elem_size) < end) { in db_pprint_arr()
|
/freebsd/contrib/elftoolchain/libelftc/ |
H A D | libelftc_vstr.c | 114 ssize_t elem_pos, elem_size, rtn_size; in vector_str_get_flat() local 129 elem_size = strlen(v->container[i]); in vector_str_get_flat() 131 memcpy(rtn + elem_pos, v->container[i], elem_size); in vector_str_get_flat() 133 elem_pos += elem_size; in vector_str_get_flat()
|
/freebsd/contrib/flex/src/ |
H A D | buf.c | 206 void buf_init (struct Buf *buf, size_t elem_size) in buf_init() argument 210 buf->elt_size = elem_size; in buf_init()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_malloc_linux.cpp | 169 void *(*calloc)(uptr n_elements, uptr elem_size); 176 void *(*calloc)(uptr n_elements, uptr elem_size);
|
/freebsd/contrib/libpcap/ |
H A D | pcap-dos.c | 1359 PCAP_ASSERT (tail->size < active_dev->queue.elem_size-4-2); in peek_rxbuf() 1443 buf += q->elem_size; in pktq_check() 1455 q->elem_size = size; in pktq_init() 1510 return (struct rx_elem*) (q->buf_start + (q->elem_size * q->in_index)); in pktq_in_elem() 1518 return (struct rx_elem*) (q->buf_start + (q->elem_size * q->out_index)); in pktq_out_elem()
|
H A D | pcap-dos.h | 122 int elem_size; /* size of each element */ member
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/ |
H A D | ABISysV_ppc64.cpp | 784 std::optional<uint64_t> elem_size = in GetStructValueObject() local 786 if (!elem_size) in GetStructValueObject() 802 m_data_up->GetBytes() + m_dst_offs, *elem_size, m_byte_order, in GetStructValueObject() 804 if (rc != *elem_size) { in GetStructValueObject() 808 m_dst_offs += *elem_size; in GetStructValueObject()
|
/freebsd/sys/compat/linuxkpi/common/include/linux/soc/qcom/ |
H A D | qmi.h | 65 uint32_t elem_size; member
|
/freebsd/sys/ofed/include/rdma/ |
H A D | uverbs_ioctl.h | 749 size_t elem_size) in uverbs_attr_ptr_get_array_size() argument 756 if (size % elem_size) in uverbs_attr_ptr_get_array_size() 759 return size / elem_size; in uverbs_attr_ptr_get_array_size()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600InstrFormats.td | 471 bits<2> elem_size; 481 let Word0{31-30} = elem_size;
|
/freebsd/usr.bin/sort/ |
H A D | file.c | 1112 static int sort_qsort(void *list, size_t count, size_t elem_size, in sort_qsort() argument 1116 qsort(list, count, elem_size, cmp_func); in sort_qsort()
|