Home
last modified time | relevance | path

Searched refs:id1 (Results 1 – 25 of 47) 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.index = 1; in snd_gusmax_mixer()
150 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer()
153 strscpy(id1.name, "Aux Playback Volume"); 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.c464 struct snd_ctl_elem_id id1, id2; in snd_sc6000_mixer() local
467 memset(&id1, 0, sizeof(id1)); in snd_sc6000_mixer()
469 id1.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_sc6000_mixer()
472 strscpy(id1.name, "Aux Playback Switch"); in snd_sc6000_mixer()
474 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
477 strscpy(id1.name, "Aux Playback Volume"); in snd_sc6000_mixer()
479 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
483 strscpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_sc6000_mixer()
485 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
488 strscpy(id1.name, "Aux Playback Volume"); in snd_sc6000_mixer()
[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 …]
H A Dsuballoc.c733 le32_add_cpu(&fe->id1.bitmap1.i_used, le16_to_cpu(bg->bg_bits) - in ocfs2_block_group_alloc()
735 le32_add_cpu(&fe->id1.bitmap1.i_total, le16_to_cpu(bg->bg_bits)); in ocfs2_block_group_alloc()
816 free_bits = le32_to_cpu(fe->id1.bitmap1.i_total) - in ocfs2_reserve_suballoc_bits()
817 le32_to_cpu(fe->id1.bitmap1.i_used); in ocfs2_reserve_suballoc_bits()
847 (le32_to_cpu(fe->id1.bitmap1.i_total) in ocfs2_reserve_suballoc_bits()
848 - le32_to_cpu(fe->id1.bitmap1.i_used))); in ocfs2_reserve_suballoc_bits()
1650 tmp_used = le32_to_cpu(di->id1.bitmap1.i_used); in ocfs2_alloc_dinode_update_counts()
1651 di->id1.bitmap1.i_used = cpu_to_le32(num_bits + tmp_used); in ocfs2_alloc_dinode_update_counts()
1669 tmp_used = le32_to_cpu(di->id1.bitmap1.i_used); in ocfs2_rollback_alloc_dinode_counts()
1670 di->id1.bitmap1.i_used = cpu_to_le32(tmp_used - num_bits); in ocfs2_rollback_alloc_dinode_counts()
[all …]
H A Dresize.c146 le32_add_cpu(&fe->id1.bitmap1.i_total, num_bits); in ocfs2_update_last_group_and_inode()
151 le32_add_cpu(&fe->id1.bitmap1.i_used, backups); in ocfs2_update_last_group_and_inode()
558 le32_add_cpu(&fe->id1.bitmap1.i_total, input->clusters *cl_bpc); in ocfs2_group_add()
559 le32_add_cpu(&fe->id1.bitmap1.i_used, in ocfs2_group_add()
H A Dioctl.c309 le32_to_cpu(dinode_alloc->id1.bitmap1.i_total); in ocfs2_info_scan_inode_alloc()
311 le32_to_cpu(dinode_alloc->id1.bitmap1.i_total) - in ocfs2_info_scan_inode_alloc()
312 le32_to_cpu(dinode_alloc->id1.bitmap1.i_used); in ocfs2_info_scan_inode_alloc()
580 le32_to_cpu(gb_dinode->id1.bitmap1.i_total); in ocfs2_info_freefrag_scan_bitmap()
582 le32_to_cpu(gb_dinode->id1.bitmap1.i_used); in ocfs2_info_freefrag_scan_bitmap()
H A Djournal.c973 *dirty = (le32_to_cpu(di->id1.journal1.ij_flags) & in ocfs2_journal_init()
1005 le32_add_cpu(&(di->id1.journal1.ij_recovery_generation), 1); in ocfs2_bump_recovery_generation()
1010 return le32_to_cpu(di->id1.journal1.ij_recovery_generation); in ocfs2_get_recovery_generation()
1029 flags = le32_to_cpu(fe->id1.journal1.ij_flags); in ocfs2_journal_toggle_dirty()
1034 fe->id1.journal1.ij_flags = cpu_to_le32(flags); in ocfs2_journal_toggle_dirty()
1730 flags = le32_to_cpu(fe->id1.journal1.ij_flags); in ocfs2_replay_journal()
1780 flags = le32_to_cpu(fe->id1.journal1.ij_flags); in ocfs2_replay_journal()
1782 fe->id1.journal1.ij_flags = cpu_to_le32(flags); in ocfs2_replay_journal()
2465 if (le32_to_cpu(di->id1.journal1.ij_flags) & in ocfs2_check_journals_nolocks()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtc_opts.c18 __u32 fd1, fd2, id1, id2; in serial_test_tc_opts_basic() local
30 id1 = id_from_prog_fd(fd1); in serial_test_tc_opts_basic()
33 ASSERT_NEQ(id1, id2, "prog_ids_1_2"); in serial_test_tc_opts_basic()
59 ASSERT_EQ(optq.prog_ids[0], id1, "prog_ids[0]"); in serial_test_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()
268 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; test_tc_opts_after_target() local
459 __u32 fd1, fd2, id1, id2; test_tc_opts_revision_target() local
570 __u32 fd1, fd2, fd3, id1, id2, id3; test_tc_chain_classic() local
671 __u32 fd1, fd2, fd3, id1, id2, id3, detach_fd; test_tc_opts_replace_target() local
877 __u32 fd1, fd2, id1, id2; test_tc_opts_invalid_target() local
1031 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; test_tc_opts_prepend_target() local
1171 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; test_tc_opts_append_target() local
1311 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; test_tc_opts_dev_cleanup_target() local
1656 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; test_tc_opts_detach_target() local
1827 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; test_tc_opts_detach_before_target() local
2034 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; test_tc_opts_detach_after_target() local
2282 __u32 fd1, fd2, fd3, id1, id2, id3; test_tc_chain_mixed() local
2467 __u32 fd1, fd2, fd3, fd4, id1, id2, id3, id4; test_tc_opts_query_target() local
2764 __u32 fd1, id1; test_tc_opts_query_attach_target() local
[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/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/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/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/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);
/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()

12