Home
last modified time | relevance | path

Searched defs:bus (Results 1 – 25 of 271) sorted by relevance

1234567891011

/linux-2.4.37.9/drivers/media/video/
Di2c-old.c49 static void i2c_attach_device(struct i2c_bus *bus, struct i2c_driver *driver) in i2c_attach_device()
144 int i2c_register_bus(struct i2c_bus *bus) in i2c_register_bus()
189 int i2c_unregister_bus(struct i2c_bus *bus) in i2c_unregister_bus()
277 int i2c_control_device(struct i2c_bus *bus, int id, in i2c_control_device()
294 #define I2C_SET(bus,ctrl,data) (bus->i2c_setlines(bus,ctrl,data)) argument
295 #define I2C_GET(bus) (bus->i2c_getdataline(bus)) argument
297 void i2c_start(struct i2c_bus *bus) in i2c_start()
306 void i2c_stop(struct i2c_bus *bus) in i2c_stop()
314 void i2c_one(struct i2c_bus *bus) in i2c_one()
321 void i2c_zero(struct i2c_bus *bus) in i2c_zero()
[all …]
Dzr36120_i2c.c40 static void i2c_setlines(struct i2c_bus *bus,int ctrl,int data) in i2c_setlines()
50 static int i2c_getdataline(struct i2c_bus *bus) in i2c_getdataline()
59 void attach_inform(struct i2c_bus *bus, int id) in attach_inform()
99 void detach_inform(struct i2c_bus *bus, int id) in detach_inform()
/linux-2.4.37.9/drivers/hotplug/
Dpci_hotplug_util.c53 static int build_dev (struct pci_bus *bus, unsigned int devfn, struct pci_dev **pci_dev) in build_dev()
81 int pci_bus_read_config_byte (struct pci_bus *bus, unsigned int devfn, int where, u8 *value) in pci_bus_read_config_byte()
112 int pci_bus_read_config_word (struct pci_bus *bus, unsigned int devfn, int where, u16 *value) in pci_bus_read_config_word()
143 int pci_bus_read_config_dword (struct pci_bus *bus, unsigned int devfn, int where, u32 *value) in pci_bus_read_config_dword()
174 int pci_bus_write_config_byte (struct pci_bus *bus, unsigned int devfn, int where, u8 value) in pci_bus_write_config_byte()
205 int pci_bus_write_config_word (struct pci_bus *bus, unsigned int devfn, int where, u16 value) in pci_bus_write_config_word()
236 int pci_bus_write_config_dword (struct pci_bus *bus, unsigned int devfn, int where, u32 value) in pci_bus_write_config_dword()
299 struct pci_bus *bus = wrapped_dev->dev->subordinate; in pci_visit_bridge() local
362 struct pci_bus *bus = kmalloc(sizeof(struct pci_bus), GFP_KERNEL); in alloc_bus() local
374 struct pci_bus *bus = alloc_bus(ops, bus_nr); in pci_read_config_byte_nodev() local
[all …]
/linux-2.4.37.9/arch/mips/tx4927/toshiba_rbtx4927/
Dtoshiba_rbtx4927_pci_ops.c76 mkaddr(unsigned char bus, unsigned char dev_fn, unsigned char where, in mkaddr()
123 unsigned char bus, func_num; in tx4927_pcibios_read_config_byte() local
159 unsigned char bus, func_num; in tx4927_pcibios_read_config_word() local
198 unsigned char bus, func_num; in tx4927_pcibios_read_config_dword() local
230 unsigned char bus, func_num; in tx4927_pcibios_write_config_byte() local
258 unsigned char bus, func_num; in tx4927_pcibios_write_config_word() local
289 unsigned char bus, func_num; in tx4927_pcibios_write_config_dword() local
/linux-2.4.37.9/arch/ppc/kernel/
Dgalaxy_pci.c46 u8 bus, u8 dev, u8 offset, u8 *val) in galaxy_pcibios_read_config_byte()
54 u8 bus, u8 dev, u8 offset, u16 *val) in galaxy_pcibios_read_config_word()
62 u8 bus, u8 dev, u8 offset, u32 *val) in galaxy_pcibios_read_config_dword()
70 u8 bus, u8 dev, u8 offset, u8 val) in galaxy_pcibios_write_config_byte()
78 u8 bus, u8 dev, u8 offset, u16 val) in galaxy_pcibios_write_config_word()
86 u8 bus, u8 dev, u8 offset, u32 val) in galaxy_pcibios_write_config_dword()
Dqspan_pci.c91 #define mk_config_addr(bus, dev, offset) \ argument
94 #define mk_config_type1(bus, dev, offset) \ argument
97 int qspan_pcibios_read_config_byte(unsigned char bus, unsigned char dev_fn, in qspan_pcibios_read_config_byte()
136 int qspan_pcibios_read_config_word(unsigned char bus, unsigned char dev_fn, in qspan_pcibios_read_config_word()
175 int qspan_pcibios_read_config_dword(unsigned char bus, unsigned char dev_fn, in qspan_pcibios_read_config_dword()
209 int qspan_pcibios_write_config_byte(unsigned char bus, unsigned char dev_fn, in qspan_pcibios_write_config_byte()
249 int qspan_pcibios_write_config_word(unsigned char bus, unsigned char dev_fn, in qspan_pcibios_write_config_word()
289 int qspan_pcibios_write_config_dword(unsigned char bus, unsigned char dev_fn, in qspan_pcibios_write_config_dword()
Dpci.c306 struct pci_bus *bus; in pcibios_allocate_bus_resources() local
393 pci_relocate_bridge_resource(struct pci_bus *bus, int i) in pci_relocate_bridge_resource()
455 struct pci_bus *bus; in probe_resource() local
501 update_bridge_base(struct pci_bus *bus, int i) in update_bridge_base()
829 scan_OF_childs_for_device(struct device_node* node, u8 bus, u8 dev_fn) in scan_OF_childs_for_device()
844 int bus; in pci_device_to_OF_node() local
902 pci_device_from_OF_node(struct device_node* node, u8* bus, u8* devfn) in pci_device_from_OF_node()
1071 do_update_p2p_io_resource(struct pci_bus *bus, int enable_vga) in do_update_p2p_io_resource()
1117 check_for_io_childs(struct pci_bus *bus, struct resource* res, int *found_vga) in check_for_io_childs()
1167 do_fixup_p2p_level(struct pci_bus *bus) in do_fixup_p2p_level()
[all …]
/linux-2.4.37.9/arch/mips/momentum/ocelot_c/
Dpci.c80 static __inline__ int pci_range_ck(unsigned char bus, unsigned char dev) in pci_range_ck()
113 int dev, bus, func; in marvell_pcibios_read_config_dword() local
150 int dev, bus, func; in marvell_pcibios_read_config_word() local
186 int dev, bus, func; in marvell_pcibios_read_config_byte() local
222 int dev, bus, func; in marvell_pcibios_write_config_dword() local
259 int dev, bus, func; in marvell_pcibios_write_config_word() local
295 int dev, bus, func; in marvell_pcibios_write_config_byte() local
/linux-2.4.37.9/drivers/pci/
Dsetup-bus.c39 pbus_assign_resources_sorted(struct pci_bus *bus) in pbus_assign_resources_sorted()
89 pci_setup_bridge(struct pci_bus *bus) in pci_setup_bridge()
172 pci_bridge_check_ranges(struct pci_bus *bus) in pci_bridge_check_ranges()
214 pbus_size_io(struct pci_bus *bus) in pbus_size_io()
263 pbus_size_mem(struct pci_bus *bus, unsigned long mask, unsigned long type) in pbus_size_mem()
335 pbus_size_bridges(struct pci_bus *bus) in pbus_size_bridges()
362 pbus_assign_resources(struct pci_bus *bus) in pbus_assign_resources()
/linux-2.4.37.9/include/asm-x86_64/
Dpci-direct.h12 static inline u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config()
22 static inline u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_byte()
31 static inline u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_16()
40 static inline void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, in write_pci_config()
/linux-2.4.37.9/arch/mips/momentum/jaguar_atx/
Dpci.c83 static __inline__ int pci_range_ck(unsigned char bus, unsigned char dev) in pci_range_ck()
116 int dev, bus, func; in galileo_pcibios_read_config_dword() local
153 int dev, bus, func; in galileo_pcibios_read_config_word() local
189 int dev, bus, func; in galileo_pcibios_read_config_byte() local
225 int dev, bus, func; in galileo_pcibios_write_config_dword() local
262 int dev, bus, func; in galileo_pcibios_write_config_word() local
298 int dev, bus, func; in galileo_pcibios_write_config_byte() local
/linux-2.4.37.9/arch/mips/momentum/ocelot_g/
Dpci.c81 static __inline__ int pci_range_ck(unsigned char bus, unsigned char dev) in pci_range_ck()
114 int dev, bus, func; in galileo_pcibios_read_config_dword() local
155 int dev, bus, func; in galileo_pcibios_read_config_word() local
195 int dev, bus, func; in galileo_pcibios_read_config_byte() local
233 int dev, bus, func; in galileo_pcibios_write_config_dword() local
272 int dev, bus, func; in galileo_pcibios_write_config_word() local
310 int dev, bus, func; in galileo_pcibios_write_config_byte() local
/linux-2.4.37.9/arch/mips/pmc-sierra/yosemite/
Dht.c59 int dev, bus, func; in titan_ht_config_read_dword() local
103 int dev, bus, func; in titan_ht_config_read_word() local
144 int dev, bus, func; in titan_ht_config_read_byte() local
180 int dev, bus, func; in titan_ht_config_write_dword() local
216 int dev, bus, func; in titan_ht_config_write_word() local
249 int dev, bus, func; in titan_ht_config_write_byte() local
296 int bus = dev->bus->number; in titan_pcibios_set_master() local
315 int bus = dev->bus->number; in pcibios_enable_resources() local
Dpci.c43 int dev, bus, func; in titan_pcibios_read_config_dword() local
72 int dev, bus, func; in titan_pcibios_read_config_word() local
101 int dev, bus, func; in titan_pcibios_read_config_byte() local
130 int dev, bus, func; in titan_pcibios_write_config_dword() local
159 int dev, bus, func; in titan_pcibios_write_config_word() local
188 int dev, bus, func; in titan_pcibios_write_config_byte() local
/linux-2.4.37.9/arch/m68k/kernel/
Dbios32.c98 struct pci_bus *bus; in disable_dev() local
125 struct pci_bus *bus; in layout_dev() local
298 static void __init layout_bus(struct pci_bus *bus) in layout_bus()
395 static void __init pcibios_claim_resources(struct pci_bus *bus) in pcibios_claim_resources()
481 void __init pcibios_fixup_bus(struct pci_bus *bus) in pcibios_fixup_bus()
/linux-2.4.37.9/arch/parisc/kernel/
Dpci.c135 void pcibios_fixup_bus(struct pci_bus *bus) in pcibios_fixup_bus()
296 pcibios_init_bus(struct pci_bus *bus) in pcibios_init_bus()
347 struct pci_bus *bus, in pcibios_fixup_pbus_ranges()
474 pcibios_setup_host_bridge(struct pci_bus *bus) in pcibios_setup_host_bridge()
489 pcibios_enable_ppb(struct pci_bus *bus) in pcibios_enable_ppb()
506 pcibios_assign_unassigned_resources(struct pci_bus *bus) in pcibios_assign_unassigned_resources()
/linux-2.4.37.9/arch/mips/pmc-sierra/stretch/
Dpci.c46 int dev, bus, func; in pmc_stretch_read_config_dword() local
65 int dev, bus, func; in pmc_stretch_read_config_word() local
84 int dev, bus, func; in pmc_stretch_read_config_byte() local
103 int dev, bus, func; in pmc_stretch_write_config_dword() local
122 int dev, bus, func; in pmc_stretch_write_config_word() local
141 int dev, bus, func; in pmc_stretch_write_config_byte() local
/linux-2.4.37.9/drivers/acpi/
Dpci_irq.c67 int bus, in acpi_pci_irq_find_prt_entry()
103 int bus, in acpi_pci_irq_add_entry()
168 int bus) in acpi_pci_irq_add_prt()
245 int bus, in acpi_pci_irq_lookup()
/linux-2.4.37.9/arch/ppc/boot/simple/
Dmisc-spruce.c77 void cpc700_pcibios_read_config_byte(unsigned char bus, unsigned char dev_fn, in cpc700_pcibios_read_config_byte()
86 void cpc700_pcibios_write_config_byte(unsigned char bus, unsigned char dev_fn, in cpc700_pcibios_write_config_byte()
95 void cpc700_pcibios_read_config_word(unsigned char bus, unsigned char dev_fn, in cpc700_pcibios_read_config_word()
104 void cpc700_pcibios_write_config_word(unsigned char bus, unsigned char dev_fn, in cpc700_pcibios_write_config_word()
113 void cpc700_pcibios_read_config_dword(unsigned char bus, unsigned char dev_fn, in cpc700_pcibios_read_config_dword()
122 void cpc700_pcibios_write_config_dword(unsigned char bus, unsigned char dev_fn, in cpc700_pcibios_write_config_dword()
/linux-2.4.37.9/arch/mips/gt64120/momenco_ocelot/
Dfixup-ocelot.c20 static __inline__ int pci_range_ck(unsigned char bus, unsigned char dev) in pci_range_ck()
33 void __init gt64120_board_pcibios_fixup_bus(struct pci_bus *bus) in gt64120_board_pcibios_fixup_bus()
/linux-2.4.37.9/arch/mips/gt64120/ev64120/
Dfixup-ev64120.c4 int pci_range_ck(unsigned char bus, unsigned char dev) in pci_range_ck()
17 void __init gt64120_board_pcibios_fixup_bus(struct pci_bus *bus) in gt64120_board_pcibios_fixup_bus()
/linux-2.4.37.9/include/linux/
Di2c-old.h105 # define LOCK_I2C_BUS(bus) spin_lock(&(bus->bus_lock)); argument
106 # define UNLOCK_I2C_BUS(bus) spin_unlock(&(bus->bus_lock)); argument
110 # define LOCK_I2C_BUS(bus) { save_flags(flags); cli(); } argument
111 # define UNLOCK_I2C_BUS(bus) { restore_flags(flags); } argument
154 struct i2c_bus *bus; member
/linux-2.4.37.9/arch/mips/jmr3927/rbhma3100/
Dpci_ops.c71 mkaddr(unsigned char bus, unsigned char dev_fn, unsigned char where, int *flagsp) in mkaddr()
106 unsigned char bus, func_num; in jmr3927_pcibios_read_config_byte() local
131 unsigned char bus, func_num; in jmr3927_pcibios_read_config_word() local
159 unsigned char bus, func_num; in jmr3927_pcibios_read_config_dword() local
187 unsigned char bus, func_num; in jmr3927_pcibios_write_config_byte() local
209 unsigned char bus, func_num; in jmr3927_pcibios_write_config_word() local
234 unsigned char bus, func_num; in jmr3927_pcibios_write_config_dword() local
/linux-2.4.37.9/arch/x86_64/kernel/
Dpci-pc.c56 #define PCI_CONF1_ADDRESS(bus, dev, fn, reg) \ argument
59 static int pci_conf1_read (int seg, int bus, int dev, int fn, int reg, int len, in pci_conf1_read()
88 static int pci_conf1_write (int seg, int bus, int dev, int fn, int reg, int len, u32 value) in pci_conf1_write()
196 static int pci_conf2_read (int seg, int bus, int dev, int fn, int reg, int len, u32 *value) in pci_conf2_read()
230 static int pci_conf2_write (int seg, int bus, int dev, int fn, int reg, int len, u32 value) in pci_conf2_write()
346 struct pci_bus bus; /* Fake bus and device */ in pci_sanity_check() local
413 struct pci_bus *bus; in pcibios_scan_root() local
487 struct pci_bus bus; in pcibios_fixup_peer_bridges() local
/linux-2.4.37.9/drivers/usb/
Dinode.c133 static void new_bus_inode(struct usb_bus *bus, struct super_block *sb) in new_bus_inode()
262 struct usb_bus *bus; in usbdevfs_findbus() local
385 struct usb_bus *bus; in usbdevfs_root_readdir() local
466 struct usb_bus *bus; in usbdevfs_bus_readdir() local
609 struct usb_bus *bus; in usbdevfs_read_super() local
679 void usbdevfs_add_bus(struct usb_bus *bus) in usbdevfs_add_bus()
691 void usbdevfs_remove_bus(struct usb_bus *bus) in usbdevfs_remove_bus()

1234567891011