Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/drivers/gpu/drm/amd/display/dc/dsc/
Ddc_dsc.c736 int end_idx = get_available_dsc_slices(slice_caps, &available_slices[0]); in get_max_dsc_slices() local
738 if (end_idx > 0) in get_max_dsc_slices()
739 max_slices = available_slices[end_idx - 1]; in get_max_dsc_slices()
750 int end_idx; in inc_num_slices() local
754 end_idx = get_available_dsc_slices(slice_caps, &available_slices[0]); in inc_num_slices()
755 if (end_idx == 0) { in inc_num_slices()
762 for (i = 0; i < end_idx; i++) { in inc_num_slices()
781 int end_idx; in dec_num_slices() local
785 end_idx = get_available_dsc_slices(slice_caps, &available_slices[0]); in dec_num_slices()
786 if (end_idx == 0 && new_num_slices > 0) { in dec_num_slices()
[all …]
/linux-6.12.1/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-6.12.1/drivers/net/dsa/microchip/
Dksz9477_acl.c240 int start_idx, end_idx, contiguous_count; in ksz9477_acl_get_cont_entr() local
269 end_idx = find_last_bit((unsigned long *)&val, 16); in ksz9477_acl_get_cont_entr()
272 contiguous_count = end_idx - start_idx + 1; in ksz9477_acl_get_cont_entr()
284 for (i = start_idx; i <= end_idx; i++) { in ksz9477_acl_get_cont_entr()
472 u16 end_idx) in ksz9477_move_entries_downwards() argument
477 for (i = start_idx; i < end_idx; i++) { in ksz9477_move_entries_downwards()
/linux-6.12.1/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-6.12.1/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-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwsignal.c1671 u8 flow_id, max_idx, cur_idx, exp_idx, end_idx; in brcmf_fws_rxreorder() local
1789 u8 end_idx; in brcmf_fws_rxreorder() local
1795 end_idx = rfi->exp_idx; in brcmf_fws_rxreorder()
1797 end_idx = exp_idx; in brcmf_fws_rxreorder()
1800 brcmf_rxreorder_get_skb_list(rfi, rfi->exp_idx, end_idx, in brcmf_fws_rxreorder()
1819 end_idx = rfi->exp_idx; in brcmf_fws_rxreorder()
1821 end_idx = exp_idx; in brcmf_fws_rxreorder()
1823 brcmf_rxreorder_get_skb_list(rfi, rfi->exp_idx, end_idx, in brcmf_fws_rxreorder()
/linux-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/drivers/xen/
Dgrant-table.c1445 static int gnttab_map(unsigned int start_idx, unsigned int end_idx) in gnttab_map() argument
1449 unsigned int nr_gframes = end_idx + 1; in gnttab_map()
1454 unsigned int i = end_idx; in gnttab_map()
/linux-6.12.1/fs/bcachefs/
Dbtree_io.c296 unsigned end_idx) in btree_node_sort() argument
304 unsigned i, u64s = 0, bytes, shift = end_idx - start_idx - 1; in btree_node_sort()
306 end_idx == b->nsets; in btree_node_sort()
311 t < b->set + end_idx; in btree_node_sort()
338 for (t = b->set + start_idx; t < b->set + end_idx; t++) in btree_node_sort()
363 for (i = start_idx + 1; i < end_idx; i++) in btree_node_sort()
/linux-6.12.1/drivers/media/pci/tw686x/
Dtw686x-video.c714 u32 start_idx, end_idx; in tw686x_set_format() local
718 end_idx = start_idx + TW686X_MAX_SG_DESC_COUNT - 1; in tw686x_set_format()
720 val |= (end_idx << 10) | start_idx; in tw686x_set_format()
/linux-6.12.1/mm/
Dgup.c3658 pgoff_t start_idx, end_idx, next_idx; in memfd_pin_folios() local
3685 end_idx = end >> pgshift; in memfd_pin_folios()
3688 end_idx <<= huge_page_order(h); in memfd_pin_folios()
3692 while (start_idx <= end_idx && nr_folios < max_folios) { in memfd_pin_folios()
3701 end_idx, in memfd_pin_folios()
/linux-6.12.1/arch/sparc/include/asm/
Dvio.h94 u32 end_idx; member
/linux-6.12.1/drivers/block/
Dsunvdc.c340 pkt->start_idx != pkt->end_idx || in vdc_ack()
437 .end_idx = dr->prod, in __vdc_tx_trigger()
/linux-6.12.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c1449 u8 end_idx; member
1459 .end_idx = 13,
1467 .end_idx = 41,
1475 .end_idx = 50,
1483 .end_idx = 111,
/linux-6.12.1/drivers/infiniband/hw/mlx5/
Dodp.c721 unsigned long end_idx = (user_va + bcnt - 1) >> MLX5_IMR_MTT_SHIFT; in pagefault_implicit_mr() local
722 unsigned long upd_start_idx = end_idx + 1; in pagefault_implicit_mr()
/linux-6.12.1/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-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c6597 unsigned int i, j, grp_idx, end_idx = start_rx_ring_idx + nr_rings; in bnxt_hwrm_vnic_alloc() local
6610 for (i = start_rx_ring_idx, j = 0; i < end_idx; i++, j++) { in bnxt_hwrm_vnic_alloc()