Home
last modified time | relevance | path

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

123

/linux/drivers/gpu/drm/nouveau/dispnv04/
A Dtvmodesnv17.c250 #define id1 (1LL << 8) macro
279 -8.801540 * id1, -46.572890 * id1, 7.762145 * id1, -0.000000 * id1},
283 -37.081621 * id1, -90.397510 * id1, 42.784229 * id1, -4.289952 * id1},
287 17.288138 * id1, 71.864786 * id1, -11.977408 * id1, -0.000009 * id1},
291 112.201065 * id1, 39.992155 * id1, -25.155714 * id1, 2.113984 * id1},
299 6.060315 * id1, -0.017425 * id1, 0.007830 * id1, -0.000869 * id1},
303 -2.361928 * id1, -2.059432 * id1, 1.840671 * id1, -0.168100 * id1},
307 -38.125089 * id1, -0.855880 * id1, 0.155359 * id1, -0.002245 * id1},
311 -17.296835 * id1, 4.438577 * id1, -2.809420 * id1, 0.385491 * id1},
/linux/tools/testing/selftests/bpf/prog_tests/
A Dxdp_link.c11 __u32 duration = 0, id1, id2, id0 = 0, prog_fd1, prog_fd2, err; in serial_test_xdp_link() local
34 id1 = prog_info.id; in serial_test_xdp_link()
49 CHECK(err || id0 != id1, "id1_check", in serial_test_xdp_link()
50 "loaded prog id %u != id1 %u, err %d", id0, id1, err); in serial_test_xdp_link()
76 if (CHECK(err || id0 != id1, "id1_check", in serial_test_xdp_link()
77 "loaded prog id %u != id1 %u, err %d", id0, id1, err)) in serial_test_xdp_link()
114 "loaded prog id %u != id2 %u, err %d", id0, id1, err)) in serial_test_xdp_link()
129 CHECK(link_info.prog_id != id1, "link_prog_id", in serial_test_xdp_link()
130 "got %u != exp %u\n", link_info.prog_id, id1); in serial_test_xdp_link()
142 CHECK(link_info.prog_id != id1, "link_prog_id", in serial_test_xdp_link()
[all …]
A Dxdp_attach.c9 __u32 duration = 0, id1, id2, id0 = 0, len; in serial_test_xdp_attach() local
25 id1 = info.id; in serial_test_xdp_attach()
47 if (CHECK(err || id0 != id1, "id1_check", in serial_test_xdp_attach()
48 "loaded prog id %u != id1 %u, err %d", id0, id1, err)) in serial_test_xdp_attach()
/linux/sound/isa/gus/
A Dgusmax.c132 struct snd_ctl_elem_id id1, id2; in snd_gusmax_mixer() local
135 memset(&id1, 0, sizeof(id1)); in snd_gusmax_mixer()
137 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusmax_mixer()
139 strcpy(id1.name, "Aux Playback Switch"); in snd_gusmax_mixer()
141 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer()
144 strcpy(id1.name, "Aux Playback Volume"); in snd_gusmax_mixer()
146 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer()
150 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_gusmax_mixer()
152 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer()
155 strcpy(id1.name, "Aux Playback Volume"); in snd_gusmax_mixer()
[all …]
A Dinterwave.c493 struct snd_ctl_elem_id id1, id2; in snd_interwave_mixer() local
497 memset(&id1, 0, sizeof(id1)); in snd_interwave_mixer()
502 strcpy(id1.name, "Mic Playback Switch"); in snd_interwave_mixer()
503 err = snd_ctl_remove_id(card, &id1); in snd_interwave_mixer()
506 strcpy(id1.name, "Mic Playback Volume"); in snd_interwave_mixer()
507 err = snd_ctl_remove_id(card, &id1); in snd_interwave_mixer()
533 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_interwave_mixer()
707 struct snd_ctl_elem_id id1, id2; in snd_interwave_probe() local
708 memset(&id1, 0, sizeof(id1)); in snd_interwave_probe()
712 strcpy(id2.name, id1.name); in snd_interwave_probe()
[all …]
A Dgusextreme.c199 struct snd_ctl_elem_id id1, id2; in snd_gusextreme_mixer() local
202 memset(&id1, 0, sizeof(id1)); in snd_gusextreme_mixer()
204 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusextreme_mixer()
207 strcpy(id1.name, "Aux Playback Volume"); in snd_gusextreme_mixer()
209 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer()
214 strcpy(id1.name, "Master Playback Switch"); in snd_gusextreme_mixer()
216 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer()
/linux/sound/isa/
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()
158 strcpy(id1.name, "Aux Playback Switch"); in snd_cmi8328_mixer()
160 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer()
166 strcpy(id1.name, "Aux Playback Volume"); in snd_cmi8328_mixer()
168 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer()
174 strcpy(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()
183 strcpy(id1.name, "Aux Playback Volume"); in snd_cmi8328_mixer()
[all …]
A Dsc6000.c457 struct snd_ctl_elem_id id1, id2; in snd_sc6000_mixer() local
460 memset(&id1, 0, sizeof(id1)); in snd_sc6000_mixer()
462 id1.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_sc6000_mixer()
465 strcpy(id1.name, "Aux Playback Switch"); in snd_sc6000_mixer()
467 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
470 strcpy(id1.name, "Aux Playback Volume"); in snd_sc6000_mixer()
472 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
476 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_sc6000_mixer()
478 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer()
481 strcpy(id1.name, "Aux Playback Volume"); in snd_sc6000_mixer()
[all …]
A Dopl3sa2.c485 struct snd_ctl_elem_id id1, id2; in snd_opl3sa2_mixer() local
490 memset(&id1, 0, sizeof(id1)); in snd_opl3sa2_mixer()
492 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opl3sa2_mixer()
494 strcpy(id1.name, "Aux Playback Switch"); in snd_opl3sa2_mixer()
496 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opl3sa2_mixer()
501 strcpy(id1.name, "Aux Playback Volume"); in snd_opl3sa2_mixer()
503 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opl3sa2_mixer()
509 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_opl3sa2_mixer()
511 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opl3sa2_mixer()
516 strcpy(id1.name, "Aux Playback Volume"); in snd_opl3sa2_mixer()
[all …]
/linux/fs/ocfs2/
A Dlocalalloc.c330 || alloc->id1.bitmap1.i_used in ocfs2_load_local_alloc()
331 || alloc->id1.bitmap1.i_total in ocfs2_load_local_alloc()
664 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
686 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits()
833 if (!alloc->id1.bitmap1.i_total) { in ocfs2_local_alloc_find_clear_bits()
904 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_local_alloc_find_clear_bits()
915 alloc->id1.bitmap1.i_total = 0; in ocfs2_clear_local_alloc()
916 alloc->id1.bitmap1.i_used = 0; in ocfs2_clear_local_alloc()
964 if (!alloc->id1.bitmap1.i_total) { in ocfs2_sync_local_to_main()
1159 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_local_alloc_new_window()
[all …]
A Dsuballoc.c809 free_bits = le32_to_cpu(fe->id1.bitmap1.i_total) - in ocfs2_reserve_suballoc_bits()
810 le32_to_cpu(fe->id1.bitmap1.i_used); in ocfs2_reserve_suballoc_bits()
840 (le32_to_cpu(fe->id1.bitmap1.i_total) in ocfs2_reserve_suballoc_bits()
841 - le32_to_cpu(fe->id1.bitmap1.i_used))); in ocfs2_reserve_suballoc_bits()
1598 tmp_used = le32_to_cpu(di->id1.bitmap1.i_used); in ocfs2_alloc_dinode_update_counts()
1617 tmp_used = le32_to_cpu(di->id1.bitmap1.i_used); in ocfs2_rollback_alloc_dinode_counts()
1902 if (le32_to_cpu(fe->id1.bitmap1.i_used) >= in ocfs2_claim_suballoc_bits()
1903 le32_to_cpu(fe->id1.bitmap1.i_total)) { in ocfs2_claim_suballoc_bits()
1907 le32_to_cpu(fe->id1.bitmap1.i_used), in ocfs2_claim_suballoc_bits()
1908 le32_to_cpu(fe->id1.bitmap1.i_total)); in ocfs2_claim_suballoc_bits()
[all …]
/linux/drivers/net/phy/
A Dspi_ks8995.c329 u8 id0, id1, ksz8864_id; in ks8995_get_revision() local
349 err = ks8995_read_reg(ks, KS8995_REG_ID1, &id1); in ks8995_get_revision()
356 if ((get_chip_id(id1) == CHIPID_M) && in ks8995_get_revision()
357 (get_chip_id(id1) == ks->chip->chip_id)) { in ks8995_get_revision()
359 ks->revision_id = get_chip_rev(id1); in ks8995_get_revision()
360 } else if (get_chip_id(id1) != CHIPID_M) { in ks8995_get_revision()
370 ks->revision_id = get_chip_rev(id1); in ks8995_get_revision()
375 id1); in ks8995_get_revision()
387 if (get_chip_id(id1) == ks->chip->chip_id) { in ks8995_get_revision()
388 ks->revision_id = get_chip_rev(id1); in ks8995_get_revision()
[all …]
/linux/sound/drivers/opl4/
A Dopl4_lib.c112 u8 id1, id2; in snd_opl4_detect() local
116 id1 = snd_opl4_read(opl4, OPL4_REG_MEMORY_CONFIGURATION); in snd_opl4_detect()
117 snd_printdd("OPL4[02]=%02x\n", id1); in snd_opl4_detect()
118 switch (id1 & OPL4_DEVICE_ID_MASK) { in snd_opl4_detect()
131 id1 = snd_opl4_read(opl4, OPL4_REG_MIX_CONTROL_FM); 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/drivers/net/wireless/ath/
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/
A Dctcm_main.h265 static inline int ctcm_less_than(char *id1, char *id2) in ctcm_less_than() argument
269 id1 = id1 + 5; in ctcm_less_than()
272 dev1 = simple_strtoul(id1, &id1, 16); in ctcm_less_than()
/linux/sound/isa/opti9xx/
A Dopti92x-ad1848.c588 struct snd_ctl_elem_id id1, id2; in snd_opti93x_mixer() local
598 memset(&id1, 0, sizeof(id1)); in snd_opti93x_mixer()
602 strcpy(id1.name, "Aux Playback Switch"); in snd_opti93x_mixer()
604 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer()
610 strcpy(id1.name, "Aux Playback Switch"); id1.index = 1; in snd_opti93x_mixer()
612 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opti93x_mixer()
618 strcpy(id1.name, "Aux Playback Volume"); id1.index = 1; in snd_opti93x_mixer()
619 snd_ctl_remove_id(card, &id1); in snd_opti93x_mixer()
622 id1.index = 0; in snd_opti93x_mixer()
624 strcpy(id1.name, snd_opti93x_controls[idx].name); in snd_opti93x_mixer()
[all …]
/linux/drivers/mfd/
A Das3711.c124 unsigned int id1, id2; in as3711_i2c_probe() local
156 ret = regmap_read(as3711->regmap, AS3711_ASIC_ID_1, &id1); in as3711_i2c_probe()
163 if (id1 != 0x8b) in as3711_i2c_probe()
165 dev_info(as3711->dev, "AS3711 detected: %x:%x\n", id1, id2); in as3711_i2c_probe()
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/
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/gpu/drm/panel/
A Dpanel-dsi-cm.c162 static int dsicm_get_id(struct panel_drv_data *ddata, u8 *id1, u8 *id2, u8 *id3) in dsicm_get_id() argument
166 r = dsicm_dcs_read_1(ddata, DCS_GET_ID1, id1); in dsicm_get_id()
258 u8 id1, id2, id3; in hw_revision_show() local
264 r = dsicm_get_id(ddata, &id1, &id2, &id3); in hw_revision_show()
271 return snprintf(buf, PAGE_SIZE, "%02x.%02x.%02x\n", id1, id2, id3); in hw_revision_show()
302 u8 id1, id2, id3; in dsicm_power_on() local
313 r = dsicm_get_id(ddata, &id1, &id2, &id3); in dsicm_power_on()
351 id1, id2, id3); in dsicm_power_on()
A Dpanel-samsung-s6d27a1.c77 u8 id1, id2, id3; in s6d27a1_read_mtp_id() local
80 ret = mipi_dbi_command_read(dbi, S6D27A1_READID1, &id1); in s6d27a1_read_mtp_id()
95 dev_info(ctx->dev, "MTP ID: %02x %02x %02x\n", id1, id2, id3); in s6d27a1_read_mtp_id()
A Dpanel-widechips-ws2401.c107 u8 id1, id2, id3; in ws2401_read_mtp_id() local
110 ret = mipi_dbi_command_read(dbi, WS2401_READ_ID1, &id1); 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/media/i2c/cx25840/
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/sound/soc/codecs/
A Dwm8804.c568 unsigned int id1, id2; in wm8804_probe() local
624 ret = regmap_read(regmap, WM8804_RST_DEVID1, &id1); in wm8804_probe()
636 id2 = (id2 << 8) | id1; in wm8804_probe()
644 ret = regmap_read(regmap, WM8804_DEVREV, &id1); in wm8804_probe()
650 dev_info(dev, "revision %c\n", id1 + 'A'); in wm8804_probe()
/linux/drivers/video/fbdev/omap2/omapfb/displays/
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()
420 u8 id1, id2, id3; in dsicm_hw_revision_show() local
430 r = dsicm_get_id(ddata, &id1, &id2, &id3); in dsicm_hw_revision_show()
442 return snprintf(buf, PAGE_SIZE, "%02x.%02x.%02x\n", id1, id2, id3); in dsicm_hw_revision_show()
576 u8 id1, id2, id3; in dsicm_power_on() local
617 r = dsicm_get_id(ddata, &id1, &id2, &id3); in dsicm_power_on()
651 id1, id2, id3); in dsicm_power_on()

Completed in 74 milliseconds

123