Searched refs:bus (Results 1 - 25 of 514) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Di2c-old.h9 * bus driver a driver with a i2c bus (hostadapter driver)
11 * to a i2c bus (cdrom/hd driver)
13 * A device will be attached to one bus and one chip driver. Every chip
27 #define I2C_BUS_MAX 4 /* max # of bus drivers */
29 #define I2C_DEVICE_MAX 8 /* max # if devices per bus/driver */
41 #define I2C_BUSID_BT848 1 /* I2C bus on a BT848 */
53 * bus at the specified address. If the driver decides to "accept"
85 # define LOCK_I2C_BUS(bus) spin_lock(&(bus
133 struct i2c_bus *bus; member in struct:i2c_device
[all...]
H A Dusbdev_fs_i.h9 struct usb_bus *bus; member in union:usbdev_inode_info::__anon11563
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Di2c-old.h9 * bus driver a driver with a i2c bus (hostadapter driver)
11 * to a i2c bus (cdrom/hd driver)
13 * A device will be attached to one bus and one chip driver. Every chip
27 #define I2C_BUS_MAX 4 /* max # of bus drivers */
29 #define I2C_DEVICE_MAX 8 /* max # if devices per bus/driver */
41 #define I2C_BUSID_BT848 1 /* I2C bus on a BT848 */
53 * bus at the specified address. If the driver decides to "accept"
85 # define LOCK_I2C_BUS(bus) spin_lock(&(bus
133 struct i2c_bus *bus; member in struct:i2c_device
[all...]
H A Dusbdev_fs_i.h9 struct usb_bus *bus; member in union:usbdev_inode_info::__anon7157
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/media/video/
H A Di2c-old.c51 scan ? " (i2c bus scan enabled)" : "");
66 static void i2c_attach_device(struct i2c_bus *bus, struct i2c_driver *driver) argument
74 LOCK_I2C_BUS(bus);
77 i2c_start(bus);
78 ack = i2c_sendbyte(bus,addr,0);
79 i2c_stop(bus);
83 UNLOCK_I2C_BUS(bus);
95 if (NULL == bus->devices[j])
102 device->bus = bus;
161 i2c_register_bus(struct i2c_bus *bus) argument
206 i2c_unregister_bus(struct i2c_bus *bus) argument
294 i2c_control_device(struct i2c_bus *bus, int id, unsigned int cmd, void *arg) argument
314 i2c_start(struct i2c_bus *bus) argument
323 i2c_stop(struct i2c_bus *bus) argument
331 i2c_one(struct i2c_bus *bus) argument
338 i2c_zero(struct i2c_bus *bus) argument
345 i2c_ack(struct i2c_bus *bus) argument
356 i2c_sendbyte(struct i2c_bus *bus,unsigned char data,int wait_for_ack) argument
370 i2c_readbyte(struct i2c_bus *bus,int last) argument
390 i2c_read(struct i2c_bus *bus, unsigned char addr) argument
404 i2c_write(struct i2c_bus *bus, unsigned char addr, unsigned char data1, unsigned char data2, int both) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sparc64/
H A Disa.h16 struct isa_bridge *bus; member in struct:isa_device
41 #define for_each_isa(bus) \
42 for((bus) = isa_chain; (bus); (bus) = (bus)->next)
44 #define for_each_isadev(dev, bus) \
45 for((dev) = (bus)->devices; (dev); (dev) = (dev)->next)
H A Dsbus.h44 struct sbus_bus *bus; /* Our toplevel parent SBUS */ member in struct:sbus_dev
83 #define for_each_sbus(bus) \
84 for((bus) = sbus_root; (bus); (bus)=(bus)->next)
86 #define for_each_sbusdev(device, bus) \
87 for((device) = (bus)->devices; (device); (device)=(device)->next)
89 #define for_all_sbusdev(device, bus) \
90 for ((bus)
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sparc64/
H A Disa.h16 struct isa_bridge *bus; member in struct:isa_device
41 #define for_each_isa(bus) \
42 for((bus) = isa_chain; (bus); (bus) = (bus)->next)
44 #define for_each_isadev(dev, bus) \
45 for((dev) = (bus)->devices; (dev); (dev) = (dev)->next)
H A Dsbus.h44 struct sbus_bus *bus; /* Our toplevel parent SBUS */ member in struct:sbus_dev
83 #define for_each_sbus(bus) \
84 for((bus) = sbus_root; (bus); (bus)=(bus)->next)
86 #define for_each_sbusdev(device, bus) \
87 for((device) = (bus)->devices; (device); (device)=(device)->next)
89 #define for_all_sbusdev(device, bus) \
90 for ((bus)
[all...]
/asus-wl-520gu-7.0.1.45/src/router/libusb/
H A Dusb.c21 struct usb_bus *busses, *bus; local
31 * If we don't find it in the new list, the bus was removed. Any
34 bus = usb_busses;
35 while (bus) {
37 struct usb_bus *nbus, *tbus = bus->next;
43 if (!strcmp(bus->dirname, nbus->dirname)) {
56 /* The bus was removed from the system */
57 LIST_DEL(usb_busses, bus);
58 usb_free_bus(bus);
62 bus
91 struct usb_bus *bus; local
303 usb_free_bus(struct usb_bus *bus) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sparc/
H A Dsbus.h44 struct sbus_bus *bus; /* Back ptr to sbus */ member in struct:sbus_dev
89 #define for_each_sbus(bus) \
90 for((bus) = sbus_root; (bus); (bus)=(bus)->next)
92 #define for_each_sbusdev(device, bus) \
93 for((device) = (bus)->devices; (device); (device)=(device)->next)
95 #define for_all_sbusdev(device, bus) \
96 for ((bus)
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sparc/
H A Dsbus.h44 struct sbus_bus *bus; /* Back ptr to sbus */ member in struct:sbus_dev
89 #define for_each_sbus(bus) \
90 for((bus) = sbus_root; (bus); (bus)=(bus)->next)
92 #define for_each_sbusdev(device, bus) \
93 for((device) = (bus)->devices; (device); (device)=(device)->next)
95 #define for_all_sbusdev(device, bus) \
96 for ((bus)
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/kernel/
H A Dpci.c38 * . We "collapse" all IO and MEM spaces in sub-buses under a top-level bus
79 struct pci_bus *bus; local
93 bus = pci_scan_bus(busno, p->pci_ops, p);
94 busno = bus->subordinate+1;
126 void __init pcibios_fixup_bus(struct pci_bus *bus) argument
130 struct pci_channel *hose = bus->sysdata;
131 struct pci_dev *dev = bus->self;
134 /* Root bus */
135 bus->resource[0] = hose->io_resource;
136 bus
[all...]
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/usb/
H A Dusbd.h72 usb_hc_t *ub_hwsoftc; /* bus driver softc */
73 usb_hcdrv_t *ub_hwdisp; /* bus driver dispatch */
77 int ub_num; /* bus number */
80 #define UB_FLG_NEEDSCAN 1 /* some device on bus needs scanning */
122 usbbus_t *ud_bus; /* owning bus */
192 usbdev_t *usb_create_device(usbbus_t *bus,int lowspeed);
195 void usb_poll(usbbus_t *bus);
196 void usb_daemon(usbbus_t *bus);
211 int usb_new_address(usbbus_t *bus);
217 void usb_delay_ms(usbbus_t *bus,in
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/momentum/ocelot_g/
H A Dpci.c78 * bus - bus number (0 for PCI 0 ; 1 for PCI 1)
79 * dev - number of device on the specific pci bus
84 static __inline__ int pci_range_ck(unsigned char bus, unsigned char dev) argument
98 * Note that bus 0 and bus 1 are local, and we assume all other busses are
99 * bridged from bus 1. This is a safe assumption, since any other
103 * bus - bus number
110 * PCIBIOS_DEVICE_NOT_FOUND when the bus o
117 int dev, bus, func; local
158 int dev, bus, func; local
198 int dev, bus, func; local
236 int dev, bus, func; local
275 int dev, bus, func; local
313 int dev, bus, func; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ppc/
H A Dpci-bridge.h16 * the I/O space for PCI bus number `bus' (or NULL on error).
18 extern void *pci_bus_io_base(unsigned int bus);
19 extern unsigned long pci_bus_io_base_phys(unsigned int bus);
20 extern unsigned long pci_bus_mem_base_phys(unsigned int bus);
33 u8* bus, u8* devfn);
37 /* Get the PCI host controller for a bus */
38 extern struct pci_controller* pci_bus_to_hose(int bus);
55 struct pci_bus *bus; member in struct:pci_controller
65 * the PCI memory space in the CPU bus spac
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ppc/
H A Dpci-bridge.h16 * the I/O space for PCI bus number `bus' (or NULL on error).
18 extern void *pci_bus_io_base(unsigned int bus);
19 extern unsigned long pci_bus_io_base_phys(unsigned int bus);
20 extern unsigned long pci_bus_mem_base_phys(unsigned int bus);
33 u8* bus, u8* devfn);
37 /* Get the PCI host controller for a bus */
38 extern struct pci_controller* pci_bus_to_hose(int bus);
55 struct pci_bus *bus; member in struct:pci_controller
65 * the PCI memory space in the CPU bus spac
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/usb.2.4.25/
H A Dusbdev_fs_i.h9 struct usb_bus *bus; member in union:usbdev_inode_info::__anon11555
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/usb.orig/
H A Dusbdev_fs_i.h9 struct usb_bus *bus; member in union:usbdev_inode_info::__anon11560
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/kernel/
H A Dqspan_pci.c38 * the bus times out and we get a machine check interrupt. So, the
71 * PCI Bridge hack. We assume (correctly) that bus 0 is the primary
72 * PCI bus from the QSPAN. If we are called with a bus number other
94 #define mk_config_addr(bus, dev, offset) \
95 (((bus)<<16) | ((dev)<<8) | (offset & 0xfc))
97 #define mk_config_type1(bus, dev, offset) \
98 mk_config_addr(bus, dev, offset) | 1;
100 int qspan_pcibios_read_config_byte(unsigned char bus, unsigned char dev_fn, argument
109 if ((bus >
139 qspan_pcibios_read_config_word(unsigned char bus, unsigned char dev_fn, unsigned char offset, unsigned short *val) argument
178 qspan_pcibios_read_config_dword(unsigned char bus, unsigned char dev_fn, unsigned char offset, unsigned int *val) argument
212 qspan_pcibios_write_config_byte(unsigned char bus, unsigned char dev_fn, unsigned char offset, unsigned char val) argument
252 qspan_pcibios_write_config_word(unsigned char bus, unsigned char dev_fn, unsigned char offset, unsigned short val) argument
292 qspan_pcibios_write_config_dword(unsigned char bus, unsigned char dev_fn, unsigned char offset, unsigned int val) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/pci/
H A Dcompat.c20 pcibios_find_class(unsigned int class, unsigned short index, unsigned char *bus, unsigned char *devfn) argument
27 *bus = dev->bus->number;
37 unsigned char *bus, unsigned char *devfn)
44 *bus = dev->bus->number;
52 int pcibios_##rw##_config_##size (unsigned char bus, unsigned char dev_fn, \
55 struct pci_dev *dev = pci_find_slot(bus, dev_fn); \
36 pcibios_find_device(unsigned short vendor, unsigned short device, unsigned short index, unsigned char *bus, unsigned char *devfn) argument
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ppc64/
H A Dpci-bridge.h17 * the I/O space for PCI bus number `bus' (or NULL on error).
19 extern void *pci_bus_io_base(unsigned int bus);
20 extern unsigned long pci_bus_io_base_phys(unsigned int bus);
21 extern unsigned long pci_bus_mem_base_phys(unsigned int bus);
23 /* Get the PCI host controller for a bus */
24 extern struct pci_controller* pci_bus_to_hose(int bus);
44 struct pci_bus *bus; member in struct:pci_controller
54 * the PCI memory space in the CPU bus space
88 void *pci_dev_io_base(unsigned char bus, unsigne
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ppc64/
H A Dpci-bridge.h17 * the I/O space for PCI bus number `bus' (or NULL on error).
19 extern void *pci_bus_io_base(unsigned int bus);
20 extern unsigned long pci_bus_io_base_phys(unsigned int bus);
21 extern unsigned long pci_bus_mem_base_phys(unsigned int bus);
23 /* Get the PCI host controller for a bus */
24 extern struct pci_controller* pci_bus_to_hose(int bus);
44 struct pci_bus *bus; member in struct:pci_controller
54 * the PCI memory space in the CPU bus space
88 void *pci_dev_io_base(unsigned char bus, unsigne
[all...]
/asus-wl-520gu-7.0.1.45/src/router/libusb/tests/
H A Did_test.cpp19 cout << "bus/device idVendor/idProduct/bcdDevice Class/SubClass/Protocol" << endl;
21 USB::Bus *bus; local
27 bus = *biter;
29 for (diter = bus->begin(); diter != bus->end(); diter++) {
32 cout << bus->directoryName() << "/"
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/hotplug/
H A Dpci_hotplug_util.c54 static int build_dev (struct pci_ops *ops, u8 bus, u8 slot, u8 function, struct pci_dev **pci_dev) argument
77 my_bus->number = bus;
80 my_dev->bus = my_bus;
88 * @bus: the bus of the pci device to read from
98 int pci_read_config_byte_nodev (struct pci_ops *ops, u8 bus, u8 slot, u8 function, int where, u8 *value) argument
103 dbg("%p, %d, %d, %d, %d, %p\n", ops, bus, slot, function, where, value);
104 dev = pci_find_slot(bus, PCI_DEVFN(slot, function));
110 result = build_dev (ops, bus, slot, function, &dev);
114 kfree (dev->bus);
132 pci_read_config_word_nodev(struct pci_ops *ops, u8 bus, u8 slot, u8 function, int where, u16 *value) argument
167 pci_read_config_dword_nodev(struct pci_ops *ops, u8 bus, u8 slot, u8 function, int where, u32 *value) argument
202 pci_write_config_byte_nodev(struct pci_ops *ops, u8 bus, u8 slot, u8 function, int where, u8 value) argument
237 pci_write_config_word_nodev(struct pci_ops *ops, u8 bus, u8 slot, u8 function, int where, u16 value) argument
272 pci_write_config_dword_nodev(struct pci_ops *ops, u8 bus, u8 slot, u8 function, int where, u32 value) argument
336 struct pci_bus *bus = wrapped_dev->dev->subordinate; local
[all...]

Completed in 110 milliseconds

1234567891011>>