Home
last modified time | relevance | path

Searched refs:id2 (Results 1 – 25 of 60) sorted by relevance

123

/Linux-v5.4/sound/isa/gus/
Dgusmax.c131 struct snd_ctl_elem_id id1, id2; in snd_gusmax_mixer() local
135 memset(&id2, 0, sizeof(id2)); in snd_gusmax_mixer()
136 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusmax_mixer()
139 strcpy(id2.name, "Synth Playback Switch"); in snd_gusmax_mixer()
140 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_gusmax_mixer()
143 strcpy(id2.name, "Synth Playback Volume"); in snd_gusmax_mixer()
144 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_gusmax_mixer()
148 strcpy(id2.name, "CD Playback Switch"); in snd_gusmax_mixer()
149 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_gusmax_mixer()
152 strcpy(id2.name, "CD Playback Volume"); in snd_gusmax_mixer()
[all …]
Dinterwave.c492 struct snd_ctl_elem_id id1, id2; in snd_interwave_mixer() local
497 memset(&id2, 0, sizeof(id2)); in snd_interwave_mixer()
498 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_interwave_mixer()
518 strcpy(id2.name, "Synth Playback Switch"); in snd_interwave_mixer()
519 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_interwave_mixer()
522 strcpy(id2.name, "Synth Playback Volume"); in snd_interwave_mixer()
523 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_interwave_mixer()
527 strcpy(id2.name, "CD Playback Switch"); in snd_interwave_mixer()
528 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_interwave_mixer()
531 strcpy(id2.name, "CD Playback Volume"); in snd_interwave_mixer()
[all …]
Dgusextreme.c198 struct snd_ctl_elem_id id1, id2; in snd_gusextreme_mixer() local
202 memset(&id2, 0, sizeof(id2)); in snd_gusextreme_mixer()
203 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusextreme_mixer()
207 strcpy(id2.name, "Synth Playback Volume"); in snd_gusextreme_mixer()
208 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer()
214 strcpy(id2.name, "Synth Playback Switch"); in snd_gusextreme_mixer()
215 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer()
/Linux-v5.4/drivers/media/i2c/cx25840/
Dcx25840-vbi.c220 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-v5.4/sound/isa/
Dcmi8328.c149 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 …]
Dsc6000.c460 struct snd_ctl_elem_id id1, id2; in snd_sc6000_mixer() local
464 memset(&id2, 0, sizeof(id2)); in snd_sc6000_mixer()
466 id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_sc6000_mixer()
469 strcpy(id2.name, "FM Playback Switch"); in snd_sc6000_mixer()
470 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
474 strcpy(id2.name, "FM Playback Volume"); in snd_sc6000_mixer()
475 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
480 strcpy(id2.name, "CD Playback Switch"); in snd_sc6000_mixer()
481 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
485 strcpy(id2.name, "CD Playback Volume"); in snd_sc6000_mixer()
[all …]
Dopl3sa2.c486 struct snd_ctl_elem_id id1, id2; in snd_opl3sa2_mixer() local
492 memset(&id2, 0, sizeof(id2)); in snd_opl3sa2_mixer()
493 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opl3sa2_mixer()
496 strcpy(id2.name, "CD Playback Switch"); in snd_opl3sa2_mixer()
497 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { in snd_opl3sa2_mixer()
502 strcpy(id2.name, "CD Playback Volume"); in snd_opl3sa2_mixer()
503 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { in snd_opl3sa2_mixer()
509 strcpy(id2.name, "FM Playback Switch"); in snd_opl3sa2_mixer()
510 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { in snd_opl3sa2_mixer()
515 strcpy(id2.name, "FM Playback Volume"); in snd_opl3sa2_mixer()
[all …]
/Linux-v5.4/fs/ocfs2/
Docfs2_fs.h403 #define OCFS2_RAW_SB(dinode) (&((dinode)->id2.i_super))
733 } id2; member
1244 offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fast_symlink_chars()
1254 offsetof(struct ocfs2_dinode, id2.i_data.id_data) - in ocfs2_max_inline_data_with_xattr()
1258 offsetof(struct ocfs2_dinode, id2.i_data.id_data); in ocfs2_max_inline_data_with_xattr()
1266 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode()
1280 offsetof(struct ocfs2_dinode, id2.i_list.l_recs) - in ocfs2_extent_recs_per_inode_with_xattr()
1284 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode_with_xattr()
1304 offsetof(struct ocfs2_dinode, id2.i_chain.cl_recs); in ocfs2_chain_recs_per_inode()
1354 offsetof(struct ocfs2_dinode, id2.i_lab.la_bitmap); in ocfs2_local_alloc_size()
[all …]
Dresize.c89 struct ocfs2_chain_list *cl = &fe->id2.i_chain; in ocfs2_update_last_group_and_inode()
304 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_extend()
325 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_extend()
327 le16_to_cpu(fe->id2.i_chain.cl_cpg)) { in ocfs2_group_extend()
379 u16 cl_bpc = le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_check_new_group()
414 u16 cl_count = le16_to_cpu(di->id2.i_chain.cl_count); in ocfs2_verify_group_and_input()
415 u16 cl_cpg = le16_to_cpu(di->id2.i_chain.cl_cpg); in ocfs2_verify_group_and_input()
416 u16 next_free = le16_to_cpu(di->id2.i_chain.cl_next_free_rec); in ocfs2_verify_group_and_input()
485 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_add()
519 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_add()
[all …]
Dsuper.c2023 cbits = le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()
2024 bbits = le32_to_cpu(di->id2.i_super.s_blocksize_bits); in ocfs2_initialize_super()
2026 memcpy(&sb->s_uuid, di->id2.i_super.s_uuid, in ocfs2_initialize_super()
2027 sizeof(di->id2.i_super.s_uuid)); in ocfs2_initialize_super()
2032 osb->osb_dx_seed[i] = le32_to_cpu(di->id2.i_super.s_dx_seed[i]); in ocfs2_initialize_super()
2033 osb->osb_dx_seed[3] = le32_to_cpu(di->id2.i_super.s_uuid_hash); in ocfs2_initialize_super()
2065 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super()
2089 di->id2.i_super.s_xattr_inline_size); in ocfs2_initialize_super()
2208 le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()
2231 if (ocfs2_setup_osb_uuid(osb, di->id2.i_super.s_uuid, in ocfs2_initialize_super()
[all …]
Dsymlink.c73 link = (char *) fe->id2.i_symlink; in ocfs2_fast_symlink_readpage()
/Linux-v5.4/drivers/net/can/
Dpch_can.c128 u32 id2; member
294 pch_can_bit_set(&priv->regs->ifregs[dir].id2, PCH_ID_MSGVAL); in pch_can_set_rxtx()
298 pch_can_bit_clear(&priv->regs->ifregs[dir].id2, PCH_ID_MSGVAL); in pch_can_set_rxtx()
336 iowrite32(0x0, &priv->regs->ifregs[0].id2); in pch_can_clear_if_buffers()
358 iowrite32(0x0, &priv->regs->ifregs[0].id2); in pch_can_config_rx_tx_buffers()
388 iowrite32(PCH_ID2_DIR, &priv->regs->ifregs[1].id2); in pch_can_config_rx_tx_buffers()
445 pch_can_bit_clear(&priv->regs->ifregs[0].id2, PCH_ID2_DIR); in pch_can_int_clr()
460 pch_can_bit_set(&priv->regs->ifregs[1].id2, in pch_can_int_clr()
589 pch_can_bit_clear(&priv->regs->ifregs[0].id2, PCH_ID2_DIR); in pch_fifo_thresh()
640 u32 id2; in pch_can_rx_normal() local
[all …]
/Linux-v5.4/drivers/s390/net/
Dctcm_main.h265 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-v5.4/drivers/ssb/
Ddriver_chipcommon_sflash.c91 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-v5.4/drivers/bcma/
Ddriver_chipcommon_sflash.c94 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-v5.4/sound/ac97/
Dac97_core.h9 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-v5.4/drivers/media/pci/ivtv/
Divtv-vbi.c237 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-v5.4/drivers/mfd/
Das3711.c124 unsigned int id1, id2; in as3711_i2c_probe() local
158 ret = regmap_read(as3711->regmap, AS3711_ASIC_ID_2, &id2); in as3711_i2c_probe()
165 dev_info(as3711->dev, "AS3711 detected: %x:%x\n", id1, id2); in as3711_i2c_probe()
Dwm8350-core.c276 unsigned int id1, id2, mask_rev; in wm8350_device_init() local
288 ret = regmap_read(wm8350->regmap, WM8350_ID, &id2); in wm8350_device_init()
307 mode = (id2 & WM8350_CONF_STS_MASK) >> 10; in wm8350_device_init()
308 cust_id = id2 & WM8350_CUST_ID_MASK; in wm8350_device_init()
309 chip_rev = (id2 & WM8350_CHIP_REV_MASK) >> 12; in wm8350_device_init()
/Linux-v5.4/sound/drivers/opl4/
Dopl4_lib.c112 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-v5.4/sound/soc/codecs/
Dwm8804.c568 unsigned int id1, id2; in wm8804_probe() local
630 ret = regmap_read(regmap, WM8804_DEVID2, &id2); in wm8804_probe()
636 id2 = (id2 << 8) | id1; in wm8804_probe()
638 if (id2 != 0x8805) { in wm8804_probe()
639 dev_err(dev, "Invalid device ID: %#x\n", id2); in wm8804_probe()
/Linux-v5.4/sound/isa/opti9xx/
Dopti92x-ad1848.c589 struct snd_ctl_elem_id id1, id2; in snd_opti93x_mixer() local
600 memset(&id2, 0, sizeof(id2)); in snd_opti93x_mixer()
601 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opti93x_mixer()
604 strcpy(id2.name, "CD Playback Switch"); in snd_opti93x_mixer()
605 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer()
612 strcpy(id2.name, "FM Playback Switch"); in snd_opti93x_mixer()
613 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer()
/Linux-v5.4/kernel/
Duser_namespace.c225 u32 first, last, id2; in cmp_map_id() local
229 id2 = key->id + key->count - 1; in cmp_map_id()
240 (id2 >= first && id2 <= last)) in cmp_map_id()
243 if (key->id < first || id2 < first) in cmp_map_id()
275 u32 first, last, id2; in map_id_range_down_base() local
277 id2 = id + count - 1; in map_id_range_down_base()
284 (id2 >= first && id2 <= last)) in map_id_range_down_base()
/Linux-v5.4/drivers/net/dsa/microchip/
Dksz8795.c1142 u8 id1, id2; in ksz8795_switch_detect() local
1152 id2 = id16 & SW_CHIP_ID_M; in ksz8795_switch_detect()
1154 (id2 != CHIP_ID_94 && id2 != CHIP_ID_95)) in ksz8795_switch_detect()
1161 if (id2 == CHIP_ID_95) { in ksz8795_switch_detect()
1164 id2 = 0x95; in ksz8795_switch_detect()
1167 id2 = 0x65; in ksz8795_switch_detect()
1168 } else if (id2 == CHIP_ID_94) { in ksz8795_switch_detect()
1171 id2 = 0x94; in ksz8795_switch_detect()
1174 id16 |= id2; in ksz8795_switch_detect()
/Linux-v5.4/arch/arm/mach-ep93xx/
Dcore.c889 unsigned int id, id2, id3, id4, id5; in ep93xx_get_soc_id() local
895 id2 = __raw_readl(EP93XX_SECURITY_UNIQID2); in ep93xx_get_soc_id()
900 if (id != id2) in ep93xx_get_soc_id()
904 add_device_randomness(&id2, 4); in ep93xx_get_soc_id()
910 "%08x%08x%08x%08x", id2, id3, id4, id5); in ep93xx_get_soc_id()

123