Home
last modified time | relevance | path

Searched refs:chip_id (Results 1 – 200 of 224) sorted by relevance

12

/linux-4.4.14/drivers/gpu/drm/radeon/
Duvd_v2_2.c101 uint32_t chip_id, size; in uvd_v2_2_resume() local
141 chip_id = 0x01000005; in uvd_v2_2_resume()
144 chip_id = 0x01000006; in uvd_v2_2_resume()
147 chip_id = 0x01000007; in uvd_v2_2_resume()
151 chip_id = 0x01000008; in uvd_v2_2_resume()
154 chip_id = 0x01000009; in uvd_v2_2_resume()
157 chip_id = 0x0100000a; in uvd_v2_2_resume()
160 chip_id = 0x0100000b; in uvd_v2_2_resume()
164 chip_id = 0x0100000c; in uvd_v2_2_resume()
167 chip_id = 0x0100000e; in uvd_v2_2_resume()
[all …]
Dvce_v1_0.c44 uint32_t chip_id; member
160 uint32_t chip_id; in vce_v1_0_load_fw() local
165 chip_id = 0x01000014; in vce_v1_0_load_fw()
168 chip_id = 0x01000015; in vce_v1_0_load_fw()
172 chip_id = 0x01000016; in vce_v1_0_load_fw()
175 chip_id = 0x01000017; in vce_v1_0_load_fw()
182 if (le32_to_cpu(sign->val[i].chip_id) == chip_id) in vce_v1_0_load_fw()
/linux-4.4.14/include/linux/mfd/abx500/
Dab8500.h353 u8 chip_id; member
415 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab8500_1p0_or_earlier()
421 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT1P1)); in is_ab8500_1p1_or_earlier()
427 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT2P0)); in is_ab8500_2p0_or_earlier()
432 return (is_ab8500(ab) && (ab->chip_id <= AB8500_CUT3P3)); in is_ab8500_3p3_or_earlier()
438 return (is_ab8500(ab) && (ab->chip_id == AB8500_CUT2P0)); in is_ab8500_2p0()
443 return (is_ab8505(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab8505_1p0_or_earlier()
448 return (is_ab8505(ab) && (ab->chip_id == AB8500_CUT2P0)); in is_ab8505_2p0()
453 return (is_ab9540(ab) && (ab->chip_id <= AB8500_CUT1P0)); in is_ab9540_1p0_or_earlier()
458 return (is_ab9540(ab) && (ab->chip_id == AB8500_CUT2P0)); in is_ab9540_2p0()
[all …]
/linux-4.4.14/arch/mips/cavium-octeon/executive/
Docteon-model.c58 static const char *__init octeon_model_get_string_buffer(uint32_t chip_id, in octeon_model_get_string_buffer() argument
81 switch ((chip_id >> 8) & 0xff) { in octeon_model_get_string_buffer()
116 sprintf(pass, "%d.%d", (int)((chip_id >> 3) & 7) + 1, (int)chip_id & 7); in octeon_model_get_string_buffer()
184 switch ((chip_id >> 8) & 0xff) { in octeon_model_get_string_buffer()
201 switch (chip_id & 0xf) { in octeon_model_get_string_buffer()
217 if ((chip_id & 0x10) || fus3.cn31xx.crip_128k) in octeon_model_get_string_buffer()
225 switch (chip_id & 0xf) { in octeon_model_get_string_buffer()
246 switch (chip_id & 0xf) { in octeon_model_get_string_buffer()
265 if ((chip_id & 0xFF) < 0x8) { in octeon_model_get_string_buffer()
266 switch (chip_id & 0x3) { in octeon_model_get_string_buffer()
[all …]
/linux-4.4.14/drivers/hwmon/pmbus/
Dltc2978.c534 int chip_id; in ltc2978_get_id() local
536 chip_id = i2c_smbus_read_word_data(client, LTC2978_MFR_SPECIAL_ID); in ltc2978_get_id()
537 if (chip_id < 0) { in ltc2978_get_id()
562 chip_id &= LTC2978_ID_MASK; in ltc2978_get_id()
564 if (chip_id == LTC2974_ID) in ltc2978_get_id()
566 else if (chip_id == LTC2975_ID) in ltc2978_get_id()
568 else if (chip_id == LTC2977_ID) in ltc2978_get_id()
570 else if (chip_id == LTC2978_ID_REV1 || chip_id == LTC2978_ID_REV2) in ltc2978_get_id()
572 else if (chip_id == LTC2980_ID_A || chip_id == LTC2980_ID_B) in ltc2978_get_id()
574 else if (chip_id == LTC3880_ID) in ltc2978_get_id()
[all …]
/linux-4.4.14/arch/mips/bcm47xx/
Dtime.c34 u16 chip_id = 0; in plat_time_init() local
50 chip_id = bcm47xx_bus.ssb.chip_id; in plat_time_init()
56 chip_id = bcm47xx_bus.bcma.bus.chipinfo.id; in plat_time_init()
61 if (chip_id == 0x5354) { in plat_time_init()
Dprom.c45 __init void bcm47xx_set_system_type(u16 chip_id) in bcm47xx_set_system_type() argument
48 (chip_id > 0x9999) ? "Broadcom BCM%d" : in bcm47xx_set_system_type()
50 chip_id); in bcm47xx_set_system_type()
Dsetup.c61 if (bcm47xx_bus.ssb.chip_id == 0x4785) in bcm47xx_machine_restart()
64 if (bcm47xx_bus.ssb.chip_id == 0x4785) { in bcm47xx_machine_restart()
204 bcm47xx_set_system_type(bcm47xx_bus.ssb.chip_id); in plat_mem_setup()
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
Ddmfe.c212 u32 chip_id; /* Chip vendor/Device ID */ member
465 db->chip_id = ent->driver_data; in dmfe_init_one()
585 if ( !chkmode || (db->chip_id == PCI_DM9132_ID) || in dmfe_open()
642 if (db->chip_id == PCI_DM9009_ID) { in dmfe_init_dm910x()
663 if (db->chip_id == PCI_DM9132_ID) in dmfe_init_dm910x()
773 dmfe_phy_write(ioaddr, db->phy_addr, 0, 0x8000, db->chip_id); in dmfe_stop()
1081 if (db->chip_id == PCI_DM9132_ID) in dmfe_set_filter_mode()
1154 if (db->chip_type && (db->chip_id==PCI_DM9102_ID)) { in dmfe_timer()
1157 dmfe_phy_write(ioaddr, db->phy_addr, 0, 0x1000, db->chip_id); in dmfe_timer()
1206 if (db->chip_id == PCI_DM9132_ID) in dmfe_timer()
[all …]
Dtulip_core.c340 if (tp->chip_id == AX88140) { in tulip_up()
418 if (tp->chip_id == DC21143 && in tulip_up()
426 } else if (tp->chip_id == DC21142) { in tulip_up()
441 } else if (tp->chip_id == PNIC2) { in tulip_up()
448 } else if (tp->chip_id == LC82C168 && ! tp->medialock) { in tulip_up()
463 } else if ((tp->chip_id == MX98713 || tp->chip_id == COMPEX9881) && in tulip_up()
468 } else if (tp->chip_id == MX98715 || tp->chip_id == MX98725) { in tulip_up()
474 } else if (tp->chip_id == COMET || tp->chip_id == CONEXANT) { in tulip_up()
479 } else if (tp->chip_id == AX88140) { in tulip_up()
491 iowrite32(tulip_tbl[tp->chip_id].valid_intrs, ioaddr + CSR5); in tulip_up()
[all …]
Dinterrupt.c92 if(tp->chip_id == LC82C168) { in tulip_refill_rx()
323 iowrite32(tulip_tbl[tp->chip_id].valid_intrs, tp->base_addr+CSR7); in tulip_poll()
554 iowrite32(tulip_tbl[tp->chip_id].valid_intrs&~RxPollInt, ioaddr + CSR7); in tulip_interrupt()
727 iowrite32(tulip_tbl[tp->chip_id].valid_intrs, ioaddr + CSR7); in tulip_interrupt()
742 } else if (tp->chip_id == LC82C168) { in tulip_interrupt()
786 if (tp->chip_id == LC82C168) {
795 iowrite32(tulip_tbl[tp->chip_id].valid_intrs | TimerInt,
Dmedia.c60 if (tp->chip_id == COMET && phy_id == 30) { in tulip_mdio_read()
67 if (tp->chip_id == LC82C168) { in tulip_mdio_read()
121 if (tp->chip_id == COMET && phy_id == 30) { in tulip_mdio_write()
128 if (tp->chip_id == LC82C168) { in tulip_mdio_write()
349 } else if (tp->chip_id == LC82C168) { in tulip_select_media()
Deeprom.c258 } else if (tp->chip_id == DM910X && p[1] == 0x80) { in tulip_parse_eeprom()
278 if (tp->chip_id == DM910X && leaf->media == 1) in tulip_parse_eeprom()
Dtimer.c34 switch (tp->chip_id) { in tulip_media_task()
Dpnic.c168 iowrite32(tulip_tbl[tp->chip_id].valid_intrs, ioaddr + CSR7); in pnic_timer()
D21142.c190 int startup = ! ((tp->chip_id == DC21143 && (tp->revision == 48 || tp->revision == 65))); in t21142_lnk_change()
Dtulip.h413 int chip_id; member
Dwinbond-840.c308 int chip_id, drv_flags; member
404 np->chip_id = chip_idx; in w840_probe1()
/linux-4.4.14/drivers/ssb/
Ddriver_chipcommon_pmu.c117 switch (bus->chip_id) { in ssb_pmu0_pllinit_r0()
230 if (bus->chip_id == 0x4312) { in ssb_pmu1_pllinit_r0()
256 switch (bus->chip_id) { in ssb_pmu1_pllinit_r0()
330 switch (bus->chip_id) { in ssb_pmu_pll_init()
353 bus->chip_id); in ssb_pmu_pll_init()
433 switch (bus->chip_id) { in ssb_pmu_resources_init()
475 bus->chip_id); in ssb_pmu_resources_init()
546 switch (bus->chip_id) { in ssb_pmu_set_ldo_voltage()
595 switch (bus->chip_id) { in ssb_pmu_set_ldo_paref()
635 switch (bus->chip_id) { in ssb_pmu_get_alp_clock()
[all …]
Dscan.c299 bus->chip_id = (tmp & SSB_CHIPCO_IDMASK); in ssb_bus_scan()
312 bus->chip_id = pcidev_to_chipid(bus->host_pci); in ssb_bus_scan()
316 bus->chip_id = 0x4710; in ssb_bus_scan()
322 bus->chip_id, bus->chip_rev, bus->chip_package); in ssb_bus_scan()
324 bus->nr_devices = chipid_to_nrcores(bus->chip_id); in ssb_bus_scan()
Ddriver_chipcommon.c215 if (bus->chip_id == 0x4321) { in chipco_powercontrol_init()
246 switch (bus->chip_id) { in pmu_fast_powerup_delay()
424 if (cc->dev->bus->chip_id != 0x5365) { in ssb_chipco_get_clockcontrol()
452 if ((bus->chip_id == 0x5365) || in ssb_chipco_timing_init()
455 if ((bus->chip_id == 0x5365) || in ssb_chipco_timing_init()
457 ((bus->chip_id == 0x5350) && (bus->chip_rev == 0))) in ssb_chipco_timing_init()
460 if (bus->chip_id == 0x5350) { in ssb_chipco_timing_init()
Dmain.c951 if (bus->chip_id == 0x5365) { in ssb_clockspeed()
1113 u16 chip_id = dev->bus->chip_id; in ssb_dma_translation_special_bit() local
1116 return (chip_id == 0x4322 || chip_id == 43221 || in ssb_dma_translation_special_bit()
1117 chip_id == 43231 || chip_id == 43222); in ssb_dma_translation_special_bit()
Ddriver_mipscore.c279 if ((pll_type == SSB_PLLTYPE_5) || (bus->chip_id == 0x5365)) { in ssb_cpu_clock()
330 if ((bus->chip_id == 0x4710) && (irq <= 4)) { in ssb_mipscore_init()
Ddriver_pcicore.c398 chipid_top = (bus->chip_id & 0xFF00); in pcicore_is_in_hostmode()
408 if (bus->chip_id == 0x4712) { in pcicore_is_in_hostmode()
414 if (bus->chip_id == 0x5350) in pcicore_is_in_hostmode()
Dpci.c823 if ((bus->chip_id & 0xFF00) == 0x4400) { in sprom_extract()
877 else if (bus->chip_id == 0x4312 && in ssb_pci_sprom_get()
/linux-4.4.14/drivers/media/dvb-frontends/
Dstv0900_sw.c168 if (intp->chip_id == 0x12) { in stv0900_search_carr_sw_loop()
213 if (intp->chip_id >= 0x20) in stv0900_sw_algo()
222 if (intp->chip_id >= 0x20) in stv0900_sw_algo()
233 if (intp->chip_id >= 0x20) { in stv0900_sw_algo()
260 if (intp->chip_id >= 0x20) { in stv0900_sw_algo()
284 if (intp->chip_id >= 0x20) in stv0900_sw_algo()
440 if (intp->chip_id == 0x10) { in stv0900_set_dvbs2_rolloff()
444 } else if (intp->chip_id <= 0x20) in stv0900_set_dvbs2_rolloff()
558 if (intp->chip_id <= 0x20) { in stv0900_get_demod_cold_lock()
595 if (intp->chip_id <= 0x20) { in stv0900_get_demod_cold_lock()
[all …]
Dstv0900_core.c228 intp->chip_id = stv0900_read_reg(intp, R0900_MID); in stv0900_initialize()
379 if (intp->chip_id >= 0x20) { in stv0900_set_ts_parallel_serial()
901 if (intp->chip_id <= 0x11) { in stv0900_activate_s2_modcod()
937 } else if (intp->chip_id >= 0x12) { in stv0900_activate_s2_modcod()
977 if (intp->chip_id == 0x10) in stv0900_start_search()
980 if (intp->chip_id < 0x20) in stv0900_start_search()
983 if (intp->chip_id <= 0x20) { in stv0900_start_search()
1029 if (intp->chip_id >= 0x20) { in stv0900_start_search()
1049 if (intp->chip_id >= 0x20) { in stv0900_start_search()
1051 if (intp->chip_id <= 0x20) in stv0900_start_search()
[all …]
Dm88ds3103.c333 if (dev->chip_id == M88RS6000_CHIP_ID) { in m88ds3103_set_frontend()
360 if (dev->chip_id == M88RS6000_CHIP_ID) { in m88ds3103_set_frontend()
436 if (dev->chip_id == M88RS6000_CHIP_ID) { in m88ds3103_set_frontend()
445 if (dev->chip_id == M88RS6000_CHIP_ID) { in m88ds3103_set_frontend()
466 if (dev->chip_id == M88RS6000_CHIP_ID) { in m88ds3103_set_frontend()
681 if (dev->chip_id == M88RS6000_CHIP_ID) in m88ds3103_init()
769 if (dev->chip_id == M88RS6000_CHIP_ID) in m88ds3103_sleep()
1423 dev->chip_id = utmp >> 1; in m88ds3103_probe()
1424 dev_dbg(&client->dev, "chip_id=%02x\n", dev->chip_id); in m88ds3103_probe()
1426 switch (dev->chip_id) { in m88ds3103_probe()
[all …]
Dstv0900_priv.h334 u8 chip_id; member
382 s32 pilot, u8 chip_id);
386 u8 chip_id);
Dm88ds3103_priv.h47 u8 chip_id; member
Dsi2168.c402 unsigned int chip_id; in si2168_init() local
449 chip_id = cmd.args[1] << 24 | cmd.args[2] << 16 | cmd.args[3] << 8 | in si2168_init()
456 switch (chip_id) { in si2168_init()
481 if (chip_id == SI2168_B40) { in si2168_init()
Dstv0367.c91 u8 chip_id; member
1588 state->chip_id = stv0367_readreg(state, R367TER_ID); in stv0367ter_init()
2326 state->chip_id = stv0367_readreg(state, 0xf000); in stv0367ter_attach()
2328 dprintk("%s: chip_id = 0x%x\n", __func__, state->chip_id); in stv0367ter_attach()
2331 if ((state->chip_id != 0x50) && (state->chip_id != 0x60)) in stv0367ter_attach()
3442 state->chip_id = stv0367_readreg(state, 0xf000); in stv0367cab_attach()
3444 dprintk("%s: chip_id = 0x%x\n", __func__, state->chip_id); in stv0367cab_attach()
3447 if ((state->chip_id != 0x50) && (state->chip_id != 0x60)) in stv0367cab_attach()
Dcxd2841er.c812 u8 chip_id; in cxd2841er_chip_id() local
816 cxd2841er_read_reg(priv, I2C_SLVT, 0xfd, &chip_id); in cxd2841er_chip_id()
817 return chip_id; in cxd2841er_chip_id()
2552 u8 chip_id = 0; in cxd2841er_attach() local
2596 chip_id = cxd2841er_chip_id(priv); in cxd2841er_attach()
2597 if (chip_id != CXD2841ER_CHIP_ID) { in cxd2841er_attach()
2599 __func__, chip_id); in cxd2841er_attach()
2605 __func__, chip_id); in cxd2841er_attach()
Dstb0899_drv.c1278 u8 chip_id, release; in stb0899_get_dev_id() local
1286 chip_id = STB0899_GETFIELD(CHIP_ID, id); in stb0899_get_dev_id()
1290 chip_id, release); in stb0899_get_dev_id()
1298 if (! (chip_id > 0)) { in stb0899_get_dev_id()
/linux-4.4.14/drivers/video/fbdev/
Dtridentfb.c34 int chip_id; member
278 if (is_oldclock(par->chip_id)) { /* not sure if this check is OK */ in tridentfb_setup_ddc_bus()
731 if (!is_oldprotect(par->chip_id)) in enable_mmio()
746 if (!is_oldprotect(par->chip_id)) in disable_mmio()
799 if (par->chip_id == TGUI9440 || par->chip_id == CYBER9320) in set_lwidth()
810 if (par->chip_id != CYBERBLADEXPAi1) in screen_stretch()
844 unsigned char shift = !is_oldclock(par->chip_id) ? 2 : 1; in set_vclk()
864 if (is_oldclock(par->chip_id)) { in set_vclk()
872 if (is3Dchip(par->chip_id)) { in set_vclk()
905 if (crt || !iscyber(par->chip_id)) in is_flatpanel()
[all …]
Dsm712fb.c43 u16 chip_id; member
1210 switch (sfb->chip_id) { in smtc_set_timing()
1396 sfb->chip_id = ent->device; in smtcfb_pci_probe()
1426 switch (sfb->chip_id) { in smtcfb_pci_probe()
1499 sfb->chip_id, sfb->chip_rev_id, sfb->fb->var.xres, in smtcfb_pci_probe()
1581 switch (sfb->chip_id) { in smtcfb_pci_resume()
Dw100fb.c640 unsigned int chip_id; in w100fb_probe() local
657 chip_id = readl(remapped_regs + mmCHIP_ID); in w100fb_probe()
658 switch(chip_id) { in w100fb_probe()
684 par->chip_id = chip_id; in w100fb_probe()
1442 switch (par->chip_id) { in w100_set_dispregs()
Dcyber2000fb.h473 unsigned int chip_id; member
/linux-4.4.14/arch/mips/txx9/generic/
Dsmsc_fdc37m81x.c105 u8 chip_id; in smsc_fdc37m81x_init() local
116 chip_id = smsc_fdc37m81x_rd(SMSC_FDC37M81X_DID); in smsc_fdc37m81x_init()
117 if (chip_id == SMSC_FDC37M81X_CHIP_ID) in smsc_fdc37m81x_init()
121 chip_id); in smsc_fdc37m81x_init()
/linux-4.4.14/arch/powerpc/platforms/powernv/
Drng.c87 int chip_id, cpu; in rng_init_per_cpu() local
89 chip_id = of_get_ibm_chip_id(dn); in rng_init_per_cpu()
90 if (chip_id == -1) in rng_init_per_cpu()
95 cpu_to_chip_id(cpu) == chip_id) { in rng_init_per_cpu()
Dopal-hmi.c141 be32_to_cpu(hmi_evt->u.xstop_error.u.chip_id)); in print_nx_checkstop_reason()
/linux-4.4.14/drivers/regulator/
Dfan53555.c82 int chip_id; member
200 switch (di->chip_id) { in fan53555_voltages_setup_fairchild()
214 "Chip ID %d not supported!\n", di->chip_id); in fan53555_voltages_setup_fairchild()
224 switch (di->chip_id) { in fan53555_voltages_setup_silergy()
231 "Chip ID %d not supported!\n", di->chip_id); in fan53555_voltages_setup_silergy()
402 di->chip_id = val & DIE_ID; in fan53555_regulator_probe()
411 di->chip_id, di->chip_rev); in fan53555_regulator_probe()
Dpfuze100-regulator.c68 int chip_id; member
413 switch (chip->chip_id) { in pfuze_parse_regulators_dt()
478 if (((value & 0x0f) == 0x8) && (pfuze_chip->chip_id == PFUZE100)) { in pfuze_identify()
484 } else if ((value & 0x0f) != pfuze_chip->chip_id && in pfuze_identify()
485 (value & 0xf0) >> 4 != pfuze_chip->chip_id) { in pfuze_identify()
538 pfuze_chip->chip_id = (int)(long)match->data; in pfuze100_regulator_probe()
540 pfuze_chip->chip_id = id->driver_data; in pfuze100_regulator_probe()
564 switch (pfuze_chip->chip_id) { in pfuze100_regulator_probe()
587 (pfuze_chip->chip_id == PFUZE100) ? "100" : in pfuze100_regulator_probe()
588 ((pfuze_chip->chip_id == PFUZE200) ? "200" : "3000")); in pfuze100_regulator_probe()
[all …]
Dda9052-regulator.c110 if (regulator->da9052->chip_id == DA9052) in da9052_dcdc_get_current_limit()
127 if (regulator->da9052->chip_id == DA9052) in da9052_dcdc_set_current_limit()
166 if ((id == DA9052_ID_BUCK4) && (regulator->da9052->chip_id == DA9052) in da9052_list_voltage()
197 if ((id == DA9052_ID_BUCK4) && (regulator->da9052->chip_id == DA9052) in da9052_map_voltage()
367 static inline struct da9052_regulator_info *find_regulator_info(u8 chip_id, in find_regulator_info() argument
373 switch (chip_id) { in find_regulator_info()
413 regulator->info = find_regulator_info(regulator->da9052->chip_id, in da9052_regulator_probe()
Dda9211-regulator.c52 int chip_id; member
159 switch (chip->chip_id) { in da9211_set_current_limit()
197 switch (chip->chip_id) { in da9211_get_current_limit()
449 chip->chip_id = DA9211; in da9211_i2c_probe()
452 chip->chip_id = DA9213; in da9211_i2c_probe()
455 chip->chip_id = DA9215; in da9211_i2c_probe()
Dtps62360-regulator.c351 int chip_id; in tps62360_probe() local
374 chip_id = (int)(long)match->data; in tps62360_probe()
379 chip_id = id->driver_data; in tps62360_probe()
397 switch (chip_id) { in tps62360_probe()
Dmax8973-regulator.c543 unsigned int chip_id; in max8973_probe() local
585 ret = regmap_read(max->regmap, MAX8973_CHIPID1, &chip_id); in max8973_probe()
592 (chip_id >> 4) & 0xF, (chip_id >> 1) & 0x7); in max8973_probe()
/linux-4.4.14/drivers/soc/tegra/fuse/
Dtegra-apbmisc.c82 u32 id, chip_id, minor_rev; in tegra_init_revision() local
86 chip_id = (id >> 8) & 0xff; in tegra_init_revision()
97 if (chip_id == TEGRA20 && (tegra_fuse_read_spare(18) || in tegra_init_revision()
/linux-4.4.14/drivers/crypto/nx/
Dnx-842-powernv.c48 unsigned int chip_id; member
530 int chip_id; in nx842_powernv_probe() local
532 chip_id = of_get_ibm_chip_id(dn); in nx842_powernv_probe()
533 if (chip_id < 0) { in nx842_powernv_probe()
554 coproc->chip_id = chip_id; in nx842_powernv_probe()
560 pr_info("coprocessor found on chip %d, CT %d CI %d\n", chip_id, ct, ci); in nx842_powernv_probe()
566 chip_id, ct, nx842_ct); in nx842_powernv_probe()
/linux-4.4.14/drivers/media/pci/solo6x10/
Dsolo6x10-tw28.c180 static u8 tw_readbyte(struct solo_dev *solo_dev, int chip_id, u8 tw6x_off, in tw_readbyte() argument
183 if (is_tw286x(solo_dev, chip_id)) in tw_readbyte()
185 TW_CHIP_OFFSET_ADDR(chip_id), in tw_readbyte()
189 TW_CHIP_OFFSET_ADDR(chip_id), in tw_readbyte()
193 static void tw_writebyte(struct solo_dev *solo_dev, int chip_id, in tw_writebyte() argument
196 if (is_tw286x(solo_dev, chip_id)) in tw_writebyte()
198 TW_CHIP_OFFSET_ADDR(chip_id), in tw_writebyte()
202 TW_CHIP_OFFSET_ADDR(chip_id), in tw_writebyte()
Dsolo6x10-core.c460 u8 chip_id; in solo_pci_probe() local
500 chip_id = solo_reg_read(solo_dev, SOLO_CHIP_OPTION) & in solo_pci_probe()
502 switch (chip_id) { in solo_pci_probe()
513 chip_id); in solo_pci_probe()
/linux-4.4.14/drivers/mfd/
Dtps65217.c170 unsigned long chip_id = ids->driver_data; in tps65217_probe() local
182 chip_id = (unsigned long)match->data; in tps65217_probe()
187 if (!chip_id) { in tps65217_probe()
198 tps->id = chip_id; in tps65217_probe()
Dtps65910.c390 unsigned long *chip_id) in tps65910_parse_dt() argument
404 *chip_id = (unsigned long)match->data; in tps65910_parse_dt()
434 unsigned long *chip_id) in tps65910_parse_dt() argument
462 unsigned long chip_id = id->driver_data; in tps65910_i2c_probe() local
468 pmic_plat_data = tps65910_parse_dt(i2c, &chip_id); in tps65910_i2c_probe()
487 tps65910->id = chip_id; in tps65910_i2c_probe()
Dda903x.c251 uint8_t chip_id; in da9030_init_chip() local
254 err = __da903x_read(chip->client, DA9030_CHIP_ID, &chip_id); in da9030_init_chip()
262 dev_info(chip->dev, "DA9030 (CHIP ID: 0x%02x) detected\n", chip_id); in da9030_init_chip()
312 uint8_t chip_id; in da9034_init_chip() local
315 err = __da903x_read(chip->client, DA9034_CHIP_ID, &chip_id); in da9034_init_chip()
339 dev_info(chip->dev, "DA9034 (CHIP ID: 0x%02x) detected\n", chip_id); in da9034_init_chip()
Dab3100-core.c69 return (int)ab3100->chip_id; in ab3100_get_chip_id()
220 if (ab3100->chip_id == 0xa0 || in ab3100_get_register_page_interruptible()
221 ab3100->chip_id == 0xa1) in ab3100_get_register_page_interruptible()
720 if (ab3100->chip_id == 0xc4) { in ab3100_setup()
877 &ab3100->chip_id); in ab3100_probe()
885 if (ids[i].id == ab3100->chip_id) { in ab3100_probe()
902 ab3100->chip_id); in ab3100_probe()
Dsi476x-i2c.c650 return core->chip_id == SI476X_CHIP_SI4761 || in si476x_core_has_am()
651 core->chip_id == SI476X_CHIP_SI4764; in si476x_core_has_am()
657 return core->chip_id == SI476X_CHIP_SI4764; in si476x_core_has_diversity()
801 core->chip_id = id->driver_data; in si476x_core_probe()
816 if ((core->chip_id == SI476X_CHIP_SI4761 || in si476x_core_probe()
817 core->chip_id == SI476X_CHIP_SI4764) && in si476x_core_probe()
Dda9052-core.c544 int da9052_device_init(struct da9052 *da9052, u8 chip_id) in da9052_device_init() argument
555 da9052->chip_id = chip_id; in da9052_device_init()
Dab8500-core.c204 return ab8500 ? (int)ab8500->chip_id : -EINVAL; in ab8500_get_chip_id()
1365 return sprintf(buf, "%#x\n", ab8500 ? ab8500->chip_id : -EINVAL); in show_chip_id()
1511 static DEVICE_ATTR(chip_id, S_IRUGO, show_chip_id, NULL);
1625 ab8500->chip_id = value; in ab8500_probe()
1629 ab8500->chip_id >> 4, in ab8500_probe()
1630 ab8500->chip_id & 0x0F); in ab8500_probe()
1799 ab8500->chip_id >= AB8500_CUT2P0) || is_ab8540(ab8500)) in ab8500_probe()
1807 ab8500->chip_id >= AB8500_CUT2P0) in ab8500_probe()
1822 ab8500->chip_id >= AB8500_CUT2P0) || is_ab8540(ab8500)) in ab8500_remove()
1828 ab8500->chip_id >= AB8500_CUT2P0) in ab8500_remove()
Dda9052-i2c.c67 switch (da9052->chip_id) { in da9052_i2c_fix()
/linux-4.4.14/drivers/hwmon/
Dw83l785ts.c147 u8 chip_id; in w83l785ts_detect() local
164 chip_id = w83l785ts_read_value(client, W83L785TS_REG_CHIP_ID, 0); in w83l785ts_detect()
167 || chip_id != 0x70) { /* W83L785TS-S */ in w83l785ts_detect()
170 man_id, chip_id); in w83l785ts_detect()
Dlm90.c1199 int man_id, chip_id, config1, config2, convrate; in lm90_detect() local
1206 chip_id = i2c_smbus_read_byte_data(client, LM90_REG_R_CHIP_ID); in lm90_detect()
1209 if (man_id < 0 || chip_id < 0 || config1 < 0 || convrate < 0) in lm90_detect()
1225 && (chip_id & 0xF0) == 0x20) { /* LM90 */ in lm90_detect()
1228 if ((chip_id & 0xF0) == 0x30) { /* LM89/LM99 */ in lm90_detect()
1239 && (chip_id & 0xF0) == 0x10) { /* LM86 */ in lm90_detect()
1246 if ((chip_id & 0xF0) == 0x40 /* ADM1032 */ in lm90_detect()
1258 if (chip_id == 0x51 /* ADT7461 */ in lm90_detect()
1263 if (chip_id == 0x57 /* ADT7461A, NCT1008 */ in lm90_detect()
1302 if (chip_id == man_id in lm90_detect()
[all …]
Dmax1619.c230 u8 reg_config, reg_convrate, reg_status, man_id, chip_id; in max1619_detect() local
248 chip_id = i2c_smbus_read_byte_data(client, MAX1619_REG_R_CHIP_ID); in max1619_detect()
249 if (man_id != 0x4D || chip_id != 0x04) { in max1619_detect()
252 man_id, chip_id); in max1619_detect()
Dlm83.c293 u8 man_id, chip_id; in lm83_detect() local
312 chip_id = i2c_smbus_read_byte_data(new_client, LM83_REG_R_CHIP_ID); in lm83_detect()
313 switch (chip_id) { in lm83_detect()
324 man_id, chip_id); in lm83_detect()
Dadm1029.c313 u8 man_id, chip_id, temp_devices_installed, nb_fan_support; in adm1029_detect() local
326 chip_id = i2c_smbus_read_byte_data(client, ADM1029_REG_CHIP_ID); in adm1029_detect()
336 if ((chip_id & 0xF0) != 0x00) { in adm1029_detect()
342 chip_id); in adm1029_detect()
Dlm95241.c336 int mfg_id, chip_id; in lm95241_detect() local
345 chip_id = i2c_smbus_read_byte_data(new_client, LM95241_REG_R_CHIP_ID); in lm95241_detect()
346 switch (chip_id) { in lm95241_detect()
Dlm63.c985 u8 man_id, chip_id, reg_config1, reg_config2; in lm63_detect() local
993 chip_id = i2c_smbus_read_byte_data(client, LM63_REG_CHIP_ID); in lm63_detect()
1008 man_id, chip_id); in lm63_detect()
1012 if (chip_id == 0x41 && address == 0x4c) in lm63_detect()
1014 else if (chip_id == 0x51 && (address == 0x18 || address == 0x4e)) in lm63_detect()
1016 else if (chip_id == 0x49 && address == 0x4c) in lm63_detect()
Dw83l786ng.c678 u8 chip_id; in w83l786ng_detect() local
693 chip_id = w83l786ng_read_value(client, W83L786NG_REG_CHIP_ID); in w83l786ng_detect()
696 chip_id != 0x80) { /* W83L786NG */ in w83l786ng_detect()
699 man_id, chip_id); in w83l786ng_detect()
Dadm1025.c455 u8 man_id, chip_id; in adm1025_detect() local
470 chip_id = i2c_smbus_read_byte_data(client, ADM1025_REG_CHIP_ID); in adm1025_detect()
471 if ((chip_id & 0xF0) != 0x20) in adm1025_detect()
Dlm95234.c633 int mfg_id, chip_id, val; in lm95234_detect() local
643 chip_id = i2c_smbus_read_byte_data(client, LM95234_REG_CHIP_ID); in lm95234_detect()
644 switch (chip_id) { in lm95234_detect()
Dw83793.c1638 u8 tmp, bank, chip_id; in w83793_detect() local
1666 chip_id = i2c_smbus_read_byte_data(client, W83793_REG_CHIPID); in w83793_detect()
1667 if (chip_id != 0x7b) in w83793_detect()
/linux-4.4.14/arch/mips/ar7/
Dsetup.c51 u16 chip_id = ar7_chip_id(); in get_system_type() local
54 switch (chip_id) { in get_system_type()
/linux-4.4.14/drivers/scsi/pm8001/
Dpm8001_init.c468 pm8001_ha->chip_id = ent->driver_data; in pm8001_pci_alloc()
469 pm8001_ha->chip = &pm8001_chips[pm8001_ha->chip_id]; in pm8001_pci_alloc()
477 if (pm8001_ha->chip_id != chip_8001) in pm8001_pci_alloc()
485 || (pm8001_ha->chip_id == chip_8001)) in pm8001_pci_alloc()
631 if (pm8001_ha->chip_id == chip_8001) { in pm8001_init_sas_add()
639 } else if ((pm8001_ha->chip_id == chip_8070 || in pm8001_init_sas_add()
640 pm8001_ha->chip_id == chip_8072) && in pm8001_init_sas_add()
663 if (pm8001_ha->chip_id == chip_8001) { in pm8001_init_sas_add()
670 } else if ((pm8001_ha->chip_id == chip_8070 || in pm8001_init_sas_add()
671 pm8001_ha->chip_id == chip_8072) && in pm8001_init_sas_add()
[all …]
Dpm8001_ctl.c61 if (pm8001_ha->chip_id == chip_8001) { in pm8001_ctl_mpi_interface_rev_show()
86 if (pm8001_ha->chip_id == chip_8001) { in pm8001_ctl_fw_version_show()
115 if (pm8001_ha->chip_id == chip_8001) { in pm8001_ctl_max_out_io_show()
138 if (pm8001_ha->chip_id == chip_8001) { in pm8001_ctl_max_devices_show()
164 if (pm8001_ha->chip_id == chip_8001) { in pm8001_ctl_max_sg_list_show()
209 if (pm8001_ha->chip_id == chip_8001) in pm8001_ctl_sas_spec_support_show()
Dpm8001_sas.c207 if (pm8001_ha->chip_id == chip_8001) { in pm8001_phy_control()
225 if (pm8001_ha->chip_id == chip_8001) in pm8001_phy_control()
248 if (pm8001_ha->chip_id == chip_8001) in pm8001_scan_start()
709 if (pm8001_ha->chip_id != chip_8001) { in pm8001_exec_internal_tmf_task()
Dpm8001_sas.h511 u32 chip_id; member
/linux-4.4.14/drivers/media/tuners/
Dtda18212.c196 unsigned int chip_id; in tda18212_probe() local
222 ret = regmap_read(dev->regmap, 0x00, &chip_id); in tda18212_probe()
223 dev_dbg(&dev->client->dev, "chip_id=%02x\n", chip_id); in tda18212_probe()
231 switch (chip_id) { in tda18212_probe()
Dfc0012.c448 u8 chip_id; in fc0012_attach() local
464 ret = fc0012_readreg(priv, 0x00, &chip_id); in fc0012_attach()
468 dev_dbg(&i2c->dev, "%s: chip_id=%02x\n", __func__, chip_id); in fc0012_attach()
470 switch (chip_id) { in fc0012_attach()
Dxc5000.c67 int chip_id; member
242 static inline const struct xc5000_fw_cfg *xc5000_assign_firmware(int chip_id) in xc5000_assign_firmware() argument
244 switch (chip_id) { in xc5000_assign_firmware()
611 switch (priv->chip_id) { in xc_set_xtal()
1133 const struct xc5000_fw_cfg *desired_fw = xc5000_assign_firmware(priv->chip_id); in xc_load_fw_and_init_tuner()
1444 if ((priv->chip_id == 0) || (cfg->chip_id)) in xc5000_attach()
1447 priv->chip_id = (cfg->chip_id) ? cfg->chip_id : 0; in xc5000_attach()
Dxc5000.h41 int chip_id; member
Dsi2157.c87 unsigned int chip_id; in si2157_init() local
115 chip_id = cmd.args[1] << 24 | cmd.args[2] << 16 | cmd.args[3] << 8 | in si2157_init()
124 switch (chip_id) { in si2157_init()
Dmxl5007t.c162 enum mxl5007t_chip_version chip_id; member
848 state->chip_id = id; in mxl5007t_get_chip_id()
858 state->chip_id = MxL_UNKNOWN_ID; in mxl5007t_get_chip_id()
/linux-4.4.14/drivers/net/ethernet/marvell/
Dsky2.c232 if (hw->chip_id == CHIP_ID_YUKON_XL && hw->chip_rev > CHIP_REV_YU_XL_A1) in sky2_power_on()
274 if (hw->chip_id == CHIP_ID_YUKON_XL && hw->chip_rev > CHIP_REV_YU_XL_A1) in sky2_power_aux()
350 if (hw->chip_id == CHIP_ID_YUKON_EC) in sky2_phy_init()
366 if (hw->chip_id == CHIP_ID_YUKON_FE_P && in sky2_phy_init()
400 if (hw->chip_id == CHIP_ID_YUKON_XL && (hw->flags & SKY2_HW_FIBRE_PHY)) { in sky2_phy_init()
505 switch (hw->chip_id) { in sky2_phy_init()
592 if (hw->chip_id == CHIP_ID_YUKON_EC_U || hw->chip_id == CHIP_ID_YUKON_UL_2) { in sky2_phy_init()
600 if (hw->chip_id == CHIP_ID_YUKON_EC_U) { in sky2_phy_init()
608 } else if (hw->chip_id == CHIP_ID_YUKON_FE_P && in sky2_phy_init()
613 } else if (hw->chip_id == CHIP_ID_YUKON_OPT && hw->chip_rev == 0) { in sky2_phy_init()
[all …]
Dskge.c129 return hw->chip_id == CHIP_ID_GENESIS; in is_genesis()
165 if (hw->chip_id == CHIP_ID_YUKON && hw->chip_rev == 0) in wol_supported()
185 if (hw->chip_id == CHIP_ID_YUKON_LITE && in skge_wol_init()
292 else if (hw->chip_id == CHIP_ID_YUKON) in skge_supported_modes()
2045 if (hw->chip_id != CHIP_ID_YUKON) in is_yukon_lite_a0()
2063 if (hw->chip_id == CHIP_ID_YUKON_LITE && in yukon_mac_init()
2075 if (hw->chip_id == CHIP_ID_YUKON_LITE && in yukon_mac_init()
2769 hw->chip_rev == 0 && hw->chip_id == CHIP_ID_YUKON) in skge_xmit_frame()
3261 (hw->chip_id == CHIP_ID_YUKON && hw->chip_rev == 0) in skge_mac_parity()
3510 if (skge_chips[i].id == hw->chip_id) in skge_board_name()
[all …]
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Dboot.c225 u32 chip_id, acx_intr; in wl1251_boot_run_firmware() local
229 chip_id = wl1251_reg_read32(wl, CHIP_ID_B); in wl1251_boot_run_firmware()
231 wl1251_debug(DEBUG_BOOT, "chip id after firmware boot: 0x%x", chip_id); in wl1251_boot_run_firmware()
233 if (chip_id != wl->chip_id) { in wl1251_boot_run_firmware()
Dmain.c179 wl->chip_id = wl1251_reg_read32(wl, CHIP_ID_B); in wl1251_chip_wakeup()
183 switch (wl->chip_id) { in wl1251_chip_wakeup()
186 wl->chip_id); in wl1251_chip_wakeup()
190 wl->chip_id); in wl1251_chip_wakeup()
194 wl1251_error("unsupported chip id: 0x%x", wl->chip_id); in wl1251_chip_wakeup()
426 wiphy->hw_version = wl->chip_id; in wl1251_op_start()
Dwl1251.h397 u32 chip_id; member
/linux-4.4.14/drivers/net/phy/
Dmicrochip.c28 int chip_id; member
81 priv->chip_id = phy_read_mmd_indirect(phydev, LAN88XX_MMD3_CHIP_ID, in lan88xx_probe()
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-core.c510 if (dev->chip_id == CHIP_ID_EM2870 || in em28xx_audio_setup()
511 dev->chip_id == CHIP_ID_EM2874 || in em28xx_audio_setup()
512 dev->chip_id == CHIP_ID_EM28174 || in em28xx_audio_setup()
513 dev->chip_id == CHIP_ID_EM28178) { in em28xx_audio_setup()
533 if (dev->chip_id < CHIP_ID_EM2860 && in em28xx_audio_setup()
537 else if (dev->chip_id >= CHIP_ID_EM2860 && in em28xx_audio_setup()
634 if (dev->chip_id == CHIP_ID_EM2874 || in em28xx_capture_start()
635 dev->chip_id == CHIP_ID_EM2884 || in em28xx_capture_start()
636 dev->chip_id == CHIP_ID_EM28174 || in em28xx_capture_start()
637 dev->chip_id == CHIP_ID_EM28178) { in em28xx_capture_start()
Dem28xx-input.c341 if (ir->dev->chip_id == CHIP_ID_EM2874 || in em28xx_ir_handle_key()
342 ir->dev->chip_id == CHIP_ID_EM2884) in em28xx_ir_handle_key()
451 switch (dev->chip_id) { in em28xx_ir_change_protocol()
462 dev->chip_id); in em28xx_ir_change_protocol()
762 switch (dev->chip_id) { in em28xx_ir_init()
Dem28xx-i2c.c792 if (dev->chip_id < CHIP_ID_EM2860) in em28xx_i2c_eeprom()
798 if (dev->chip_id < CHIP_ID_EM2860) in em28xx_i2c_eeprom()
Dem28xx.h614 enum em28xx_chip_id chip_id; member
Dem28xx-cards.c3083 dev->chip_id = retval; in em28xx_init_dev()
3085 switch (dev->chip_id) { in em28xx_init_dev()
3150 ": unknown em28xx chip ID (%d)\n", dev->chip_id); in em28xx_init_dev()
/linux-4.4.14/drivers/iio/pressure/
Dbmp280.c353 unsigned int chip_id; in bmp280_probe() local
376 ret = regmap_read(data->regmap, BMP280_REG_ID, &chip_id); in bmp280_probe()
379 if (chip_id != BMP280_CHIP_ID) { in bmp280_probe()
381 BMP280_CHIP_ID, chip_id); in bmp280_probe()
/linux-4.4.14/drivers/video/backlight/
Dlp855x_bl.c68 enum lp855x_chip_id chip_id; member
106 switch (lp->chip_id) { in lp855x_is_valid_rom_area()
175 switch (lp->chip_id) { in lp855x_configure()
327 static DEVICE_ATTR(chip_id, S_IRUGO, lp855x_get_chip_id, NULL);
409 lp->chip_id = id->driver_data; in lp855x_probe()
/linux-4.4.14/include/linux/ssb/
Dssb_driver_gige.h86 return ((dev->dev->bus->chip_id == 0x4785) && in ssb_gige_one_dma_at_once()
96 return (dev->dev->bus->chip_id == 0x4785); in ssb_gige_must_flush_posted_writes()
Dssb.h455 u16 chip_id; member
/linux-4.4.14/drivers/ide/
Dsc1200.c40 unsigned char chip_id, silicon_revision; in sc1200_get_pci_clock() local
46 chip_id = inb (0x903c); in sc1200_get_pci_clock()
50 if (chip_id == 0x04 && silicon_revision < SC1200_REV_B1) { in sc1200_get_pci_clock()
/linux-4.4.14/arch/mips/include/asm/mach-ar7/
Dar7.h153 u16 chip_id = ar7_chip_id(); in ar7_has_high_cpmac() local
154 switch (chip_id) { in ar7_has_high_cpmac()
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
Dlio_ethtool.c361 if (oct->chip_id == OCTEON_CN66XX) { in lio_set_phys_id()
366 } else if (oct->chip_id == OCTEON_CN68XX) { in lio_set_phys_id()
402 if (oct->chip_id == OCTEON_CN66XX) { in lio_set_phys_id()
406 } else if (oct->chip_id == OCTEON_CN68XX) { in lio_set_phys_id()
414 if (oct->chip_id == OCTEON_CN66XX) in lio_set_phys_id()
417 else if (oct->chip_id == OCTEON_CN68XX) in lio_set_phys_id()
425 if (oct->chip_id == OCTEON_CN66XX) { in lio_set_phys_id()
428 } else if (oct->chip_id == OCTEON_CN68XX) { in lio_set_phys_id()
627 switch (oct->chip_id) { in lio_get_intr_coalesce()
1176 switch (oct->chip_id) { in lio_get_regs()
[all …]
Docteon_device.h296 u16 chip_id; member
393 #define OCTEON_CN6XXX(oct) ((oct->chip_id == OCTEON_CN66XX) || \
394 (oct->chip_id == OCTEON_CN68XX))
Docteon_device.c491 if (oct->chip_id == OCTEON_CN66XX) { in __retrieve_octeon_config_info()
493 } else if ((oct->chip_id == OCTEON_CN68XX) && in __retrieve_octeon_config_info()
496 } else if ((oct->chip_id == OCTEON_CN68XX) && in __retrieve_octeon_config_info()
509 switch (oct->chip_id) { in __verify_octeon_config_info()
1217 if ((oct->chip_id == OCTEON_CN66XX) || (oct->chip_id == OCTEON_CN68XX)) in lio_pci_readq()
Dlio_main.c338 if ((oct->chip_id == OCTEON_CN66XX) || in force_io_queues_off()
339 (oct->chip_id == OCTEON_CN68XX)) { in force_io_queues_off()
1284 oct->chip_id = OCTEON_CN68XX; in octeon_chip_specific_setup()
1289 oct->chip_id = OCTEON_CN66XX; in octeon_chip_specific_setup()
Drequest_manager.c84 oct->chip_id); in octeon_init_instr_queue()
/linux-4.4.14/drivers/input/misc/
Dbma150.c533 int chip_id; in bma150_probe() local
541 chip_id = i2c_smbus_read_byte_data(client, BMA150_CHIP_ID_REG); in bma150_probe()
542 if (chip_id != BMA150_CHIP_ID && chip_id != BMA180_CHIP_ID) { in bma150_probe()
543 dev_err(&client->dev, "BMA150 chip id error: %d\n", chip_id); in bma150_probe()
/linux-4.4.14/drivers/misc/
Dbmp085.c86 u8 chip_id; member
389 if (id != data->chip_id) in bmp085_detect()
406 data->chip_id = prop & 0xff; in bmp085_get_of_properties()
424 data->chip_id = BMP085_CHIP_ID; in bmp085_init_client()
/linux-4.4.14/include/linux/mfd/da9052/
Dda9052.h100 u8 chip_id; member
211 int da9052_device_init(struct da9052 *da9052, u8 chip_id);
/linux-4.4.14/drivers/ata/
Dpata_sc1200.c59 u8 chip_id = inb(0x903C); in sc1200_clock() local
63 if (chip_id == 0x04 && silicon_rev < SC1200_REV_B1) in sc1200_clock()
Dsata_qstor.c514 static void qs_host_init(struct ata_host *host, unsigned int chip_id) in qs_host_init() argument
Dpdc_adma.c580 static void adma_host_init(struct ata_host *host, unsigned int chip_id) in adma_host_init() argument
/linux-4.4.14/drivers/net/wireless/b43/
Dbus.c124 dev->chip_id = core->bus->chipinfo.id; in b43_bus_dev_bcma_init()
223 dev->chip_id = sdev->bus->chip_id; in b43_bus_dev_ssb_init()
Dbus.h46 u16 chip_id; member
Dtables_nphy.c3368 if (dev->dev->chip_id == 43224 && dev->dev->chip_rev == 1) { in b43_ntab_read_bulk()
3443 if ((offset >> 10) == 9 && dev->dev->chip_id == 43224 && in b43_ntab_write_bulk()
3669 if (dev->dev->chip_id == BCMA_CHIP_ID_BCM47162) in b43_nphy_get_ipa_gain_table()
Dmain.c2889 if (dev->dev->chip_id == 0x4301) { in b43_gpio_init()
2892 } else if (dev->dev->chip_id == 0x5354) { in b43_gpio_init()
3054 u16 chip_id = dev->dev->chip_id; in b43_mac_switch_freq() local
3056 if (chip_id == BCMA_CHIP_ID_BCM4331) { in b43_mac_switch_freq()
3071 } else if (chip_id == BCMA_CHIP_ID_BCM43131 || in b43_mac_switch_freq()
3072 chip_id == BCMA_CHIP_ID_BCM43217 || in b43_mac_switch_freq()
3073 chip_id == BCMA_CHIP_ID_BCM43222 || in b43_mac_switch_freq()
3074 chip_id == BCMA_CHIP_ID_BCM43224 || in b43_mac_switch_freq()
3075 chip_id == BCMA_CHIP_ID_BCM43225 || in b43_mac_switch_freq()
3076 chip_id == BCMA_CHIP_ID_BCM43227 || in b43_mac_switch_freq()
[all …]
Dphy_lp.c321 (dev->dev->chip_id == 0x5354) && in lpphy_baseband_rev0_1_init()
446 if ((dev->dev->chip_id == 0x4325) && (dev->dev->chip_rev == 0)) { in lpphy_baseband_rev2plus_init()
464 if ((dev->dev->chip_id == 0x4325) && (dev->dev->chip_rev == 0)) { in lpphy_baseband_rev2plus_init()
489 if ((dev->dev->chip_id == 0x4325) && (dev->dev->chip_rev == 0)) { in lpphy_baseband_rev2plus_init()
694 if (dev->dev->chip_id == 0x4325) { in lpphy_radio_init()
1850 if (dev->dev->chip_id == 0x4325 && dev->dev->chip_rev == 0) in lpphy_papd_cal_txpwr()
1874 if (dev->dev->chip_id == 0x5354) { in lpphy_rx_iq_cal()
2393 if (dev->dev->chip_id == 0x5354) { in lpphy_b2062_reset_pll_bias()
Dphy_n.c1149 ((dev->dev->chip_id == BCMA_CHIP_ID_BCM43224 || in b43_radio_2056_setup()
1150 dev->dev->chip_id == BCMA_CHIP_ID_BCM43225 || in b43_radio_2056_setup()
1151 dev->dev->chip_id == BCMA_CHIP_ID_BCM43421) && in b43_radio_2056_setup()
1161 if (dev->dev->chip_id == BCMA_CHIP_ID_BCM4716 || in b43_radio_2056_setup()
1162 dev->dev->chip_id == BCMA_CHIP_ID_BCM47162) { in b43_radio_2056_setup()
1192 if (dev->dev->chip_id == BCMA_CHIP_ID_BCM4716 || in b43_radio_2056_setup()
1193 dev->dev->chip_id == BCMA_CHIP_ID_BCM47162) { in b43_radio_2056_setup()
6363 spuravoid = dev->dev->chip_id == 0x4716; in b43_nphy_channel_setup()
/linux-4.4.14/arch/mips/include/asm/mach-bcm47xx/
Dbcm47xx.h51 void bcm47xx_set_system_type(u16 chip_id);
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dboot.c440 u32 chip_id, intr; in wlcore_boot_run_firmware() local
451 ret = wlcore_read_reg(wl, REG_CHIP_ID_B, &chip_id); in wlcore_boot_run_firmware()
455 wl1271_debug(DEBUG_BOOT, "chip id after firmware boot: 0x%x", chip_id); in wlcore_boot_run_firmware()
457 if (chip_id != wl->chip.id) { in wlcore_boot_run_firmware()
/linux-4.4.14/Documentation/devicetree/bindings/arm/bcm/
Dbrcm,brcmstb.txt7 - compatible: "brcm,bcm<chip_id>", "brcm,brcmstb"
19 - compatible: "brcm,bcm<chip_id>-sun-top-ctrl", "syscon"
20 - compatible: "brcm,bcm<chip_id>-hif-cpubiuctrl", "syscon"
21 - compatible: "brcm,bcm<chip_id>-hif-continuation", "syscon"
/linux-4.4.14/drivers/bcma/
Dscan.c442 char chip_id[8]; in bcma_detect_chip() local
451 snprintf(chip_id, ARRAY_SIZE(chip_id), in bcma_detect_chip()
454 chip_id, chipinfo->rev, chipinfo->pkg); in bcma_detect_chip()
/linux-4.4.14/drivers/media/i2c/
Dsaa7115.c1720 char chip_id; in saa711x_detect_chip() local
1738 chip_id = name[5]; in saa711x_detect_chip()
1739 snprintf(name, CHIP_VER_SIZE, "saa711%c", chip_id); in saa711x_detect_chip()
1744 switch (chip_id) { in saa711x_detect_chip()
1747 snprintf(name, CHIP_VER_SIZE, "saa711%ca", chip_id); in saa711x_detect_chip()
1769 chip_id = 0; in saa711x_detect_chip()
1771 chip_id = chip_id << 1; in saa711x_detect_chip()
1772 chip_id |= (chip_ver[i] & 0x80) ? 1 : 0; in saa711x_detect_chip()
Dadv7511.c1439 u8 chip_id[2]; in adv7511_probe() local
1504 chip_id[0] = adv7511_rd(sd, 0xf5); in adv7511_probe()
1505 chip_id[1] = adv7511_rd(sd, 0xf6); in adv7511_probe()
1506 if (chip_id[0] != 0x75 || chip_id[1] != 0x11) { in adv7511_probe()
1507 v4l2_err(sd, "chip_id != 0x7511, read 0x%02x%02x\n", chip_id[0], chip_id[1]); in adv7511_probe()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_link.h271 u32 chip_id; member
428 u32 shmem2_base_path[], u32 chip_id);
541 u32 chip_id, u32 shmem_base, u32 shmem2_base,
Dbnx2x_link.c1423 static void bnx2x_set_mdio_clk(struct bnx2x *bp, u32 chip_id, in bnx2x_set_mdio_clk() argument
1460 bnx2x_set_mdio_clk(bp, params->chip_id, in bnx2x_set_mdio_emac_per_phy()
2452 static void bnx2x_set_bmac_rx(struct bnx2x *bp, u32 chip_id, u8 port, u8 en) in bnx2x_set_bmac_rx() argument
2681 u32 chip_id; in bnx2x_cl45_read() local
2683 chip_id = (REG_RD(bp, MISC_REG_CHIP_NUM) << 16) | in bnx2x_cl45_read()
2685 bnx2x_set_mdio_clk(bp, chip_id, phy->mdio_ctrl); in bnx2x_cl45_read()
2756 u32 chip_id; in bnx2x_cl45_write() local
2758 chip_id = (REG_RD(bp, MISC_REG_CHIP_NUM) << 16) | in bnx2x_cl45_write()
2760 bnx2x_set_mdio_clk(bp, chip_id, phy->mdio_ctrl); in bnx2x_cl45_write()
4335 u32 chip_id, in bnx2x_get_mod_abs_int_cfg() argument
[all …]
Dbnx2x.h954 u32 chip_id; member
956 #define CHIP_ID(bp) (bp->common.chip_id & 0xfffffff0)
958 #define CHIP_NUM(bp) (bp->common.chip_id >> 16)
1028 #define CHIP_REV_VAL(bp) (bp->common.chip_id & CHIP_REV_MASK)
1043 #define CHIP_METAL(bp) (bp->common.chip_id & 0x00000ff0)
1044 #define CHIP_BOND_ID(bp) (bp->common.chip_id & 0x0000000f)
Dbnx2x_vfpf.c368 bp->common.chip_id |= (bp->acquire_resp.pfdev_info.chip_num & 0xffff); in bnx2x_vfpf_acquire()
369 bp->link_params.chip_id = bp->common.chip_id; in bnx2x_vfpf_acquire()
1268 resp->pfdev_info.chip_num = bp->common.chip_id; in bnx2x_vf_mbx_acquire_resp()
Dbnx2x_main.c6517 bnx2x_init_mod_abs_int(bp, &bp->link_vars, bp->common.chip_id, in bnx2x_pre_irq_nic_init()
6992 bp->common.chip_id); in bnx2x__common_init_phy()
10898 bp->common.chip_id = id; in bnx2x_get_common_hwinfo()
10903 bp->common.chip_id = (CHIP_NUM_57811 << 16) | in bnx2x_get_common_hwinfo()
10904 (bp->common.chip_id & 0x0000FFFF); in bnx2x_get_common_hwinfo()
10906 bp->common.chip_id = (CHIP_NUM_57811_MF << 16) | in bnx2x_get_common_hwinfo()
10907 (bp->common.chip_id & 0x0000FFFF); in bnx2x_get_common_hwinfo()
10908 bp->common.chip_id |= 0x1; in bnx2x_get_common_hwinfo()
10936 bp->link_params.chip_id = bp->common.chip_id; in bnx2x_get_common_hwinfo()
10940 if ((bp->common.chip_id & 0x1) || in bnx2x_get_common_hwinfo()
[all …]
/linux-4.4.14/drivers/iio/accel/
Dmma8452.c130 u8 chip_id; member
855 .chip_id = MMA8452_DEVICE_ID,
878 .chip_id = MMA8453_DEVICE_ID,
894 .chip_id = MMA8652_DEVICE_ID,
910 .chip_id = MMA8653_DEVICE_ID,
1085 if (ret == data->chip_info->chip_id) in mma8452_probe()
1092 match->compatible, data->chip_info->chip_id); in mma8452_probe()
Dbmc150-accel-core.c157 u8 chip_id; member
1023 .chip_id = 0xFA,
1033 .chip_id = 0xFA,
1043 .chip_id = 0xFA,
1053 .chip_id = 0xF9,
1063 .chip_id = 0xF8,
1073 .chip_id = 0xFB,
1499 if (bmc150_accel_chip_info_tbl[i].chip_id == val) { in bmc150_accel_chip_init()
/linux-4.4.14/arch/mips/include/asm/mach-bcm63xx/
Dbcm963xx_tag.h47 char chip_id[CHIPID_LEN]; member
/linux-4.4.14/drivers/usb/host/
Dssb-hcd.c46 if (dev->id.revision == 2 && dev->bus->chip_id == 0x5354) { in ssb_hcd_5354wa()
160 chipid_top = (dev->bus->chip_id & 0xFF00); in ssb_hcd_probe()
/linux-4.4.14/drivers/power/
Dbq25890_charger.c102 int chip_id; member
837 bq->chip_id = bq25890_field_read(bq, F_PN); in bq25890_probe()
838 if (bq->chip_id < 0) { in bq25890_probe()
840 return bq->chip_id; in bq25890_probe()
843 if (bq->chip_id != BQ25890_ID) { in bq25890_probe()
844 dev_err(dev, "Chip with ID=%d, not supported!\n", bq->chip_id); in bq25890_probe()
Dpm2301_charger.h466 u8 chip_id; member
Dda9052-battery.c478 if (bat->da9052->chip_id == DA9052) in da9052_USB_current_notifier()
/linux-4.4.14/include/linux/mfd/
Dab3100.h99 u8 chip_id; member
Dsi476x-core.h127 int chip_id; member
/linux-4.4.14/drivers/staging/xgifb/
DXGIfb.h62 int chip_id; member
Dvb_setmode.c598 static void xgifb_set_lcd(int chip_id, in xgifb_set_lcd() argument
609 if (chip_id == XG27) { in xgifb_set_lcd()
617 if (chip_id == XG27) { in xgifb_set_lcd()
4228 int chip_id, in xgifb_set_lvds() argument
4251 if (chip_id == XG27) in xgifb_set_lvds()
4368 if (chip_id == XG27) { in xgifb_set_lvds()
4387 if (chip_id == XG27) in xgifb_set_lvds()
/linux-4.4.14/arch/arc/include/asm/
Darcregs.h209 unsigned int chip_id:16, cpu_id:8, family:8; member
211 unsigned int family:8, cpu_id:8, chip_id:16;
/linux-4.4.14/drivers/media/rc/
Dnuvoton-cir.c232 char chip_id[12]; in nvt_hw_detect() local
251 strcpy(chip_id, "w83667hg\0"); in nvt_hw_detect()
256 strcpy(chip_id, "w83677hg\0"); in nvt_hw_detect()
262 strcpy(chip_id, "w83677hg-c\0"); in nvt_hw_detect()
267 strcpy(chip_id, "w836x7hg\0"); in nvt_hw_detect()
275 "it may not work...", chip_id, chip_major, chip_minor); in nvt_hw_detect()
278 chip_id, chip_major, chip_minor); in nvt_hw_detect()
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/
Drtl28xxu.c587 if (dev->chip_id == CHIP_ID_RTL2831U) in rtl28xxu_read_config()
607 dev->chip_id = CHIP_ID_RTL2831U; in rtl28xxu_identify_state()
609 dev->chip_id = CHIP_ID_RTL2832U; in rtl28xxu_identify_state()
614 dev_dbg(&d->intf->dev, "chip_id=%u\n", dev->chip_id); in rtl28xxu_identify_state()
1020 if (dev->chip_id == CHIP_ID_RTL2831U) in rtl28xxu_frontend_attach()
1353 if (dev->chip_id == CHIP_ID_RTL2831U) in rtl28xxu_tuner_attach()
1541 if (dev->chip_id == CHIP_ID_RTL2831U) in rtl28xxu_power_ctrl()
1557 if (dev->chip_id == CHIP_ID_RTL2831U) in rtl28xxu_frontend_ctrl()
1778 if (dev->chip_id == CHIP_ID_RTL2831U) in rtl28xxu_get_rc_config()
1791 if (dev->chip_id == CHIP_ID_RTL2831U) { in rtl28xxu_pid_filter_ctrl()
[all …]
Dmxl111sf.h57 u8 chip_id; member
Drtl28xxu.h75 u8 chip_id; member
Dmxl111sf.c188 if ((state->chip_id) && (state->chip_ver)) in mxl1x1sf_get_chip_info()
194 state->chip_id = id; in mxl1x1sf_get_chip_info()
270 if (!state->chip_id) { in mxl111sf_adap_fe_init()
326 if (!state->chip_id) { in mxl111sf_adap_fe_sleep()
/linux-4.4.14/include/video/
Dw100fb.h137 unsigned int chip_id; member
/linux-4.4.14/arch/powerpc/kernel/
Dprom.c791 u32 chip_id; in of_get_ibm_chip_id() local
797 if (!of_property_read_u32(np, "ibm,chip-id", &chip_id)) { in of_get_ibm_chip_id()
799 return chip_id; in of_get_ibm_chip_id()
/linux-4.4.14/drivers/mmc/host/
Dwbsd.h172 int chip_id; /* ID of controller */ member
Dwbsd.c1321 host->chip_id = id; in wbsd_scan()
1718 if (host->chip_id != 0) in wbsd_init()
1719 printk(" id %x", (int)host->chip_id); in wbsd_init()
/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-mio-defs.h1498 uint64_t chip_id:8; member
1502 uint64_t chip_id:8;
1527 uint64_t chip_id:8; member
1535 uint64_t chip_id:8;
1552 uint64_t chip_id:8; member
1560 uint64_t chip_id:8;
1577 uint64_t chip_id:8; member
1581 uint64_t chip_id:8;
1603 uint64_t chip_id:8; member
1609 uint64_t chip_id:8;
[all …]
Docteon-model.h390 const char *__init octeon_model_get_string(uint32_t chip_id);
/linux-4.4.14/drivers/bluetooth/
Dbtrtl.c172 u16 chip_id = get_unaligned_le16(chip_id_base + in rtl8723b_parse_firmware() local
174 if (chip_id == rom_version + 1) { in rtl8723b_parse_firmware()
/linux-4.4.14/drivers/iio/magnetometer/
Dbmc150_magn.c682 int ret, chip_id; in bmc150_magn_init() local
693 ret = regmap_read(data->regmap, BMC150_MAGN_REG_CHIP_ID, &chip_id); in bmc150_magn_init()
698 if (chip_id != BMC150_MAGN_CHIP_ID_VAL) { in bmc150_magn_init()
699 dev_err(&data->client->dev, "Invalid chip id 0x%x\n", chip_id); in bmc150_magn_init()
703 dev_dbg(&data->client->dev, "Chip id %x\n", chip_id); in bmc150_magn_init()
/linux-4.4.14/drivers/mtd/devices/
Ddocg3.c1828 static int __init doc_set_driver_info(int chip_id, struct mtd_info *mtd) in doc_set_driver_info() argument
1837 switch (chip_id) { in doc_set_driver_info()
1885 u16 chip_id, chip_id_inv; in doc_probe_device() local
1912 chip_id = doc_register_readw(docg3, DOC_CHIPID); in doc_probe_device()
1916 if (chip_id != (u16)(~chip_id_inv)) { in doc_probe_device()
1920 switch (chip_id) { in doc_probe_device()
1926 doc_err("Chip id %04x is not a DiskOnChip G3 chip\n", chip_id); in doc_probe_device()
1930 ret = doc_set_driver_info(chip_id, mtd); in doc_probe_device()
/linux-4.4.14/drivers/net/ethernet/renesas/
Dravb_main.c895 if (priv->chip_id == RCAR_GEN3) { in ravb_phy_init()
1219 if (priv->chip_id == RCAR_GEN3) { in ravb_open()
1250 if (priv->chip_id == RCAR_GEN3) in ravb_open()
1672 enum ravb_chip_id chip_id; in ravb_probe() local
1703 chip_id = (enum ravb_chip_id)match->data; in ravb_probe()
1705 if (chip_id == RCAR_GEN3) in ravb_probe()
1739 if (chip_id == RCAR_GEN3) { in ravb_probe()
1748 priv->chip_id = chip_id; in ravb_probe()
Dravb.h815 enum ravb_chip_id chip_id; member
/linux-4.4.14/Documentation/backlight/
Dlp855x-driver.txt26 2) chip_id
/linux-4.4.14/include/uapi/video/
Dsisfb.h82 __u32 chip_id; /* PCI-ID of detected chip */ member
/linux-4.4.14/drivers/net/ethernet/packetengines/
Dhamachi.c493 int chip_id; member
584 int chip_id = ent->driver_data; in hamachi_init_one() local
688 hmp->chip_id = chip_id; in hamachi_init_one()
727 dev->ethtool_ops = (chip_tbl[hmp->chip_id].flags & CanHaveMII) ? in hamachi_init_one()
740 dev->name, chip_tbl[chip_id].name, readl(ioaddr + ChipRev), in hamachi_init_one()
749 if (chip_tbl[hmp->chip_id].flags & CanHaveMII) { in hamachi_init_one()
Dyellowfin.c321 int chip_id, drv_flags; member
434 np->chip_id = chip_idx; in yellowfin_init_one()
1115 (yp->chip_id ? 7 : 8 + buf_addr[data_size - 8]); in yellowfin_rx()
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dcore.c514 u8 board_id, chip_id; in ath10k_core_get_board_id_from_otp() local
545 chip_id = MS(result, ATH10K_BMI_CHIP_ID_FROM_OTP); in ath10k_core_get_board_id_from_otp()
549 result, board_id, chip_id); in ath10k_core_get_board_id_from_otp()
556 ar->id.bmi_chip_id = chip_id; in ath10k_core_get_board_id_from_otp()
1902 int ath10k_core_register(struct ath10k *ar, u32 chip_id) in ath10k_core_register() argument
1904 ar->chip_id = chip_id; in ath10k_core_register()
Dpci.c1874 switch (MS(ar->chip_id, SOC_CHIP_ID_REV)) { in ath10k_pci_get_num_banks()
2966 static bool ath10k_pci_chip_is_supported(u32 dev_id, u32 chip_id) in ath10k_pci_chip_is_supported() argument
2970 u32 rev_id = MS(chip_id, SOC_CHIP_ID_REV); in ath10k_pci_chip_is_supported()
2990 u32 chip_id; in ath10k_pci_probe() local
3096 chip_id = ath10k_pci_soc_read32(ar, SOC_CHIP_ID_ADDRESS); in ath10k_pci_probe()
3097 if (chip_id == 0xffffffff) { in ath10k_pci_probe()
3102 if (!ath10k_pci_chip_is_supported(pdev->device, chip_id)) { in ath10k_pci_probe()
3104 pdev->device, chip_id); in ath10k_pci_probe()
3108 ret = ath10k_core_register(ar, chip_id); in ath10k_pci_probe()
Dcore.h602 u32 chip_id; member
867 int ath10k_core_register(struct ath10k *ar, u32 chip_id);
Ddebug.c69 __le32 chip_id; member
142 ar->chip_id, in ath10k_print_driver_info()
643 len = scnprintf(buf, sizeof(buf), "0x%08x\n", ar->chip_id); in ath10k_read_chip_id()
707 dump_data->chip_id = cpu_to_le32(ar->chip_id); in ath10k_build_dump_file()
/linux-4.4.14/drivers/input/touchscreen/
Dwdt87xx_i2c.c508 u8 chip_id; in wdt87xx_validate_firmware() local
538 chip_id = (wdt->param.fw_id >> 12) & 0xF; in wdt87xx_validate_firmware()
540 if (fw_chip_id != chip_id) { in wdt87xx_validate_firmware()
543 fw_chip_id, chip_id); in wdt87xx_validate_firmware()
/linux-4.4.14/drivers/media/platform/marvell-ccic/
Dmcam-core.h109 enum mcam_chip_id chip_id; member
Dmmp-driver.c372 mcam->chip_id = MCAM_ARMADA610; in mmpcam_probe()
Dcafe-driver.c477 mcam->chip_id = MCAM_CAFE; in cafe_pci_probe()
Dmcam-core.c448 if (cam->chip_id == MCAM_CAFE) in mcam_ctlr_dma_vmalloc()
1781 cam->chip_id == MCAM_CAFE) { in mccic_register()
/linux-4.4.14/arch/powerpc/include/asm/
Dopal.h159 int64_t opal_lpc_write(uint32_t chip_id, enum OpalLPCAddressType addr_type,
161 int64_t opal_lpc_read(uint32_t chip_id, enum OpalLPCAddressType addr_type,
Dopal-api.h554 __be32 chip_id; /* for CHECKSTOP_TYPE_NX */ member
/linux-4.4.14/drivers/media/usb/au0828/
Dau0828-dvb.c90 .chip_id = XC5000A,
97 .chip_id = XC5000C,
/linux-4.4.14/drivers/net/ethernet/dlink/
Ddl2k.h384 unsigned int chip_id; /* PCI table chip id */ member
Ddl2k.c162 np->chip_id = chip_idx; in rio_probe1()
256 if (np->chip_id == CHIP_IP1000A && in rio_probe1()
377 if (np->chip_id == CHIP_IP1000A) { in parse_eeprom()
433 if (np->chip_id != CHIP_IP1000A) in rio_set_led_mode()
Dsundance.c394 int chip_id; member
551 np->chip_id = chip_idx; in sundance_probe1()
600 if (sundance_pci_tbl[np->chip_id].device == 0x0200) { in sundance_probe1()
/linux-4.4.14/drivers/net/ethernet/smsc/
Dsmc911x.c1792 unsigned int val, chip_id, revision; in smc911x_probe() local
1813 chip_id = SMC_GET_PN(lp); in smc911x_probe()
1815 CARDNAME, chip_id); in smc911x_probe()
1817 if (chip_ids[i].id == chip_id) break; in smc911x_probe()
1820 netdev_err(dev, "Unknown chip ID %04x\n", chip_id); in smc911x_probe()
Dsmc911x.h690 struct chip_id { struct
695 static const struct chip_id chip_ids[] = { argument
Depic100.c276 int chip_id, chip_flags; member
431 ep->chip_id = chip_idx; in epic_init_one()
/linux-4.4.14/drivers/net/irda/
Dvia-ircc.c307 self->chip_id = id; in via_ircc_open()
843 if (self->chip_id == 0x3076) in via_ircc_hard_xmit_fir()
1043 if (self->chip_id == 0x3076) { in via_ircc_dma_receive_complete()
1047 if (self->chip_id == 0x3096) { in via_ircc_dma_receive_complete()
Dvia-ircc.h115 unsigned int chip_id; /* to remember chip id */ member
/linux-4.4.14/Documentation/misc-devices/
Dapds990x.txt48 chip_id
Dbh1770glc.txt47 chip_id
/linux-4.4.14/drivers/net/ethernet/broadcom/
Dcnic_if.h208 u32 chip_id; member
Dcnic.h307 u32 chip_id; member
Dbnx2.h6866 u32 chip_id; member
6868 #define BNX2_CHIP(bp) (((bp)->chip_id) & 0xffff0000)
6873 #define BNX2_CHIP_REV(bp) (((bp)->chip_id) & 0x0000f000)
6878 #define BNX2_CHIP_METAL(bp) (((bp)->chip_id) & 0x00000ff0)
6879 #define BNX2_CHIP_BOND(bp) (((bp)->chip_id) & 0x0000000f)
6881 #define BNX2_CHIP_ID(bp) (((bp)->chip_id) & 0xfffffff0)
/linux-4.4.14/drivers/char/agp/
Dintel-agp.c698 unsigned int chip_id; member
747 if (pdev->device == intel_agp_chipsets[i].chip_id) { in agp_intel_probe()
/linux-4.4.14/drivers/video/fbdev/aty/
Datyfb_base.c443 u32 chip_id; in correct_chipset() local
461 chip_id = aty_ld_le32(CNFG_CHIP_ID, par); in correct_chipset()
462 type = chip_id & CFG_CHIP_TYPE; in correct_chipset()
463 rev = (chip_id & CFG_CHIP_REV) >> 24; in correct_chipset()
2945 u32 mem, chip_id; in atyfb_setup_sparc() local
3037 chip_id = aty_ld_le32(CNFG_CHIP_ID, par); in atyfb_setup_sparc()
3038 if (((chip_id & CFG_CHIP_TYPE) == VT_CHIP_ID) && !((chip_id >> 24) & 1)) { in atyfb_setup_sparc()
/linux-4.4.14/drivers/net/ethernet/via/
Dvia-velocity.h1143 enum chip_type chip_id; member
1444 enum chip_type chip_id; member
Dvia-velocity.c401 static const char *get_chip_name(enum chip_type chip_id) in get_chip_name() argument
405 if (chip_info_table[i].chip_id == chip_id) in get_chip_name()
2661 vptr->chip_id = info->chip_id; in velocity_init_info()
2746 printk(KERN_INFO "%s: %s\n", dev->name, get_chip_name(vptr->chip_id)); in velocity_print_info()
/linux-4.4.14/drivers/scsi/mvsas/
Dmv_init.c377 mvi->chip_id = ent->driver_data; in mvs_pci_alloc()
378 mvi->chip = &mvs_chips[mvi->chip_id]; in mvs_pci_alloc()
Dmv_sas.h387 u32 chip_id; member
/linux-4.4.14/drivers/video/fbdev/sis/
Dsis.h437 unsigned short chip_id; /* PCI ID of chip */ member
/linux-4.4.14/drivers/net/can/softing/
Dsofting_main.c638 uint16_t chip_id) in softing_netdev_create() argument
656 priv->chip = chip_id; in softing_netdev_create()
/linux-4.4.14/drivers/scsi/csiostor/
Dcsio_hw.h450 uint16_t chip_id; /* Tells T4/T5 chip */ member
/linux-4.4.14/drivers/isdn/hisax/
Dhfc4s8s_l1.c83 int chip_id; member
1428 if (i != hw->driver_data.chip_id) { in setup_instance()
1431 i, hw->driver_data.chip_id); in setup_instance()
/linux-4.4.14/drivers/media/platform/soc_camera/
Drcar_vin.c141 enum chip_id { enum
489 enum chip_id chip;
1951 priv->chip = (enum chip_id)match->data; in rcar_vin_probe()
/linux-4.4.14/arch/arc/kernel/
Dsetup.c190 core->family, core->cpu_id, core->chip_id); in arc_cpu_mumbojumbo()
/linux-4.4.14/drivers/scsi/arcmsr/
Darcmsr.h577 u32 __iomem *chip_id; /* 0x00004 */ member
/linux-4.4.14/drivers/net/ethernet/
Dfealnx.c489 unsigned int chip_id = ent->driver_data; in fealnx_init_one() local
553 np->flags = skel_netdrv_tbl[chip_id].flags; in fealnx_init_one()
668 dev->name, skel_netdrv_tbl[chip_id].chip_name, ioaddr, in fealnx_init_one()
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dfimc-is-param.h962 u32 chip_id; member
/linux-4.4.14/drivers/mtd/nand/
Dpxa3xx_nand.c269 uint32_t chip_id; member
470 if (f->chip_id == id) in pxa3xx_nand_init_timings_compat()
/linux-4.4.14/drivers/net/wireless/b43legacy/
Dmain.c1925 if (dev->dev->bus->chip_id == 0x4301) { in b43legacy_gpio_init()
2072 if (dev->dev->bus->chip_id == 0x4306 && in b43legacy_adjust_opmode()
3057 if (dev->dev->bus->chip_id == 0x4317) { in b43legacy_phy_versioning()
3870 dev->bus->chip_id, dev->id.revision); in b43legacy_wireless_init()

12