Home
last modified time | relevance | path

Searched refs:max_index (Results 1 – 22 of 22) sorted by relevance

/linux-4.1.27/drivers/scsi/isci/
Dport_config.c169 if (port_agent->phy_valid_port_range[0].max_index != 0 || in sci_port_configuration_agent_validate_ports()
170 port_agent->phy_valid_port_range[1].max_index != 1 || in sci_port_configuration_agent_validate_ports()
171 port_agent->phy_valid_port_range[2].max_index != 2 || in sci_port_configuration_agent_validate_ports()
172 port_agent->phy_valid_port_range[3].max_index != 3) in sci_port_configuration_agent_validate_ports()
280 port_agent->phy_valid_port_range[phy_index].max_index = phy_index; in sci_mpc_agent_validate_phy_configuration()
308 port_agent->phy_valid_port_range[phy_index].max_index = phy_index; in sci_mpc_agent_validate_phy_configuration()
457 port_agent->phy_valid_port_range[phy_index].max_index = phy_index; in sci_apc_agent_validate_phy_configuration()
460 port_agent->phy_valid_port_range[phy_index].max_index = phy_index; in sci_apc_agent_validate_phy_configuration()
507 port_index <= port_agent->phy_valid_port_range[iphy->phy_index].max_index; in sci_apc_agent_configure_ports()
723 port_agent->phy_valid_port_range[index].max_index = 0; in sci_port_configuration_agent_construct()
Dhost.h120 u8 max_index; member
/linux-4.1.27/drivers/net/wireless/ath/ath9k/
Dar9003_paprd.c426 int max_index, scale_factor; in create_pa_curve() local
441 max_index = 0; in create_pa_curve()
457 max_index++; in create_pa_curve()
473 x_est[max_index] = in create_pa_curve()
477 Y[max_index] = in create_pa_curve()
485 theta[max_index] = in create_pa_curve()
503 for (i = 0; i <= max_index; i++) in create_pa_curve()
526 for (i = 0; i <= max_index; i++) in create_pa_curve()
534 if (y_est[max_index] == 0) in create_pa_curve()
538 x_est[max_index] - ((1 << scale_factor) * y_est[max_index] + in create_pa_curve()
[all …]
Dcommon-spectral.c177 u8 max_index, bitmap_w; in ath_cmn_process_fft() local
192 max_index = spectral_max_index(mag_info->all_bins); in ath_cmn_process_fft()
193 fft_sample_20.max_index = max_index; in ath_cmn_process_fft()
/linux-4.1.27/fs/nls/
Dnls_euc-jp.c307 int index, min_index, max_index; in euc2sjisibm_jisx0212() local
311 max_index = ARRAY_SIZE(euc2sjisibm_jisx0212_map) - 1; in euc2sjisibm_jisx0212()
314 while (min_index <= max_index) { in euc2sjisibm_jisx0212()
315 index = (min_index + max_index) / 2; in euc2sjisibm_jisx0212()
317 max_index = index - 1; in euc2sjisibm_jisx0212()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Dspectral.c35 static uint8_t get_max_exp(s8 max_index, u16 max_magnitude, size_t bin_len, in get_max_exp() argument
44 if (dc_pos < max_index || -dc_pos >= max_index) in get_max_exp()
48 if (data[dc_pos + max_index] == (max_magnitude >> max_exp)) in get_max_exp()
53 if (data[dc_pos + max_index] != (max_magnitude >> max_exp)) in get_max_exp()
113 fft_sample->max_index = MS(reg0, SEARCH_FFT_REPORT_REG0_PEAK_SIDX); in ath10k_spectral_process_fft()
139 fft_sample->max_exp = get_max_exp(fft_sample->max_index, peak_mag, in ath10k_spectral_process_fft()
/linux-4.1.27/drivers/net/wireless/ath/
Dspectral_common.h58 u8 max_index; member
104 s8 max_index; member
/linux-4.1.27/fs/ntfs/
Dsuper.c1598 pgoff_t index, max_index; in load_and_init_attrdef() local
1618 max_index = i_size >> PAGE_CACHE_SHIFT; in load_and_init_attrdef()
1620 while (index < max_index) { in load_and_init_attrdef()
1663 pgoff_t index, max_index; in load_and_init_upcase() local
1687 max_index = i_size >> PAGE_CACHE_SHIFT; in load_and_init_upcase()
1689 while (index < max_index) { in load_and_init_upcase()
2474 pgoff_t index, max_index; in get_nr_free_clusters() local
2484 max_index = (((vol->nr_clusters + 7) >> 3) + PAGE_CACHE_SIZE - 1) >> in get_nr_free_clusters()
2488 max_index, PAGE_CACHE_SIZE / 4); in get_nr_free_clusters()
2489 for (index = 0; index < max_index; index++) { in get_nr_free_clusters()
[all …]
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/
Dqlge_dbg.c628 u32 max_index; in ql_get_mac_protocol_registers() local
636 max_index = MAC_ADDR_MAX_CAM_ENTRIES; in ql_get_mac_protocol_registers()
640 max_index = MAC_ADDR_MAX_CAM_WCOUNT; in ql_get_mac_protocol_registers()
645 max_index = MAC_ADDR_MAX_CAM_WCOUNT; in ql_get_mac_protocol_registers()
649 max_index = MAC_ADDR_MAX_FC_MAC_ENTRIES; in ql_get_mac_protocol_registers()
653 max_index = MAC_ADDR_MAX_MGMT_MAC_ENTRIES; in ql_get_mac_protocol_registers()
657 max_index = MAC_ADDR_MAX_MGMT_VLAN_ENTRIES; in ql_get_mac_protocol_registers()
661 max_index = MAC_ADDR_MAX_MGMT_V4_ENTRIES; in ql_get_mac_protocol_registers()
665 max_index = MAC_ADDR_MAX_MGMT_V6_ENTRIES; in ql_get_mac_protocol_registers()
669 max_index = MAC_ADDR_MAX_MGMT_TU_DP_ENTRIES; in ql_get_mac_protocol_registers()
[all …]
/linux-4.1.27/lib/
Dradix-tree.c1210 unsigned long max_index; in radix_tree_locate_item() local
1225 max_index = radix_tree_maxindex(node->path & in radix_tree_locate_item()
1227 if (cur_index > max_index) { in radix_tree_locate_item()
1235 } while (cur_index != 0 && cur_index <= max_index); in radix_tree_locate_item()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_page.c620 struct cl_page **pvec, int max_index) in discard_pagevec() argument
625 for (count = 0, i = 0; i < max_index; i++) { in discard_pagevec()
642 return max_index - count; in discard_pagevec()
/linux-4.1.27/drivers/vfio/pci/
Dvfio_pci.c1056 int max_index; member
1067 if (devs->cur_index == devs->max_index) in vfio_pci_get_devs()
1106 devs.max_index = i; in vfio_pci_try_bus_reset()
/linux-4.1.27/drivers/scsi/megaraid/
Dmegaraid_sas_base.c1653 for (i = 0; i < megasas_mgmt_info.max_index; i++) { in megasas_lookup_instance()
5377 megasas_mgmt_info.instance[megasas_mgmt_info.max_index] = instance; in megasas_probe_one()
5378 megasas_mgmt_info.max_index++; in megasas_probe_one()
5409 megasas_mgmt_info.instance[megasas_mgmt_info.max_index] = NULL; in megasas_probe_one()
5410 megasas_mgmt_info.max_index--; in megasas_probe_one()
5821 for (i = 0; i < megasas_mgmt_info.max_index; i++) { in megasas_detach_one()
6011 for (i = 0; i < megasas_mgmt_info.max_index; i++) { in megasas_set_crash_dump_params_ioctl()
Dmegaraid_sas.h1954 int max_index; member
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dgenops.c481 int index, max_index = class_devno_max(), dev_count = 0; in get_devices_count() local
484 for (index = 0; index <= max_index; index++) { in get_devices_count()
/linux-4.1.27/drivers/net/wireless/
Datmel.c2967 int max_index = -1; in retrieve_bss() local
2984 priv->current_BSS = max_index = i; in retrieve_bss()
2987 return max_index; in retrieve_bss()
2997 max_index = i; in retrieve_bss()
3001 return max_index; in retrieve_bss()
/linux-4.1.27/drivers/scsi/libfc/
Dfc_exch.c232 unsigned int max_index) in fc_exch_name_lookup() argument
236 if (op < max_index) in fc_exch_name_lookup()
/linux-4.1.27/drivers/scsi/
Dpmcraid.c4681 pmcraid_release_cmd_blocks(struct pmcraid_instance *pinstance, int max_index) in pmcraid_release_cmd_blocks() argument
4684 for (i = 0; i < max_index; i++) { in pmcraid_release_cmd_blocks()
4706 int max_index in pmcraid_release_control_blocks() argument
4714 for (i = 0; i < max_index; i++) { in pmcraid_release_control_blocks()
Dadvansys.c6463 int max_index; in AscGetSynPeriodIndex() local
6468 max_index = (int)asc_dvc->max_sdtr_index; in AscGetSynPeriodIndex()
6470 if ((syn_time <= period_table[max_index])) { in AscGetSynPeriodIndex()
6471 for (i = min_index; i < (max_index - 1); i++) { in AscGetSynPeriodIndex()
6476 return (uchar)max_index; in AscGetSynPeriodIndex()
6478 return (uchar)(max_index + 1); in AscGetSynPeriodIndex()
Dgdth.c274 static u32 max_rq=0, max_index=0, max_sg=0; variable
1422 if (max_index < i) { in gdth_release_event()
1423 max_index = i; in gdth_release_event()
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_lcn.c5144 s32 max_index = 0; in wlc_lcnphy_get_receive_power() local
5148 max_index = 36; in wlc_lcnphy_get_receive_power()
5154 while ((*gain_index <= (s32) max_index) in wlc_lcnphy_get_receive_power()
/linux-4.1.27/drivers/iommu/
Damd_iommu.c1705 int max_index = dom->aperture_size >> APERTURE_RANGE_SHIFT; in dma_ops_area_alloc() local
1716 for (;i < max_index; ++i) { in dma_ops_area_alloc()