Home
last modified time | relevance | path

Searched refs:start_idx (Results 1 – 25 of 82) sorted by relevance

1234

/linux-6.15/drivers/net/wireless/ath/ath9k/
H A Dar9003_aic.c312 int16_t start_idx, end_idx; in ar9003_aic_cal_post_process() local
320 if (start_idx < 0) { in ar9003_aic_cal_post_process()
322 start_idx = end_idx; in ar9003_aic_cal_post_process()
356 (i - start_idx) + ((start_idx - end_idx) >> 1)) / in ar9003_aic_cal_post_process()
357 (start_idx - end_idx) + in ar9003_aic_cal_post_process()
362 (i - start_idx) + ((start_idx - end_idx) >> 1)) / in ar9003_aic_cal_post_process()
363 (start_idx - end_idx) + in ar9003_aic_cal_post_process()
366 } else if (start_idx >= 0){ in ar9003_aic_cal_post_process()
372 (end_idx - start_idx); in ar9003_aic_cal_post_process()
376 ((end_idx - start_idx) >> 1))/ in ar9003_aic_cal_post_process()
[all …]
/linux-6.15/fs/fuse/
H A Ddax.c190 loff_t offset = start_idx << FUSE_DAX_SHIFT; in fuse_setup_one_mapping()
478 node = interval_tree_iter_first(&fi->dax->tree, start_idx, start_idx); in fuse_setup_new_dax_mapping()
590 node = interval_tree_iter_first(&fi->dax->tree, start_idx, start_idx); in fuse_iomap_begin()
919 unsigned long start_idx; in inode_inline_reclaim_one_dmap() local
929 start_idx = dmap->itn.start; in inode_inline_reclaim_one_dmap()
950 node = interval_tree_iter_first(&fi->dax->tree, start_idx, start_idx); in inode_inline_reclaim_one_dmap()
1038 unsigned long start_idx) in lookup_and_reclaim_dmap_locked() argument
1046 node = interval_tree_iter_first(&fi->dax->tree, start_idx, start_idx); in lookup_and_reclaim_dmap_locked()
1077 unsigned long start_idx, in lookup_and_reclaim_dmap() argument
1106 unsigned long start_idx = 0, end_idx = 0; in try_to_free_dmap_chunks() local
[all …]
/linux-6.15/drivers/net/wireless/silabs/wfx/
H A Dscan.c40 static int send_scan_req(struct wfx_vif *wvif, struct cfg80211_scan_request *req, int start_idx) in send_scan_req() argument
46 for (i = start_idx; i < req->n_channels; i++) { in send_scan_req()
47 ch_start = req->channels[start_idx]; in send_scan_req()
58 ret = wfx_hif_scan(wvif, req, start_idx, i - start_idx); in send_scan_req()
76 } else if (wvif->scan_nb_chan_done > i - start_idx) { in send_scan_req()
81 if (req->channels[start_idx]->max_power != vif->bss_conf.txpower) in send_scan_req()
/linux-6.15/drivers/infiniband/hw/irdma/
H A Dhmc.c198 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) in irdma_hmc_finish_add_sd_reg()
201 if ((info->start_idx + info->count) > in irdma_hmc_finish_add_sd_reg()
234 if ((info->start_idx + info->count) > in irdma_sc_create_hmc_obj()
238 info->rsrc_type, info->start_idx, info->count, in irdma_sc_create_hmc_obj()
244 info->start_idx, info->count, &sd_idx, in irdma_sc_create_hmc_obj()
252 info->start_idx, info->count, &pd_idx, in irdma_sc_create_hmc_obj()
382 info->start_idx, info->rsrc_type, in irdma_sc_del_hmc_obj()
387 if ((info->start_idx + info->count) > in irdma_sc_del_hmc_obj()
391 info->start_idx, info->count, info->rsrc_type, in irdma_sc_del_hmc_obj()
397 info->start_idx, info->count, &pd_idx, in irdma_sc_del_hmc_obj()
[all …]
H A Dhmc.h127 u32 start_idx; member
138 u32 start_idx; member
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Drsc_dump.c59 int read_size, int start_idx) in mlx5_rsc_dump_read_menu_sgmt() argument
70 if (!start_idx) { in mlx5_rsc_dump_read_menu_sgmt()
79 for (i = 0; start_idx + i < num_of_items; i++) { in mlx5_rsc_dump_read_menu_sgmt()
82 return start_idx + i; in mlx5_rsc_dump_read_menu_sgmt()
189 int start_idx = 0; in mlx5_rsc_dump_menu() local
211 start_idx = mlx5_rsc_dump_read_menu_sgmt(dev->rsc_dump, page, size, start_idx); in mlx5_rsc_dump_menu()
/linux-6.15/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_vema_iface.c317 u16 start_idx, num_macs, idx = 0, count = 0; in opa_vnic_query_mcast_macs() local
320 start_idx = be16_to_cpu(macs->start_idx); in opa_vnic_query_mcast_macs()
325 if (start_idx > idx++) in opa_vnic_query_mcast_macs()
349 u16 start_idx, tot_macs, num_macs, idx = 0, count = 0, em_macs = 0; in opa_vnic_query_ucast_macs() local
352 start_idx = be16_to_cpu(macs->start_idx); in opa_vnic_query_ucast_macs()
365 if (start_idx > idx++) in opa_vnic_query_ucast_macs()
377 if (start_idx > idx++) in opa_vnic_query_ucast_macs()
/linux-6.15/fs/squashfs/
H A Dblock.c85 int start_idx = 0, end_idx = 0; in squashfs_bio_read_cached() local
119 bio_trim(bio, start_idx * PAGE_SECTORS, in squashfs_bio_read_cached()
120 (end_idx - start_idx) * PAGE_SECTORS); in squashfs_bio_read_cached()
126 start_idx = idx; in squashfs_bio_read_cached()
134 bio_trim(bio, start_idx * PAGE_SECTORS, in squashfs_bio_read_cached()
135 (end_idx - start_idx) * PAGE_SECTORS); in squashfs_bio_read_cached()
/linux-6.15/drivers/cpuidle/
H A Ddt_idle_states.c150 unsigned int start_idx) in dt_init_idle_driver() argument
157 unsigned int state_idx = start_idx; in dt_init_idle_driver()
222 return state_idx - start_idx; in dt_init_idle_driver()
H A Ddt_idle_states.h7 unsigned int start_idx);
/linux-6.15/drivers/net/dsa/microchip/
H A Dksz9477_acl.c240 int start_idx, end_idx, contiguous_count; in ksz9477_acl_get_cont_entr() local
268 start_idx = find_first_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()
296 if (i > start_idx) { in ksz9477_acl_get_cont_entr()
470 u16 start_idx, in ksz9477_move_entries_downwards() argument
477 for (i = start_idx; i < end_idx; i++) { in ksz9477_move_entries_downwards()
509 u16 start_idx, u16 num_entries_to_move, in ksz9477_move_entries_upwards() argument
515 for (i = start_idx; i > target_idx; i--) { in ksz9477_move_entries_upwards()
/linux-6.15/drivers/net/ethernet/intel/i40e/
H A Di40e_lan_hmc.c304 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_create_lan_hmc_object()
310 if ((info->start_idx + info->count) > in i40e_create_lan_hmc_object()
320 info->start_idx, info->count, in i40e_create_lan_hmc_object()
329 info->start_idx, info->count, &pd_idx, in i40e_create_lan_hmc_object()
446 info.start_idx = 0; in i40e_configure_lan_hmc()
556 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_delete_lan_hmc_object()
563 if ((info->start_idx + info->count) > in i40e_delete_lan_hmc_object()
572 info->start_idx, info->count, &pd_idx, in i40e_delete_lan_hmc_object()
595 info->start_idx, info->count, in i40e_delete_lan_hmc_object()
639 info.start_idx = 0; in i40e_shutdown_lan_hmc()
H A Di40e_lan_hmc.h129 u32 start_idx; member
138 u32 start_idx; member
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.h138 int mlx5_get_pre_ldev_func(struct mlx5_lag *ldev, int start_idx, int end_idx);
139 int mlx5_get_next_ldev_func(struct mlx5_lag *ldev, int start_idx);
/linux-6.15/drivers/infiniband/core/
H A Dumem_odp.c354 int pfn_index, dma_index, ret = 0, start_idx; in ib_umem_odp_map_dma_and_lock() local
408 start_idx = (range.start - ib_umem_start(umem_odp)) >> page_shift; in ib_umem_odp_map_dma_and_lock()
409 dma_index = start_idx; in ib_umem_odp_map_dma_and_lock()
460 ret = dma_index - start_idx; in ib_umem_odp_map_dma_and_lock()
/linux-6.15/fs/f2fs/
H A Dcompress.c967 unsigned int start_idx = cluster_idx << in __f2fs_cluster_blocks() local
1096 pgoff_t start_idx = start_idx_of_cluster(cc); in prepare_compress_overwrite() local
1100 ret = f2fs_is_compressed_cluster(cc->inode, start_idx); in prepare_compress_overwrite()
1110 page = f2fs_pagecache_get_page(mapping, start_idx + i, in prepare_compress_overwrite()
1143 page = find_lock_page(mapping, start_idx + i); in prepare_compress_overwrite()
1222 err = f2fs_is_compressed_cluster(inode, start_idx); in f2fs_truncate_partial_cluster()
1232 start_idx, &fsdata); in f2fs_truncate_partial_cluster()
1258 f2fs_compress_write_end(inode, fsdata, start_idx, true); in f2fs_truncate_partial_cluster()
1290 pgoff_t start_idx = start_idx_of_cluster(cc); in f2fs_write_compressed_pages() local
1692 pgoff_t start_idx = start_idx_of_cluster(cc); in f2fs_alloc_dic() local
[all …]
/linux-6.15/arch/s390/include/asm/
H A Duv.h369 u16 start_idx; member
513 static inline int uv_list_secrets(struct uv_secret_list *buf, u16 start_idx, in uv_list_secrets() argument
519 .start_idx = start_idx, in uv_list_secrets()
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddm.c256 u64 start_idx; in mlx5_dm_sw_icm_dealloc() local
295 start_idx = (addr - icm_start_addr) >> MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_dealloc()
298 start_idx, num_blocks); in mlx5_dm_sw_icm_dealloc()
/linux-6.15/drivers/infiniband/hw/qib/
H A Dqib_sdma.c110 idx = txp->start_idx; in clear_sdma_activelist()
345 idx = txp->start_idx; in qib_sdma_make_progress()
377 idx = txp->start_idx; in qib_sdma_make_progress()
496 tx->txreq.start_idx = 0; in complete_sdma_err_req()
563 tx->txreq.start_idx = tail; in qib_sdma_verbs_send()
730 txp->start_idx, txp->next_descq_idx); in dump_sdma_state()
/linux-6.15/drivers/media/test-drivers/vicodec/
H A Dcodec-v4l2-fwht.h59 unsigned int start_idx);
H A Dcodec-v4l2-fwht.c60 unsigned int start_idx) in v4l2_fwht_find_nth_fmt() argument
69 if (start_idx == 0) in v4l2_fwht_find_nth_fmt()
71 start_idx--; in v4l2_fwht_find_nth_fmt()
/linux-6.15/arch/s390/kernel/
H A Duv.c813 u16 start_idx = 0; in find_secret() local
818 uv_list_secrets(list, start_idx, &list_rc, NULL); in find_secret()
828 start_idx = list->next_secret_idx; in find_secret()
829 } while (list_rc == UVC_RC_MORE_DATA && start_idx < list->next_secret_idx); in find_secret()
/linux-6.15/tools/bpf/bpftool/
H A Dcfg.c403 unsigned int start_idx; in draw_bb_node() local
405 start_idx = bb->head - func->start; in draw_bb_node()
406 dump_xlated_for_graph(dd, bb->head, bb->tail, start_idx, in draw_bb_node()
/linux-6.15/drivers/perf/
H A Darm_dmc620_pmu.c296 int idx, start_idx, end_idx; in dmc620_get_event_idx() local
299 start_idx = 0; in dmc620_get_event_idx()
302 start_idx = DMC620_PMU_CLKDIV2_MAX_COUNTERS; in dmc620_get_event_idx()
306 for (idx = start_idx; idx < end_idx; ++idx) { in dmc620_get_event_idx()
/linux-6.15/include/uapi/cxl/
H A Dfeatures.h38 __le16 start_idx; member

1234