Lines Matching +full:per +full:- +full:board
1 /* SPDX-License-Identifier: GPL-2.0 */
12 #include <linux/dma-mapping.h>
41 u16 board_rev; /* Board revision number from SPROM. */
42 u16 board_num; /* Board number from SPROM. */
43 u16 board_type; /* Board type from SPROM. */
70 u8 itssi_a; /* Idle TSSI Target for A-PHY */
71 u8 itssi_bg; /* Idle TSSI Target for B/G-PHY */
77 u8 txpid5gl[4]; /* 4.9 - 5.1GHz TX power index */
78 u8 txpid5g[4]; /* 5.1 - 5.5GHz TX power index */
79 u8 txpid5gh[4]; /* 5.5 - ...GHz TX power index */
99 u16 boardflags_lo; /* Board flags (bits 0-15) */
100 u16 boardflags_hi; /* Board flags (bits 16-31) */
101 u16 boardflags2_lo; /* Board flags (bits 32-47) */
102 u16 boardflags2_hi; /* Board flags (bits 48-63) */
168 /* power per rate from sromrev 9 */
223 /* Core-ID values. */
258 /* Vendor-ID values */
261 /* Some kernel subsystems poke with dev->drvdata, so we must use the
281 /* Internal-only stuff follows. */
282 void *drvdata; /* Per-device data */
283 void *devtypedata; /* Per-devicetype (eg 802.11) data */
292 return wrap->sdev; in dev_to_ssb_dev()
299 dev->drvdata = data; in ssb_set_drvdata()
304 return dev->drvdata; in ssb_get_drvdata()
307 /* Devicetype specific user data. This is per device-type (not per device) */
312 return dev->devtypedata; in ssb_get_devtypedata()
365 #define SSB_BOARD_BCM94308MP 0x0430 /* 11a-only minipci */
423 * Not valid on all host-buses. So don't use outside of SSB. */
432 * On PCMCIA-host busses this is used to protect the whole MMIO access. */
435 /* The host-bus this backplane is running on. */
437 /* Pointers to the host-bus. Check bustype before using any of these pointers. */
471 /* The PCI-core device (if available). */
473 /* The MIPS-core device (if available). */
475 /* The EXTif-core device (if available). */
487 /* If the board has a cardbus slot, this is set to true. */
500 /* Internal-only stuff follows. Do not touch. */
508 /* SDIO connected card requires performing a read after writing a 32-bit value */
512 /* The initialization-invariants. */
517 * EEPROM or NVRAM on the board. */
519 /* If the board has a cardbus slot, this is set to true. */
567 /* Enable a device and pass device-specific SSB_TMSLOW flags.
568 * If no device-specific flags are available, use 0. */
577 return dev->ops->read8(dev, offset); in ssb_read8()
581 return dev->ops->read16(dev, offset); in ssb_read16()
585 return dev->ops->read32(dev, offset); in ssb_read32()
589 dev->ops->write8(dev, offset, value); in ssb_write8()
593 dev->ops->write16(dev, offset, value); in ssb_write16()
597 dev->ops->write32(dev, offset, value); in ssb_write32()
603 dev->ops->block_read(dev, buffer, count, offset, reg_width); in ssb_block_read()
609 dev->ops->block_write(dev, buffer, count, offset, reg_width); in ssb_block_write()
628 "unsupported bustype %d\n", dev->bus->bustype); in __ssb_dma_not_implemented()
633 /* PCI-host wrapper driver */
643 if (sdev->bus->bustype == SSB_BUSTYPE_PCI) in ssb_pcihost_set_power_state()
644 pci_set_power_state(sdev->bus->host_pci, state); in ssb_pcihost_set_power_state()
663 /* Before initializing and enabling a device, call this to power-up the bus.
664 * If you want to allow use of dynamic-power-control, pass the flag.
665 * Otherwise static always-on powercontrol will be used. */