Home
last modified time | relevance | path

Searched refs:end_idx (Results 1 – 17 of 17) sorted by relevance

/Linux-v6.6/drivers/net/wireless/ath/ath9k/
Dar9003_aic.c312 int16_t start_idx, end_idx; in ar9003_aic_cal_post_process() local
318 end_idx = ar9003_aic_find_valid(cal_sram_valid, 1, i); in ar9003_aic_cal_post_process()
322 start_idx = end_idx; in ar9003_aic_cal_post_process()
323 end_idx = ar9003_aic_find_valid(cal_sram_valid, 1, start_idx); in ar9003_aic_cal_post_process()
325 if (end_idx < 0) { in ar9003_aic_cal_post_process()
332 aic_sram[end_idx].dir_path_gain_lin) * in ar9003_aic_cal_post_process()
333 (start_idx - i) + ((end_idx - i) >> 1)) / in ar9003_aic_cal_post_process()
334 (end_idx - i) + in ar9003_aic_cal_post_process()
338 aic_sram[end_idx].quad_path_gain_lin) * in ar9003_aic_cal_post_process()
339 (start_idx - i) + ((end_idx - i) >> 1)) / in ar9003_aic_cal_post_process()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c714 int end_idx = get_available_dsc_slices(slice_caps, &available_slices[0]); in get_max_dsc_slices() local
716 if (end_idx > 0) in get_max_dsc_slices()
717 max_slices = available_slices[end_idx - 1]; in get_max_dsc_slices()
728 int end_idx; in inc_num_slices() local
732 end_idx = get_available_dsc_slices(slice_caps, &available_slices[0]); in inc_num_slices()
733 if (end_idx == 0) { in inc_num_slices()
740 for (i = 0; i < end_idx; i++) { in inc_num_slices()
759 int end_idx; in dec_num_slices() local
763 end_idx = get_available_dsc_slices(slice_caps, &available_slices[0]); in dec_num_slices()
764 if (end_idx == 0 && new_num_slices > 0) { in dec_num_slices()
[all …]
/Linux-v6.6/fs/squashfs/
Dblock.c85 int start_idx = 0, end_idx = 0; in squashfs_bio_read_cached() local
114 if (!bio || idx != end_idx) { in squashfs_bio_read_cached()
120 (end_idx - start_idx) * PAGE_SECTORS); in squashfs_bio_read_cached()
130 end_idx = idx; in squashfs_bio_read_cached()
135 (end_idx - start_idx) * PAGE_SECTORS); in squashfs_bio_read_cached()
/Linux-v6.6/drivers/perf/
Darm_dmc620_pmu.c296 int idx, start_idx, end_idx; in dmc620_get_event_idx() local
300 end_idx = DMC620_PMU_CLKDIV2_MAX_COUNTERS; in dmc620_get_event_idx()
303 end_idx = DMC620_PMU_MAX_COUNTERS; in dmc620_get_event_idx()
306 for (idx = start_idx; idx < end_idx; ++idx) { in dmc620_get_event_idx()
/Linux-v6.6/fs/fuse/
Ddax.c318 unsigned long end_idx = end >> FUSE_DAX_SHIFT; in inode_reclaim_dmap_range() local
323 end_idx); in inode_reclaim_dmap_range()
1111 unsigned long end_idx) in lookup_and_reclaim_dmap() argument
1139 unsigned long start_idx = 0, end_idx = 0; in try_to_free_dmap_chunks() local
1176 start_idx = end_idx = dmap->itn.start; in try_to_free_dmap_chunks()
1183 ret = lookup_and_reclaim_dmap(fcd, inode, start_idx, end_idx); in try_to_free_dmap_chunks()
/Linux-v6.6/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwsignal.c1671 u8 flow_id, max_idx, cur_idx, exp_idx, end_idx; in brcmf_fws_rxreorder() local
1793 u8 end_idx; in brcmf_fws_rxreorder() local
1799 end_idx = rfi->exp_idx; in brcmf_fws_rxreorder()
1801 end_idx = exp_idx; in brcmf_fws_rxreorder()
1804 brcmf_rxreorder_get_skb_list(rfi, rfi->exp_idx, end_idx, in brcmf_fws_rxreorder()
1823 end_idx = rfi->exp_idx; in brcmf_fws_rxreorder()
1825 end_idx = exp_idx; in brcmf_fws_rxreorder()
1827 brcmf_rxreorder_get_skb_list(rfi, rfi->exp_idx, end_idx, in brcmf_fws_rxreorder()
/Linux-v6.6/fs/
Ddax.c684 pgoff_t end_idx; in dax_layout_busy_page_range() local
698 end_idx = ULONG_MAX; in dax_layout_busy_page_range()
700 end_idx = end >> PAGE_SHIFT; in dax_layout_busy_page_range()
713 unmap_mapping_pages(mapping, start_idx, end_idx - start_idx + 1, 0); in dax_layout_busy_page_range()
716 xas_for_each(&xas, entry, end_idx) { in dax_layout_busy_page_range()
/Linux-v6.6/arch/powerpc/sysdev/
Dfsl_pci.c202 int i, j, n, mem_log, win_idx = 3, start_idx = 1, end_idx = 4; in setup_pci_atmu() local
238 end_idx = 3; in setup_pci_atmu()
247 for (i = start_idx; i < end_idx; i++) in setup_pci_atmu()
/Linux-v6.6/drivers/net/ethernet/sun/
Dsunvnet_common.c482 .end_idx = end, in vnet_send_ack()
667 return vnet_walk_rx(port, dr, pkt->start_idx, pkt->end_idx, in vnet_rx()
698 end = pkt->end_idx; in vnet_ack()
854 pkt->end_idx = -1; in vnet_event_napi()
952 .end_idx = (u32)-1, in __vnet_tx_trigger()
/Linux-v6.6/drivers/media/pci/tw686x/
Dtw686x-video.c713 u32 start_idx, end_idx; in tw686x_set_format() local
717 end_idx = start_idx + TW686X_MAX_SG_DESC_COUNT - 1; in tw686x_set_format()
719 val |= (end_idx << 10) | start_idx; in tw686x_set_format()
/Linux-v6.6/drivers/xen/
Dgrant-table.c1447 static int gnttab_map(unsigned int start_idx, unsigned int end_idx) in gnttab_map() argument
1451 unsigned int nr_gframes = end_idx + 1; in gnttab_map()
1456 unsigned int i = end_idx; in gnttab_map()
/Linux-v6.6/arch/sparc/include/asm/
Dvio.h94 u32 end_idx; member
/Linux-v6.6/drivers/block/
Dsunvdc.c340 pkt->start_idx != pkt->end_idx || in vdc_ack()
437 .end_idx = dr->prod, in __vdc_tx_trigger()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c1437 u8 end_idx; member
1447 .end_idx = 13,
1455 .end_idx = 41,
1463 .end_idx = 50,
1471 .end_idx = 111,
/Linux-v6.6/drivers/infiniband/hw/mlx5/
Dodp.c608 unsigned long end_idx = (user_va + bcnt - 1) >> MLX5_IMR_MTT_SHIFT; in pagefault_implicit_mr() local
609 unsigned long upd_start_idx = end_idx + 1; in pagefault_implicit_mr()
/Linux-v6.6/drivers/net/ethernet/emulex/benet/
Dbe_main.c2874 u32 end_idx, notified_idx; in be_tx_compl_clean() local
2916 end_idx = txq->tail; in be_tx_compl_clean()
2917 index_adv(&end_idx, atomic_read(&txq->used) - 1, in be_tx_compl_clean()
2922 num_wrbs = be_tx_compl_process(adapter, txo, end_idx); in be_tx_compl_clean()
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c5543 unsigned int i, j, grp_idx, end_idx = start_rx_ring_idx + nr_rings; in bnxt_hwrm_vnic_alloc() local
5557 for (i = start_rx_ring_idx, j = 0; i < end_idx; i++, j++) { in bnxt_hwrm_vnic_alloc()