/kernel/linux/linux-6.6/drivers/media/pci/saa7164/ |
H A D | saa7164-encoder.c | 248 if (i->index >= 7) in saa7164_enum_input() 251 strscpy(i->name, inputs[i->index], sizeof(i->name)); in saa7164_enum_input() 253 if (i->index == 0) in saa7164_enum_input() 315 if (0 != t->index) in saa7164_g_tuner() 331 if (0 != t->index) in saa7164_s_tuner() 502 if (f->index != 0) in vidioc_enum_fmt_vid_cap()
|
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | ov5695.c | 874 if (code->index != 0) in ov5695_enum_mbus_code() 885 if (fse->index >= ARRAY_SIZE(supported_modes)) in ov5695_enum_frame_sizes() 891 fse->min_width = supported_modes[fse->index].width; in ov5695_enum_frame_sizes() 892 fse->max_width = supported_modes[fse->index].width; in ov5695_enum_frame_sizes() 893 fse->max_height = supported_modes[fse->index].height; in ov5695_enum_frame_sizes() 894 fse->min_height = supported_modes[fse->index].height; in ov5695_enum_frame_sizes()
|
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-core.c | 183 struct fimc_fmt *fimc_get_format(unsigned int index) in fimc_get_format() argument 185 if (index >= ARRAY_SIZE(fimc_formats)) in fimc_get_format() 188 return &fimc_formats[index]; in fimc_get_format() 753 * @index: offset in the fimc_formats array, ignored if negative 756 unsigned int mask, int index) in fimc_find_format() 762 if (index >= (int)ARRAY_SIZE(fimc_formats)) in fimc_find_format() 773 if (index == id) in fimc_find_format() 755 fimc_find_format(const u32 *pixelformat, const u32 *mbus_code, unsigned int mask, int index) fimc_find_format() argument
|
/kernel/linux/linux-6.6/drivers/phy/rockchip/ |
H A D | phy-rockchip-typec.c | 1107 int index, ret; in rockchip_typec_phy_probe() local 1124 index = 0; in rockchip_typec_phy_probe() 1125 while (phy_cfgs[index].reg) { in rockchip_typec_phy_probe() 1126 if (phy_cfgs[index].reg == res->start) { in rockchip_typec_phy_probe() 1127 tcphy->port_cfgs = &phy_cfgs[index]; in rockchip_typec_phy_probe() 1131 ++index; in rockchip_typec_phy_probe()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/exynos/ |
H A D | exynos_mixer.c | 591 mixer_cfg_layer(ctx, plane->index, priority, true); in vp_video_buffer() 608 unsigned int win = plane->index; in mixer_graph_buffer() 954 DRM_DEV_DEBUG_KMS(mixer_ctx->dev, "win: %d\n", plane->index); in mixer_update_plane() 959 if (plane->index == VP_DEFAULT_WIN) in mixer_update_plane() 971 DRM_DEV_DEBUG_KMS(mixer_ctx->dev, "win: %d\n", plane->index); in mixer_disable_plane() 977 mixer_cfg_layer(mixer_ctx, plane->index, 0, false); in mixer_disable_plane()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/pm/legacy-dpm/ |
H A D | legacy_dpm.c | 163 int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); in amdgpu_get_platform_caps() local 167 if (!amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, in amdgpu_get_platform_caps() 226 int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); in amdgpu_parse_extended_power_table() local 231 if (!amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, in amdgpu_parse_extended_power_table() 678 int index = GetIndexIntoMasterTable(DATA, PowerPlayInfo); in amdgpu_add_thermal_controller() local 684 if (!amdgpu_atom_parse_data_header(mode_info->atom_context, index, NULL, in amdgpu_add_thermal_controller()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/mthca/ |
H A D | mthca_provider.c | 218 u32 port, u16 index, u16 *pkey) in mthca_query_pkey() 231 in_mad->attr_mod = cpu_to_be32(index / 32); in mthca_query_pkey() 238 *pkey = be16_to_cpu(((__be16 *) out_mad->data)[index % 32]); in mthca_query_pkey() 247 int index, union ib_gid *gid) in mthca_query_gid() 271 in_mad->attr_mod = cpu_to_be32(index / 8); in mthca_query_gid() 278 memcpy(gid->raw + 8, out_mad->data + (index % 8) * 8, 8); in mthca_query_gid() 217 mthca_query_pkey(struct ib_device *ibdev, u32 port, u16 index, u16 *pkey) mthca_query_pkey() argument 246 mthca_query_gid(struct ib_device *ibdev, u32 port, int index, union ib_gid *gid) mthca_query_gid() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_crtc.c | 37 /* layer mixer index on dpu_crtc */ 98 DRM_DEBUG_DRIVER("Invalid source %s for CRTC%d\n", src_name, crtc->index); in dpu_crtc_verify_crc_source() 152 DRM_DEBUG_DRIVER("Invalid CRC source %s for CRTC%d\n", src_name, crtc->index); in dpu_crtc_set_crc_source() 203 DRM_ERROR("no encoder found for crtc %d\n", crtc->index); in dpu_crtc_get_vblank_counter() 287 unsigned int pipe = crtc->index; in dpu_crtc_get_scanout_position() 867 if (crtc->index >= ARRAY_SIZE(priv->event_thread)) { in dpu_crtc_atomic_flush() 868 DPU_ERROR("invalid crtc index[%d]\n", crtc->index); in dpu_crtc_atomic_flush() 1359 seq_printf(s, "\tmultirect[0]: mode: %d index: %d\n", in _dpu_debugfs_status_show() 1364 seq_printf(s, "\tmultirect[1]: mode: %d index in _dpu_debugfs_status_show() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.c | 710 nouveau_bo_wr16(struct nouveau_bo *nvbo, unsigned index, u16 val) in nouveau_bo_wr16() argument 715 mem += index; in nouveau_bo_wr16() 724 nouveau_bo_rd32(struct nouveau_bo *nvbo, unsigned index) in nouveau_bo_rd32() argument 729 mem += index; in nouveau_bo_rd32() 738 nouveau_bo_wr32(struct nouveau_bo *nvbo, unsigned index, u32 val) in nouveau_bo_wr32() argument 743 mem += index; in nouveau_bo_wr32()
|
/kernel/linux/linux-6.6/drivers/iio/accel/ |
H A D | bma400_core.c | 260 int index; in usec_to_tapreg_raw() local 262 for (index = 0; index < BMA400_TAP_TIM_LIST_LEN; index++) { in usec_to_tapreg_raw() 263 if (usec == time_list[index]) in usec_to_tapreg_raw() 264 return index; in usec_to_tapreg_raw()
|
/kernel/linux/linux-6.6/drivers/iio/addac/ |
H A D | ad74413r.c | 1182 u32 index; in ad74413r_parse_channel_config() local 1185 ret = fwnode_property_read_u32(channel_node, "reg", &index); in ad74413r_parse_channel_config() 1191 if (index >= AD74413R_CHANNEL_MAX) { in ad74413r_parse_channel_config() 1192 dev_err(st->dev, "Channel index %u is too large\n", index); in ad74413r_parse_channel_config() 1196 config = &st->channel_configs[index]; in ad74413r_parse_channel_config() 1198 dev_err(st->dev, "Channel %u already initialized\n", index); in ad74413r_parse_channel_config()
|
/kernel/linux/linux-6.6/drivers/input/rmi4/ |
H A D | rmi_f34v7.c | 373 int index; in rmi_f34v7_parse_partition_table() local 379 index = i * 8 + 2; in rmi_f34v7_parse_partition_table() 380 ptable = partition_table + index; in rmi_f34v7_parse_partition_table() 633 u16 index = 0; in rmi_f34v7_read_blocks() local 679 &f34->v7.read_config_buf[index], in rmi_f34v7_read_blocks() 688 index += (transfer * f34->v7.block_size); in rmi_f34v7_read_blocks()
|
/kernel/linux/linux-6.6/net/rds/ |
H A D | ib_cm.c | 390 int index = rds_ibdev->dev->num_comp_vectors - 1; in ibdev_get_unused_vector() local 395 index = i; in ibdev_get_unused_vector() 400 rds_ibdev->vector_load[index]++; in ibdev_get_unused_vector() 401 return index; in ibdev_get_unused_vector() 404 static inline void ibdev_put_vector(struct rds_ib_device *rds_ibdev, int index) in ibdev_put_vector() argument 406 rds_ibdev->vector_load[index]--; in ibdev_put_vector() 755 * return its index. This is used by the rds_ib_cm_handle_connect() code to 756 * find the interface index of where an incoming request comes from when 816 * interface index in order to create a proper RDS in rds_ib_cm_handle_connect() 822 /* No index foun in rds_ib_cm_handle_connect() [all...] |
/kernel/linux/linux-6.6/sound/drivers/ |
H A D | dummy.c | 48 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ variable 62 module_param_array(index, int, NULL, 0444); 63 MODULE_PARM_DESC(index, "Index value for dummy soundcard."); 705 .name = xname, .index = xindex, \ 763 { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, .index = xindex, \ 1028 err = snd_devm_card_new(&devptr->dev, index[dev], id[dev], THIS_MODULE, in snd_dummy_probe()
|
/kernel/liteos_a/fs/vfs/bcache/src/ |
H A D | bcache.c | 70 PRINTK("index, switch, hit\n"); in BcacheAnalyse() 653 UINT32 index = ((UINT32)(block->data - g_memStart)) / g_dataSize; in BcacheGetBlock() local 654 PRINTK(", [HIT], %llu, %u\n", num, index); in BcacheGetBlock() 655 g_hitTimes[index]++; in BcacheGetBlock() 682 UINT32 index = ((UINT32)(block->data - g_memStart)) / g_dataSize; in BcacheGetBlock() local 683 PRINTK(", [MISS], %llu, %u\n", num, index); in BcacheGetBlock() 684 g_switchTimes[index]++; in BcacheGetBlock()
|
/kernel/linux/linux-6.6/sound/pci/mixart/ |
H A D | mixart.c | 36 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ variable 40 module_param_array(index, int, NULL, 0444); 41 MODULE_PARM_DESC(index, "Index value for Digigram " CARD_NAME " soundcard."); 937 /* set up the unique device id with the chip index */ in preallocate_buffers() 1319 if (index[dev] < 0) in snd_mixart_probe() 1320 idx = index[dev]; in snd_mixart_probe() 1322 idx = index[dev] + i; in snd_mixart_probe()
|
/kernel/linux/linux-6.6/drivers/s390/cio/ |
H A D | cmf.c | 100 * @read: read a measurement entry at an index 184 /* address can be either a block address or a block index */ in set_schib() 596 static u64 read_cmb(struct ccw_device *cdev, int index) in read_cmb() argument 610 switch (index) { in read_cmb() 850 static u64 read_cmbe(struct ccw_device *cdev, int index) in read_cmbe() argument 864 switch (index) { in read_cmbe() 1203 * @index: the index of the value to be read 1210 u64 cmf_read(struct ccw_device *cdev, int index) in cmf_read() argument 1212 return cmbops->read(cdev, index); in cmf_read() [all...] |
/kernel/linux/linux-6.6/net/batman-adv/ |
H A D | network-coding.c | 493 * Return: the selected index in the hash table for the given data. 545 int index; in batadv_nc_hash_find() local 550 index = batadv_nc_hash_choose(data, hash->size); in batadv_nc_hash_find() 551 head = &hash->table[index]; in batadv_nc_hash_find() 1738 int index; in batadv_nc_find_decoding_packet() local 1754 index = batadv_nc_hash_choose(&nc_path_key, hash->size); in batadv_nc_find_decoding_packet() 1758 hlist_for_each_entry_rcu(nc_path, &hash->table[index], hash_entry) { in batadv_nc_find_decoding_packet()
|
/third_party/ffmpeg/libavcodec/ |
H A D | flashsv2enc.c | 85 uint8_t index[1 << 15]; member 446 return palette->index[c15]; in pixel_color7_fast() 490 unsigned int bgr, c15, index; in update_palette_index() local 496 index = pixel_color7_slow(palette, bgr); in update_palette_index() 498 palette->index[c15] = index; in update_palette_index()
|
H A D | h264_mb.c | 596 int index) in dctcoef_get() 599 return AV_RN32A(((int32_t *)mb) + index); in dctcoef_get() 601 return AV_RN16A(mb + index); in dctcoef_get() 605 int index, int value) in dctcoef_set() 608 AV_WN32A(((int32_t *)mb) + index, value); in dctcoef_set() 610 AV_WN16A(mb + index, value); in dctcoef_set() 595 dctcoef_get(int16_t *mb, int high_bit_depth, int index) dctcoef_get() argument 604 dctcoef_set(int16_t *mb, int high_bit_depth, int index, int value) dctcoef_set() argument
|
H A D | 4xm.c | 348 int index, h, code, ret, scale = 1; in decode_p_block() local 354 index = size2index[log2h][log2w]; in decode_p_block() 355 av_assert0(index >= 0); in decode_p_block() 360 code = get_vlc2(&f->gb, block_type_vlc[1 - (f->version > 1)][index].table, in decode_p_block() 761 int index = 2 * (x2 >> 2) + 8 * (y2 >> 2); in decode_i2_frame() local 762 dst[y2 * width + x2] = color[(bits >> index) & 3]; in decode_i2_frame()
|
H A D | ratecontrol.c | 210 ff_dlog(s, "q:%f max:%f min:%f size:%f index:%f agr:%f\n", in modify_qscale() 396 int index = i + j - filter_size / 2; in init_pass2() local 397 double d = index - i; in init_pass2() 400 if (index < 0 || index >= rcc->num_entries) in init_pass2() 402 if (pict_type != rcc->entry[index].new_pict_type) in init_pass2() 404 q += qscale[index] * coeff; in init_pass2()
|
/third_party/ffmpeg/libavformat/ |
H A D | rtspdec.c | 104 int index = 0; in rtsp_send_reply() local 105 while (status_messages[index].code) { in rtsp_send_reply() 106 if (status_messages[index].code == code) { in rtsp_send_reply() 108 code, status_messages[index].message); in rtsp_send_reply() 111 index++; in rtsp_send_reply() 113 if (!status_messages[index].code) in rtsp_send_reply()
|
H A D | segment.c | 48 int index; member 72 int segment_idx; ///< index of the segment file to write, starting from 0 73 int segment_idx_wrap; ///< number after which the index wraps 74 int segment_idx_wrap_nb; ///< number of time the index has wraped 295 avio_printf(seg->list_pb, "#EXT-X-MEDIA-SEQUENCE:%d\n", seg->segment_list_entries->index); in segment_list_open() 300 seg->segment_list_entries->index); in segment_list_open() 595 /* select first index of type with highest priority */ in select_reference_stream() 609 /* select first index for each type */ in select_reference_stream() 913 seg->cur_entry.index = seg->segment_idx + seg->segment_idx_wrap * seg->segment_idx_wrap_nb; in seg_write_packet() 957 /* Use st->index her in seg_write_packet() [all...] |
/third_party/alsa-lib/modules/mixer/simple/ |
H A D | python.c | 635 long index, weight; in pymelem_init() local 639 if (!PyArg_ParseTuple(args, "Osii", &pymelem->py_mixer, &name, &index, &weight)) in pymelem_init() 645 snd_mixer_selem_id_set_index(id, index); in pymelem_init() 681 {"index", (getter)pymelem_get_index, NULL, NULL, NULL}, 771 long index, weight; in pymixer_melement_new() local 773 if (!PyArg_ParseTuple(args, "ssii", &class, &name, &index, &weight)) in pymixer_melement_new() 781 PyTuple_SET_ITEM(obj1, 2, PyInt_FromLong(index)); in pymixer_melement_new()
|