Home
last modified time | relevance | path

Searched refs:index (Results 5101 - 5125 of 13372) sorted by relevance

1...<<201202203204205206207208209210>>...535

/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos-gsc/
H A Dgsc-core.c200 const struct gsc_fmt *get_format(int index) in get_format() argument
202 if (index >= ARRAY_SIZE(gsc_formats)) in get_format()
205 return (struct gsc_fmt *)&gsc_formats[index]; in get_format()
208 const struct gsc_fmt *find_fmt(u32 *pixelformat, u32 *mbus_code, u32 index) in find_fmt() argument
213 if (index >= ARRAY_SIZE(gsc_formats)) in find_fmt()
222 if (index == i) in find_fmt()
312 fmt = find_fmt(NULL, NULL, f->index); in gsc_enum_fmt()
321 static int get_plane_info(struct gsc_frame *frm, u32 addr, u32 *index, u32 *ret_addr) in get_plane_info() argument
324 *index = 0; in get_plane_info()
327 *index in get_plane_info()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/renesas/
H A Drenesas-ceu.c976 .index = 0, in ceu_init_mbus_fmt()
1000 sd_mbus_fmt.index++; in ceu_init_mbus_fmt()
1144 if (f->index >= ARRAY_SIZE(ceu_fmt_list)) in ceu_enum_fmt_vid_cap()
1147 fmt = &ceu_fmt_list[f->index]; in ceu_enum_fmt_vid_cap()
1188 if (inp->index >= ceudev->num_sd) in ceu_enum_input()
1191 ceusd = ceudev->subdevs[inp->index]; in ceu_enum_input()
1196 inp->index, ceusd->v4l2_sd->name); in ceu_enum_input()
1278 .index = fsize->index, in ceu_enum_framesizes()
1310 .index in ceu_enum_frameintervals()
[all...]
/kernel/linux/linux-6.6/drivers/of/
H A Dbase.c325 int index = 0, score = 0; in __of_device_is_compatible() local
331 cp = of_prop_next_string(prop, cp), index++) { in __of_device_is_compatible()
333 score = INT_MAX/2 - (index << 2); in __of_device_is_compatible()
1244 int cell_count, int index, in __of_parse_phandle_with_args()
1250 if (index < 0) in __of_parse_phandle_with_args()
1258 * index matches, then fill the out_args structure and return, in __of_parse_phandle_with_args()
1262 if (cur_index == index) { in __of_parse_phandle_with_args()
1287 * -ENOENT : index is for empty phandle in __of_parse_phandle_with_args()
1302 * @index: index o
1241 __of_parse_phandle_with_args(const struct device_node *np, const char *list_name, const char *cells_name, int cell_count, int index, struct of_phandle_args *out_args) __of_parse_phandle_with_args() argument
1339 of_parse_phandle_with_args_map(const struct device_node *np, const char *list_name, const char *stem_name, int index, struct of_phandle_args *out_args) of_parse_phandle_with_args_map() argument
1867 of_console_check(struct device_node *dn, char *name, int index) of_console_check() argument
[all...]
/kernel/linux/linux-6.6/block/
H A Dgenhd.c169 /* index in the above - for now: assume no multimajor ranges */
218 int index, ret = 0; in __register_blkdev() local
224 for (index = ARRAY_SIZE(major_names)-1; index > 0; index--) { in __register_blkdev()
225 if (major_names[index] == NULL) in __register_blkdev()
229 if (index == 0) { in __register_blkdev()
235 major = index; in __register_blkdev()
259 index = major_to_index(major); in __register_blkdev()
262 for (n = &major_names[index]; * in __register_blkdev()
287 int index = major_to_index(major); unregister_blkdev() local
[all...]
H A Dblk-throttle.c1572 int index = of_cft(of)->private; in tg_set_limit() local
1583 v[0] = tg->bps_conf[READ][index]; in tg_set_limit()
1584 v[1] = tg->bps_conf[WRITE][index]; in tg_set_limit()
1585 v[2] = tg->iops_conf[READ][index]; in tg_set_limit()
1586 v[3] = tg->iops_conf[WRITE][index]; in tg_set_limit()
1629 tg->bps_conf[READ][index] = v[0]; in tg_set_limit()
1630 tg->bps_conf[WRITE][index] = v[1]; in tg_set_limit()
1631 tg->iops_conf[READ][index] = v[2]; in tg_set_limit()
1632 tg->iops_conf[WRITE][index] = v[3]; in tg_set_limit()
1634 if (index in tg_set_limit()
2289 int index; throtl_track_latency() local
[all...]
/kernel/linux/linux-6.6/drivers/iio/light/
H A Dltr501.c350 int ret, i, index = -1, status; in ltr501_set_it_time() local
354 index = i; in ltr501_set_it_time()
358 /* Make sure integ time index is valid */ in ltr501_set_it_time()
359 if (index < 0) in ltr501_set_it_time()
371 if (index > 1) in ltr501_set_it_time()
375 if (index == 1) in ltr501_set_it_time()
378 return regmap_field_write(data->reg_it, index); in ltr501_set_it_time()
385 int ret, index; in ltr501_read_it_time() local
387 ret = regmap_field_read(data->reg_it, &index); in ltr501_read_it_time()
391 /* Make sure integ time index i in ltr501_read_it_time()
[all...]
/kernel/linux/linux-6.6/sound/drivers/vx/
H A Dvx_mixer.c71 * @reg: register index
358 * @audio: the audio index
413 int codec = kcontrol->id.index; in vx_output_level_get()
424 int codec = kcontrol->id.index; in vx_output_level_put()
911 temp.index = i; in snd_vx_mixer_new()
922 temp.index = i; in snd_vx_mixer_new()
929 temp.index = i; in snd_vx_mixer_new()
935 temp.index = i; in snd_vx_mixer_new()
941 temp.index = i; in snd_vx_mixer_new()
949 temp.index in snd_vx_mixer_new()
[all...]
/kernel/liteos_m/kernel/src/
H A Dlos_task.c424 UINT32 index; in OsTaskInit() local
437 for (index = 0; index <= LOSCFG_BASE_CORE_TSK_LIMIT; index++) { in OsTaskInit()
438 g_taskCBArray[index].taskStatus = OS_TASK_STATUS_UNUSED; in OsTaskInit()
439 g_taskCBArray[index].taskID = index; in OsTaskInit()
440 LOS_ListTailInsert(&g_losFreeTask, &g_taskCBArray[index].pendList); in OsTaskInit()
446 g_losTask.runTask->taskID = index; in OsTaskInit()
1427 LITE_OS_SEC_TEXT_MINOR UINT32 LOS_TaskSwitchInfoGet(UINT32 index, UINT3 argument
[all...]
/kernel/linux/linux-6.6/kernel/time/
H A Dhrtimer.c63 * There are more clockids than hrtimer bases. Thus, we index
74 .index = HRTIMER_BASE_MONOTONIC,
79 .index = HRTIMER_BASE_REALTIME,
84 .index = HRTIMER_BASE_BOOTTIME,
89 .index = HRTIMER_BASE_TAI,
94 .index = HRTIMER_BASE_MONOTONIC_SOFT,
99 .index = HRTIMER_BASE_REALTIME_SOFT,
104 .index = HRTIMER_BASE_BOOTTIME_SOFT,
109 .index = HRTIMER_BASE_TAI_SOFT,
231 int basenum = base->index; in switch_hrtimer_base()
[all...]
/kernel/linux/linux-5.10/block/
H A Dblk-throttle.c1689 int index = of_cft(of)->private; in tg_set_limit() local
1700 v[0] = tg->bps_conf[READ][index]; in tg_set_limit()
1701 v[1] = tg->bps_conf[WRITE][index]; in tg_set_limit()
1702 v[2] = tg->iops_conf[READ][index]; in tg_set_limit()
1703 v[3] = tg->iops_conf[WRITE][index]; in tg_set_limit()
1746 tg->bps_conf[READ][index] = v[0]; in tg_set_limit()
1747 tg->bps_conf[WRITE][index] = v[1]; in tg_set_limit()
1748 tg->iops_conf[READ][index] = v[2]; in tg_set_limit()
1749 tg->iops_conf[WRITE][index] = v[3]; in tg_set_limit()
1751 if (index in tg_set_limit()
2365 int index; throtl_track_latency() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dphy.c919 static void handle_path_a(struct rtl_efuse *rtlefuse, u8 index, in handle_path_a() argument
924 rtlefuse->txpwrlevel_cck[RF90_PATH_A][index]; in handle_path_a()
926 if (rtlefuse->txpwr_ht20diff[RF90_PATH_A][index] > 0x0f) in handle_path_a()
928 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] - in handle_path_a()
929 (~(rtlefuse->txpwr_ht20diff[RF90_PATH_A][index]) + 1); in handle_path_a()
932 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] + in handle_path_a()
933 rtlefuse->txpwr_ht20diff[RF90_PATH_A][index]; in handle_path_a()
934 if (rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][index] > 0xf) in handle_path_a()
936 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] - in handle_path_a()
937 (~(rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][index]) in handle_path_a()
951 u8 index = (channel - 1); _rtl88e_get_txpower_index() local
[all...]
/kernel/linux/linux-5.10/drivers/video/fbdev/
H A Dsh_mobile_lcdcfb.c153 * @index: Overlay index (0-3)
180 unsigned int index; member
785 lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); in sh_mobile_lcdc_overlay_setup()
786 lcdc_write_overlay(ovl, LDBnBSIFR(ovl->index), 0); in sh_mobile_lcdc_overlay_setup()
788 LDBCR_UPF(ovl->index) | LDBCR_UPD(ovl->index)); in sh_mobile_lcdc_overlay_setup()
850 lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); in sh_mobile_lcdc_overlay_setup()
852 lcdc_write_overlay(ovl, LDBnBSIFR(ovl->index), format); in sh_mobile_lcdc_overlay_setup()
854 lcdc_write_overlay(ovl, LDBnBSSZR(ovl->index), in sh_mobile_lcdc_overlay_setup()
[all...]
/kernel/linux/linux-5.10/fs/ntfs/
H A Dmft.c42 unsigned long index, end_index; in map_mft_record_page() local
47 * The index into the page cache and the offset within the page cache in map_mft_record_page()
52 index = (u64)ni->mft_no << vol->mft_record_size_bits >> in map_mft_record_page()
57 /* The maximum valid index into the page cache for $MFT's data. */ in map_mft_record_page()
60 /* If the wanted index is out of bounds the mft record doesn't exist. */ in map_mft_record_page()
61 if (unlikely(index >= end_index)) { in map_mft_record_page()
62 if (index > end_index || (i_size & ~PAGE_MASK) < ofs + in map_mft_record_page()
73 page = ntfs_map_page(mft_vi->i_mapping, index); in map_mft_record_page()
2092 pgoff_t index, end_index; in ntfs_mft_record_format() local
2098 * The index int in ntfs_mft_record_format()
2249 pgoff_t index; ntfs_mft_record_alloc() local
[all...]
/kernel/linux/linux-5.10/fs/quota/
H A Ddquot.c1739 int cnt, ret = 0, index; in __dquot_alloc_space() local
1760 index = srcu_read_lock(&dquot_srcu); in __dquot_alloc_space()
1798 srcu_read_unlock(&dquot_srcu, index); in __dquot_alloc_space()
1810 int cnt, ret = 0, index; in dquot_alloc_inode() local
1821 index = srcu_read_lock(&dquot_srcu); in dquot_alloc_inode()
1846 srcu_read_unlock(&dquot_srcu, index); in dquot_alloc_inode()
1859 int cnt, index; in dquot_claim_space_nodirty() local
1870 index = srcu_read_lock(&dquot_srcu); in dquot_claim_space_nodirty()
1889 srcu_read_unlock(&dquot_srcu, index); in dquot_claim_space_nodirty()
1901 int cnt, index; in dquot_reclaim_space_nodirty() local
1945 int reserve = flags & DQUOT_SPACE_RESERVE, index; __dquot_free_space() local
2002 int index; dquot_free_inode() local
2048 int cnt, index, ret = 0; __dquot_transfer() local
[all...]
/kernel/linux/linux-5.10/net/ipv4/
H A Dfib_trie.c221 unsigned long index = key ^ kv->key; in get_index() local
226 return index >> kv->pos; in get_index()
272 * index into the parent's child array. That is, they will be used to find
281 * The bits from (n->pos) to (n->pos + n->bits - 1) - "C" - are the index into
938 unsigned long index = 0; in fib_find_node() local
942 n = get_child_rcu(n, index); in fib_find_node()
947 index = get_cindex(key, n); in fib_find_node()
951 * prefix plus zeros for the bits in the cindex. The index in fib_find_node()
954 * if (index >= (1ul << bits)) in fib_find_node()
963 if (index > in fib_find_node()
1407 unsigned long index; fib_table_lookup() local
2408 unsigned int index; global() member
[all...]
/kernel/linux/linux-6.6/fs/quota/
H A Ddquot.c1693 int cnt, ret = 0, index; in __dquot_alloc_space() local
1714 index = srcu_read_lock(&dquot_srcu); in __dquot_alloc_space()
1752 srcu_read_unlock(&dquot_srcu, index); in __dquot_alloc_space()
1764 int cnt, ret = 0, index; in dquot_alloc_inode() local
1775 index = srcu_read_lock(&dquot_srcu); in dquot_alloc_inode()
1800 srcu_read_unlock(&dquot_srcu, index); in dquot_alloc_inode()
1813 int cnt, index; in dquot_claim_space_nodirty() local
1824 index = srcu_read_lock(&dquot_srcu); in dquot_claim_space_nodirty()
1843 srcu_read_unlock(&dquot_srcu, index); in dquot_claim_space_nodirty()
1855 int cnt, index; in dquot_reclaim_space_nodirty() local
1899 int reserve = flags & DQUOT_SPACE_RESERVE, index; __dquot_free_space() local
1956 int index; dquot_free_inode() local
2003 int cnt, index, ret = 0; __dquot_transfer() local
[all...]
/kernel/linux/linux-6.6/fs/ntfs/
H A Dmft.c42 unsigned long index, end_index; in map_mft_record_page() local
47 * The index into the page cache and the offset within the page cache in map_mft_record_page()
52 index = (u64)ni->mft_no << vol->mft_record_size_bits >> in map_mft_record_page()
57 /* The maximum valid index into the page cache for $MFT's data. */ in map_mft_record_page()
60 /* If the wanted index is out of bounds the mft record doesn't exist. */ in map_mft_record_page()
61 if (unlikely(index >= end_index)) { in map_mft_record_page()
62 if (index > end_index || (i_size & ~PAGE_MASK) < ofs + in map_mft_record_page()
73 page = ntfs_map_page(mft_vi->i_mapping, index); in map_mft_record_page()
2094 pgoff_t index, end_index; in ntfs_mft_record_format() local
2100 * The index int in ntfs_mft_record_format()
2251 pgoff_t index; ntfs_mft_record_alloc() local
[all...]
/kernel/linux/linux-6.6/drivers/video/fbdev/
H A Dsh_mobile_lcdcfb.c152 * @index: Overlay index (0-3)
179 unsigned int index; member
778 lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); in sh_mobile_lcdc_overlay_setup()
779 lcdc_write_overlay(ovl, LDBnBSIFR(ovl->index), 0); in sh_mobile_lcdc_overlay_setup()
781 LDBCR_UPF(ovl->index) | LDBCR_UPD(ovl->index)); in sh_mobile_lcdc_overlay_setup()
843 lcdc_write(ovl->channel->lcdc, LDBCR, LDBCR_UPC(ovl->index)); in sh_mobile_lcdc_overlay_setup()
845 lcdc_write_overlay(ovl, LDBnBSIFR(ovl->index), format); in sh_mobile_lcdc_overlay_setup()
847 lcdc_write_overlay(ovl, LDBnBSSZR(ovl->index), in sh_mobile_lcdc_overlay_setup()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Dphy.c919 static void handle_path_a(struct rtl_efuse *rtlefuse, u8 index, in handle_path_a() argument
924 rtlefuse->txpwrlevel_cck[RF90_PATH_A][index]; in handle_path_a()
926 if (rtlefuse->txpwr_ht20diff[RF90_PATH_A][index] > 0x0f) in handle_path_a()
928 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] - in handle_path_a()
929 (~(rtlefuse->txpwr_ht20diff[RF90_PATH_A][index]) + 1); in handle_path_a()
932 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] + in handle_path_a()
933 rtlefuse->txpwr_ht20diff[RF90_PATH_A][index]; in handle_path_a()
934 if (rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][index] > 0xf) in handle_path_a()
936 rtlefuse->txpwrlevel_ht40_1s[RF90_PATH_A][index] - in handle_path_a()
937 (~(rtlefuse->txpwr_legacyhtdiff[RF90_PATH_A][index]) in handle_path_a()
951 u8 index = (channel - 1); _rtl88e_get_txpower_index() local
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dfib_trie.c222 unsigned long index = key ^ kv->key; in get_index() local
227 return index >> kv->pos; in get_index()
273 * index into the parent's child array. That is, they will be used to find
282 * The bits from (n->pos) to (n->pos + n->bits - 1) - "C" - are the index into
939 unsigned long index = 0; in fib_find_node() local
943 n = get_child_rcu(n, index); in fib_find_node()
948 index = get_cindex(key, n); in fib_find_node()
952 * prefix plus zeros for the bits in the cindex. The index in fib_find_node()
955 * if (index >= (1ul << bits)) in fib_find_node()
964 if (index > in fib_find_node()
1454 unsigned long index; fib_table_lookup() local
2450 unsigned int index; global() member
[all...]
/kernel/linux/linux-5.10/drivers/clk/davinci/
H A Dda8xx-cfgchip.c213 static int da8xx_cfgchip_mux_clk_set_parent(struct clk_hw *hw, u8 index) in da8xx_cfgchip_mux_clk_set_parent() argument
216 unsigned int val = index ? clk->mask : 0; in da8xx_cfgchip_mux_clk_set_parent()
470 static int da8xx_usb0_clk48_set_parent(struct clk_hw *hw, u8 index) in da8xx_usb0_clk48_set_parent() argument
476 index ? CFGCHIP2_USB2PHYCLKMUX : 0); in da8xx_usb0_clk48_set_parent()
548 static int da8xx_usb1_clk48_set_parent(struct clk_hw *hw, u8 index) in da8xx_usb1_clk48_set_parent() argument
554 index ? CFGCHIP2_USB1PHYCLKMUX : 0); in da8xx_usb1_clk48_set_parent()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_hdcp.c178 mod_hdcp_query_display(&hdcp_w->hdcp, aconnector->base.index, &query); in hdcp_update_display()
182 mod_hdcp_remove_display(&hdcp_w->hdcp, aconnector->base.index, &hdcp_w->output); in hdcp_update_display()
229 mod_hdcp_remove_display(&hdcp_w->hdcp, aconnector->base.index, &hdcp_w->output); in hdcp_remove_display()
330 mod_hdcp_query_display(&hdcp_work->hdcp, aconnector->base.index, &query); in event_property_validate()
446 display->index = aconnector->base.index; in update_config()
/kernel/linux/linux-5.10/drivers/mtd/
H A Dnftlmount.c62 block * nftl->EraseSize, nftl->mbd.mtd->index, ret); in find_boot_record()
73 block * nftl->EraseSize, nftl->mbd.mtd->index); in find_boot_record()
84 block * nftl->EraseSize, nftl->mbd.mtd->index, ret); in find_boot_record()
94 block * nftl->EraseSize, nftl->mbd.mtd->index, in find_boot_record()
104 block * nftl->EraseSize, nftl->mbd.mtd->index, ret); in find_boot_record()
111 block * nftl->EraseSize, nftl->mbd.mtd->index); in find_boot_record()
/kernel/linux/linux-5.10/drivers/hid/intel-ish-hid/
H A Dishtp-hid-client.c24 * @cur_pos: Current position index in payload
214 /* Get index of device that matches this id */ in process_recv()
246 /* Get index of device that matches this id */ in process_recv()
533 * @index: Index into the hid_descr array
539 static int ishtp_get_hid_descriptor(struct ishtp_cl *hid_ishtp_cl, int index) in ishtp_get_hid_descriptor() argument
549 msg.hdr.device_id = client_data->hid_devices[index].dev_id; in ishtp_get_hid_descriptor()
565 if (!client_data->hid_descr[index]) { in ishtp_get_hid_descriptor()
578 * @index: Index into the hid_descr array
586 int index) in ishtp_get_report_descriptor()
596 msg.hdr.device_id = client_data->hid_devices[index] in ishtp_get_report_descriptor()
585 ishtp_get_report_descriptor(struct ishtp_cl *hid_ishtp_cl, int index) ishtp_get_report_descriptor() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dmad.c453 int mlx5_query_mad_ifc_pkey(struct ib_device *ibdev, u8 port, u16 index, in mlx5_query_mad_ifc_pkey() argument
467 in_mad->attr_mod = cpu_to_be32(index / 32); in mlx5_query_mad_ifc_pkey()
474 *pkey = be16_to_cpu(((__be16 *)out_mad->data)[index % 32]); in mlx5_query_mad_ifc_pkey()
482 int mlx5_query_mad_ifc_gids(struct ib_device *ibdev, u8 port, int index, in mlx5_query_mad_ifc_gids() argument
507 in_mad->attr_mod = cpu_to_be32(index / 8); in mlx5_query_mad_ifc_gids()
514 memcpy(gid->raw + 8, out_mad->data + (index % 8) * 8, 8); in mlx5_query_mad_ifc_gids()

Completed in 49 milliseconds

1...<<201202203204205206207208209210>>...535