/linux-6.3-rc2/sound/isa/gus/ |
A D | gusmax.c | 132 struct snd_ctl_elem_id id1, id2; in snd_gusmax_mixer() local 136 memset(&id2, 0, sizeof(id2)); in snd_gusmax_mixer() 137 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusmax_mixer() 140 strcpy(id2.name, "Synth Playback Switch"); in snd_gusmax_mixer() 141 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer() 145 strcpy(id2.name, "Synth Playback Volume"); in snd_gusmax_mixer() 146 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer() 151 strcpy(id2.name, "CD Playback Switch"); in snd_gusmax_mixer() 152 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer() 156 strcpy(id2.name, "CD Playback Volume"); in snd_gusmax_mixer() [all …]
|
A D | interwave.c | 493 struct snd_ctl_elem_id id1, id2; in snd_interwave_mixer() local 498 memset(&id2, 0, sizeof(id2)); in snd_interwave_mixer() 523 strcpy(id2.name, "Synth Playback Switch"); in snd_interwave_mixer() 524 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_mixer() 534 strcpy(id2.name, "CD Playback Switch"); in snd_interwave_mixer() 539 strcpy(id2.name, "CD Playback Volume"); in snd_interwave_mixer() 707 struct snd_ctl_elem_id id1, id2; in snd_interwave_probe() local 709 memset(&id2, 0, sizeof(id2)); in snd_interwave_probe() 712 strcpy(id2.name, id1.name); in snd_interwave_probe() 713 id2.index = 1; in snd_interwave_probe() [all …]
|
A D | gusextreme.c | 199 struct snd_ctl_elem_id id1, id2; in snd_gusextreme_mixer() local 203 memset(&id2, 0, sizeof(id2)); in snd_gusextreme_mixer() 204 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusextreme_mixer() 208 strcpy(id2.name, "Synth Playback Volume"); in snd_gusextreme_mixer() 209 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer() 215 strcpy(id2.name, "Synth Playback Switch"); in snd_gusextreme_mixer() 216 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer()
|
/linux-6.3-rc2/drivers/media/i2c/cx25840/ |
A D | cx25840-vbi.c | 220 int id1, id2, l, err = 0; in cx25840_decode_vbi_line() local 230 id2 = p[0] & 0xf; in cx25840_decode_vbi_line() 235 switch (id2) { in cx25840_decode_vbi_line() 237 id2 = V4L2_SLICED_TELETEXT_B; in cx25840_decode_vbi_line() 240 id2 = V4L2_SLICED_WSS_625; in cx25840_decode_vbi_line() 243 id2 = V4L2_SLICED_CAPTION_525; in cx25840_decode_vbi_line() 247 id2 = V4L2_SLICED_VPS; in cx25840_decode_vbi_line() 252 id2 = 0; in cx25840_decode_vbi_line() 257 vbi->type = err ? 0 : id2; in cx25840_decode_vbi_line()
|
/linux-6.3-rc2/sound/isa/ |
A D | cmi8328.c | 149 struct snd_ctl_elem_id id1, id2; in snd_cmi8328_mixer() local 155 memset(&id2, 0, sizeof(id2)); in snd_cmi8328_mixer() 156 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_cmi8328_mixer() 159 strcpy(id2.name, "CD Playback Switch"); in snd_cmi8328_mixer() 160 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer() 167 strcpy(id2.name, "CD Playback Volume"); in snd_cmi8328_mixer() 168 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer() 176 strcpy(id2.name, "Synth Playback Switch"); in snd_cmi8328_mixer() 177 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer() 185 strcpy(id2.name, "Synth Playback Volume"); in snd_cmi8328_mixer() [all …]
|
A D | sc6000.c | 457 struct snd_ctl_elem_id id1, id2; in snd_sc6000_mixer() local 461 memset(&id2, 0, sizeof(id2)); in snd_sc6000_mixer() 463 id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_sc6000_mixer() 466 strcpy(id2.name, "FM Playback Switch"); in snd_sc6000_mixer() 467 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 471 strcpy(id2.name, "FM Playback Volume"); in snd_sc6000_mixer() 472 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 477 strcpy(id2.name, "CD Playback Switch"); in snd_sc6000_mixer() 478 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 482 strcpy(id2.name, "CD Playback Volume"); in snd_sc6000_mixer() [all …]
|
A D | opl3sa2.c | 485 struct snd_ctl_elem_id id1, id2; in snd_opl3sa2_mixer() local 491 memset(&id2, 0, sizeof(id2)); in snd_opl3sa2_mixer() 492 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opl3sa2_mixer() 495 strcpy(id2.name, "CD Playback Switch"); in snd_opl3sa2_mixer() 496 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opl3sa2_mixer() 502 strcpy(id2.name, "CD Playback Volume"); in snd_opl3sa2_mixer() 503 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opl3sa2_mixer() 510 strcpy(id2.name, "FM Playback Switch"); in snd_opl3sa2_mixer() 511 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opl3sa2_mixer() 517 strcpy(id2.name, "FM Playback Volume"); in snd_opl3sa2_mixer() [all …]
|
/linux-6.3-rc2/fs/ocfs2/ |
A D | ocfs2_fs.h | 731 } id2; member 1242 offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fast_symlink_chars() 1256 offsetof(struct ocfs2_dinode, id2.i_data.id_data); in ocfs2_max_inline_data_with_xattr() 1264 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode() 1278 offsetof(struct ocfs2_dinode, id2.i_list.l_recs) - in ocfs2_extent_recs_per_inode_with_xattr() 1282 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode_with_xattr() 1302 offsetof(struct ocfs2_dinode, id2.i_chain.cl_recs); in ocfs2_chain_recs_per_inode() 1352 offsetof(struct ocfs2_dinode, id2.i_lab.la_bitmap); in ocfs2_local_alloc_size() 1452 offsetof(struct ocfs2_dinode, id2.i_data.id_data); in ocfs2_max_inline_data_with_xattr() 1460 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode() [all …]
|
A D | resize.c | 87 struct ocfs2_chain_list *cl = &fe->id2.i_chain; in ocfs2_update_last_group_and_inode() 302 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_extend() 323 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_extend() 325 le16_to_cpu(fe->id2.i_chain.cl_cpg)) { in ocfs2_group_extend() 377 u16 cl_bpc = le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_check_new_group() 412 u16 cl_count = le16_to_cpu(di->id2.i_chain.cl_count); in ocfs2_verify_group_and_input() 413 u16 cl_cpg = le16_to_cpu(di->id2.i_chain.cl_cpg); in ocfs2_verify_group_and_input() 414 u16 next_free = le16_to_cpu(di->id2.i_chain.cl_next_free_rec); in ocfs2_verify_group_and_input() 483 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_add() 517 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_add() [all …]
|
A D | super.c | 2027 bbits = le32_to_cpu(di->id2.i_super.s_blocksize_bits); in ocfs2_initialize_super() 2029 memcpy(&sb->s_uuid, di->id2.i_super.s_uuid, in ocfs2_initialize_super() 2030 sizeof(di->id2.i_super.s_uuid)); in ocfs2_initialize_super() 2092 di->id2.i_super.s_xattr_inline_size); in ocfs2_initialize_super() 2195 le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super() 2218 if (ocfs2_setup_osb_uuid(osb, di->id2.i_super.s_uuid, in ocfs2_initialize_super() 2219 sizeof(di->id2.i_super.s_uuid))) { in ocfs2_initialize_super() 2225 strscpy(osb->vol_label, di->id2.i_super.s_label, in ocfs2_initialize_super() 2230 le64_to_cpu(di->id2.i_super.s_first_cluster_group); in ocfs2_initialize_super() 2326 if (le32_to_cpu(di->id2.i_super.s_feature_incompat) & in ocfs2_verify_volume() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A D | xdp_attach.c | 9 __u32 duration = 0, id1, id2, id0 = 0, len; in serial_test_xdp_attach() local 34 id2 = info.id; in serial_test_xdp_attach() 58 if (CHECK(err || id0 != id2, "id2_check", in serial_test_xdp_attach() 59 "loaded prog id %u != id2 %u, err %d", id0, id2, err)) in serial_test_xdp_attach()
|
A D | xdp_link.c | 12 __u32 id1, id2, id0 = 0, prog_fd1, prog_fd2; in serial_test_xdp_link() local 41 id2 = prog_info.id; in serial_test_xdp_link() 113 if (!ASSERT_OK(err, "id2_check_err") || !ASSERT_EQ(id0, id2, "id2_check_val")) in serial_test_xdp_link()
|
/linux-6.3-rc2/drivers/s390/net/ |
A D | ctcm_main.h | 265 static inline int ctcm_less_than(char *id1, char *id2) in ctcm_less_than() argument 270 id2 = id2 + 5; in ctcm_less_than() 273 dev2 = simple_strtoul(id2, &id2, 16); in ctcm_less_than()
|
/linux-6.3-rc2/drivers/bcma/ |
A D | driver_chipcommon_sflash.c | 94 u32 id, id2; in bcma_sflash_init() local 106 id2 = bcma_cc_read32(cc, BCMA_CC_FLASHDATA); in bcma_sflash_init() 111 if (e->id == id2) in bcma_sflash_init() 125 bcma_err(bus, "Unsupported ST serial flash (id: 0x%X, id2: 0x%X)\n", id, id2); in bcma_sflash_init()
|
/linux-6.3-rc2/drivers/ssb/ |
A D | driver_chipcommon_sflash.c | 91 u32 id, id2; in ssb_sflash_init() local 103 id2 = chipco_read32(cc, SSB_CHIPCO_FLASHDATA); in ssb_sflash_init() 108 if (e->id == id2) in ssb_sflash_init() 123 id, id2); in ssb_sflash_init()
|
/linux-6.3-rc2/sound/ac97/ |
A D | ac97_core.h | 9 static inline bool ac97_ids_match(unsigned int id1, unsigned int id2, in ac97_ids_match() argument 12 return (id1 & mask) == (id2 & mask); in ac97_ids_match()
|
/linux-6.3-rc2/drivers/media/pci/ivtv/ |
A D | ivtv-vbi.c | 237 int i, l, id2; in ivtv_convert_ivtv_vbi() local 258 id2 = *p & 0xf; in ivtv_convert_ivtv_vbi() 259 switch (id2) { in ivtv_convert_ivtv_vbi() 261 id2 = V4L2_SLICED_TELETEXT_B; in ivtv_convert_ivtv_vbi() 264 id2 = V4L2_SLICED_CAPTION_525; in ivtv_convert_ivtv_vbi() 268 id2 = V4L2_SLICED_VPS; in ivtv_convert_ivtv_vbi() 271 id2 = V4L2_SLICED_WSS_625; in ivtv_convert_ivtv_vbi() 274 id2 = 0; in ivtv_convert_ivtv_vbi() 281 itv->vbi.sliced_dec_data[line].id = id2; in ivtv_convert_ivtv_vbi()
|
/linux-6.3-rc2/drivers/gpu/drm/panel/ |
A D | panel-dsi-cm.c | 155 static int dsicm_get_id(struct panel_drv_data *ddata, u8 *id1, u8 *id2, u8 *id3) in dsicm_get_id() argument 162 r = dsicm_dcs_read_1(ddata, DCS_GET_ID2, id2); in dsicm_get_id() 241 u8 id1, id2, id3; in hw_revision_show() local 247 r = dsicm_get_id(ddata, &id1, &id2, &id3); in hw_revision_show() 254 return sysfs_emit(buf, "%02x.%02x.%02x\n", id1, id2, id3); in hw_revision_show() 285 u8 id1, id2, id3; in dsicm_power_on() local 296 r = dsicm_get_id(ddata, &id1, &id2, &id3); in dsicm_power_on() 334 id1, id2, id3); in dsicm_power_on()
|
A D | panel-samsung-s6e63m0.c | 338 u8 id1, id2, id3; in s6e63m0_check_lcd_type() local 342 s6e63m0_dcs_read(ctx, MCS_READ_ID2, &id2); in s6e63m0_check_lcd_type() 352 dev_info(ctx->dev, "MTP ID: %02x %02x %02x\n", id1, id2, id3); in s6e63m0_check_lcd_type() 359 switch (id2) { in s6e63m0_check_lcd_type() 370 dev_info(ctx->dev, "unknown LCD panel type %02x\n", id2); in s6e63m0_check_lcd_type() 376 ctx->lcd_type = id2; in s6e63m0_check_lcd_type()
|
A D | panel-samsung-s6d27a1.c | 77 u8 id1, id2, id3; in s6d27a1_read_mtp_id() local 85 ret = mipi_dbi_command_read(dbi, S6D27A1_READID2, &id2); in s6d27a1_read_mtp_id() 95 dev_info(ctx->dev, "MTP ID: %02x %02x %02x\n", id1, id2, id3); in s6d27a1_read_mtp_id()
|
/linux-6.3-rc2/drivers/mfd/ |
A D | as3711.c | 123 unsigned int id1, id2; in as3711_i2c_probe() local 157 ret = regmap_read(as3711->regmap, AS3711_ASIC_ID_2, &id2); in as3711_i2c_probe() 164 dev_info(as3711->dev, "AS3711 detected: %x:%x\n", id1, id2); in as3711_i2c_probe()
|
A D | wm8350-core.c | 280 unsigned int id1, id2, mask_rev; in wm8350_device_init() local 292 ret = regmap_read(wm8350->regmap, WM8350_ID, &id2); in wm8350_device_init() 311 mode = (id2 & WM8350_CONF_STS_MASK) >> 10; in wm8350_device_init() 312 cust_id = id2 & WM8350_CUST_ID_MASK; in wm8350_device_init() 313 chip_rev = (id2 & WM8350_CHIP_REV_MASK) >> 12; in wm8350_device_init()
|
/linux-6.3-rc2/sound/drivers/opl4/ |
A D | opl4_lib.c | 112 u8 id1, id2; in snd_opl4_detect() local 132 id2 = snd_opl4_read(opl4, OPL4_REG_MIX_CONTROL_PCM); in snd_opl4_detect() 133 snd_printdd("OPL4 id1=%02x id2=%02x\n", id1, id2); in snd_opl4_detect() 134 if (id1 != 0x00 || id2 != 0xff) in snd_opl4_detect()
|
/linux-6.3-rc2/sound/soc/codecs/ |
A D | wm8804.c | 567 unsigned int id1, id2; in wm8804_probe() local 629 ret = regmap_read(regmap, WM8804_DEVID2, &id2); in wm8804_probe() 635 id2 = (id2 << 8) | id1; in wm8804_probe() 637 if (id2 != 0x8805) { in wm8804_probe() 638 dev_err(dev, "Invalid device ID: %#x\n", id2); in wm8804_probe()
|
/linux-6.3-rc2/sound/isa/opti9xx/ |
A D | opti92x-ad1848.c | 588 struct snd_ctl_elem_id id1, id2; in snd_opti93x_mixer() local 599 memset(&id2, 0, sizeof(id2)); in snd_opti93x_mixer() 600 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opti93x_mixer() 603 strcpy(id2.name, "CD Playback Switch"); in snd_opti93x_mixer() 604 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer() 611 strcpy(id2.name, "FM Playback Switch"); in snd_opti93x_mixer() 612 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer()
|