Searched refs:start_idx (Results 1 - 25 of 76) sorted by relevance

1234

/linux-master/drivers/cpuidle/
H A Ddt_idle_states.h7 unsigned int start_idx);
H A Ddt_idle_states.c140 * @start_idx: First idle state index to be initialized
144 * from index start_idx.
150 unsigned int start_idx)
157 unsigned int state_idx = start_idx;
222 return state_idx - start_idx;
148 dt_init_idle_driver(struct cpuidle_driver *drv, const struct of_device_id *matches, unsigned int start_idx) argument
/linux-master/drivers/net/wireless/ath/ath9k/
H A Dar9003_aic.c312 int16_t start_idx, end_idx; local
317 start_idx = ar9003_aic_find_valid(cal_sram_valid, 0, i);
320 if (start_idx < 0) {
322 start_idx = end_idx;
323 end_idx = ar9003_aic_find_valid(cal_sram_valid, 1, start_idx);
331 ((aic_sram[start_idx].dir_path_gain_lin -
333 (start_idx - i) + ((end_idx - i) >> 1)) /
335 aic_sram[start_idx].dir_path_gain_lin;
337 ((aic_sram[start_idx].quad_path_gain_lin -
339 (start_idx
[all...]
/linux-master/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) argument
46 for (i = start_idx; i < req->n_channels; i++) {
47 ch_start = req->channels[start_idx];
58 ret = wfx_hif_scan(wvif, req, start_idx, i - start_idx);
76 } else if (wvif->scan_nb_chan_done > i - start_idx) {
81 if (req->channels[start_idx]->max_power != vif->bss_conf.txpower)
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Drsc_dump.c59 int read_size, int start_idx)
70 if (!start_idx) {
79 for (i = 0; start_idx + i < num_of_items; i++) {
82 return start_idx + i;
189 int start_idx = 0; local
211 start_idx = mlx5_rsc_dump_read_menu_sgmt(dev->rsc_dump, page, size, start_idx);
58 mlx5_rsc_dump_read_menu_sgmt(struct mlx5_rsc_dump *rsc_dump, struct page *page, int read_size, int start_idx) argument
/linux-master/drivers/infiniband/hw/irdma/
H A Dhmc.c198 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt)
201 if ((info->start_idx + info->count) >
231 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt)
234 if ((info->start_idx + info->count) >
238 info->rsrc_type, info->start_idx, info->count,
244 info->start_idx, info->count, &sd_idx,
252 info->start_idx, info->count, &pd_idx,
379 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) {
381 "HMC: error start_idx[%04d] >= [type %04d].cnt[%04d]\n",
382 info->start_idx, inf
[all...]
H A Dhmc.h127 u32 start_idx; member in struct:irdma_hmc_create_obj_info
138 u32 start_idx; member in struct:irdma_hmc_del_obj_info
/linux-master/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_vema_iface.c317 u16 start_idx, num_macs, idx = 0, count = 0; local
320 start_idx = be16_to_cpu(macs->start_idx);
325 if (start_idx > idx++)
349 u16 start_idx, tot_macs, num_macs, idx = 0, count = 0, em_macs = 0; local
352 start_idx = be16_to_cpu(macs->start_idx);
365 if (start_idx > idx++)
377 if (start_idx > idx++)
/linux-master/fs/fuse/
H A Ddax.c182 static int fuse_setup_one_mapping(struct inode *inode, unsigned long start_idx, argument
190 loff_t offset = start_idx << FUSE_DAX_SHIFT;
221 dmap->itn.start = dmap->itn.last = start_idx;
294 pr_debug("fuse: freeing memory range start_idx=0x%lx end_idx=0x%lx window_offset=0x%llx length=0x%llx\n",
317 unsigned long start_idx = start >> FUSE_DAX_SHIFT; local
322 node = interval_tree_iter_first(&fi->dax->tree, start_idx,
441 unsigned long start_idx = pos >> FUSE_DAX_SHIFT; local
477 node = interval_tree_iter_first(&fi->dax->tree, start_idx, start_idx);
569 unsigned long start_idx local
952 unsigned long start_idx; local
1069 lookup_and_reclaim_dmap_locked(struct fuse_conn_dax *fcd, struct inode *inode, unsigned long start_idx) argument
1108 lookup_and_reclaim_dmap(struct fuse_conn_dax *fcd, struct inode *inode, unsigned long start_idx, unsigned long end_idx) argument
1139 unsigned long start_idx = 0, end_idx = 0; local
[all...]
/linux-master/fs/squashfs/
H A Dblock.c85 int start_idx = 0, end_idx = 0; local
119 bio_trim(bio, start_idx * PAGE_SECTORS,
120 (end_idx - start_idx) * PAGE_SECTORS);
126 start_idx = idx;
134 bio_trim(bio, start_idx * PAGE_SECTORS,
135 (end_idx - start_idx) * PAGE_SECTORS);
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_lan_hmc.h129 u32 start_idx; member in struct:i40e_hmc_lan_create_obj_info
138 u32 start_idx; member in struct:i40e_hmc_lan_delete_obj_info
H A Di40e_lan_hmc.c304 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) {
310 if ((info->start_idx + info->count) >
320 info->start_idx, info->count,
329 info->start_idx, info->count, &pd_idx,
446 info.start_idx = 0;
556 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) {
563 if ((info->start_idx + info->count) >
572 info->start_idx, info->count, &pd_idx,
595 info->start_idx, info->count,
639 info.start_idx
[all...]
/linux-master/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)
69 if (start_idx == 0)
71 start_idx--;
56 v4l2_fwht_find_nth_fmt(u32 width_div, u32 height_div, u32 components_num, u32 pixenc, unsigned int start_idx) argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Ddm.c256 u64 start_idx; local
295 start_idx = (addr - icm_start_addr) >> MLX5_LOG_SW_ICM_BLOCK_SIZE(dev);
298 start_idx, num_blocks);
/linux-master/drivers/infiniband/core/
H A Dumem_odp.c352 int pfn_index, dma_index, ret = 0, start_idx; variable
406 start_idx = (range.start - ib_umem_start(umem_odp)) >> page_shift;
407 dma_index = start_idx;
458 ret = dma_index - start_idx;
/linux-master/drivers/net/dsa/microchip/
H A Dksz9477_acl.c240 int start_idx, end_idx, contiguous_count; local
268 start_idx = find_first_bit((unsigned long *)&val, 16);
272 contiguous_count = end_idx - start_idx + 1;
284 for (i = start_idx; i <= end_idx; i++) {
296 if (i > start_idx) {
455 * @start_idx: Starting index of the entries to be relocated.
470 u16 start_idx,
477 for (i = start_idx; i < end_idx; i++) {
495 * @start_idx: The starting index of the entries to be moved.
509 u16 start_idx, u1
468 ksz9477_move_entries_downwards(struct ksz_device *dev, struct ksz9477_acl_entries *acles, u16 start_idx, u16 num_entries_to_move, u16 end_idx) argument
507 ksz9477_move_entries_upwards(struct ksz_device *dev, struct ksz9477_acl_entries *acles, u16 start_idx, u16 num_entries_to_move, u16 target_idx) argument
[all...]
/linux-master/fs/f2fs/
H A Dcompress.c969 unsigned int start_idx = cluster_idx << local
974 ret = f2fs_get_dnode_of_data(&dn, start_idx, LOOKUP_NODE);
1053 pgoff_t start_idx = start_idx_of_cluster(cc); local
1057 ret = f2fs_is_compressed_cluster(cc->inode, start_idx);
1067 page = f2fs_pagecache_get_page(mapping, start_idx + i,
1100 page = find_lock_page(mapping, start_idx + i);
1173 pgoff_t start_idx = from >> (PAGE_SHIFT + log_cluster_size) << local
1177 err = f2fs_is_compressed_cluster(inode, start_idx);
1187 start_idx, &fsdata);
1212 f2fs_compress_write_end(inode, fsdata, start_idx, tru
1244 pgoff_t start_idx = start_idx_of_cluster(cc); local
1631 pgoff_t start_idx = start_idx_of_cluster(cc); local
[all...]
/linux-master/tools/bpf/bpftool/
H A Dcfg.c402 unsigned int start_idx; local
404 start_idx = bb->head - func->start;
405 dump_xlated_for_graph(dd, bb->head, bb->tail, start_idx,
/linux-master/drivers/perf/
H A Darm_dmc620_pmu.c296 int idx, start_idx, end_idx; local
299 start_idx = 0;
302 start_idx = DMC620_PMU_CLKDIV2_MAX_COUNTERS;
306 for (idx = start_idx; idx < end_idx; ++idx) {
/linux-master/fs/udf/
H A Dunicode.c46 int start_idx = str_i_idx; local
82 return str_i_idx - start_idx;
/linux-master/sound/hda/ext/
H A Dhdac_ext_stream.c86 * @start_idx: start index for streams
90 int snd_hdac_ext_stream_init_all(struct hdac_bus *bus, int start_idx, argument
96 int i, tag, idx = start_idx;
/linux-master/drivers/net/ethernet/google/gve/
H A Dgve_tx_dqo.c385 if (cfg->start_idx + cfg->num_rings > cfg->qcfg->max_queues) {
391 if (cfg->start_idx == 0) {
402 for (i = cfg->start_idx; i < cfg->start_idx + cfg->num_rings; i++) {
418 if (cfg->start_idx == 0)
432 for (i = cfg->start_idx; i < cfg->start_idx + cfg->num_rings; i++)
435 if (cfg->start_idx == 0) {
H A Dgve_tx.c329 if (cfg->start_idx + cfg->num_rings > cfg->qcfg->max_queues) {
335 if (cfg->start_idx == 0) {
346 for (i = cfg->start_idx; i < cfg->start_idx + cfg->num_rings; i++) {
362 if (cfg->start_idx == 0)
376 for (i = cfg->start_idx; i < cfg->start_idx + cfg->num_rings; i++)
379 if (cfg->start_idx == 0) {
/linux-master/drivers/input/rmi4/
H A Drmi_bus.c380 static void __rmi_unregister_function_handlers(int start_idx) argument
384 for (i = start_idx; i >= 0; i--)

Completed in 302 milliseconds

1234