Home
last modified time | relevance | path

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

1234

/openbmc/u-boot/cmd/aspeed/nettest/
H A Dphy_tbl.h41 uint16_t id1; member
50 { .id1 = 0x001c,
56 { .id1 = 0x001c,
62 { .id1 = 0x001c,
68 { .id1 = 0x001c,
74 { .id1 = 0x001c,
80 { .id1 = 0x001c,
86 { .id1 = 0x001c,
92 { .id1 = 0x001c,
98 { .id1 = 0x001c,
[all …]
/openbmc/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},
/openbmc/linux/sound/isa/gus/
H 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 …]
H 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 …]
H 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()
/openbmc/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()
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 …]
H 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 …]
H 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 …]
/openbmc/linux/fs/ocfs2/
H 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 …]
/openbmc/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()
130 id1 = id_from_prog_fd(fd1); in test_tc_opts_before_target()
201 .relative_id = id1, in test_tc_opts_before_target()
282 id1 = id_from_prog_fd(fd1); in test_tc_opts_after_target()
459 __u32 fd1, fd2, id1, id2; in test_tc_opts_revision_target() local
471 id1 = id_from_prog_fd(fd1); in test_tc_opts_revision_target()
705 .relative_id = id1, in test_tc_opts_replace_target()
847 .relative_id = id1, in test_tc_opts_replace_target()
877 __u32 fd1, fd2, id1, id2; in test_tc_opts_invalid_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()
/openbmc/linux/drivers/net/phy/
H A Dspi_ks8995.c323 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()
381 if (get_chip_id(id1) == ks->chip->chip_id) { in ks8995_get_revision()
382 ks->revision_id = get_chip_rev(id1); in ks8995_get_revision()
[all …]
/openbmc/u-boot/arch/xtensa/cpu/
H A Dcpu.c31 uint32_t id0, id1; in print_cpuinfo() local
35 : "=r"(id0), "=r"(id1)); in print_cpuinfo()
38 XCHAL_CORE_ID, id0, id1, strmhz(mhz, gd->cpu_clk)); in print_cpuinfo()
/openbmc/u-boot/board/Arcturus/ucp1020/
H A Ducp1020.c194 static u8 id1[16]; in last_stage_init() local
199 if (i2c_read(CONFIG_SYS_I2C_IDT6V49205B, 7, 1, &id1[0], 2) < 0) { in last_stage_init()
202 printf("IDT6V49205B(0x%02x): ready\n", id1[1]); in last_stage_init()
203 i2c_read(CONFIG_SYS_I2C_IDT6V49205B, 4, 1, &id1[0], 2); in last_stage_init()
204 if (!(id1[1] & 0x02)) { in last_stage_init()
205 id1[1] |= 0x02; in last_stage_init()
206 i2c_write(CONFIG_SYS_I2C_IDT6V49205B, 4, 1, &id1[0], 2); in last_stage_init()
/openbmc/linux/sound/drivers/opl4/
H 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()
/openbmc/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()
/openbmc/u-boot/arch/arm/mach-davinci/
H A Dlxt972.c24 u_int16_t id1, id2; in lxt972_is_phy_connected() local
26 if (!davinci_eth_phy_read(phy_addr, MII_PHYSID1, &id1)) in lxt972_is_phy_connected()
31 if ((id1 == (0x0013)) && ((id2 & 0xfff0) == 0x78e0)) in lxt972_is_phy_connected()
H A Ddp83848.c23 u_int16_t id1, id2; in dp83848_is_phy_connected() local
25 if (!davinci_eth_phy_read(phy_addr, DP83848_PHYID1_REG, &id1)) in dp83848_is_phy_connected()
30 if ((id1 == DP83848_PHYID1_OUI) && (id2 == DP83848_PHYID2_OUI)) in dp83848_is_phy_connected()
/openbmc/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()
/openbmc/u-boot/board/spear/x600/
H A Dx600.c73 unsigned short id1, id2; in board_phy_config() local
76 id1 = phy_read(phydev, MDIO_DEVAD_NONE, 2); in board_phy_config()
79 if ((id1 == 0x22) && ((id2 & 0xFFF0) == 0x1620)) { in board_phy_config()
/openbmc/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()
/openbmc/linux/sound/isa/opti9xx/
H 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 …]
/openbmc/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()
/openbmc/u-boot/board/congatec/cgtqmx6eval/
H A Dcgtqmx6eval.c214 u32 id1, id2, i; in power_init_board() local
230 pmic_reg_read(p, PFUZE100_DEVICEID, &id1); in power_init_board()
232 printf("PFUZE100 Rev. [%02x/%02x] detected\n", id1, id2); in power_init_board()
259 unsigned short id1, id2; in board_eth_init() local
282 id1 = phy_read(phydev, MDIO_DEVAD_NONE, 2); in board_eth_init()
285 if ((id1 == 0x22) && ((id2 & 0xFFF0) == 0x1620)) { in board_eth_init()
302 } else if ((id1 == 0x004d) && (id2 == 0xd072)) { in board_eth_init()
327 unsigned short id1, id2; in mx6_rgmii_rework() local
331 id1 = phy_read(phydev, MDIO_DEVAD_NONE, 2); in mx6_rgmii_rework()
334 if ((id1 == 0x22) && ((id2 & 0xFFF0) == 0x1620)) { in mx6_rgmii_rework()
[all …]

1234