| /OK3568_Linux_fs/kernel/drivers/soundwire/ |
| H A D | slave.c | 142 struct sdw_slave_id id2; in sdw_acpi_find_slaves() local 155 if (!find_slave(bus, adev2, &id2)) in sdw_acpi_find_slaves() 158 if (id.sdw_version != id2.sdw_version || in sdw_acpi_find_slaves() 159 id.mfg_id != id2.mfg_id || in sdw_acpi_find_slaves() 160 id.part_id != id2.part_id || in sdw_acpi_find_slaves() 161 id.class_id != id2.class_id) in sdw_acpi_find_slaves() 164 if (id.unique_id != id2.unique_id) { in sdw_acpi_find_slaves() 167 id.unique_id, id2.unique_id, in sdw_acpi_find_slaves() 173 id.unique_id, id2.unique_id, in sdw_acpi_find_slaves()
|
| /OK3568_Linux_fs/kernel/sound/isa/gus/ |
| H A D | gusmax.c | 131 struct snd_ctl_elem_id id1, id2; in snd_gusmax_mixer() local 135 memset(&id2, 0, sizeof(id2)); in snd_gusmax_mixer() 136 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusmax_mixer() 139 strcpy(id2.name, "Synth Playback Switch"); in snd_gusmax_mixer() 140 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_gusmax_mixer() 143 strcpy(id2.name, "Synth Playback Volume"); in snd_gusmax_mixer() 144 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_gusmax_mixer() 148 strcpy(id2.name, "CD Playback Switch"); in snd_gusmax_mixer() 149 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_gusmax_mixer() 152 strcpy(id2.name, "CD Playback Volume"); in snd_gusmax_mixer() [all …]
|
| H A D | interwave.c | 492 struct snd_ctl_elem_id id1, id2; in snd_interwave_mixer() local 497 memset(&id2, 0, sizeof(id2)); in snd_interwave_mixer() 498 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_interwave_mixer() 518 strcpy(id2.name, "Synth Playback Switch"); in snd_interwave_mixer() 519 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_interwave_mixer() 522 strcpy(id2.name, "Synth Playback Volume"); in snd_interwave_mixer() 523 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_interwave_mixer() 527 strcpy(id2.name, "CD Playback Switch"); in snd_interwave_mixer() 528 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) in snd_interwave_mixer() 531 strcpy(id2.name, "CD Playback Volume"); in snd_interwave_mixer() [all …]
|
| H A D | gusextreme.c | 198 struct snd_ctl_elem_id id1, id2; in snd_gusextreme_mixer() local 202 memset(&id2, 0, sizeof(id2)); in snd_gusextreme_mixer() 203 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_gusextreme_mixer() 207 strcpy(id2.name, "Synth Playback Volume"); in snd_gusextreme_mixer() 208 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer() 214 strcpy(id2.name, "Synth Playback Switch"); in snd_gusextreme_mixer() 215 error = snd_ctl_rename_id(card, &id1, &id2); in snd_gusextreme_mixer()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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 | 460 struct snd_ctl_elem_id id1, id2; in snd_sc6000_mixer() local 464 memset(&id2, 0, sizeof(id2)); in snd_sc6000_mixer() 466 id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_sc6000_mixer() 469 strcpy(id2.name, "FM Playback Switch"); in snd_sc6000_mixer() 470 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 474 strcpy(id2.name, "FM Playback Volume"); in snd_sc6000_mixer() 475 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 480 strcpy(id2.name, "CD Playback Switch"); in snd_sc6000_mixer() 481 err = snd_ctl_rename_id(card, &id1, &id2); in snd_sc6000_mixer() 485 strcpy(id2.name, "CD Playback Volume"); in snd_sc6000_mixer() [all …]
|
| H A D | opl3sa2.c | 486 struct snd_ctl_elem_id id1, id2; in snd_opl3sa2_mixer() local 492 memset(&id2, 0, sizeof(id2)); in snd_opl3sa2_mixer() 493 id1.iface = id2.iface = SNDRV_CTL_ELEM_IFACE_MIXER; in snd_opl3sa2_mixer() 496 strcpy(id2.name, "CD Playback Switch"); in snd_opl3sa2_mixer() 497 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { in snd_opl3sa2_mixer() 502 strcpy(id2.name, "CD Playback Volume"); in snd_opl3sa2_mixer() 503 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { in snd_opl3sa2_mixer() 509 strcpy(id2.name, "FM Playback Switch"); in snd_opl3sa2_mixer() 510 if ((err = snd_ctl_rename_id(card, &id1, &id2)) < 0) { in snd_opl3sa2_mixer() 515 strcpy(id2.name, "FM Playback Volume"); in snd_opl3sa2_mixer() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ocfs2/ |
| H A D | ocfs2_fs.h | 403 #define OCFS2_RAW_SB(dinode) (&((dinode)->id2.i_super)) 733 } id2; member 1244 offsetof(struct ocfs2_dinode, id2.i_symlink); in ocfs2_fast_symlink_chars() 1254 offsetof(struct ocfs2_dinode, id2.i_data.id_data) - in ocfs2_max_inline_data_with_xattr() 1258 offsetof(struct ocfs2_dinode, id2.i_data.id_data); in ocfs2_max_inline_data_with_xattr() 1266 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode() 1280 offsetof(struct ocfs2_dinode, id2.i_list.l_recs) - in ocfs2_extent_recs_per_inode_with_xattr() 1284 offsetof(struct ocfs2_dinode, id2.i_list.l_recs); in ocfs2_extent_recs_per_inode_with_xattr() 1304 offsetof(struct ocfs2_dinode, id2.i_chain.cl_recs); in ocfs2_chain_recs_per_inode() 1354 offsetof(struct ocfs2_dinode, id2.i_lab.la_bitmap); in ocfs2_local_alloc_size() [all …]
|
| H A D | resize.c | 89 struct ocfs2_chain_list *cl = &fe->id2.i_chain; in ocfs2_update_last_group_and_inode() 304 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_extend() 325 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_extend() 327 le16_to_cpu(fe->id2.i_chain.cl_cpg)) { in ocfs2_group_extend() 379 u16 cl_bpc = le16_to_cpu(di->id2.i_chain.cl_bpc); in ocfs2_check_new_group() 414 u16 cl_count = le16_to_cpu(di->id2.i_chain.cl_count); in ocfs2_verify_group_and_input() 415 u16 cl_cpg = le16_to_cpu(di->id2.i_chain.cl_cpg); in ocfs2_verify_group_and_input() 416 u16 next_free = le16_to_cpu(di->id2.i_chain.cl_next_free_rec); in ocfs2_verify_group_and_input() 485 if (le16_to_cpu(fe->id2.i_chain.cl_cpg) != in ocfs2_group_add() 519 cl_bpc = le16_to_cpu(fe->id2.i_chain.cl_bpc); in ocfs2_group_add() [all …]
|
| H A D | super.c | 2025 cbits = le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super() 2026 bbits = le32_to_cpu(di->id2.i_super.s_blocksize_bits); in ocfs2_initialize_super() 2028 memcpy(&sb->s_uuid, di->id2.i_super.s_uuid, in ocfs2_initialize_super() 2029 sizeof(di->id2.i_super.s_uuid)); in ocfs2_initialize_super() 2034 osb->osb_dx_seed[i] = le32_to_cpu(di->id2.i_super.s_dx_seed[i]); in ocfs2_initialize_super() 2035 osb->osb_dx_seed[3] = le32_to_cpu(di->id2.i_super.s_uuid_hash); in ocfs2_initialize_super() 2067 osb->max_slots = le16_to_cpu(di->id2.i_super.s_max_slots); in ocfs2_initialize_super() 2091 di->id2.i_super.s_xattr_inline_size); in ocfs2_initialize_super() 2216 le32_to_cpu(di->id2.i_super.s_clustersize_bits); in ocfs2_initialize_super() 2239 if (ocfs2_setup_osb_uuid(osb, di->id2.i_super.s_uuid, in ocfs2_initialize_super() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/can/ |
| H A D | pch_can.c | 128 u32 id2; member 294 pch_can_bit_set(&priv->regs->ifregs[dir].id2, PCH_ID_MSGVAL); in pch_can_set_rxtx() 298 pch_can_bit_clear(&priv->regs->ifregs[dir].id2, PCH_ID_MSGVAL); in pch_can_set_rxtx() 336 iowrite32(0x0, &priv->regs->ifregs[0].id2); in pch_can_clear_if_buffers() 358 iowrite32(0x0, &priv->regs->ifregs[0].id2); in pch_can_config_rx_tx_buffers() 388 iowrite32(PCH_ID2_DIR, &priv->regs->ifregs[1].id2); in pch_can_config_rx_tx_buffers() 445 pch_can_bit_clear(&priv->regs->ifregs[0].id2, PCH_ID2_DIR); in pch_can_int_clr() 460 pch_can_bit_set(&priv->regs->ifregs[1].id2, in pch_can_int_clr() 589 pch_can_bit_clear(&priv->regs->ifregs[0].id2, PCH_ID2_DIR); in pch_fifo_thresh() 640 u32 id2; in pch_can_rx_normal() local [all …]
|
| /OK3568_Linux_fs/kernel/drivers/s390/net/ |
| H A D | ctcm_main.h | 265 static inline int ctcm_less_than(char *id1, char *id2) in ctcm_less_than() argument 270 id2 = id2 + 5; in ctcm_less_than() 273 dev2 = simple_strtoul(id2, &id2, 16); in ctcm_less_than()
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/ |
| H A D | xdp_attach.c | 9 __u32 duration = 0, id1, id2, id0 = 0, len; in test_xdp_attach() local 35 id2 = info.id; in test_xdp_attach() 61 if (CHECK(err || id0 != id2, "id2_check", in test_xdp_attach() 62 "loaded prog id %u != id2 %u, err %d", id0, id2, err)) in test_xdp_attach()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-davinci/ |
| H A D | lxt972.c | 25 u_int16_t id1, id2; in lxt972_is_phy_connected() local 29 if (!davinci_eth_phy_read(phy_addr, MII_PHYSID2, &id2)) in lxt972_is_phy_connected() 32 if ((id1 == (0x0013)) && ((id2 & 0xfff0) == 0x78e0)) in lxt972_is_phy_connected()
|
| H A D | dp83848.c | 24 u_int16_t id1, id2; in dp83848_is_phy_connected() local 28 if (!davinci_eth_phy_read(phy_addr, DP83848_PHYID2_REG, &id2)) in dp83848_is_phy_connected() 31 if ((id1 == DP83848_PHYID1_OUI) && (id2 == DP83848_PHYID2_OUI)) in dp83848_is_phy_connected()
|
| /OK3568_Linux_fs/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 …]
|
| /OK3568_Linux_fs/u-boot/board/spear/x600/ |
| H A D | x600.c | 74 unsigned short id1, id2; in board_phy_config() local 78 id2 = phy_read(phydev, MDIO_DEVAD_NONE, 3); in board_phy_config() 80 if ((id1 == 0x22) && ((id2 & 0xFFF0) == 0x1620)) { in board_phy_config()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/panel/ |
| H A D | panel-samsung-s6e63m0.c | 173 u8 id1, id2, id3; in s6e63m0_check_lcd_type() local 177 s6e63m0_dcs_read(ctx, MCS_READ_ID2, &id2); in s6e63m0_check_lcd_type() 187 dev_info(ctx->dev, "MTP ID: %02x %02x %02x\n", id1, id2, id3); in s6e63m0_check_lcd_type() 190 switch (id2) { in s6e63m0_check_lcd_type() 199 dev_info(ctx->dev, "unknown LCD panel type %02x\n", id2); in s6e63m0_check_lcd_type() 203 ctx->lcd_type = id2; in s6e63m0_check_lcd_type()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/sound/drivers/opl4/ |
| H A D | opl4_lib.c | 112 u8 id1, id2; in snd_opl4_detect() local 132 id2 = snd_opl4_read(opl4, OPL4_REG_MIX_CONTROL_PCM); 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()
|
| /OK3568_Linux_fs/kernel/drivers/mfd/ |
| H A D | wm8350-core.c | 280 unsigned int id1, id2, mask_rev; in wm8350_device_init() local 292 ret = regmap_read(wm8350->regmap, WM8350_ID, &id2); in wm8350_device_init() 311 mode = (id2 & WM8350_CONF_STS_MASK) >> 10; in wm8350_device_init() 312 cust_id = id2 & WM8350_CUST_ID_MASK; in wm8350_device_init() 313 chip_rev = (id2 & WM8350_CHIP_REV_MASK) >> 12; in wm8350_device_init()
|