Home
last modified time | relevance | path

Searched refs:expected_count (Results 1 – 10 of 10) sorted by relevance

/drivers/acpi/acpica/
Dnsprepkg.c58 u32 expected_count; in acpi_ns_check_package() local
120 expected_count = in acpi_ns_check_package()
122 if (count < expected_count) { in acpi_ns_check_package()
124 } else if (count > expected_count) { in acpi_ns_check_package()
129 expected_count)); in acpi_ns_check_package()
170 expected_count = package->ret_info3.count; in acpi_ns_check_package()
171 if (count < expected_count) { in acpi_ns_check_package()
244 expected_count = (u32)(*elements)->integer.value; in acpi_ns_check_package()
245 if (expected_count >= count) { in acpi_ns_check_package()
249 count = expected_count; in acpi_ns_check_package()
[all …]
Dnsrepair2.c75 u32 expected_count,
766 u32 expected_count, in acpi_ns_check_sorted_list() argument
815 if ((*outer_elements)->package.count < expected_count) { in acpi_ns_check_sorted_list()
/drivers/infiniband/hw/hfi1/
Duser_exp_rcv.c56 fd->entry_to_rb = kcalloc(uctxt->expected_count, in hfi1_user_exp_rcv_init()
64 fd->invalid_tids = kcalloc(uctxt->expected_count, in hfi1_user_exp_rcv_init()
92 fd->tid_limit = uctxt->expected_count / uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init()
93 remainder = uctxt->expected_count % uctxt->subctxt_cnt; in hfi1_user_exp_rcv_init()
97 fd->tid_limit = uctxt->expected_count; in hfi1_user_exp_rcv_init()
168 if (npages > fd->uctxt->expected_count) { in pin_rcv_pages()
272 tidbuf->psets = kcalloc(uctxt->expected_count, sizeof(*tidbuf->psets), in hfi1_user_exp_rcv_setup()
536 array = kcalloc(uctxt->expected_count, sizeof(*array), GFP_KERNEL); in hfi1_user_exp_rcv_invalid()
802 if (tididx >= uctxt->expected_count) { in unprogram_rcvarray()
922 if (fdata->invalid_tid_idx < uctxt->expected_count) { in tid_rb_invalidate()
Dexp_rcv.c42 ngroups = rcd->expected_count / dd->rcv_entries.group_size; in hfi1_alloc_ctxt_rcv_groups()
Dinit.c1955 rcd->expected_count = max_entries - egrtop; in hfi1_setup_eagerbufs()
1956 if (rcd->expected_count > MAX_TID_PAIR_ENTRIES * 2) in hfi1_setup_eagerbufs()
1957 rcd->expected_count = MAX_TID_PAIR_ENTRIES * 2; in hfi1_setup_eagerbufs()
1961 rcd->ctxt, rcd->egrbufs.alloced, rcd->expected_count, in hfi1_setup_eagerbufs()
Dfile_ops.c1119 uctxt->expected_count; in get_ctxt_info()
Dhfi.h261 u16 expected_count; member
Dchip.c9979 i < rcd->expected_base + rcd->expected_count; i++) in hfi1_clear_tids()
12065 reg = (((rcd->expected_count >> RCV_SHIFT) in hfi1_rcvctrl()
/drivers/base/regmap/
Dregmap-spi-avmm.c507 u32 *val, unsigned int expected_count) in br_rd_trans_rx_parse() argument
512 if (expected_count * SPI_AVMM_VAL_SIZE != trans_len) in br_rd_trans_rx_parse()
516 for (i = 0; i < expected_count; i++) in br_rd_trans_rx_parse()
527 unsigned int expected_count) in br_wr_trans_rx_parse() argument
541 if (!val_len || val_len != expected_count * SPI_AVMM_VAL_SIZE) in br_wr_trans_rx_parse()
/drivers/scsi/cxgbi/
Dlibcxgbi.c2152 u32 expected_count, expected_offset; in cxgbi_conn_init_pdu() local
2189 expected_count = tdata->total_count; in cxgbi_conn_init_pdu()
2192 if ((count != expected_count) || in cxgbi_conn_init_pdu()