Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/xe/tests/ !
H A Dxe_guc_db_mgr_test.c115 int id1, id2, id3; in test_range_overlap() local
123 KUNIT_ASSERT_GE(test, id2 = xe_guc_db_mgr_reserve_range(dbm, 1, 0), 0); in test_range_overlap()
124 KUNIT_ASSERT_NE(test, id2, id1); in test_range_overlap()
125 KUNIT_ASSERT_NE_MSG(test, id2 < id1, id2 > id1 + *p - 1, in test_range_overlap()
126 "id1=%d id2=%d", id1, id2); in test_range_overlap()
133 KUNIT_ASSERT_GE(test, id2 = xe_guc_db_mgr_reserve_range(dbm, *p - 1, 0), 0); in test_range_overlap()
134 KUNIT_ASSERT_NE(test, id2, id1); in test_range_overlap()
135 KUNIT_ASSERT_NE_MSG(test, id1 < id2, id1 > id2 + *p - 2, in test_range_overlap()
136 "id1=%d id2=%d", id1, id2); in test_range_overlap()
140 KUNIT_ASSERT_NE(test, id3, id2); in test_range_overlap()
[all …]
/linux/sound/isa/gus/ !
H A Dgusmax.c130 struct snd_ctl_elem_id id1, id2; in snd_gusmax_mixer() local
134 memset(&id2, 0, sizeof(id2)); in snd_gusmax_mixer()
135 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusmax_mixer()
138 strscpy(id2.name, "Synth Playback Switch"); in snd_gusmax_mixer()
139 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer()
143 strscpy(id2.name, "Synth Playback Volume"); in snd_gusmax_mixer()
144 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer()
149 strscpy(id2.name, "CD Playback Switch"); in snd_gusmax_mixer()
150 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer()
154 strscpy(id2.name, "CD Playback Volume"); in snd_gusmax_mixer()
[all …]
H A Dinterwave.c494 struct snd_ctl_elem_id id1, id2; in snd_interwave_mixer() local
499 memset(&id2, 0, sizeof(id2)); in snd_interwave_mixer()
500 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_interwave_mixer()
524 strscpy(id2.name, "Synth Playback Switch"); in snd_interwave_mixer()
525 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_mixer()
529 strscpy(id2.name, "Synth Playback Volume"); in snd_interwave_mixer()
530 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_mixer()
535 strscpy(id2.name, "CD Playback Switch"); in snd_interwave_mixer()
536 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_mixer()
540 strscpy(id2.name, "CD Playback Volume"); in snd_interwave_mixer()
[all …]
/linux/drivers/media/i2c/cx25840/ !
H A 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/tools/testing/selftests/bpf/prog_tests/ !
H A Dtc_opts.c18 __u32 fd1, fd2, id1, id2; in test_ns_tc_opts_basic() local
31 id2 = id_from_prog_fd(fd2); in test_ns_tc_opts_basic()
33 ASSERT_NEQ(id1, id2, "prog_ids_1_2"); in test_ns_tc_opts_basic()
84 ASSERT_EQ(optq.prog_ids[0], id2, "prog_ids[0]"); in test_ns_tc_opts_basic()
116 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; in test_tc_opts_before_target() local
131 id2 = id_from_prog_fd(fd2); in test_tc_opts_before_target()
135 ASSERT_NEQ(id1, id2, "prog_ids_1_2"); in test_tc_opts_before_target()
137 ASSERT_NEQ(id2, id3, "prog_ids_2_3"); in test_tc_opts_before_target()
165 ASSERT_EQ(optq.prog_ids[1], id2, "prog_ids[1]"); in test_tc_opts_before_target()
196 ASSERT_EQ(optq.prog_ids[2], id2, "prog_ids[2]"); in test_tc_opts_before_target()
[all …]
H A Dcgroup_mprog_opts.c23 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; in test_prog_attach_detach() local
42 id2 = id_from_prog_fd(fd2); in test_prog_attach_detach()
111 ASSERT_EQ(optq.prog_ids[0], id2, "prog_ids[0]"); in test_prog_attach_detach()
156 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; in test_link_attach_detach() local
175 id2 = id_from_prog_fd(fd2); in test_link_attach_detach()
243 ASSERT_EQ(optq.prog_ids[0], id2, "prog_ids[0]"); in test_link_attach_detach()
486 __u32 fd1, fd2, id2; in test_invalid_attach_detach() local
501 id2 = id_from_prog_fd(fd2); in test_invalid_attach_detach()
507 .relative_id = id2, in test_invalid_attach_detach()
532 .relative_id = id2, in test_invalid_attach_detach()
[all …]
H A Dxdp_link.c12 __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/sound/isa/ !
H A Dsc6000.c464 struct snd_ctl_elem_id id1, id2; in snd_sc6000_mixer() local
468 memset(&id2, 0, sizeof(id2)); in snd_sc6000_mixer()
470 id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_sc6000_mixer()
473 strscpy(id2.name, "FM Playback Switch"); in snd_sc6000_mixer()
474 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
478 strscpy(id2.name, "FM Playback Volume"); in snd_sc6000_mixer()
479 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
484 strscpy(id2.name, "CD Playback Switch"); in snd_sc6000_mixer()
485 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
489 strscpy(id2.name, "CD Playback Volume"); in snd_sc6000_mixer()
[all …]
/linux/drivers/s390/net/ !
H A Dctcm_main.h266 static inline int ctcm_less_than(char *id1, char *id2) in ctcm_less_than() argument
271 id2 = id2 + 5; in ctcm_less_than()
274 dev2 = simple_strtoul(id2, &id2, 16); in ctcm_less_than()
/linux/drivers/bcma/ !
H A 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/drivers/ssb/ !
H A 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/sound/ac97/ !
H A 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/drivers/media/pci/ivtv/ !
H A 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/fs/ocfs2/ !
H A Dsuper.c1974 cbits = le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()
1975 bbits = le32_to_cpu(di->id2.i_super.s_blocksize_bits); in ocfs2_initialize_super()
1977 super_set_uuid(sb, di->id2.i_super.s_uuid, in ocfs2_initialize_super()
1978 sizeof(di->id2.i_super.s_uuid)); in ocfs2_initialize_super()
1983 osb->osb_dx_seed[i] = le32_to_cpu(di->id2.i_super.s_dx_seed[i]); in ocfs2_initialize_super()
1984 osb->osb_dx_seed[3] = le32_to_cpu(di->id2.i_super.s_uuid_hash); in ocfs2_initialize_super()
2016 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super()
2040 di->id2.i_super.s_xattr_inline_size); in ocfs2_initialize_super()
2143 le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super()
2166 if (ocfs2_setup_osb_uuid(osb, di->id2.i_super.s_uuid, in ocfs2_initialize_super()
[all …]
H A Dsymlink.c70 link = (char *) fe->id2.i_symlink; in ocfs2_fast_symlink_read_folio()
/linux/drivers/gpu/drm/panel/ !
H A Dpanel-dsi-cm.c155 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()
H A Dpanel-samsung-s6e63m0.c337 u8 id1, id2, id3; in s6e63m0_check_lcd_type() local
341 s6e63m0_dcs_read(ctx, MCS_READ_ID2, &id2); in s6e63m0_check_lcd_type()
351 dev_info(ctx->dev, "MTP ID: %02x %02x %02x\n", id1, id2, id3); in s6e63m0_check_lcd_type()
358 switch (id2) { in s6e63m0_check_lcd_type()
369 dev_info(ctx->dev, "unknown LCD panel type %02x\n", id2); in s6e63m0_check_lcd_type()
375 ctx->lcd_type = id2; in s6e63m0_check_lcd_type()
H A Dpanel-samsung-s6d27a1.c77 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()
H A Dpanel-widechips-ws2401.c107 u8 id1, id2, id3; in ws2401_read_mtp_id() local
115 ret = mipi_dbi_command_read(dbi, WS2401_READ_ID2, &id2); in ws2401_read_mtp_id()
125 dev_info(ws->dev, "MTP ID: %02x %02x %02x\n", id1, id2, id3); in ws2401_read_mtp_id()
/linux/drivers/mfd/ !
H A Das3711.c123 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()
H A Dwm8350-core.c280 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/sound/drivers/opl4/ !
H A 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 dev_dbg(opl4->card->dev, "OPL4 id1=%02x id2=%02x\n", id1, id2); in snd_opl4_detect()
134 if (id1 != 0x00 || id2 != 0xff) in snd_opl4_detect()
/linux/kernel/ !
H A Duser_namespace.c250 u32 first, last, id2; in cmp_map_id() local
254 id2 = key->id + key->count - 1; in cmp_map_id()
265 (id2 >= first && id2 <= last)) in cmp_map_id()
268 if (key->id < first || id2 < first) in cmp_map_id()
300 u32 first, last, id2; in map_id_range_down_base() local
302 id2 = id + count - 1; in map_id_range_down_base()
309 (id2 >= first && id2 <= last)) in map_id_range_down_base()
349 u32 first, last, id2; in map_id_range_up_base() local
351 id2 = id + count - 1; in map_id_range_up_base()
358 (id2 >= first && id2 <= last)) in map_id_range_up_base()
/linux/sound/soc/codecs/ !
H A Dwm8804.c566 unsigned int id1, id2; in wm8804_probe() local
628 ret = regmap_read(regmap, WM8804_DEVID2, &id2); in wm8804_probe()
634 id2 = (id2 << 8) | id1; in wm8804_probe()
636 if (id2 != 0x8805) { in wm8804_probe()
637 dev_err(dev, "Invalid device ID: %#x\n", id2); in wm8804_probe()
/linux/sound/isa/opti9xx/ !
H A 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 strscpy(id2.name, "CD Playback Switch"); in snd_opti93x_mixer()
605 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer()
612 strscpy(id2.name, "FM Playback Switch"); in snd_opti93x_mixer()
613 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer()

123