/Linux-v4.19/drivers/scsi/snic/ |
D | snic_trc.c | 40 if (trc->wr_idx == trc->max_idx) in snic_get_trc_buf() 50 if (trc->rd_idx == trc->max_idx) in snic_get_trc_buf() 111 if (trc->rd_idx == trc->max_idx) in snic_get_trc_data() 149 trc->max_idx = (tbuf_sz / SNIC_TRC_ENTRY_SZ); in snic_trc_init()
|
D | snic_trc.h | 45 u32 max_idx; /* Max Index into trace buffer */ member
|
/Linux-v4.19/drivers/power/reset/ |
D | at91-sama5d2_shdwc.c | 142 int max_idx = ARRAY_SIZE(sdwc_dbc_period) - 1; in at91_shdwc_debouncer_value() local 144 unsigned long long max_period_us = DBC_PERIOD_US(sdwc_dbc_period[max_idx]); in at91_shdwc_debouncer_value() 150 return max_idx; in at91_shdwc_debouncer_value() 153 for (i = max_idx - 1; i > 0; i--) { in at91_shdwc_debouncer_value()
|
/Linux-v4.19/drivers/regulator/ |
D | lp87565-regulator.c | 196 int i, min_idx = LP87565_BUCK_1, max_idx = LP87565_BUCK_3; in lp87565_regulator_probe() local 207 max_idx = LP87565_BUCK_23; in lp87565_regulator_probe() 210 for (i = min_idx; i <= max_idx; i++) { in lp87565_regulator_probe()
|
/Linux-v4.19/ipc/ |
D | util.c | 122 ids->max_idx = -1; in ipc_init_ids() 294 if (idx > ids->max_idx) in ipc_addid() 295 ids->max_idx = idx; in ipc_addid() 441 if (unlikely(idx == ids->max_idx)) { in ipc_rmid() 447 ids->max_idx = idx; in ipc_rmid()
|
D | msg.c | 459 int max_idx; in msgctl_info() local 486 max_idx = ipc_get_maxidx(&msg_ids(ns)); in msgctl_info() 488 return (max_idx < 0) ? 0 : max_idx; in msgctl_info()
|
D | util.h | 129 return ids->max_idx; in ipc_get_maxidx()
|
D | sem.c | 1297 int max_idx; in semctl_info() local 1321 max_idx = ipc_get_maxidx(&sem_ids(ns)); in semctl_info() 1325 return (max_idx < 0) ? 0 : max_idx; in semctl_info()
|
/Linux-v4.19/arch/ia64/kernel/ |
D | mca_drv.c | 74 int max_idx; /* Maximum index of section pointer list pool */ member 224 slidx_pool.cur_idx = (slidx_pool.cur_idx + 1)%slidx_pool.max_idx; } 351 slidx_pool.max_idx = (rec_max_size/sect_min_size) * 2 + 1; in init_record_index_pools() 353 kmalloc_array(slidx_pool.max_idx, sizeof(slidx_list_t), in init_record_index_pools()
|
/Linux-v4.19/drivers/infiniband/hw/hfi1/ |
D | iowait.h | 366 uint idx, uint *max_idx) in iowait_starve_find_max() argument 370 *max_idx = idx; in iowait_starve_find_max()
|
D | pio.c | 1610 uint i, n = 0, max_idx = 0; in sc_piobufavail() local 1634 iowait_starve_find_max(wait, &max_starved_cnt, n, &max_idx); in sc_piobufavail() 1651 hfi1_qp_wakeup(qps[max_idx], in sc_piobufavail() 1654 if (i != max_idx) in sc_piobufavail()
|
D | sdma.c | 1760 uint i, n = 0, seq, max_idx = 0; in sdma_desc_avail() local 1800 n, &max_idx); in sdma_desc_avail() 1811 waits[max_idx]->wakeup(waits[max_idx], SDMA_AVAIL_REASON); in sdma_desc_avail() 1814 if (i != max_idx) in sdma_desc_avail()
|
/Linux-v4.19/include/linux/ |
D | ipc_namespace.h | 21 int max_idx; member
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_ulp.c | 123 int max_idx, max_cp_rings; in bnxt_req_msix_vecs() local 147 max_idx = min_t(int, bp->total_irqs, max_cp_rings); in bnxt_req_msix_vecs() 148 idx = max_idx - avail_msix; in bnxt_req_msix_vecs()
|
D | bnxt.c | 2062 int i, max_idx; in bnxt_free_tx_skbs() local 2068 max_idx = bp->tx_nr_pages * TX_DESC_CNT; in bnxt_free_tx_skbs() 2073 for (j = 0; j < max_idx;) { in bnxt_free_tx_skbs() 2116 int i, max_idx, max_agg_idx; in bnxt_free_rx_skbs() local 2122 max_idx = bp->rx_nr_pages * RX_DESC_CNT; in bnxt_free_rx_skbs() 2149 for (j = 0; j < max_idx; j++) { in bnxt_free_rx_skbs() 5946 int max_idx, avail_msix; in bnxt_get_avail_msix() local 5948 max_idx = min_t(int, bp->total_irqs, max_cp); in bnxt_get_avail_msix() 5949 avail_msix = max_idx - bp->cp_nr_rings; in bnxt_get_avail_msix()
|
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | fwsignal.c | 1649 if (start > rfi->max_idx) in brcmf_rxreorder_get_skb_list() 1658 u8 flow_id, max_idx, cur_idx, exp_idx, end_idx; in brcmf_fws_rxreorder() local 1699 max_idx = reorder_data[BRCMF_RXREORDER_MAXIDX_OFFSET]; in brcmf_fws_rxreorder() 1701 buf_size += (max_idx + 1) * sizeof(pkt); in brcmf_fws_rxreorder() 1705 flow_id, max_idx); in brcmf_fws_rxreorder() 1715 rfi->max_idx = max_idx; in brcmf_fws_rxreorder() 1728 rfi->max_idx = reorder_data[BRCMF_RXREORDER_MAXIDX_OFFSET]; in brcmf_fws_rxreorder() 1794 if (exp_idx == ((cur_idx + 1) % (rfi->max_idx + 1))) { in brcmf_fws_rxreorder()
|
D | core.h | 68 u8 max_idx; member
|
/Linux-v4.19/arch/x86/kernel/fpu/ |
D | xstate.c | 88 long xfeature_idx, max_idx; in cpu_has_xfeatures() local 103 max_idx = ARRAY_SIZE(xfeature_names)-1; in cpu_has_xfeatures() 104 xfeature_idx = min(xfeature_idx, max_idx); in cpu_has_xfeatures()
|
/Linux-v4.19/sound/pci/lola/ |
D | lola_mixer.c | 336 int idx, max_idx; in lola_setup_all_analog_gains() local 339 max_idx = chip->pin[dir].num_pins; in lola_setup_all_analog_gains() 340 for (idx = 0; idx < max_idx; idx++) { in lola_setup_all_analog_gains()
|
/Linux-v4.19/drivers/input/misc/ |
D | ad714x.c | 165 int max_idx = 0; in ad714x_cal_highest_stage() local 171 max_idx = i; in ad714x_cal_highest_stage() 175 return max_idx; in ad714x_cal_highest_stage()
|
/Linux-v4.19/drivers/net/wireless/ath/ath5k/ |
D | phy.c | 3084 u8 pdadc_i, pdadc_n, pwr_step, pdg, max_idx, table_size; in ath5k_combine_pwr_to_pdadc_curves() local 3139 max_idx = (pdadc_n < table_size) ? pdadc_n : table_size; in ath5k_combine_pwr_to_pdadc_curves() 3142 while (pdadc_0 < max_idx && pdadc_i < 128) in ath5k_combine_pwr_to_pdadc_curves() 3146 if (pdadc_n <= max_idx) in ath5k_combine_pwr_to_pdadc_curves() 3160 (pdadc_0 - max_idx) * pwr_step; in ath5k_combine_pwr_to_pdadc_curves()
|
/Linux-v4.19/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()
|
/Linux-v4.19/mm/ |
D | filemap.c | 2621 unsigned long max_idx; in filemap_map_pages() local 2666 max_idx = DIV_ROUND_UP(i_size_read(mapping->host), PAGE_SIZE); in filemap_map_pages() 2667 if (page->index >= max_idx) in filemap_map_pages()
|
/Linux-v4.19/kernel/trace/ |
D | trace_events_hist.c | 3267 unsigned int i, save_var_idx, max_idx = data->onmax.max_var->var.idx; in onmax_print() local 3269 seq_printf(m, "\n\tmax: %10llu", tracing_map_read_var(elt, max_idx)); in onmax_print() 3293 unsigned int max_idx = data->onmax.max_var->var.idx; in onmax_save() local 3299 max_val = tracing_map_read_var(elt, max_idx); in onmax_save() 3304 tracing_map_set_var(elt, max_idx, var_val); in onmax_save()
|