Home
last modified time | relevance | path

Searched refs:id1 (Results 1 – 25 of 41) sorted by relevance

12

/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvmodesnv17.c249 #define id1 (1LL << 8) macro
278 -8.801540 * id1, -46.572890 * id1, 7.762145 * id1, -0.000000 * id1},
282 -37.081621 * id1, -90.397510 * id1, 42.784229 * id1, -4.289952 * id1},
286 17.288138 * id1, 71.864786 * id1, -11.977408 * id1, -0.000009 * id1},
290 112.201065 * id1, 39.992155 * id1, -25.155714 * id1, 2.113984 * id1},
298 6.060315 * id1, -0.017425 * id1, 0.007830 * id1, -0.000869 * id1},
302 -2.361928 * id1, -2.059432 * id1, 1.840671 * id1, -0.168100 * id1},
306 -38.125089 * id1, -0.855880 * id1, 0.155359 * id1, -0.002245 * id1},
310 -17.296835 * id1, 4.438577 * id1, -2.809420 * id1, 0.385491 * id1},
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_guc_db_mgr_test.c115 int id1, id2, id3; in test_range_overlap() local
121 KUNIT_ASSERT_GE(test, id1 = xe_guc_db_mgr_reserve_range(dbm, *p, 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()
132 KUNIT_ASSERT_GE(test, id1 = xe_guc_db_mgr_reserve_range(dbm, 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()
139 KUNIT_ASSERT_NE(test, id3, id1); in test_range_overlap()
/linux/sound/isa/gus/
H A Dgusmax.c130 struct snd_ctl_elem_id id1, id2; in snd_gusmax_mixer() local
133 memset(&id1, 0, sizeof(id1)); in snd_gusmax_mixer()
135 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusmax_mixer()
137 strscpy(id1.name, "Aux Playback Switch"); in snd_gusmax_mixer()
139 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer()
142 strscpy(id1.name, "Aux Playback Volume"); in snd_gusmax_mixer()
144 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer()
148 strscpy(id1.name, "Aux Playback Switch"); id1 in snd_gusmax_mixer()
[all...]
/linux/sound/isa/
H A Dcmi8328.c149 struct snd_ctl_elem_id id1, id2; in snd_cmi8328_mixer() local
154 memset(&id1, 0, sizeof(id1)); in snd_cmi8328_mixer()
156 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_cmi8328_mixer()
158 strscpy(id1.name, "Aux Playback Switch"); in snd_cmi8328_mixer()
160 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer()
166 strscpy(id1.name, "Aux Playback Volume"); in snd_cmi8328_mixer()
168 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer()
174 strscpy(id1.name, "Aux Playback Switch"); in snd_cmi8328_mixer()
175 id1.index = 1; in snd_cmi8328_mixer()
177 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer()
[all …]
H A Dsc6000.c492 struct snd_ctl_elem_id id1, id2; in snd_sc6000_mixer()
495 memset(&id1, 0, sizeof(id1));
497 id1.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_sc6000_match()
500 strscpy(id1.name, "Aux Playback Switch"); in snd_sc6000_match()
502 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_match()
505 strscpy(id1.name, "Aux Playback Volume"); in snd_sc6000_match()
507 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_match()
511 strscpy(id1.name, "Aux Playback Switch"); id1 in snd_sc6000_match()
464 struct snd_ctl_elem_id id1, id2; snd_sc6000_mixer() local
[all...]
/linux/fs/ocfs2/
H A Dlocalalloc.c331 || alloc->id1.bitmap1.i_used in ocfs2_load_local_alloc()
332 || alloc->id1.bitmap1.i_total in ocfs2_load_local_alloc()
337 num_used, le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_load_local_alloc()
338 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_load_local_alloc()
654 if (le32_to_cpu(alloc->id1.bitmap1.i_used) != in ocfs2_reserve_local_alloc_bits()
658 le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_reserve_local_alloc_bits()
664 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
665 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
686 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits()
687 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_opts.c18 __u32 fd1, fd2, id1, id2; in test_ns_tc_opts_basic() local
30 id1 = id_from_prog_fd(fd1); in test_ns_tc_opts_basic()
33 ASSERT_NEQ(id1, id2, "prog_ids_1_2"); in test_ns_tc_opts_basic()
59 ASSERT_EQ(optq.prog_ids[0], id1, "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
130 id1 = id_from_prog_fd(fd1); in test_tc_opts_before_target()
135 ASSERT_NEQ(id1, id2, "prog_ids_1_2"); in test_tc_opts_before_target()
164 ASSERT_EQ(optq.prog_ids[0], id1, "prog_ids[0]"); in test_tc_opts_before_target()
194 ASSERT_EQ(optq.prog_ids[0], id1, "prog_ids[0]"); in test_tc_opts_before_target()
201 .relative_id = id1, in test_tc_opts_before_target()
[all …]
H A Dxdp_link.c12 __u32 id1, id2, id0 = 0, prog_fd1, prog_fd2; in serial_test_xdp_link() local
35 id1 = prog_info.id; in serial_test_xdp_link()
50 if (!ASSERT_OK(err, "id1_check_err") || !ASSERT_EQ(id0, id1, "id1_check_val")) in serial_test_xdp_link()
77 if (!ASSERT_OK(err, "id1_check_err") || !ASSERT_EQ(id0, id1, "id1_check_val")) in serial_test_xdp_link()
128 ASSERT_EQ(link_info.prog_id, id1, "link_prog_id"); in serial_test_xdp_link()
145 ASSERT_EQ(link_info.prog_id, id1, "link_prog_id"); in serial_test_xdp_link()
H A Dxdp_attach.c10 __u32 duration = 0, id1, id2, id0 = 0, len; in test_xdp_attach() local
24 id1 = info.id; in test_xdp_attach()
45 if (CHECK(err || id0 != id1, "id1_check", in test_xdp_attach()
46 "loaded prog id %u != id1 %u, err %d", id0, id1, err)) in test_xdp_attach()
H A Dcgroup_mprog_opts.c23 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; in test_prog_attach_detach() local
41 id1 = id_from_prog_fd(fd1); in test_prog_attach_detach()
113 ASSERT_EQ(optq.prog_ids[2], id1, "prog_ids[2]"); in test_prog_attach_detach()
156 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; in test_link_attach_detach() local
174 id1 = id_from_prog_fd(fd1); in test_link_attach_detach()
245 ASSERT_EQ(optq.prog_ids[2], id1, "prog_ids[2]"); in test_link_attach_detach()
/linux/sound/drivers/opl4/
H A Dopl4_lib.c106 u8 id1, id2; in snd_opl4_detect() local
110 id1 = snd_opl4_read(opl4, OPL4_REG_MEMORY_CONFIGURATION); in snd_opl4_detect()
111 dev_dbg(opl4->card->dev, "OPL4[02]=%02x\n", id1); in snd_opl4_detect()
112 switch (id1 & OPL4_DEVICE_ID_MASK) { in snd_opl4_detect()
125 id1 = snd_opl4_read(opl4, OPL4_REG_MIX_CONTROL_FM); in snd_opl4_detect()
127 dev_dbg(opl4->card->dev, "OPL4 id1=%02x id2=%02x\n", id1, id2); in snd_opl4_detect()
128 if (id1 != 0x00 || id2 != 0xff) in snd_opl4_detect()
/linux/drivers/net/wireless/ath/
H A Dhw.c121 u32 id1; in ath_hw_setbssidmask() local
124 id1 = REG_READ(ah, AR_STA_ID1) & ~AR_STA_ID1_SADH_MASK; in ath_hw_setbssidmask()
125 id1 |= get_unaligned_le16(common->macaddr + 4); in ath_hw_setbssidmask()
126 REG_WRITE(ah, AR_STA_ID1, id1); in ath_hw_setbssidmask()
/linux/drivers/s390/net/
H A Dctcm_main.h266 static inline int ctcm_less_than(char *id1, char *id2) in ctcm_less_than() argument
270 id1 = id1 + 5; in ctcm_less_than()
273 dev1 = simple_strtoul(id1, &id1, 16); in ctcm_less_than()
/linux/drivers/mfd/
H A Das3711.c123 unsigned int id1, id2; in as3711_i2c_probe() local
155 ret = regmap_read(as3711->regmap, AS3711_ASIC_ID_1, &id1); in as3711_i2c_probe()
162 if (id1 != 0x8b) 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
286 ret = regmap_read(wm8350->regmap, WM8350_RESET_ID, &id1); in wm8350_device_init()
304 if (id1 != 0x6143) { in wm8350_device_init()
306 "Device with ID %x is not a WM8350\n", id1); in wm8350_device_init()
/linux/tools/perf/tests/shell/
H A Dbuildid.sh238 id1=$(get_build_id ${ex_sha1})
240 if ! ${perf} buildid-cache -l | grep -q ${id1}; then
241 echo "failed: ${id1} not in cache"
266 if ${perf} buildid-cache -l | grep -q ${id1}; then
267 echo "failed: ${id1} still in cache after purge"
/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/i2c/cx25840/
H A Dcx25840-vbi.c220 int id1, id2, l, err = 0; in cx25840_decode_vbi_line() local
229 id1 = p[-1]; in cx25840_decode_vbi_line()
259 vbi->is_second_field = err ? 0 : (id1 == 0x55); in cx25840_decode_vbi_line()
/linux/drivers/video/fbdev/omap2/omapfb/displays/
H A Dpanel-dsi-cm.c174 static int dsicm_get_id(struct panel_drv_data *ddata, u8 *id1, u8 *id2, u8 *id3) in dsicm_get_id() argument
178 r = dsicm_dcs_read_1(ddata, DCS_GET_ID1, id1); in dsicm_get_id()
410 u8 id1, id2, id3; in dsicm_hw_revision_show() local
420 r = dsicm_get_id(ddata, &id1, &id2, &id3); in dsicm_hw_revision_show()
432 return sysfs_emit(buf, "%02x.%02x.%02x\n", id1, id2, id3); in dsicm_hw_revision_show()
569 u8 id1, id2, id3; in dsicm_power_on() local
610 r = dsicm_get_id(ddata, &id1, &id2, &id3); in dsicm_power_on()
644 id1, id2, id3); in dsicm_power_on()
/linux/drivers/net/ethernet/fungible/funcore/
H A Dfun_dev.h129 unsigned int id1);
H A Dfun_dev.c547 unsigned int id1) in fun_bind() argument
554 cmd->entry[1] = FUN_ADMIN_BIND_ENTRY_INIT(type1, id1); in fun_bind()
/linux/drivers/s390/block/
H A Ddasd_devmap.c132 static int dasd_busid(char *str, int *id0, int *id1, int *devno) in dasd_busid() argument
144 *id1 = ipl_info.data.ccw.dev_id.ssid; in dasd_busid()
152 *id0 = *id1 = 0; in dasd_busid()
168 *id1 = val; in dasd_busid()
2194 int id0, id1, id2; in dasd_devmap_parse_busid() local
2211 if (dasd_busid(primary, &id0, &id1, &id2)) { in dasd_devmap_parse_busid()
2215 sprintf(prim_busid, "%01x.%01x.%04x", id0, id1, id2); in dasd_devmap_parse_busid()
2216 if (dasd_busid(secondary, &id0, &id1, &id2)) { in dasd_devmap_parse_busid()
2220 sprintf(sec_busid, "%01x.%01x.%04x", id0, id1, id2); in dasd_devmap_parse_busid()
/linux/drivers/scsi/aic94xx/
H A Daic94xx_sds.c545 u8 id1; member
716 static void *asd_find_ll_by_id(void * const start, const u8 id0, const u8 id1) in asd_find_ll_by_id() argument
721 switch (id1) { in asd_find_ll_by_id()
723 if (el->id1 == id1) { in asd_find_ll_by_id()
/linux/drivers/net/ethernet/smsc/
H A Dsmc91x.c871 unsigned int id1, id2; in smc_phy_detect() local
874 id1 = smc_phy_read(dev, phyaddr & 31, MII_PHYSID1); in smc_phy_detect()
878 id1, id2); in smc_phy_detect()
881 if (id1 != 0x0000 && id1 != 0xffff && id1 != 0x8000 && in smc_phy_detect()
885 lp->phy_type = id1 << 16 | id2; in smc_phy_detect()
/linux/tools/lib/bpf/
H A Dlinker.c1483 const struct btf *btf1, __u32 id1, in glob_sym_btf_matches() argument
1493 t1 = skip_mods_and_typedefs(btf1, id1, &id1); in glob_sym_btf_matches()
1571 id1 = t1->type; in glob_sym_btf_matches()
1576 id1 = btf_array(t1)->type; in glob_sym_btf_matches()
1588 id1 = t1->type; in glob_sym_btf_matches()
1600 id1 = t1->type; in glob_sym_btf_matches()
1657 id1 = t1->type; in glob_sym_btf_matches()

12