Home
last modified time | relevance | path

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

123

/linux/drivers/net/wireless/ath/ath9k/
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/drivers/staging/wfx/
A Dscan.c42 struct cfg80211_scan_request *req, int start_idx) in send_scan_req() argument
47 for (i = start_idx; i < req->n_channels; i++) { in send_scan_req()
48 ch_start = req->channels[start_idx]; in send_scan_req()
59 ret = hif_scan(wvif, req, start_idx, i - start_idx); in send_scan_req()
77 } else if (wvif->scan_nb_chan_done > i - start_idx) { in send_scan_req()
82 if (req->channels[start_idx]->max_power != wvif->vif->bss_conf.txpower) in send_scan_req()
/linux/fs/fuse/
A Ddax.c190 loff_t offset = start_idx << FUSE_DAX_SHIFT; in fuse_setup_one_mapping()
477 node = interval_tree_iter_first(&fi->dax->tree, start_idx, start_idx); in fuse_setup_new_dax_mapping()
589 node = interval_tree_iter_first(&fi->dax->tree, start_idx, start_idx); in fuse_iomap_begin()
954 unsigned long start_idx; in inode_inline_reclaim_one_dmap() local
964 start_idx = dmap->itn.start; in inode_inline_reclaim_one_dmap()
985 node = interval_tree_iter_first(&fi->dax->tree, start_idx, start_idx); in inode_inline_reclaim_one_dmap()
1073 unsigned long start_idx) in lookup_and_reclaim_dmap_locked() argument
1081 node = interval_tree_iter_first(&fi->dax->tree, start_idx, start_idx); in lookup_and_reclaim_dmap_locked()
1112 unsigned long start_idx, in lookup_and_reclaim_dmap() argument
1141 unsigned long start_idx = 0, end_idx = 0; in try_to_free_dmap_chunks() local
[all …]
/linux/drivers/infiniband/hw/irdma/
A Dhmc.c203 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) in irdma_hmc_finish_add_sd_reg()
206 if ((info->start_idx + info->count) > in irdma_hmc_finish_add_sd_reg()
240 if ((info->start_idx + info->count) > in irdma_sc_create_hmc_obj()
244 info->rsrc_type, info->start_idx, info->count, in irdma_sc_create_hmc_obj()
250 info->start_idx, info->count, &sd_idx, in irdma_sc_create_hmc_obj()
258 info->start_idx, info->count, &pd_idx, in irdma_sc_create_hmc_obj()
389 info->start_idx, info->rsrc_type, in irdma_sc_del_hmc_obj()
394 if ((info->start_idx + info->count) > in irdma_sc_del_hmc_obj()
398 info->start_idx, info->count, info->rsrc_type, in irdma_sc_del_hmc_obj()
404 info->start_idx, info->count, &pd_idx, in irdma_sc_del_hmc_obj()
[all …]
A Dhmc.h127 u32 start_idx; member
138 u32 start_idx; member
/linux/drivers/infiniband/ulp/opa_vnic/
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/drivers/net/ethernet/intel/i40e/
A Di40e_lan_hmc.c307 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_create_lan_hmc_object()
313 if ((info->start_idx + info->count) > in i40e_create_lan_hmc_object()
323 info->start_idx, info->count, in i40e_create_lan_hmc_object()
332 info->start_idx, info->count, &pd_idx, in i40e_create_lan_hmc_object()
449 info.start_idx = 0; in i40e_configure_lan_hmc()
559 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) { in i40e_delete_lan_hmc_object()
566 if ((info->start_idx + info->count) > in i40e_delete_lan_hmc_object()
575 info->start_idx, info->count, &pd_idx, in i40e_delete_lan_hmc_object()
598 info->start_idx, info->count, in i40e_delete_lan_hmc_object()
642 info.start_idx = 0; in i40e_shutdown_lan_hmc()
A Di40e_lan_hmc.h127 u32 start_idx; member
136 u32 start_idx; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Ddm.c191 u64 start_idx; in mlx5_dm_sw_icm_dealloc() local
220 start_idx = (addr - icm_start_addr) >> MLX5_LOG_SW_ICM_BLOCK_SIZE(dev); in mlx5_dm_sw_icm_dealloc()
223 start_idx, num_blocks); in mlx5_dm_sw_icm_dealloc()
/linux/fs/f2fs/
A Dcompress.c975 unsigned int start_idx = cluster_idx << in __f2fs_cluster_blocks() local
1073 pgoff_t start_idx = start_idx_of_cluster(cc); in prepare_compress_overwrite() local
1077 ret = f2fs_is_compressed_cluster(cc->inode, start_idx); in prepare_compress_overwrite()
1087 page = f2fs_pagecache_get_page(mapping, start_idx + i, in prepare_compress_overwrite()
1120 page = find_lock_page(mapping, start_idx + i); in prepare_compress_overwrite()
1197 err = f2fs_is_compressed_cluster(inode, start_idx); in f2fs_truncate_partial_cluster()
1207 start_idx, &fsdata); in f2fs_truncate_partial_cluster()
1232 f2fs_compress_write_end(inode, fsdata, start_idx, true); in f2fs_truncate_partial_cluster()
1263 pgoff_t start_idx = start_idx_of_cluster(cc); in f2fs_write_compressed_pages() local
1581 pgoff_t start_idx = start_idx_of_cluster(cc); in f2fs_alloc_dic() local
[all …]
/linux/drivers/cpuidle/
A Ddt_idle_states.c151 unsigned int start_idx) in dt_init_idle_driver() argument
158 unsigned int state_idx = start_idx; in dt_init_idle_driver()
A Ddt_idle_states.h7 unsigned int start_idx);
/linux/drivers/infiniband/core/
A Dumem_odp.c355 int pfn_index, dma_index, ret = 0, start_idx; in ib_umem_odp_map_dma_and_lock() local
409 start_idx = (range.start - ib_umem_start(umem_odp)) >> page_shift; in ib_umem_odp_map_dma_and_lock()
410 dma_index = start_idx; in ib_umem_odp_map_dma_and_lock()
461 ret = dma_index - start_idx; in ib_umem_odp_map_dma_and_lock()
/linux/drivers/infiniband/hw/qib/
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/drivers/perf/
A Darm_dmc620_pmu.c269 int idx, start_idx, end_idx; in dmc620_get_event_idx() local
272 start_idx = 0; in dmc620_get_event_idx()
275 start_idx = DMC620_PMU_CLKDIV2_MAX_COUNTERS; in dmc620_get_event_idx()
279 for (idx = start_idx; idx < end_idx; ++idx) { in dmc620_get_event_idx()
/linux/drivers/media/test-drivers/vicodec/
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()
A Dcodec-v4l2-fwht.h59 unsigned int start_idx);
/linux/drivers/vdpa/
A Dvdpa.c663 int start_idx; member
675 if (info->idx < info->start_idx) { in vdpa_dev_dump()
694 info.start_idx = cb->args[0]; in vdpa_nl_cmd_dev_get_dumpit()
835 if (info->idx < info->start_idx) { in vdpa_dev_config_dump()
856 info.start_idx = cb->args[0]; in vdpa_nl_cmd_dev_config_get_dumpit()
/linux/tools/bpf/bpftool/
A Dcfg.c400 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()
A Dxlated_dumper.c361 unsigned int start_idx) in dump_xlated_for_graph() argument
374 printf("% 4d: ", (int)(cur - insn_start + start_idx)); in dump_xlated_for_graph()
/linux/drivers/dma/ti/
A Dk3-udma.c164 u32 start_idx[3]; member
450 if (chan_id >= tpl_map->start_idx[i]) in udma_get_chan_tpl_index()
1330 start = ud->res##_tpl.start_idx[tpl]; \
4466 ud->tchan_tpl.start_idx[0] = 8; in udma_setup_resources()
4470 ud->tchan_tpl.start_idx[0] = 2; in udma_setup_resources()
4473 ud->tchan_tpl.start_idx[1] = UDMA_CAP3_UCHAN_CNT(cap3); in udma_setup_resources()
4474 ud->tchan_tpl.start_idx[0] = UDMA_CAP3_HCHAN_CNT(cap3); in udma_setup_resources()
4483 ud->rchan_tpl.start_idx[0] = ud->tchan_tpl.start_idx[0]; in udma_setup_resources()
4484 ud->rchan_tpl.start_idx[1] = ud->tchan_tpl.start_idx[1]; in udma_setup_resources()
4842 ud->rchan_tpl.start_idx[0] = ud->tchan_tpl.start_idx[0]; in pktdma_setup_resources()
[all …]
/linux/drivers/net/wireless/realtek/rtw89/
A Dpci.c1111 [RTW89_TXCH_ACH0] = {.start_idx = 0, .max_num = 5, .min_num = 2},
1112 [RTW89_TXCH_ACH1] = {.start_idx = 5, .max_num = 5, .min_num = 2},
1113 [RTW89_TXCH_ACH2] = {.start_idx = 10, .max_num = 5, .min_num = 2},
1114 [RTW89_TXCH_ACH3] = {.start_idx = 15, .max_num = 5, .min_num = 2},
1115 [RTW89_TXCH_ACH4] = {.start_idx = 20, .max_num = 5, .min_num = 2},
1116 [RTW89_TXCH_ACH5] = {.start_idx = 25, .max_num = 5, .min_num = 2},
1117 [RTW89_TXCH_ACH6] = {.start_idx = 30, .max_num = 5, .min_num = 2},
1118 [RTW89_TXCH_ACH7] = {.start_idx = 35, .max_num = 5, .min_num = 2},
1119 [RTW89_TXCH_CH8] = {.start_idx = 40, .max_num = 5, .min_num = 1},
1120 [RTW89_TXCH_CH9] = {.start_idx = 45, .max_num = 5, .min_num = 1},
[all …]
/linux/fs/udf/
A Dunicode.c50 int start_idx = str_i_idx; in get_utf16_char() local
86 return str_i_idx - start_idx; in get_utf16_char()
/linux/drivers/net/wireless/ath/wil6210/
A Dpcie_bus.c306 int i, start_idx; in wil_pcie_probe() local
384 start_idx = wil->use_enhanced_dma_hw ? 0 : 1; in wil_pcie_probe()
386 for (i = start_idx; i < ARRAY_SIZE(dma_addr_size); i++) { in wil_pcie_probe()
/linux/drivers/input/rmi4/
A Drmi_bus.c380 static void __rmi_unregister_function_handlers(int start_idx) in __rmi_unregister_function_handlers() argument
384 for (i = start_idx; i >= 0; i--) in __rmi_unregister_function_handlers()

Completed in 604 milliseconds

123