Home
last modified time | relevance | path

Searched refs:boardinfo (Results 1 – 26 of 26) sorted by relevance

/linux-4.1.27/drivers/staging/comedi/drivers/
Dvmk80xx.c703 const struct vmk80xx_board *boardinfo = dev->board_ptr; in vmk80xx_init_subdevices() local
725 s->n_chan = boardinfo->ai_nchans; in vmk80xx_init_subdevices()
726 s->maxdata = boardinfo->ai_maxdata; in vmk80xx_init_subdevices()
727 s->range_table = boardinfo->range; in vmk80xx_init_subdevices()
734 s->n_chan = boardinfo->ao_nchans; in vmk80xx_init_subdevices()
736 s->range_table = boardinfo->range; in vmk80xx_init_subdevices()
747 s->n_chan = boardinfo->di_nchans; in vmk80xx_init_subdevices()
766 s->maxdata = boardinfo->cnt_maxdata; in vmk80xx_init_subdevices()
779 s->n_chan = boardinfo->pwm_nchans; in vmk80xx_init_subdevices()
780 s->maxdata = boardinfo->pwm_maxdata; in vmk80xx_init_subdevices()
[all …]
/linux-4.1.27/arch/mips/include/asm/mach-bcm47xx/
Dbcm47xx.h52 void bcm47xx_fill_ssb_boardinfo(struct ssb_boardinfo *boardinfo,
56 void bcm47xx_fill_bcma_boardinfo(struct bcma_boardinfo *boardinfo,
/linux-4.1.27/arch/mips/bcm47xx/
Dsetup.c110 memset(&iv->boardinfo, 0 , sizeof(struct ssb_boardinfo)); in bcm47xx_get_invariants()
112 bcm47xx_fill_ssb_boardinfo(&iv->boardinfo, NULL); in bcm47xx_get_invariants()
210 bcm47xx_fill_bcma_boardinfo(&bcm47xx_bus.bcma.bus.boardinfo, in bcm47xx_bus_setup()
Dsprom.c622 void bcm47xx_fill_ssb_boardinfo(struct ssb_boardinfo *boardinfo, in bcm47xx_fill_ssb_boardinfo() argument
625 nvram_read_u16(prefix, NULL, "boardvendor", &boardinfo->vendor, 0, in bcm47xx_fill_ssb_boardinfo()
627 if (!boardinfo->vendor) in bcm47xx_fill_ssb_boardinfo()
628 boardinfo->vendor = SSB_BOARDVENDOR_BCM; in bcm47xx_fill_ssb_boardinfo()
630 nvram_read_u16(prefix, NULL, "boardtype", &boardinfo->type, 0, true); in bcm47xx_fill_ssb_boardinfo()
635 void bcm47xx_fill_bcma_boardinfo(struct bcma_boardinfo *boardinfo, in bcm47xx_fill_bcma_boardinfo() argument
638 nvram_read_u16(prefix, NULL, "boardvendor", &boardinfo->vendor, 0, in bcm47xx_fill_bcma_boardinfo()
640 if (!boardinfo->vendor) in bcm47xx_fill_bcma_boardinfo()
641 boardinfo->vendor = SSB_BOARDVENDOR_BCM; in bcm47xx_fill_bcma_boardinfo()
643 nvram_read_u16(prefix, NULL, "boardtype", &boardinfo->type, 0, true); in bcm47xx_fill_bcma_boardinfo()
/linux-4.1.27/drivers/net/wireless/b43/
Dbus.c120 dev->board_vendor = core->bus->boardinfo.vendor; in b43_bus_dev_bcma_init()
121 dev->board_type = core->bus->boardinfo.type; in b43_bus_dev_bcma_init()
219 dev->board_vendor = sdev->bus->boardinfo.vendor; in b43_bus_dev_ssb_init()
220 dev->board_type = sdev->bus->boardinfo.type; in b43_bus_dev_ssb_init()
Dmain.c5572 if (bus->boardinfo.vendor == SSB_BOARDVENDOR_DELL && in b43_sprom_fixup()
5575 if (bus->boardinfo.vendor == PCI_VENDOR_ID_APPLE && in b43_sprom_fixup()
5576 bus->boardinfo.type == 0x4E && bus->sprom.board_rev > 0x40) in b43_sprom_fixup()
/linux-4.1.27/drivers/i2c/
DMakefile5 obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o
/linux-4.1.27/drivers/net/wireless/b43legacy/
Dleds.c211 if (bus->boardinfo.vendor == PCI_VENDOR_ID_COMPAQ) in b43legacy_leds_init()
216 if (bus->boardinfo.vendor == PCI_VENDOR_ID_ASUSTEK) in b43legacy_leds_init()
Dradio.c1981 dev->dev->bus->boardinfo.type == 0x421 && in b43legacy_default_radio_attenuation()
1985 dev->dev->bus->boardinfo.type == 0x416) in b43legacy_default_radio_attenuation()
1991 dev->dev->bus->boardinfo.type == 0x421 && in b43legacy_default_radio_attenuation()
2001 dev->dev->bus->boardinfo.type == 0x421 && in b43legacy_default_radio_attenuation()
2005 dev->dev->bus->boardinfo.type == in b43legacy_default_radio_attenuation()
2035 dev->dev->bus->boardinfo.type == 0x421) { in b43legacy_default_radio_attenuation()
Dphy.c170 (dev->dev->bus->boardinfo.type == 0x0416)) in b43legacy_phy_init_pctl()
410 (dev->dev->bus->boardinfo.type == 0x0416) && in b43legacy_phy_setupg()
426 (dev->dev->bus->boardinfo.type == 0x0416) && in b43legacy_phy_setupg()
563 (dev->dev->bus->boardinfo.type != 0x0416)) { in b43legacy_phy_initb5()
1797 if ((dev->dev->bus->boardinfo.type == 0x0416) && in b43legacy_phy_xmitpower()
Db43legacy.h802 return (dev->dev->bus->boardinfo.vendor == PCI_VENDOR_ID_BROADCOM); in is_bcm_board_vendor()
Dmain.c3807 if (bus->boardinfo.vendor == PCI_VENDOR_ID_APPLE && in b43legacy_sprom_fixup()
3808 bus->boardinfo.type == 0x4E && in b43legacy_sprom_fixup()
/linux-4.1.27/arch/avr32/include/asm/
Dsetup.h111 struct tag_boardinfo boardinfo; member
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
Ddebug.c99 core->id.rev, bus->boardinfo.type, bus->boardinfo.vendor, in brcms_debugfs_hardware_read()
Daiutils.c484 sih->boardvendor = pbus->boardinfo.vendor; in ai_doattach()
485 sih->boardtype = pbus->boardinfo.type; in ai_doattach()
Dmain.c4421 core->bus->boardinfo.vendor, in brcms_b_attach()
4422 core->bus->boardinfo.type); in brcms_b_attach()
4459 wlc_hw->vendorid = core->bus->boardinfo.vendor; in brcms_b_attach()
4460 wlc_hw->deviceid = core->bus->boardinfo.type; in brcms_b_attach()
/linux-4.1.27/drivers/bcma/
Dhost_pci.c210 bus->boardinfo.vendor = bus->host_pci->subsystem_vendor; in bcma_host_pci_probe()
211 bus->boardinfo.type = bus->host_pci->subsystem_device; in bcma_host_pci_probe()
/linux-4.1.27/include/linux/ssb/
Dssb.h477 struct ssb_boardinfo boardinfo; member
510 struct ssb_boardinfo boardinfo; member
/linux-4.1.27/Documentation/DocBook/
D.device-drivers.xml.cmd2 …drivers/spi/spi.c drivers/spi/spi.c include/linux/i2c.h drivers/i2c/i2c-boardinfo.c drivers/i2c/i2…
/linux-4.1.27/drivers/ssb/
Dmain.c769 memcpy(&bus->boardinfo, &iv.boardinfo, sizeof(iv.boardinfo)); in ssb_fetch_invariants()
Dsdio.c476 struct ssb_boardinfo *bi = &iv->boardinfo; in ssb_sdio_get_invariants()
Dpcmcia.c624 struct ssb_boardinfo *bi = &iv->boardinfo; in ssb_pcmcia_do_get_invariants()
Dpci.c943 ssb_pci_get_boardinfo(bus, &iv->boardinfo); in ssb_pci_get_invariants()
/linux-4.1.27/include/linux/bcma/
Dbcma.h333 struct bcma_boardinfo boardinfo; member
/linux-4.1.27/arch/avr32/kernel/
Dsetup.c402 board_number = tag->u.boardinfo.board_number; in parse_tag_boardinfo()
/linux-4.1.27/drivers/spi/
Dspi.c203 struct boardinfo { struct
436 struct boardinfo *bi; in spi_register_board_info()
1519 struct boardinfo *bi; in spi_register_master()