Home
last modified time | relevance | path

Searched refs:min_index (Results 1 – 11 of 11) sorted by relevance

/drivers/scsi/isci/
Dport_config.c178 if (port_agent->phy_valid_port_range[0].min_index == 0 && in sci_port_configuration_agent_validate_ports()
179 port_agent->phy_valid_port_range[1].min_index == 0 && in sci_port_configuration_agent_validate_ports()
180 port_agent->phy_valid_port_range[2].min_index == 0 && in sci_port_configuration_agent_validate_ports()
181 port_agent->phy_valid_port_range[3].min_index == 0) in sci_port_configuration_agent_validate_ports()
189 if (port_agent->phy_valid_port_range[2].min_index == 1) { in sci_port_configuration_agent_validate_ports()
208 if (port_agent->phy_valid_port_range[0].min_index == 0 && in sci_port_configuration_agent_validate_ports()
209 port_agent->phy_valid_port_range[1].min_index == 1) { in sci_port_configuration_agent_validate_ports()
222 if (port_agent->phy_valid_port_range[2].min_index == 2 && in sci_port_configuration_agent_validate_ports()
223 port_agent->phy_valid_port_range[3].min_index == 3) { in sci_port_configuration_agent_validate_ports()
279 port_agent->phy_valid_port_range[phy_index].min_index = port_index; in sci_mpc_agent_validate_phy_configuration()
[all …]
Dhost.h119 u8 min_index; member
/drivers/infiniband/sw/rxe/
Drxe_pool.c59 .min_index = RXE_MIN_SRQ_INDEX,
67 .min_index = RXE_MIN_QP_INDEX,
81 .min_index = RXE_MIN_MR_INDEX,
88 .min_index = RXE_MIN_MW_INDEX,
178 pool->min_index = min; in rxe_pool_init_index()
223 rxe_type_info[type].min_index); in rxe_pool_init()
271 u32 range = pool->max_index - pool->min_index + 1; in alloc_index()
280 return index + pool->min_index; in alloc_index()
383 clear_bit(elem->index - pool->min_index, pool->table); in rxe_drop_index()
Drxe_pool.h66 u32 min_index; member
107 u32 min_index; member
/drivers/usb/host/
Dxhci-mtk-sch.c219 u32 min_index; in check_sch_bw() local
234 min_index = 0; in check_sch_bw()
249 min_index = offset; in check_sch_bw()
254 sch_ep->offset = min_index; in check_sch_bw()
/drivers/infiniband/ulp/iser/
Diser_verbs.c428 int index, min_index = 0; in iser_create_ib_conn_res() local
441 device->comps[min_index].active_qps) in iser_create_ib_conn_res()
442 min_index = index; in iser_create_ib_conn_res()
444 ib_conn->comp = &device->comps[min_index]; in iser_create_ib_conn_res()
447 iser_info("cq index %d used for ib_conn %p\n", min_index, ib_conn); in iser_create_ib_conn_res()
/drivers/media/dvb-frontends/
Dcxd2841er.c1637 int min_index, max_index, index; in cxd2841er_dvbs_read_snr() local
1652 min_index = 0; in cxd2841er_dvbs_read_snr()
1662 if (value >= cn_data[min_index].value) { in cxd2841er_dvbs_read_snr()
1663 res = cn_data[min_index].cnr_x1000; in cxd2841er_dvbs_read_snr()
1670 while ((max_index - min_index) > 1) { in cxd2841er_dvbs_read_snr()
1671 index = (max_index + min_index) / 2; in cxd2841er_dvbs_read_snr()
1678 min_index = index; in cxd2841er_dvbs_read_snr()
1679 if ((max_index - min_index) <= 1) { in cxd2841er_dvbs_read_snr()
1684 res = cn_data[min_index].cnr_x1000; in cxd2841er_dvbs_read_snr()
/drivers/iommu/
Damd_iommu_types.h391 unsigned min_index; member
Damd_iommu.c3678 table->min_index = 32; in get_irq_table()
3736 for (c = 0, index = table->min_index; in alloc_irq_index()
/drivers/block/drbd/
Ddrbd_main.c510 unsigned int *resources_per_cpu, min_index = ~0; in drbd_calc_cpu_mask() local
526 min_index = cpu; in drbd_calc_cpu_mask()
531 if (min_index == ~0) { in drbd_calc_cpu_mask()
535 cpumask_set_cpu(min_index, *cpu_mask); in drbd_calc_cpu_mask()
/drivers/scsi/
Dadvansys.c6273 int min_index; in AscGetSynPeriodIndex() local
6278 min_index = (int)asc_dvc->min_sdtr_index; in AscGetSynPeriodIndex()
6280 for (i = min_index; i < (max_index - 1); i++) { in AscGetSynPeriodIndex()