/drivers/regulator/ |
D | lp87565-regulator.c | 193 int i, min_idx, max_idx; in lp87565_regulator_probe() local 205 max_idx = LP87565_BUCK_23; in lp87565_regulator_probe() 209 max_idx = LP87565_BUCK_3210; in lp87565_regulator_probe() 213 max_idx = LP87565_BUCK_3; in lp87565_regulator_probe() 217 for (i = min_idx; i <= max_idx; i++) { in lp87565_regulator_probe()
|
/drivers/scsi/snic/ |
D | snic_trc.c | 26 if (trc->wr_idx == trc->max_idx) in snic_get_trc_buf() 36 if (trc->rd_idx == trc->max_idx) in snic_get_trc_buf() 97 if (trc->rd_idx == trc->max_idx) in snic_get_trc_data() 129 trc->max_idx = (tbuf_sz / SNIC_TRC_ENTRY_SZ); in snic_trc_init()
|
D | snic_trc.h | 31 u32 max_idx; /* Max Index into trace buffer */ member
|
/drivers/net/ethernet/intel/ice/ |
D | ice_irq.c | 365 unsigned long start, index, max_idx; in ice_get_max_used_msix_vector() local 370 max_idx = start - 1; in ice_get_max_used_msix_vector() 373 if (index > max_idx) in ice_get_max_used_msix_vector() 374 max_idx = index; in ice_get_max_used_msix_vector() 377 return max_idx; in ice_get_max_used_msix_vector()
|
/drivers/power/reset/ |
D | at91-sama5d2_shdwc.c | 176 int max_idx = ARRAY_SIZE(sdwc_dbc_period) - 1; in at91_shdwc_debouncer_value() local 178 unsigned long long max_period_us = DBC_PERIOD_US(sdwc_dbc_period[max_idx]); in at91_shdwc_debouncer_value() 184 return max_idx; in at91_shdwc_debouncer_value() 187 for (i = max_idx - 1; i > 0; i--) { in at91_shdwc_debouncer_value()
|
/drivers/mmc/core/ |
D | host.c | 526 int alias_id, min_idx, max_idx; in mmc_alloc_host() local 540 max_idx = 0; in mmc_alloc_host() 542 index = ida_simple_get(&mmc_host_ida, min_idx, max_idx, GFP_KERNEL); in mmc_alloc_host()
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fwsignal.c | 1661 if (start > rfi->max_idx) in brcmf_rxreorder_get_skb_list() 1671 u8 flow_id, max_idx, cur_idx, exp_idx, end_idx; in brcmf_fws_rxreorder() local 1712 max_idx = reorder_data[BRCMF_RXREORDER_MAXIDX_OFFSET]; in brcmf_fws_rxreorder() 1714 buf_size += (max_idx + 1) * sizeof(pkt); in brcmf_fws_rxreorder() 1718 flow_id, max_idx); in brcmf_fws_rxreorder() 1728 rfi->max_idx = max_idx; in brcmf_fws_rxreorder() 1741 rfi->max_idx = reorder_data[BRCMF_RXREORDER_MAXIDX_OFFSET]; in brcmf_fws_rxreorder() 1807 if (exp_idx == ((cur_idx + 1) % (rfi->max_idx + 1))) { in brcmf_fws_rxreorder()
|
D | core.h | 63 u8 max_idx; member
|
/drivers/staging/rtl8723bs/os_dep/ |
D | ioctl_linux.c | 48 u8 max_idx; in wpa_set_encryption() local 71 max_idx = WEP_KEYS - 1; in wpa_set_encryption() 73 max_idx = BIP_MAX_KEYID; in wpa_set_encryption() 75 if (param->u.crypt.idx > max_idx) { in wpa_set_encryption() 76 netdev_err(dev, "Error crypt.idx %d > %d\n", param->u.crypt.idx, max_idx); in wpa_set_encryption()
|
D | ioctl_cfg80211.c | 701 u8 max_idx; in rtw_cfg80211_set_encryption() local 723 max_idx = WEP_KEYS - 1; in rtw_cfg80211_set_encryption() 725 max_idx = BIP_MAX_KEYID; in rtw_cfg80211_set_encryption() 727 if (param->u.crypt.idx > max_idx) { in rtw_cfg80211_set_encryption() 728 netdev_err(dev, "Error crypt.idx %d > %d\n", param->u.crypt.idx, max_idx); in rtw_cfg80211_set_encryption()
|
/drivers/vdpa/mlx5/core/ |
D | mlx5_vdpa.h | 93 u16 max_idx; member
|
/drivers/input/misc/ |
D | ad714x.c | 164 int max_idx = 0; in ad714x_cal_highest_stage() local 170 max_idx = i; in ad714x_cal_highest_stage() 174 return max_idx; in ad714x_cal_highest_stage()
|
/drivers/net/wireless/ath/ath5k/ |
D | phy.c | 3081 u8 pdadc_i, pdadc_n, pwr_step, pdg, max_idx, table_size; in ath5k_combine_pwr_to_pdadc_curves() local 3136 max_idx = min(pdadc_n, table_size); in ath5k_combine_pwr_to_pdadc_curves() 3139 while (pdadc_0 < max_idx && pdadc_i < 128) in ath5k_combine_pwr_to_pdadc_curves() 3143 if (pdadc_n <= max_idx) in ath5k_combine_pwr_to_pdadc_curves() 3157 (pdadc_0 - max_idx) * pwr_step; in ath5k_combine_pwr_to_pdadc_curves()
|
/drivers/net/wireless/ath/ath9k/ |
D | ar9003_calib.c | 844 int mp_max = -64, max_idx = 0; in ar9003_hw_detect_outlier() local 852 max_idx = i; in ar9003_hw_detect_outlier() 880 outlier_idx = max_idx; in ar9003_hw_detect_outlier()
|
/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc_hash.c | 47 size_t max_idx = key_bit_len / 64; in rvu_npc_lshift_key() local 51 max_idx++; in rvu_npc_lshift_key() 53 for (i = 0; i < max_idx; i++) { in rvu_npc_lshift_key()
|
/drivers/net/wireless/intel/iwlwifi/fw/ |
D | dbg.c | 1407 u8 max_idx; in iwl_ini_get_rxf_data() local 1412 max_idx = 0; in iwl_ini_get_rxf_data() 1414 max_idx = 1; in iwl_ini_get_rxf_data() 1416 if (WARN_ONCE(fifo_idx > max_idx, in iwl_ini_get_rxf_data()
|
/drivers/vdpa/mlx5/net/ |
D | mlx5_vnet.c | 137 return idx <= mvdev->max_idx; in is_index_valid() 2427 mvdev->max_idx = mvdev->max_vqs; in update_cvq_info() 2432 mvdev->max_idx = 2; in update_cvq_info() 2436 mvdev->max_idx = 1; in update_cvq_info()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 2843 int i, max_idx; in bnxt_free_tx_skbs() local 2849 max_idx = bp->tx_nr_pages * TX_DESC_CNT; in bnxt_free_tx_skbs() 2857 for (j = 0; j < max_idx;) { in bnxt_free_tx_skbs() 2917 int i, max_idx, max_agg_idx; in bnxt_free_one_rx_ring_skbs() local 2919 max_idx = bp->rx_nr_pages * RX_DESC_CNT; in bnxt_free_one_rx_ring_skbs() 2944 for (i = 0; i < max_idx; i++) { in bnxt_free_one_rx_ring_skbs() 9098 int max_idx, avail_msix; in bnxt_get_avail_msix() local 9100 max_idx = bp->total_irqs; in bnxt_get_avail_msix() 9102 max_idx = min_t(int, bp->total_irqs, max_cp); in bnxt_get_avail_msix() 9103 avail_msix = max_idx - bp->cp_nr_rings; in bnxt_get_avail_msix()
|