Home
last modified time | relevance | path

Searched refs:min_index (Results 1 – 10 of 10) 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.c34 .min_index = RXE_MIN_SRQ_INDEX,
42 .min_index = RXE_MIN_QP_INDEX,
57 .min_index = RXE_MIN_MR_INDEX,
64 .min_index = RXE_MIN_MW_INDEX,
98 pool->min_index = min; in rxe_pool_init_index()
142 rxe_type_info[type].min_index); in rxe_pool_init()
188 u32 range = pool->max_index - pool->min_index + 1; in alloc_index()
197 return index + pool->min_index; in alloc_index()
300 clear_bit(elem->index - pool->min_index, pool->table); in rxe_drop_index()
Drxe_pool.h42 u32 min_index; member
82 u32 min_index; member
/drivers/usb/host/
Dxhci-mtk-sch.c598 u32 min_index; in check_sch_bw() local
611 min_index = 0; in check_sch_bw()
628 min_index = offset; in check_sch_bw()
641 sch_ep->offset = min_index; in check_sch_bw()
/drivers/media/dvb-frontends/
Dcxd2841er.c1674 int min_index, max_index, index; in cxd2841er_dvbs_read_snr() local
1691 min_index = 0; in cxd2841er_dvbs_read_snr()
1699 if (value >= cn_data[min_index].value) { in cxd2841er_dvbs_read_snr()
1700 res = cn_data[min_index].cnr_x1000; in cxd2841er_dvbs_read_snr()
1707 while ((max_index - min_index) > 1) { in cxd2841er_dvbs_read_snr()
1708 index = (max_index + min_index) / 2; in cxd2841er_dvbs_read_snr()
1715 min_index = index; in cxd2841er_dvbs_read_snr()
1716 if ((max_index - min_index) <= 1) { in cxd2841er_dvbs_read_snr()
1721 res = cn_data[min_index].cnr_x1000; in cxd2841er_dvbs_read_snr()
/drivers/iommu/amd/
Damd_iommu_types.h426 unsigned min_index; member
Diommu.c3358 for (index = ALIGN(table->min_index, alignment), c = 0; in alloc_irq_index()
3773 if (!table->min_index) { in irq_remapping_alloc()
3778 table->min_index = 32; in irq_remapping_alloc()
3783 WARN_ON(table->min_index != 32); in irq_remapping_alloc()
/drivers/block/drbd/
Ddrbd_main.c506 unsigned int *resources_per_cpu, min_index = ~0; in drbd_calc_cpu_mask() local
523 min_index = cpu; in drbd_calc_cpu_mask()
528 if (min_index == ~0) { in drbd_calc_cpu_mask()
532 cpumask_set_cpu(min_index, *cpu_mask); in drbd_calc_cpu_mask()
/drivers/scsi/
Dadvansys.c6267 int min_index; in AscGetSynPeriodIndex() local
6272 min_index = (int)asc_dvc->min_sdtr_index; in AscGetSynPeriodIndex()
6274 for (i = min_index; i < (max_index - 1); i++) { in AscGetSynPeriodIndex()