/Linux-v6.6/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvmodesnv17.c | 249 #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-v6.6/sound/isa/gus/ |
D | gusmax.c | 132 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 …]
|
D | interwave.c | 493 struct snd_ctl_elem_id id1, id2; in snd_interwave_mixer() local 497 memset(&id1, 0, sizeof(id1)); in snd_interwave_mixer() 499 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; 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() 522 strcpy(id1.name, "Aux Playback Switch"); in snd_interwave_mixer() 524 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_mixer() 527 strcpy(id1.name, "Aux Playback Volume"); in snd_interwave_mixer() [all …]
|
D | gusextreme.c | 199 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-v6.6/sound/isa/ |
D | cmi8328.c | 149 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 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() [all …]
|
D | sc6000.c | 457 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 …]
|
D | opl3sa2.c | 485 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-v6.6/tools/testing/selftests/bpf/prog_tests/ |
D | tc_opts.c | 18 __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() [all …]
|
D | xdp_link.c | 12 __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()
|
D | xdp_attach.c | 10 __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()
|
/Linux-v6.6/fs/ocfs2/ |
D | localalloc.c | 330 || alloc->id1.bitmap1.i_used in ocfs2_load_local_alloc() 331 || alloc->id1.bitmap1.i_total in ocfs2_load_local_alloc() 336 num_used, le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_load_local_alloc() 337 le32_to_cpu(alloc->id1.bitmap1.i_total), in ocfs2_load_local_alloc() 653 if (le32_to_cpu(alloc->id1.bitmap1.i_used) != in ocfs2_reserve_local_alloc_bits() 657 le32_to_cpu(alloc->id1.bitmap1.i_used), in ocfs2_reserve_local_alloc_bits() 663 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits() 664 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits() 685 free_bits = le32_to_cpu(alloc->id1.bitmap1.i_total) - in ocfs2_reserve_local_alloc_bits() 686 le32_to_cpu(alloc->id1.bitmap1.i_used); in ocfs2_reserve_local_alloc_bits() [all …]
|
D | suballoc.c | 726 le32_add_cpu(&fe->id1.bitmap1.i_used, le16_to_cpu(bg->bg_bits) - in ocfs2_block_group_alloc() 728 le32_add_cpu(&fe->id1.bitmap1.i_total, le16_to_cpu(bg->bg_bits)); in ocfs2_block_group_alloc() 809 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() 1595 tmp_used = le32_to_cpu(di->id1.bitmap1.i_used); in ocfs2_alloc_dinode_update_counts() 1596 di->id1.bitmap1.i_used = cpu_to_le32(num_bits + tmp_used); in ocfs2_alloc_dinode_update_counts() 1614 tmp_used = le32_to_cpu(di->id1.bitmap1.i_used); in ocfs2_rollback_alloc_dinode_counts() 1615 di->id1.bitmap1.i_used = cpu_to_le32(tmp_used - num_bits); in ocfs2_rollback_alloc_dinode_counts() [all …]
|
/Linux-v6.6/drivers/net/phy/ |
D | spi_ks8995.c | 323 u8 id0, id1, ksz8864_id; in ks8995_get_revision() local 343 err = ks8995_read_reg(ks, KS8995_REG_ID1, &id1); in ks8995_get_revision() 350 if ((get_chip_id(id1) == CHIPID_M) && in ks8995_get_revision() 351 (get_chip_id(id1) == ks->chip->chip_id)) { in ks8995_get_revision() 353 ks->revision_id = get_chip_rev(id1); in ks8995_get_revision() 354 } else if (get_chip_id(id1) != CHIPID_M) { in ks8995_get_revision() 364 ks->revision_id = get_chip_rev(id1); in ks8995_get_revision() 369 id1); in ks8995_get_revision() 375 err = ks8995_read_reg(ks, KS8995_REG_ID1, &id1); in ks8995_get_revision() 381 if (get_chip_id(id1) == ks->chip->chip_id) { in ks8995_get_revision() [all …]
|
/Linux-v6.6/sound/drivers/opl4/ |
D | opl4_lib.c | 112 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-v6.6/drivers/net/wireless/ath/ |
D | hw.c | 121 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-v6.6/drivers/s390/net/ |
D | ctcm_main.h | 266 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-v6.6/sound/isa/opti9xx/ |
D | opti92x-ad1848.c | 588 struct snd_ctl_elem_id id1, id2; in snd_opti93x_mixer() local 598 memset(&id1, 0, sizeof(id1)); in snd_opti93x_mixer() 600 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; 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() [all …]
|
/Linux-v6.6/drivers/mfd/ |
D | as3711.c | 123 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()
|
D | wm8350-core.c | 280 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-v6.6/sound/ac97/ |
D | ac97_core.h | 9 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-v6.6/drivers/gpu/drm/panel/ |
D | panel-dsi-cm.c | 155 static int dsicm_get_id(struct panel_drv_data *ddata, u8 *id1, u8 *id2, u8 *id3) in dsicm_get_id() argument 159 r = dsicm_dcs_read_1(ddata, DCS_GET_ID1, id1); 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()
|
D | panel-samsung-s6d27a1.c | 77 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()
|
D | panel-widechips-ws2401.c | 107 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-v6.6/drivers/media/i2c/cx25840/ |
D | cx25840-vbi.c | 220 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-v6.6/sound/soc/codecs/ |
D | wm8804.c | 567 unsigned int id1, id2; in wm8804_probe() local 623 ret = regmap_read(regmap, WM8804_RST_DEVID1, &id1); in wm8804_probe() 635 id2 = (id2 << 8) | id1; in wm8804_probe() 643 ret = regmap_read(regmap, WM8804_DEVREV, &id1); in wm8804_probe() 649 dev_info(dev, "revision %c\n", id1 + 'A'); in wm8804_probe()
|