/openbmc/u-boot/cmd/aspeed/nettest/ |
H A D | phy_tbl.h | 42 uint16_t id2; member 51 .id2 = 0xc916, 57 .id2 = 0xc859, 63 .id2 = 0xc870, 69 .id2 = 0xc915, 75 .id2 = 0xc914, 81 .id2 = 0xc912, 87 .id2 = 0xc930, 93 .id2 = 0xc816, 99 .id2 = 0xc815, [all …]
|
/openbmc/linux/sound/isa/gus/ |
H A D | gusmax.c | 132 struct snd_ctl_elem_id id1, id2; in snd_gusmax_mixer() local 136 memset(&id2, 0, sizeof(id2)); in snd_gusmax_mixer() 137 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusmax_mixer() 140 strcpy(id2.name, "Synth Playback Switch"); in snd_gusmax_mixer() 141 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer() 145 strcpy(id2.name, "Synth Playback Volume"); in snd_gusmax_mixer() 146 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer() 151 strcpy(id2.name, "CD Playback Switch"); in snd_gusmax_mixer() 152 err = snd_ctl_rename_id(card, &id1, &id2); in snd_gusmax_mixer() 156 strcpy(id2.name, "CD Playback Volume"); in snd_gusmax_mixer() [all …]
|
H A D | interwave.c | 493 struct snd_ctl_elem_id id1, id2; in snd_interwave_mixer() local 498 memset(&id2, 0, sizeof(id2)); in snd_interwave_mixer() 499 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_interwave_mixer() 523 strcpy(id2.name, "Synth Playback Switch"); in snd_interwave_mixer() 524 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_mixer() 528 strcpy(id2.name, "Synth Playback Volume"); in snd_interwave_mixer() 529 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_mixer() 534 strcpy(id2.name, "CD Playback Switch"); in snd_interwave_mixer() 535 err = snd_ctl_rename_id(card, &id1, &id2); in snd_interwave_mixer() 539 strcpy(id2.name, "CD Playback Volume"); in snd_interwave_mixer() [all …]
|
H A D | gusextreme.c | 199 struct snd_ctl_elem_id id1, id2; in snd_gusextreme_mixer() local 203 memset(&id2, 0, sizeof(id2)); in snd_gusextreme_mixer() 204 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusextreme_mixer() 208 strcpy(id2.name, "Synth Playback Volume"); in snd_gusextreme_mixer() 209 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer() 215 strcpy(id2.name, "Synth Playback Switch"); in snd_gusextreme_mixer() 216 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | tc_opts.c | 18 __u32 fd1, fd2, id1, id2; in serial_test_tc_opts_basic() local 31 id2 = id_from_prog_fd(fd2); in serial_test_tc_opts_basic() 33 ASSERT_NEQ(id1, id2, "prog_ids_1_2"); in serial_test_tc_opts_basic() 84 ASSERT_EQ(optq.prog_ids[0], id2, "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 131 id2 = id_from_prog_fd(fd2); in test_tc_opts_before_target() 135 ASSERT_NEQ(id1, id2, "prog_ids_1_2"); in test_tc_opts_before_target() 137 ASSERT_NEQ(id2, id3, "prog_ids_2_3"); in test_tc_opts_before_target() 165 ASSERT_EQ(optq.prog_ids[1], id2, "prog_ids[1]"); in test_tc_opts_before_target() 196 ASSERT_EQ(optq.prog_ids[2], id2, "prog_ids[2]"); in test_tc_opts_before_target() [all …]
|
H A D | xdp_attach.c | 10 __u32 duration = 0, id1, id2, id0 = 0, len; in test_xdp_attach() local 34 id2 = info.id; in test_xdp_attach() 58 if (CHECK(err || id0 != id2, "id2_check", in test_xdp_attach() 59 "loaded prog id %u != id2 %u, err %d", id0, id2, err)) in test_xdp_attach()
|
/openbmc/linux/drivers/media/i2c/cx25840/ |
H A D | cx25840-vbi.c | 220 int id1, id2, l, err = 0; in cx25840_decode_vbi_line() local 230 id2 = p[0] & 0xf; in cx25840_decode_vbi_line() 235 switch (id2) { in cx25840_decode_vbi_line() 237 id2 = V4L2_SLICED_TELETEXT_B; in cx25840_decode_vbi_line() 240 id2 = V4L2_SLICED_WSS_625; in cx25840_decode_vbi_line() 243 id2 = V4L2_SLICED_CAPTION_525; in cx25840_decode_vbi_line() 247 id2 = V4L2_SLICED_VPS; in cx25840_decode_vbi_line() 252 id2 = 0; in cx25840_decode_vbi_line() 257 vbi->type = err ? 0 : id2; in cx25840_decode_vbi_line()
|
/openbmc/linux/sound/isa/ |
H A D | cmi8328.c | 149 struct snd_ctl_elem_id id1, id2; in snd_cmi8328_mixer() local 155 memset(&id2, 0, sizeof(id2)); in snd_cmi8328_mixer() 156 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_cmi8328_mixer() 159 strcpy(id2.name, "CD Playback Switch"); in snd_cmi8328_mixer() 160 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer() 167 strcpy(id2.name, "CD Playback Volume"); in snd_cmi8328_mixer() 168 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer() 176 strcpy(id2.name, "Synth Playback Switch"); in snd_cmi8328_mixer() 177 err = snd_ctl_rename_id(card, &id1, &id2); in snd_cmi8328_mixer() 185 strcpy(id2.name, "Synth Playback Volume"); in snd_cmi8328_mixer() [all …]
|
H A D | sc6000.c | 457 struct snd_ctl_elem_id id1, id2; in snd_sc6000_mixer() local 461 memset(&id2, 0, sizeof(id2)); in snd_sc6000_mixer() 463 id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_sc6000_mixer() 466 strcpy(id2.name, "FM Playback Switch"); in snd_sc6000_mixer() 467 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 471 strcpy(id2.name, "FM Playback Volume"); in snd_sc6000_mixer() 472 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 477 strcpy(id2.name, "CD Playback Switch"); in snd_sc6000_mixer() 478 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 482 strcpy(id2.name, "CD Playback Volume"); in snd_sc6000_mixer() [all …]
|
H A D | opl3sa2.c | 485 struct snd_ctl_elem_id id1, id2; in snd_opl3sa2_mixer() local 491 memset(&id2, 0, sizeof(id2)); in snd_opl3sa2_mixer() 492 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opl3sa2_mixer() 495 strcpy(id2.name, "CD Playback Switch"); in snd_opl3sa2_mixer() 496 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opl3sa2_mixer() 502 strcpy(id2.name, "CD Playback Volume"); in snd_opl3sa2_mixer() 503 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opl3sa2_mixer() 510 strcpy(id2.name, "FM Playback Switch"); in snd_opl3sa2_mixer() 511 err = snd_ctl_rename_id(card, &id1, &id2); in snd_opl3sa2_mixer() 517 strcpy(id2.name, "FM Playback Volume"); in snd_opl3sa2_mixer() [all …]
|
/openbmc/linux/fs/ocfs2/ |
H A D | ocfs2_fs.h | 401 #define OCFS2_RAW_SB(dinode) (&((dinode)->id2.i_super)) 731 } id2; member 1242 offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fast_symlink_chars() 1252 offsetof(struct ocfs2_dinode, id2.i_data.id_data) - in ocfs2_max_inline_data_with_xattr() 1256 offsetof(struct ocfs2_dinode, id2.i_data.id_data); in ocfs2_max_inline_data_with_xattr() 1264 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode() 1278 offsetof(struct ocfs2_dinode, id2.i_list.l_recs) - in ocfs2_extent_recs_per_inode_with_xattr() 1282 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode_with_xattr() 1302 offsetof(struct ocfs2_dinode, id2.i_chain.cl_recs); in ocfs2_chain_recs_per_inode() 1352 offsetof(struct ocfs2_dinode, id2.i_lab.la_bitmap); in ocfs2_local_alloc_size() [all …]
|
H A D | resize.c | 87 struct ocfs2_chain_list *cl = &fe->id2.i_chain; in ocfs2_update_last_group_and_inode() 302 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_extend() 323 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_extend() 325 le16_to_cpu(fe->id2.i_chain.cl_cpg)) { in ocfs2_group_extend() 377 u16 cl_bpc = le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_check_new_group() 412 u16 cl_count = le16_to_cpu(di->id2.i_chain.cl_count); in ocfs2_verify_group_and_input() 413 u16 cl_cpg = le16_to_cpu(di->id2.i_chain.cl_cpg); in ocfs2_verify_group_and_input() 414 u16 next_free = le16_to_cpu(di->id2.i_chain.cl_next_free_rec); in ocfs2_verify_group_and_input() 483 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_add() 517 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_add() [all …]
|
H A D | super.c | 2029 cbits = le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super() 2030 bbits = le32_to_cpu(di->id2.i_super.s_blocksize_bits); in ocfs2_initialize_super() 2032 memcpy(&sb->s_uuid, di->id2.i_super.s_uuid, in ocfs2_initialize_super() 2033 sizeof(di->id2.i_super.s_uuid)); in ocfs2_initialize_super() 2038 osb->osb_dx_seed[i] = le32_to_cpu(di->id2.i_super.s_dx_seed[i]); in ocfs2_initialize_super() 2039 osb->osb_dx_seed[3] = le32_to_cpu(di->id2.i_super.s_uuid_hash); in ocfs2_initialize_super() 2071 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super() 2095 di->id2.i_super.s_xattr_inline_size); in ocfs2_initialize_super() 2198 le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super() 2221 if (ocfs2_setup_osb_uuid(osb, di->id2.i_super.s_uuid, in ocfs2_initialize_super() [all …]
|
/openbmc/linux/drivers/s390/net/ |
H A D | ctcm_main.h | 266 static inline int ctcm_less_than(char *id1, char *id2) in ctcm_less_than() argument 271 id2 = id2 + 5; in ctcm_less_than() 274 dev2 = simple_strtoul(id2, &id2, 16); in ctcm_less_than()
|
/openbmc/linux/drivers/bcma/ |
H A D | driver_chipcommon_sflash.c | 94 u32 id, id2; in bcma_sflash_init() local 106 id2 = bcma_cc_read32(cc, BCMA_CC_FLASHDATA); in bcma_sflash_init() 111 if (e->id == id2) in bcma_sflash_init() 125 bcma_err(bus, "Unsupported ST serial flash (id: 0x%X, id2: 0x%X)\n", id, id2); in bcma_sflash_init()
|
/openbmc/linux/drivers/ssb/ |
H A D | driver_chipcommon_sflash.c | 91 u32 id, id2; in ssb_sflash_init() local 103 id2 = chipco_read32(cc, SSB_CHIPCO_FLASHDATA); in ssb_sflash_init() 108 if (e->id == id2) in ssb_sflash_init() 123 id, id2); in ssb_sflash_init()
|
/openbmc/u-boot/arch/arm/mach-davinci/ |
H A D | lxt972.c | 24 u_int16_t id1, id2; in lxt972_is_phy_connected() local 28 if (!davinci_eth_phy_read(phy_addr, MII_PHYSID2, &id2)) in lxt972_is_phy_connected() 31 if ((id1 == (0x0013)) && ((id2 & 0xfff0) == 0x78e0)) in lxt972_is_phy_connected()
|
H A D | dp83848.c | 23 u_int16_t id1, id2; in dp83848_is_phy_connected() local 27 if (!davinci_eth_phy_read(phy_addr, DP83848_PHYID2_REG, &id2)) in dp83848_is_phy_connected() 30 if ((id1 == DP83848_PHYID1_OUI) && (id2 == DP83848_PHYID2_OUI)) in dp83848_is_phy_connected()
|
/openbmc/u-boot/board/spear/x600/ |
H A D | x600.c | 73 unsigned short id1, id2; in board_phy_config() local 77 id2 = phy_read(phydev, MDIO_DEVAD_NONE, 3); in board_phy_config() 79 if ((id1 == 0x22) && ((id2 & 0xFFF0) == 0x1620)) { in board_phy_config()
|
/openbmc/linux/sound/ac97/ |
H A 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()
|
/openbmc/u-boot/board/congatec/cgtqmx6eval/ |
H A D | cgtqmx6eval.c | 214 u32 id1, id2, i; in power_init_board() local 231 pmic_reg_read(p, PFUZE100_REVID, &id2); in power_init_board() 232 printf("PFUZE100 Rev. [%02x/%02x] detected\n", id1, id2); in power_init_board() 234 if (id2 >= 0x20) in power_init_board() 259 unsigned short id1, id2; in board_eth_init() local 283 id2 = phy_read(phydev, MDIO_DEVAD_NONE, 3); 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() 307 printf("Unknown Ethernet-Phy: 0x%04x 0x%04x\n", id1, id2); in board_eth_init() 327 unsigned short id1, id2; in mx6_rgmii_rework() local [all …]
|
/openbmc/linux/drivers/media/pci/ivtv/ |
H A D | ivtv-vbi.c | 237 int i, l, id2; in ivtv_convert_ivtv_vbi() local 258 id2 = *p & 0xf; in ivtv_convert_ivtv_vbi() 259 switch (id2) { in ivtv_convert_ivtv_vbi() 261 id2 = V4L2_SLICED_TELETEXT_B; in ivtv_convert_ivtv_vbi() 264 id2 = V4L2_SLICED_CAPTION_525; in ivtv_convert_ivtv_vbi() 268 id2 = V4L2_SLICED_VPS; in ivtv_convert_ivtv_vbi() 271 id2 = V4L2_SLICED_WSS_625; in ivtv_convert_ivtv_vbi() 274 id2 = 0; in ivtv_convert_ivtv_vbi() 281 itv->vbi.sliced_dec_data[line].id = id2; in ivtv_convert_ivtv_vbi()
|
/openbmc/qemu/bsd-user/freebsd/ |
H A D | os-proc.h | 85 abi_long id1, abi_long id2, in do_freebsd_wait6() argument 98 id1 = id2; in do_freebsd_wait6() 99 id2 = target_status; in do_freebsd_wait6() 109 ret = get_errno(safe_wait6(idtype, target_arg64(id1, id2), in do_freebsd_wait6()
|
/openbmc/linux/drivers/gpu/drm/panel/ |
H A 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 162 r = dsicm_dcs_read_1(ddata, DCS_GET_ID2, id2); 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()
|
H A D | panel-samsung-s6e63m0.c | 338 u8 id1, id2, id3; in s6e63m0_check_lcd_type() local 342 s6e63m0_dcs_read(ctx, MCS_READ_ID2, &id2); in s6e63m0_check_lcd_type() 352 dev_info(ctx->dev, "MTP ID: %02x %02x %02x\n", id1, id2, id3); in s6e63m0_check_lcd_type() 359 switch (id2) { in s6e63m0_check_lcd_type() 370 dev_info(ctx->dev, "unknown LCD panel type %02x\n", id2); in s6e63m0_check_lcd_type() 376 ctx->lcd_type = id2; in s6e63m0_check_lcd_type()
|