/drivers/media/i2c/cx25840/ |
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()
|
/drivers/net/can/ |
D | pch_can.c | 129 u32 id2; member 295 pch_can_bit_set(&priv->regs->ifregs[dir].id2, PCH_ID_MSGVAL); in pch_can_set_rxtx() 299 pch_can_bit_clear(&priv->regs->ifregs[dir].id2, PCH_ID_MSGVAL); in pch_can_set_rxtx() 337 iowrite32(0x0, &priv->regs->ifregs[0].id2); in pch_can_clear_if_buffers() 359 iowrite32(0x0, &priv->regs->ifregs[0].id2); in pch_can_config_rx_tx_buffers() 389 iowrite32(PCH_ID2_DIR, &priv->regs->ifregs[1].id2); in pch_can_config_rx_tx_buffers() 446 pch_can_bit_clear(&priv->regs->ifregs[0].id2, PCH_ID2_DIR); in pch_can_int_clr() 461 pch_can_bit_set(&priv->regs->ifregs[1].id2, in pch_can_int_clr() 588 pch_can_bit_clear(&priv->regs->ifregs[0].id2, PCH_ID2_DIR); in pch_fifo_thresh() 639 u32 id2; in pch_can_rx_normal() local [all …]
|
/drivers/s390/net/ |
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()
|
/drivers/ssb/ |
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()
|
/drivers/bcma/ |
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()
|
/drivers/media/pci/ivtv/ |
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()
|
/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 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()
|
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()
|
D | panel-samsung-s6d27a1.c | 77 u8 id1, id2, id3; in s6d27a1_read_mtp_id() local 85 ret = mipi_dbi_command_read(dbi, S6D27A1_READID2, &id2); 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 115 ret = mipi_dbi_command_read(dbi, WS2401_READ_ID2, &id2); in ws2401_read_mtp_id() 125 dev_info(ws->dev, "MTP ID: %02x %02x %02x\n", id1, id2, id3); in ws2401_read_mtp_id()
|
D | panel-novatek-nt35510.c | 431 u8 id1, id2, id3; in nt35510_read_id() local 439 ret = mipi_dsi_dcs_read(dsi, MCS_CMD_READ_ID2, &id2, 1); in nt35510_read_id() 455 dev_info(nt->dev, "MTP ID manufacturer: %02x version: %02x driver: %02x\n", id1, id2, id3); in nt35510_read_id()
|
/drivers/mfd/ |
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()
|
D | as3711.c | 124 unsigned int id1, id2; in as3711_i2c_probe() local 158 ret = regmap_read(as3711->regmap, AS3711_ASIC_ID_2, &id2); in as3711_i2c_probe() 165 dev_info(as3711->dev, "AS3711 detected: %x:%x\n", id1, id2); in as3711_i2c_probe()
|
/drivers/video/fbdev/omap2/omapfb/displays/ |
D | panel-dsi-cm.c | 174 static int dsicm_get_id(struct panel_drv_data *ddata, u8 *id1, u8 *id2, u8 *id3) in dsicm_get_id() argument 181 r = dsicm_dcs_read_1(ddata, DCS_GET_ID2, id2); 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 sysfs_emit(buf, "%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()
|
/drivers/net/ethernet/smsc/ |
D | smc911x.c | 664 unsigned int cfg, id1, id2; in smc911x_phy_detect() local 702 SMC_GET_PHY_ID2(lp, phyaddr & 31, id2); in smc911x_phy_detect() 706 id1 != 0x8000 && id2 != 0x0000 && in smc911x_phy_detect() 707 id2 != 0xffff && id2 != 0x8000) { in smc911x_phy_detect() 710 lp->phy_type = id1 << 16 | id2; in smc911x_phy_detect() 722 SMC_GET_PHY_ID2(lp, 1, id2); in smc911x_phy_detect() 725 lp->phy_type = id1 << 16 | id2; in smc911x_phy_detect() 729 id1, id2, lp->mii.phy_id); in smc911x_phy_detect()
|
D | smc91x.c | 878 unsigned int id1, id2; in smc_phy_detect() local 882 id2 = smc_phy_read(dev, phyaddr & 31, MII_PHYSID2); in smc_phy_detect() 885 id1, id2); in smc_phy_detect() 889 id2 != 0x0000 && id2 != 0xffff && id2 != 0x8000) { in smc_phy_detect() 892 lp->phy_type = id1 << 16 | id2; in smc_phy_detect()
|
/drivers/media/i2c/ |
D | saa7115.c | 1198 int id1, id2; /* the ID1 and ID2 bytes from the internal header */ in saa711x_decode_vbi_line() local 1202 id2 = p[3]; in saa711x_decode_vbi_line() 1214 vbi->line |= (id2 & 0x70) >> 4; in saa711x_decode_vbi_line() 1217 id2 &= 0xf; in saa711x_decode_vbi_line() 1225 switch (id2) { in saa711x_decode_vbi_line()
|
/drivers/media/platform/mediatek/jpeg/ |
D | mtk_jpeg_dec_hw.c | 345 u32 id2) in mtk_jpeg_dec_set_q_table() argument 349 val = ((id0 & 0x0f) << 8) | ((id1 & 0x0f) << 4) | ((id2 & 0x0f) << 0); in mtk_jpeg_dec_set_q_table()
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvmodesnv17.c | 251 #define id2 (1LL << 16) macro 332 rs[k] = max((int64_t)rs[k], id2); in tv_setup_filter()
|
/drivers/tty/serial/8250/ |
D | 8250_port.c | 905 unsigned int id1, id2, id3, rev; in autoconfig_has_efr() local 934 id2 = serial_icr_read(up, UART_ID2); in autoconfig_has_efr() 938 DEBUG_AUTOCONF("950id=%02x:%02x:%02x:%02x ", id1, id2, id3, rev); in autoconfig_has_efr() 940 if (id1 == 0x16 && id2 == 0xC9 && in autoconfig_has_efr() 965 id2 = id1 >> 8; in autoconfig_has_efr() 966 if (id2 == 0x10 || id2 == 0x12 || id2 == 0x14) { in autoconfig_has_efr()
|
/drivers/s390/block/ |
D | dasd_devmap.c | 2078 int id0, id1, id2; in dasd_devmap_parse_busid() local 2095 if (dasd_busid(primary, &id0, &id1, &id2)) { in dasd_devmap_parse_busid() 2099 sprintf(prim_busid, "%01x.%01x.%04x", id0, id1, id2); in dasd_devmap_parse_busid() 2100 if (dasd_busid(secondary, &id0, &id1, &id2)) { in dasd_devmap_parse_busid() 2104 sprintf(sec_busid, "%01x.%01x.%04x", id0, id1, id2); in dasd_devmap_parse_busid()
|
/drivers/net/dsa/microchip/ |
D | ksz_common.c | 2716 u8 id1, id2, id4; in ksz_switch_detect() local 2727 id2 = FIELD_GET(SW_CHIP_ID_M, id16); in ksz_switch_detect() 2731 if (id2 == KSZ87_CHIP_ID_95) { in ksz_switch_detect() 2739 } else if (id2 == KSZ87_CHIP_ID_94) { in ksz_switch_detect() 2746 if (id2 == KSZ88_CHIP_ID_63) in ksz_switch_detect()
|
/drivers/gpu/drm/amd/display/dc/bios/ |
D | bios_parser.c | 1928 struct graphics_object_id id2) in dal_graphics_object_id_is_equal() argument 1936 if (false == dal_graphics_object_id_is_valid(id2)) { in dal_graphics_object_id_is_equal() 1942 if (id1.id == id2.id && id1.enum_id == id2.enum_id in dal_graphics_object_id_is_equal() 1943 && id1.type == id2.type) in dal_graphics_object_id_is_equal()
|
/drivers/net/ethernet/amd/ |
D | amd8111e.c | 1708 u32 id1, id2; in amd8111e_probe_ext_phy() local 1712 if (amd8111e_read_phy(lp, i, MII_PHYSID2, &id2)) in amd8111e_probe_ext_phy() 1714 lp->ext_phy_id = (id1 << 16) | id2; in amd8111e_probe_ext_phy()
|
D | pcnet32.c | 1953 unsigned short id1, id2; in pcnet32_probe1() local 1958 id2 = mdio_read(dev, i, MII_PHYSID2); in pcnet32_probe1() 1959 if (id2 == 0xffff) in pcnet32_probe1() 1968 id1, id2, i); in pcnet32_probe1()
|