Home
last modified time | relevance | path

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

123

/kernel/liteos_m/testsuites/sample/kernel/swtmr/
DIt_los_swtmr_Delay_004.c46 UINT32 id2; in Testcase() local
70 id2 = swtmrId1; in Testcase()
71 ICUNIT_GOTO_NOT_EQUAL(id1, id2, id2, EXIT); in Testcase()
73 ret = LOS_SwtmrDelete(id2); in Testcase()
79 LOS_SwtmrDelete(id2); in Testcase()
DIt_los_swtmr_Delay_001.c46 UINT32 id2; in Testcase() local
65 id2 = swtmrId1; in Testcase()
69 ICUNIT_GOTO_NOT_EQUAL(id1, id2, swtmrId1, EXIT); in Testcase()
74 ret = LOS_SwtmrDelete(id2); in Testcase()
80 LOS_SwtmrDelete(id2); in Testcase()
DIt_los_swtmr_Delay_003.c46 UINT32 id2; in Testcase() local
71 id2 = swtmrId1; in Testcase()
72 ICUNIT_GOTO_NOT_EQUAL(id1, id2, swtmrId1, EXIT1); in Testcase()
77 ret = LOS_SwtmrDelete(id2); in Testcase()
82 LOS_SwtmrDelete(id2); in Testcase()
/kernel/linux/linux-5.10/drivers/soundwire/
Dslave.c142 struct sdw_slave_id id2; in sdw_acpi_find_slaves() local
155 if (!find_slave(bus, adev2, &id2)) in sdw_acpi_find_slaves()
158 if (id.sdw_version != id2.sdw_version || in sdw_acpi_find_slaves()
159 id.mfg_id != id2.mfg_id || in sdw_acpi_find_slaves()
160 id.part_id != id2.part_id || in sdw_acpi_find_slaves()
161 id.class_id != id2.class_id) in sdw_acpi_find_slaves()
164 if (id.unique_id != id2.unique_id) { in sdw_acpi_find_slaves()
167 id.unique_id, id2.unique_id, in sdw_acpi_find_slaves()
173 id.unique_id, id2.unique_id, in sdw_acpi_find_slaves()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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.c2035 cbits = le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()
2036 bbits = le32_to_cpu(di->id2.i_super.s_blocksize_bits); in ocfs2_initialize_super()
2038 memcpy(&sb->s_uuid, di->id2.i_super.s_uuid, in ocfs2_initialize_super()
2039 sizeof(di->id2.i_super.s_uuid)); in ocfs2_initialize_super()
2044 osb->osb_dx_seed[i] = le32_to_cpu(di->id2.i_super.s_dx_seed[i]); in ocfs2_initialize_super()
2045 osb->osb_dx_seed[3] = le32_to_cpu(di->id2.i_super.s_uuid_hash); in ocfs2_initialize_super()
2077 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super()
2101 di->id2.i_super.s_xattr_inline_size); in ocfs2_initialize_super()
2226 le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()
2249 if (ocfs2_setup_osb_uuid(osb, di->id2.i_super.s_uuid, in ocfs2_initialize_super()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dxdp_attach.c9 __u32 duration = 0, id1, id2, id0 = 0, len; in test_xdp_attach() local
35 id2 = info.id; in test_xdp_attach()
61 if (CHECK(err || id0 != id2, "id2_check", in test_xdp_attach()
62 "loaded prog id %u != id2 %u, err %d", id0, id2, err)) in test_xdp_attach()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/panel/
Dpanel-samsung-s6e63m0.c173 u8 id1, id2, id3; in s6e63m0_check_lcd_type() local
177 s6e63m0_dcs_read(ctx, MCS_READ_ID2, &id2); in s6e63m0_check_lcd_type()
187 dev_info(ctx->dev, "MTP ID: %02x %02x %02x\n", id1, id2, id3); in s6e63m0_check_lcd_type()
190 switch (id2) { in s6e63m0_check_lcd_type()
199 dev_info(ctx->dev, "unknown LCD panel type %02x\n", id2); in s6e63m0_check_lcd_type()
203 ctx->lcd_type = id2; in s6e63m0_check_lcd_type()
/kernel/liteos_a/testsuites/unittest/libc/sys/full/
Dsys_test_027.cpp42 int id2 = 2; in TestCase() local
56 ret2 = ftok(str1, id2); in TestCase()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()

123