Searched refs:bus (Results 226 - 250 of 2207) sorted by relevance

1234567891011>>

/linux-master/drivers/pci/pcie/
H A Daer_inject.c35 u8 bus; member in struct:aer_error_inj
50 unsigned int bus; member in struct:aer_error
66 struct pci_bus *bus; member in struct:pci_bus_ops
78 unsigned int bus, unsigned int devfn,
83 err->bus = bus;
89 static struct aer_error *__find_aer_error(u32 domain, unsigned int bus, argument
96 bus == err->bus &&
106 int domain = pci_domain_nr(dev->bus);
77 aer_error_init(struct aer_error *err, u32 domain, unsigned int bus, unsigned int devfn, int pos_cap_err) argument
113 __find_pci_bus_ops(struct pci_bus *bus) argument
181 aer_inj_read(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument
199 aer_inj_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
217 aer_inj_read_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 *val) argument
248 aer_inj_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
288 pci_bus_ops_init(struct pci_bus_ops *bus_ops, struct pci_bus *bus, struct pci_ops *ops) argument
297 pci_bus_set_aer_ops(struct pci_bus *bus) argument
[all...]
/linux-master/drivers/net/wireless/quantenna/qtnfmac/
H A Dtrans.c11 #include "bus.h"
15 int qtnf_trans_send_cmd_with_resp(struct qtnf_bus *bus, struct sk_buff *cmd_skb, argument
18 struct qtnf_cmd_ctl_node *ctl_node = &bus->trans.curr_cmd;
37 ret = qtnf_bus_control_tx(bus, cmd_skb);
81 static void qtnf_trans_signal_cmdresp(struct qtnf_bus *bus, struct sk_buff *skb) argument
83 struct qtnf_cmd_ctl_node *ctl_node = &bus->trans.curr_cmd;
112 static int qtnf_trans_event_enqueue(struct qtnf_bus *bus, struct sk_buff *skb) argument
114 struct qtnf_qlink_transport *trans = &bus->trans;
119 queue_work(bus->workqueue, &bus
129 qtnf_trans_init(struct qtnf_bus *bus) argument
147 qtnf_trans_free_events(struct qtnf_bus *bus) argument
158 qtnf_trans_free(struct qtnf_bus *bus) argument
168 qtnf_trans_handle_rx_ctl_packet(struct qtnf_bus *bus, struct sk_buff *skb) argument
[all...]
/linux-master/drivers/net/dsa/
H A Dmt7530-mdio.c22 struct mii_bus *bus = priv->bus; local
31 ret = bus->write(bus, priv->mdiodev->addr, 0x1f, page);
35 ret = bus->write(bus, priv->mdiodev->addr, r, lo);
39 ret = bus->write(bus, priv->mdiodev->addr, 0x10, hi);
47 struct mii_bus *bus = priv->bus; local
[all...]
/linux-master/sound/pci/hda/
H A Dhda_controller.c212 struct hdac_bus *bus = azx_bus(chip); local
255 spin_lock(&bus->reg_lock);
271 spin_unlock(&bus->reg_lock);
275 spin_lock(&bus->reg_lock);
280 spin_unlock(&bus->reg_lock);
704 struct hdac_bus *bus = &_bus->core; local
705 struct azx *chip = bus_to_azx(bus);
770 static int azx_rirb_get_response(struct hdac_bus *bus, unsigned int addr, argument
773 struct azx *chip = bus_to_azx(bus);
774 struct hda_bus *hbus = &chip->bus;
867 azx_single_send_cmd(struct hdac_bus *bus, u32 val) argument
895 azx_single_get_response(struct hdac_bus *bus, unsigned int addr, unsigned int *res) argument
911 azx_send_cmd(struct hdac_bus *bus, unsigned int val) argument
924 azx_get_response(struct hdac_bus *bus, unsigned int addr, unsigned int *res) argument
951 struct hdac_bus *bus = azx_bus(chip); local
965 struct hdac_bus *bus = &codec->bus->core; local
997 struct hdac_bus *bus = &codec->bus->core; local
1008 struct hdac_bus *bus = &codec->bus->core; local
1041 struct hdac_bus *bus = azx_bus(chip); local
1056 stream_update(struct hdac_bus *bus, struct hdac_stream *s) argument
1073 struct hdac_bus *bus = azx_bus(chip); local
1135 struct hdac_bus *bus = azx_bus(chip); local
1151 snd_hda_bus_reset(struct hda_bus *bus) argument
1166 struct hda_bus *bus = &chip->bus; local
1202 struct hdac_bus *bus = azx_bus(chip); local
1327 struct hdac_bus *bus = azx_bus(chip); local
[all...]
/linux-master/arch/sparc/include/asm/
H A Dtopology_64.h28 #define cpumask_of_pcibus(bus) \
29 (pcibus_to_node(bus) == -1 ? \
31 cpumask_of_node(pcibus_to_node(bus)))
/linux-master/arch/mips/pci/
H A Dfixup-rc32434.c43 if (dev->bus->number < 2 && PCI_SLOT(dev->devfn) < 12)
44 irq = irq_map[dev->bus->number][PCI_SLOT(dev->devfn)];
51 if (PCI_SLOT(dev->devfn) == 6 && dev->bus->number == 0) {
H A Dpci-bcm1480.c40 #define CFGOFFSET(bus, devfn, where) (((bus)<<16)+((devfn)<<8)+(where))
41 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where)
81 * In PCI Device Mode, hide everything on bus 0 except the LDT host
84 static int bcm1480_pci_can_access(struct pci_bus *bus, int devfn) argument
91 if (bus->number == 0) {
107 static int bcm1480_pcibios_read(struct pci_bus *bus, unsigned int devfn, argument
117 if (bcm1480_pci_can_access(bus, devfn))
118 data = READCFG32(CFGADDR(bus, devf
132 bcm1480_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
[all...]
H A Dpci-sb1250.c40 #define CFGOFFSET(bus, devfn, where) (((bus)<<16) + ((devfn)<<8) + (where))
41 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where)
88 * In PCI Device Mode, hide everything on bus 0 except the LDT host
91 static int sb1250_pci_can_access(struct pci_bus *bus, int devfn) argument
98 if (bus->number == 0) {
116 static int sb1250_pcibios_read(struct pci_bus *bus, unsigned int devfn, argument
126 if (sb1250_pci_can_access(bus, devfn))
127 data = READCFG32(CFGADDR(bus, devf
141 sb1250_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
[all...]
H A Dpci-bcm1480ht.c38 #define CFGOFFSET(bus, devfn, where) (((bus)<<16)+((devfn)<<8)+(where))
39 #define CFGADDR(bus, devfn, where) CFGOFFSET((bus)->number, (devfn), where)
72 * In PCI Device Mode, hide everything on bus 0 except the LDT host
75 static int bcm1480ht_can_access(struct pci_bus *bus, int devfn) argument
82 if (bus->number == 0) {
96 static int bcm1480ht_pcibios_read(struct pci_bus *bus, unsigned int devfn, argument
106 if (bcm1480ht_can_access(bus, devfn))
107 data = READCFG32(CFGADDR(bus, devf
121 bcm1480ht_pcibios_write(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 val) argument
[all...]
H A Dpci-generic.c36 host_bridge = pci_find_host_bridge(dev->bus);
45 void pcibios_fixup_bus(struct pci_bus *bus) argument
47 pci_read_bridge_bases(bus);
H A Dpci-ip27.c21 int pcibus_to_node(struct pci_bus *bus) argument
23 struct bridge_controller *bc = BRIDGE_CONTROLLER(bus);
32 int nasid = pcibus_to_node(dev->bus);
/linux-master/tools/power/cpupower/utils/helpers/
H A Dpci.c15 * bus: bus
26 struct pci_dev *pci_acc_init(struct pci_access **pacc, int domain, int bus, argument
38 filter_nb_link.bus = bus;
56 and bus */
/linux-master/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_mdio.c14 static int ngbe_phy_read_reg_internal(struct mii_bus *bus, int phy_addr, int regnum) argument
16 struct wx *wx = bus->priv;
23 static int ngbe_phy_write_reg_internal(struct mii_bus *bus, int phy_addr, int regnum, u16 value) argument
25 struct wx *wx = bus->priv;
32 static int ngbe_phy_read_reg_c22(struct mii_bus *bus, int phy_addr, int regnum) argument
34 struct wx *wx = bus->priv;
38 phy_data = ngbe_phy_read_reg_internal(bus, phy_addr, regnum);
40 phy_data = wx_phy_read_reg_mdi_c22(bus, phy_addr, regnum);
45 static int ngbe_phy_write_reg_c22(struct mii_bus *bus, int phy_addr, argument
48 struct wx *wx = bus
[all...]
/linux-master/drivers/pci/
H A Dirq.c97 if (pci_ari_enabled(dev->bus))
113 while (!pci_is_root_bus(dev->bus)) {
115 dev = dev->bus->self;
127 * bridges all the way up to a PCI root bus.
133 while (!pci_is_root_bus(dev->bus)) {
135 dev = dev->bus->self;
147 struct pci_host_bridge *hbrg = pci_find_host_bridge(dev->bus);
155 * If this device is not on the primary bus, we need to figure out
192 struct pci_bus *bus = dev->bus; local
[all...]
/linux-master/include/trace/events/
H A Dmdio.h12 TP_PROTO(struct mii_bus *bus, char read,
15 TP_ARGS(bus, read, addr, regnum, val, err),
28 strscpy(__entry->busid, bus->id, MII_BUS_ID_SIZE);
/linux-master/drivers/net/wireless/quantenna/qtnfmac/pcie/
H A Dpcie_priv.h15 #include "bus.h"
26 int (*probe_cb)(struct qtnf_bus *bus, unsigned int tx_bd_size,
28 void (*remove_cb)(struct qtnf_bus *bus);
29 int (*suspend_cb)(struct qtnf_bus *bus);
30 int (*resume_cb)(struct qtnf_bus *bus);
72 int qtnf_pcie_control_tx(struct qtnf_bus *bus, struct sk_buff *skb);
74 int qtnf_pcie_fw_boot_done(struct qtnf_bus *bus);
/linux-master/drivers/xen/xenbus/
H A Dxenbus.h45 int (*probe)(struct xen_bus_type *bus, const char *type,
51 struct bus_type bus; member in struct:xen_bus_type
111 struct xen_bus_type *bus,
114 int xenbus_probe_node(struct xen_bus_type *bus,
117 int xenbus_probe_devices(struct xen_bus_type *bus);
119 void xenbus_dev_changed(const char *node, struct xen_bus_type *bus);
/linux-master/drivers/pnp/isapnp/
H A Dproc.c59 struct pnp_card *bus = dev->card; local
62 if (!bus->procdir) {
63 sprintf(name, "%02x", bus->number);
64 bus->procdir = proc_mkdir(name, isapnp_proc_bus_dir);
65 if (!bus->procdir)
69 dev->procent = proc_create_data(name, S_IFREG | S_IRUGO, bus->procdir,
81 isapnp_proc_bus_dir = proc_mkdir("bus/isapnp", NULL);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/bus/
H A Dnv50.c31 nv50_bus_hwsq_exec(struct nvkm_bus *bus, u32 *data, u32 size) argument
33 struct nvkm_device *device = bus->subdev.device;
53 nv50_bus_intr(struct nvkm_bus *bus) argument
55 struct nvkm_subdev *subdev = &bus->subdev;
86 nv50_bus_init(struct nvkm_bus *bus) argument
88 struct nvkm_device *device = bus->subdev.device;
/linux-master/drivers/pci/controller/
H A Dpci-host-common.c28 struct resource_entry *bus; local
37 bus = resource_list_first_type(&bridge->windows, IORESOURCE_BUS);
38 if (!bus)
41 cfg = pci_ecam_create(dev, &cfgres, bus->res, ops);
93 pci_stop_root_bus(bridge->bus);
94 pci_remove_root_bus(bridge->bus);
/linux-master/drivers/net/mdio/
H A Dmdio-bcm-unimac.c3 * Broadcom UniMAC MDIO bus controller driver
91 static int unimac_mdio_read(struct mii_bus *bus, int phy_id, int reg) argument
93 struct unimac_mdio_priv *priv = bus->priv;
119 if (!(bus->phy_ignore_ta_mask & 1 << phy_id) && (cmd & MDIO_READ_FAIL)) {
130 static int unimac_mdio_write(struct mii_bus *bus, int phy_id, argument
133 struct unimac_mdio_priv *priv = bus->priv;
164 * bus->reset is invoked before mdiobus_scan during mdiobus_register and is
166 * to read from non-existing PHYs, we either use bus->phy_mask or do a manual
169 static int unimac_mdio_reset(struct mii_bus *bus) argument
171 struct device_node *np = bus
241 struct mii_bus *bus; local
[all...]
/linux-master/drivers/base/regmap/
H A Dregmap-i2c.c310 const struct regmap_bus *bus = NULL; local
315 bus = &regmap_i2c;
319 bus = &regmap_i2c_smbus_i2c_block;
323 bus = &regmap_i2c_smbus_i2c_block_reg16;
329 bus = &regmap_smbus_word;
332 bus = &regmap_smbus_word_swapped;
340 bus = &regmap_smbus_byte;
342 if (!bus)
348 (bus->max_raw_read == 0 || bus
375 const struct regmap_bus *bus = regmap_get_i2c_bus(i2c, config); local
390 const struct regmap_bus *bus = regmap_get_i2c_bus(i2c, config); local
[all...]
/linux-master/drivers/eisa/
H A DMakefile4 obj-$(CONFIG_EISA) += eisa-bus.o
15 $(obj)/eisa-bus.o: $(obj)/devlist.h
/linux-master/arch/alpha/kernel/
H A Dcore_polaris.c37 * Given a bus, device, and function number, compute resulting
40 * cycles automatically depending on the bus number (Bus 0 is
52 * 23:16 bus number (8 bits = 128 possible buses)
70 u8 bus = pbus->number; local
72 *type1 = (bus == 0) ? 0 : 1;
73 *pci_addr = (bus << 16) | (device_fn << 8) | (where) |
76 DBG_CFG(("mk_conf_addr(bus=%d ,device_fn=0x%x, where=0x%x,"
78 bus, device_fn, where, *pci_addr));
84 polaris_read_config(struct pci_bus *bus, unsigned int devfn, int where, argument
90 if (mk_conf_addr(bus, devf
110 polaris_write_config(struct pci_bus *bus, unsigned int devfn, int where, int size, u32 value) argument
[all...]
/linux-master/arch/powerpc/kernel/
H A Dmsi.c14 struct pci_controller *phb = pci_bus_to_host(dev->bus);
31 struct pci_controller *phb = pci_bus_to_host(dev->bus);

Completed in 508 milliseconds

1234567891011>>