Searched refs:bus (Results 251 - 275 of 2207) sorted by relevance

<<11121314151617181920>>

/linux-master/arch/mips/pci/
H A Dops-lantiq.c26 static int ltq_pci_config_access(unsigned char access_type, struct pci_bus *bus, argument
35 if ((bus->number != 0) || ((devfn & 0xf8) > 0x78)
42 cfg_base |= (bus->number << LTQ_PCI_CFG_BUSNUM_SHF) | (devfn <<
71 int ltq_pci_read_config_dword(struct pci_bus *bus, unsigned int devfn, argument
76 if (ltq_pci_config_access(PCI_ACCESS_READ, bus, devfn, where, &data))
89 int ltq_pci_write_config_dword(struct pci_bus *bus, unsigned int devfn, argument
97 if (ltq_pci_config_access(PCI_ACCESS_READ, bus,
109 if (ltq_pci_config_access(PCI_ACCESS_WRITE, bus, devfn, where, &data))
/linux-master/arch/mips/include/asm/mach-ip27/
H A Dtopology.h23 #define cpumask_of_pcibus(bus) (cpumask_of_node(pcibus_to_node(bus)))
/linux-master/drivers/i3c/master/mipi-i3c-hci/
H A Dibi.h32 struct i3c_bus *bus = i3c_master_get_bus(&hci->master); local
35 i3c_bus_for_each_i3cdev(bus, dev) {
/linux-master/drivers/base/regmap/
H A Dregmap-sccb.c103 const struct regmap_bus *bus = regmap_get_sccb_bus(i2c, config); local
105 if (IS_ERR(bus))
106 return ERR_CAST(bus);
108 return __regmap_init(&i2c->dev, bus, &i2c->dev, config,
118 const struct regmap_bus *bus = regmap_get_sccb_bus(i2c, config); local
120 if (IS_ERR(bus))
121 return ERR_CAST(bus);
123 return __devm_regmap_init(&i2c->dev, bus, &i2c->dev, config,
H A Dregmap-mdio.c89 const struct regmap_bus *bus; local
92 bus = &regmap_mdio_c22_bus;
94 bus = &regmap_mdio_c45_bus;
98 return __regmap_init(&mdio_dev->dev, bus, mdio_dev, config, lock_key, lock_name);
106 const struct regmap_bus *bus; local
109 bus = &regmap_mdio_c22_bus;
111 bus = &regmap_mdio_c45_bus;
115 return __devm_regmap_init(&mdio_dev->dev, bus, mdio_dev, config, lock_key, lock_name);
/linux-master/arch/microblaze/include/asm/
H A Dpci.h26 * bus numbers (don't do that on ppc64 yet !)
30 extern int pci_domain_nr(struct pci_bus *bus);
33 extern int pci_proc_domain(struct pci_bus *bus);
/linux-master/arch/x86/pci/
H A Dbus_numa.c10 static struct pci_root_info *x86_find_pci_root_info(int bus) argument
15 if (info->busn.start == bus)
21 int x86_pci_root_bus_node(int bus) argument
23 struct pci_root_info *info = x86_find_pci_root_info(bus);
31 void x86_pci_root_bus_resources(int bus, struct list_head *resources) argument
33 struct pci_root_info *info = x86_find_pci_root_info(bus);
41 printk(KERN_DEBUG "PCI: root bus %02x: hardware-probed resources\n",
42 bus);
65 printk(KERN_DEBUG "PCI: root bus %02x: using default resources\n", bus);
[all...]
/linux-master/drivers/pmdomain/bcm/
H A Dbcm-pmb.c80 u8 bus; member in struct:bcm_pmb_pd_data
90 static int bcm_pmb_bpcm_read(struct bcm_pmb *pmb, int bus, u8 device, argument
93 void __iomem *base = pmb->base + bus * 0x20;
107 static int bcm_pmb_bpcm_write(struct bcm_pmb *pmb, int bus, u8 device, argument
110 void __iomem *base = pmb->base + bus * 0x20;
123 static int bcm_pmb_power_off_zone(struct bcm_pmb *pmb, int bus, u8 device, argument
132 err = bcm_pmb_bpcm_read(pmb, bus, device, offset, &val);
139 err = bcm_pmb_bpcm_write(pmb, bus, device, offset, val);
144 static int bcm_pmb_power_on_zone(struct bcm_pmb *pmb, int bus, u8 device, argument
153 err = bcm_pmb_bpcm_read(pmb, bus, devic
170 bcm_pmb_power_off_device(struct bcm_pmb *pmb, int bus, u8 device) argument
192 bcm_pmb_power_on_device(struct bcm_pmb *pmb, int bus, u8 device) argument
211 bcm_pmb_power_on_sata(struct bcm_pmb *pmb, int bus, u8 device) argument
[all...]
/linux-master/arch/alpha/kernel/
H A Dsys_miata.c169 /* the next 7 are actually on PCI bus 1, across the bridge */
177 /* This bridge is on the main bus of the later orig MIATA */
186 struct pci_dev *pdev = pci_get_slot(dev->bus, dev->devfn & ~7);
207 if (dev->bus->number == 0) {
211 else if ((PCI_SLOT(dev->bus->self->devfn) == 8) ||
212 (PCI_SLOT(dev->bus->self->devfn) == 20)) {
219 if ((PCI_SLOT(dev->bus->self->devfn) == 8) ||
220 (PCI_SLOT(dev->bus->self->devfn) == 20)) {
227 dev = dev->bus->self;
230 } while (dev->bus
[all...]
/linux-master/drivers/nvdimm/
H A Dof_pmem.c14 struct nvdimm_bus *bus; member in struct:of_pmem_private
21 struct nvdimm_bus *bus; local
43 priv->bus = bus = nvdimm_bus_register(&pdev->dev, &priv->bus_desc);
44 if (!bus) {
70 region = nvdimm_volatile_region_create(bus, &ndr_desc);
73 region = nvdimm_pmem_region_create(bus, &ndr_desc);
91 nvdimm_bus_unregister(priv->bus);
/linux-master/include/sound/
H A Dhdaudio_ext.h9 int snd_hdac_ext_bus_init(struct hdac_bus *bus, struct device *dev,
13 void snd_hdac_ext_bus_exit(struct hdac_bus *bus);
14 void snd_hdac_ext_bus_device_remove(struct hdac_bus *bus);
26 int snd_hdac_ext_bus_get_ml_capabilities(struct hdac_bus *bus);
27 struct hdac_ext_link *snd_hdac_ext_bus_get_hlink_by_addr(struct hdac_bus *bus, int addr);
28 struct hdac_ext_link *snd_hdac_ext_bus_get_hlink_by_name(struct hdac_bus *bus,
75 int snd_hdac_ext_stream_init_all(struct hdac_bus *bus, int start_idx,
77 void snd_hdac_ext_stream_free_all(struct hdac_bus *bus);
78 void snd_hdac_ext_link_free_all(struct hdac_bus *bus);
79 struct hdac_ext_stream *snd_hdac_ext_stream_assign(struct hdac_bus *bus,
97 struct hdac_bus *bus; member in struct:hdac_ext_link
[all...]
/linux-master/drivers/xen/xen-pciback/
H A Dpci_stub.c43 unsigned char bus; member in struct:pcistub_device_id
119 .seg = pci_domain_nr(dev->bus),
120 .bus = dev->bus->number,
157 static struct pcistub_device *pcistub_device_find_locked(int domain, int bus, argument
164 && domain == pci_domain_nr(psdev->dev->bus)
165 && bus == psdev->dev->bus->number
175 static struct pcistub_device *pcistub_device_find(int domain, int bus, argument
183 psdev = pcistub_device_find_locked(domain, bus, slo
210 pcistub_get_pci_dev_by_slot(struct xen_pcibk_device *pdev, int domain, int bus, int slot, int func) argument
486 pcistub_device_id_add_list(struct pcistub_device_id *new, int domain, int bus, unsigned int devfn) argument
1004 str_to_slot(const char *buf, int *domain, int *bus, int *slot, int *func) argument
1041 str_to_quirk(const char *buf, int *domain, int *bus, int *slot, int *func, int *reg, int *size, int *mask) argument
1061 pcistub_device_id_add(int domain, int bus, int slot, int func) argument
1101 pcistub_device_id_remove(int domain, int bus, int slot, int func) argument
1130 pcistub_reg_add(int domain, int bus, int slot, int func, unsigned int reg, unsigned int size, unsigned int mask) argument
1175 int domain, bus, slot, func; local
1194 int domain, bus, slot, func; local
1267 int domain, bus, slot, func; local
1305 int domain, bus, slot, func, reg, size, mask; local
1369 int domain, bus, slot, func; local
1433 int domain, bus, slot, func; local
1511 int domain, bus, slot, func; local
[all...]
/linux-master/drivers/pci/
H A Dsetup-bus.c493 static void pbus_assign_resources_sorted(const struct pci_bus *bus, argument
500 list_for_each_entry(dev, &bus->devices, bus_list)
506 void pci_setup_cardbus(struct pci_bus *bus) argument
508 struct pci_dev *bridge = bus->self;
513 &bus->busn_res);
515 res = bus->resource[0];
516 pcibios_resource_to_bus(bridge->bus, &region, res);
529 res = bus->resource[1];
530 pcibios_resource_to_bus(bridge->bus, &region, res);
539 res = bus
671 __pci_setup_bridge(struct pci_bus *bus, unsigned long type) argument
690 pcibios_setup_bridge(struct pci_bus *bus, unsigned long type) argument
694 pci_setup_bridge(struct pci_bus *bus) argument
743 pci_bridge_check_ranges(struct pci_bus *bus) argument
777 find_bus_resource_of_type(struct pci_bus *bus, unsigned long type_mask, unsigned long type) argument
839 pcibios_window_alignment(struct pci_bus *bus, unsigned long type) argument
849 window_alignment(struct pci_bus *bus, unsigned long type) argument
883 pbus_size_io(struct pci_bus *bus, resource_size_t min_size, resource_size_t add_size, struct list_head *realloc_head) argument
993 pbus_size_mem(struct pci_bus *bus, unsigned long mask, unsigned long type, unsigned long type2, unsigned long type3, resource_size_t min_size, resource_size_t add_size, struct list_head *realloc_head) argument
1115 pci_bus_size_cardbus(struct pci_bus *bus, struct list_head *realloc_head) argument
1208 __pci_bus_size_bridges(struct pci_bus *bus, struct list_head *realloc_head) argument
1337 pci_bus_size_bridges(struct pci_bus *bus) argument
1382 __pci_bus_assign_resources(const struct pci_bus *bus, struct list_head *realloc_head, struct list_head *fail_head) argument
1418 pci_bus_assign_resources(const struct pci_bus *bus) argument
1526 pci_bridge_release_resources(struct pci_bus *bus, unsigned long type) argument
1594 pci_bus_release_bridge_resources(struct pci_bus *bus, unsigned long type, enum release_type rel_type) argument
1626 pci_bus_dump_res(struct pci_bus *bus) argument
1639 pci_bus_dump_resources(struct pci_bus *bus) argument
1656 pci_bus_get_depth(struct pci_bus *bus) argument
1724 pci_realloc_detect(struct pci_bus *bus, enum enable_type enable_local) argument
1744 pci_realloc_detect(struct pci_bus *bus, enum enable_type enable_local) argument
1833 pci_bus_distribute_available_resources(struct pci_bus *bus, struct list_head *add_list, struct resource io, struct resource mmio, struct resource mmio_pref) argument
2016 pci_root_bus_distribute_available_resources(struct pci_bus *bus, struct list_head *add_list) argument
2045 pci_assign_unassigned_root_bus_resources(struct pci_bus *bus) argument
2333 pci_assign_unassigned_bus_resources(struct pci_bus *bus) argument
[all...]
H A Dxen-pcifront.c33 struct pci_bus *bus; member in struct:pci_bus_entry
68 unsigned int domain, unsigned int bus,
175 static int pcifront_bus_read(struct pci_bus *bus, unsigned int devfn, argument
181 .domain = pci_domain_nr(bus),
182 .bus = bus->number,
187 struct pcifront_sd *sd = bus->sysdata;
192 pci_domain_nr(bus), bus->number, PCI_SLOT(devfn),
212 static int pcifront_bus_write(struct pci_bus *bus, unsigne argument
67 pcifront_init_sd(struct pcifront_sd *sd, unsigned int domain, unsigned int bus, struct pcifront_device *pdev) argument
407 pcifront_scan_bus(struct pcifront_device *pdev, unsigned int domain, unsigned int bus, struct pci_bus *b) argument
437 pcifront_scan_root(struct pcifront_device *pdev, unsigned int domain, unsigned int bus) argument
515 pcifront_rescan_root(struct pcifront_device *pdev, unsigned int domain, unsigned int bus) argument
540 free_root_bus_devs(struct pci_bus *bus) argument
579 int bus = pdev->sh_info->aer_op.bus; local
809 unsigned int domain, bus; local
908 unsigned int domain, bus, slot, func; local
[all...]
/linux-master/drivers/media/usb/cx231xx/
H A Dcx231xx-i2c.c24 MODULE_PARM_DESC(i2c_scan, "scan i2c bus at insmod time");
52 static inline bool is_tuner(struct cx231xx *dev, struct cx231xx_i2c *bus, argument
55 int i2c_port = get_real_i2c_port(dev, bus->nr);
75 struct cx231xx_i2c *bus = i2c_adap->algo_data; local
76 struct cx231xx *dev = bus->dev;
86 if (is_tuner(dev, bus, msg, TUNER_XC5000)) {
145 bus->i2c_nostop = (size > 16) ? 1 : 0;
146 bus->i2c_reserve = (loop == 0) ? 0 : 1;
149 status = dev->cx231xx_send_usb_command(bus, &req_data);
159 bus
186 struct cx231xx_i2c *bus = i2c_adap->algo_data; local
273 struct cx231xx_i2c *bus = i2c_adap->algo_data; local
336 struct cx231xx_i2c *bus = i2c_adap->algo_data; local
363 struct cx231xx_i2c *bus = i2c_adap->algo_data; local
514 cx231xx_i2c_register(struct cx231xx_i2c *bus) argument
541 cx231xx_i2c_unregister(struct cx231xx_i2c *bus) argument
[all...]
/linux-master/arch/powerpc/sysdev/
H A Dindirect_pci.c75 int indirect_read_config(struct pci_bus *bus, unsigned int devfn, argument
78 struct pci_controller *hose = pci_bus_to_host(bus);
80 return __indirect_read_config(hose, bus->number, devfn, offset, len,
84 int indirect_write_config(struct pci_bus *bus, unsigned int devfn, argument
87 struct pci_controller *hose = pci_bus_to_host(bus);
93 if (bus->number != hose->first_busno)
100 if (ppc_md.pci_exclude_device(hose, bus->number, devfn))
104 if (bus->number != hose->first_busno)
107 bus_no = (bus->number == hose->first_busno) ?
108 hose->self_busno : bus
[all...]
/linux-master/arch/sh/drivers/pci/
H A Dcommon.c15 static struct pci_bus bus; local
17 dev.bus = &bus;
20 bus.number = busnr;
21 bus.sysdata = hose;
22 bus.ops = hose->pci_ops;
25 /* Fake a parent bus structure. */
26 bus.parent = &bus;
28 bus
[all...]
/linux-master/drivers/peci/
H A Dinternal.h41 u8 bus, u8 dev, u8 func, u16 reg);
43 u8 bus, u8 dev, u8 func, u16 reg);
45 u8 bus, u8 dev, u8 func, u16 reg);
48 u8 bus, u8 dev, u8 func, u16 reg);
50 u8 bus, u8 dev, u8 func, u16 reg);
52 u8 bus, u8 dev, u8 func, u16 reg);
55 u8 bus, u8 dev, u8 func, u16 reg);
57 u8 bus, u8 dev, u8 func, u16 reg);
59 u8 bus, u8 dev, u8 func, u16 reg);
62 u8 bus, u
[all...]
/linux-master/drivers/net/wireless/broadcom/b43/
H A Dbus.c17 #include "bus.h"
23 return 0; /* bcma_bus_may_powerdown(dev->bdev->bus); */
28 return 0; /* bcma_bus_powerup(dev->sdev->bus, dynamic_pctl); */
99 bcm47xx_bus.bcma.bus.chipinfo.id == BCMA_CHIP_ID_BCM4716)
107 dev->board_vendor = core->bus->boardinfo.vendor;
108 dev->board_type = core->bus->boardinfo.type;
109 dev->board_rev = core->bus->sprom.board_rev;
111 dev->chip_id = core->bus->chipinfo.id;
112 dev->chip_rev = core->bus->chipinfo.rev;
113 dev->chip_pkg = core->bus
[all...]
/linux-master/drivers/scsi/
H A Dqla1280.c86 - Eliminate duplicate marker commands on bus resets
87 - Handle outstanding commands appropriately on bus/device resets
640 nv->bus[i].selection_timeout = cpu_to_le16(nv->bus[i].selection_timeout);
641 nv->bus[i].max_queue_depth = cpu_to_le16(nv->bus[i].max_queue_depth);
763 qla1280_wait_for_pending_commands(struct scsi_qla_host *ha, int bus, int target) argument
773 * Wait for all commands with the designated bus/target
781 if (bus >= 0 && SCSI_BUS_32(cmd) != bus)
812 int bus, target, lun; local
1107 qla1280_set_target_parameters(struct scsi_qla_host *ha, int bus, int target) argument
1177 int bus = device->channel; local
1236 int bus, target; local
1401 int bus; local
1977 qla1280_set_target_defaults(struct scsi_qla_host *ha, int bus, int target) argument
2011 int bus, target; local
2062 qla1280_config_target(struct scsi_qla_host *ha, int bus, int target) argument
2120 qla1280_config_bus(struct scsi_qla_host *ha, int bus) argument
2156 int bus, target, status = 0; local
2538 qla1280_bus_reset(struct scsi_qla_host *ha, int bus) argument
2598 qla1280_device_reset(struct scsi_qla_host *ha, int bus, int target) argument
2635 unsigned int bus, target, lun; local
2698 qla1280_marker(struct scsi_qla_host *ha, int bus, int id, int lun, u8 type) argument
3557 uint8_t bus; local
3755 int bus; local
3855 qla1280_check_for_dead_scsi_bus(struct scsi_qla_host *ha, unsigned int bus) argument
3884 int bus, target, lun; local
[all...]
/linux-master/drivers/misc/mei/
H A Dbus-fixup.c49 * number_of_connections - determine whether an client be on the bus
64 * blacklist - blacklist a client from the bus
160 cldev->bus->timeouts.mkhi_recv);
172 memset(cldev->bus->fw_ver, 0, sizeof(cldev->bus->fw_ver));
181 cldev->bus->fw_ver[i].platform = fwver->ver[i].platform;
182 cldev->bus->fw_ver[i].major = fwver->ver[i].major;
183 cldev->bus->fw_ver[i].minor = fwver->ver[i].minor;
184 cldev->bus->fw_ver[i].hotfix = fwver->ver[i].hotfix;
185 cldev->bus
369 struct mei_device *bus; local
449 struct mei_device *bus; local
537 struct mei_device *bus = cldev->bus; local
[all...]
/linux-master/drivers/net/wireless/broadcom/b43legacy/
H A Drfkill.c43 struct ssb_bus *bus = dev->dev->bus; local
49 if (ssb_bus_powerup(bus, 0)) {
74 ssb_bus_may_powerdown(bus);
/linux-master/arch/sparc/include/asm/
H A Ddevice.h21 void of_propagate_archdata(struct platform_device *bus);
/linux-master/arch/mips/include/asm/mach-loongson64/
H A Dtopology.h15 #define cpumask_of_pcibus(bus) (cpu_online_mask)
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Ddebug.c13 #include "bus.h"
17 int brcmf_debug_create_memdump(struct brcmf_bus *bus, const void *data, argument
24 ramsize = brcmf_bus_get_ramsize(bus);
34 err = brcmf_bus_get_memdump(bus, dump + len, ramsize);
40 dev_coredumpv(bus->dev, dump, len + ramsize, GFP_KERNEL);

Completed in 474 milliseconds

<<11121314151617181920>>