Home
last modified time | relevance | path

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

12345678910>>...17

/external/u-boot/drivers/net/phy/
Dmiiphybb.c32 static int bb_mii_init_wrap(struct bb_miiphy_bus *bus) in bb_mii_init_wrap()
40 static int bb_mdio_active_wrap(struct bb_miiphy_bus *bus) in bb_mdio_active_wrap()
49 static int bb_mdio_tristate_wrap(struct bb_miiphy_bus *bus) in bb_mdio_tristate_wrap()
58 static int bb_set_mdio_wrap(struct bb_miiphy_bus *bus, int v) in bb_set_mdio_wrap()
67 static int bb_get_mdio_wrap(struct bb_miiphy_bus *bus, int *v) in bb_get_mdio_wrap()
76 static int bb_set_mdc_wrap(struct bb_miiphy_bus *bus, int v) in bb_set_mdc_wrap()
85 static int bb_delay_wrap(struct bb_miiphy_bus *bus) in bb_delay_wrap()
152 static void miiphy_pre(struct bb_miiphy_bus *bus, char read, in miiphy_pre()
237 struct bb_miiphy_bus *bus; in bb_miiphy_read() local
307 struct bb_miiphy_bus *bus; in bb_miiphy_write() local
/external/u-boot/board/gdsys/common/
Dmiiphybb.c17 static int io_bb_mii_init(struct bb_miiphy_bus *bus) in io_bb_mii_init()
22 static int io_bb_mdio_active(struct bb_miiphy_bus *bus) in io_bb_mdio_active()
32 static int io_bb_mdio_tristate(struct bb_miiphy_bus *bus) in io_bb_mdio_tristate()
42 static int io_bb_set_mdio(struct bb_miiphy_bus *bus, int v) in io_bb_set_mdio()
56 static int io_bb_get_mdio(struct bb_miiphy_bus *bus, int *v) in io_bb_get_mdio()
65 static int io_bb_set_mdc(struct bb_miiphy_bus *bus, int v) in io_bb_set_mdc()
79 static int io_bb_delay(struct bb_miiphy_bus *bus) in io_bb_delay()
/external/u-boot/test/dm/
Dbus.c108 struct udevice *bus; in dm_test_bus_children() local
131 struct udevice *bus, *dev; in dm_test_bus_children_funcs() local
169 struct udevice *bus, *dev; in dm_test_bus_children_of_offset() local
193 struct udevice *bus, *dev, *child; in dm_test_bus_children_iterators() local
225 struct udevice *bus, *dev; in test_bus_parent_data() local
292 struct udevice *bus; in dm_test_bus_parent_data_uclass() local
318 struct udevice *bus, *dev; in dm_test_bus_parent_ops() local
355 struct udevice *bus, *dev; in test_bus_parent_platdata() local
434 struct udevice *bus; in dm_test_bus_parent_platdata_uclass() local
460 struct udevice *bus, *dev; in dm_test_bus_child_post_bind() local
[all …]
Di2c.c26 struct udevice *bus, *dev; in dm_test_i2c_find() local
47 struct udevice *bus, *dev; in dm_test_i2c_read_write() local
64 struct udevice *bus, *dev; in dm_test_i2c_speed() local
86 struct udevice *bus, *dev; in dm_test_i2c_offset_len() local
103 struct udevice *bus, *dev; in dm_test_i2c_probe_empty() local
118 struct udevice *bus, *dev; in dm_test_i2c_bytewise() local
/external/u-boot/board/LaCie/common/
Dcpld-gpio-bus.c17 static void cpld_gpio_bus_set_addr(struct cpld_gpio_bus *bus, unsigned addr) in cpld_gpio_bus_set_addr()
25 static void cpld_gpio_bus_set_data(struct cpld_gpio_bus *bus, unsigned data) in cpld_gpio_bus_set_data()
33 static void cpld_gpio_bus_enable_select(struct cpld_gpio_bus *bus) in cpld_gpio_bus_enable_select()
40 void cpld_gpio_bus_write(struct cpld_gpio_bus *bus, in cpld_gpio_bus_write()
/external/u-boot/drivers/i2c/
Dat91_i2c.c24 static int at91_wait_for_xfer(struct at91_i2c_bus *bus, u32 status) in at91_wait_for_xfer()
45 static int at91_i2c_xfer_msg(struct at91_i2c_bus *bus, struct i2c_msg *msg) in at91_i2c_xfer_msg()
109 struct at91_i2c_bus *bus = dev_get_priv(dev); in at91_i2c_xfer() local
153 struct at91_i2c_bus *bus = dev_get_priv(dev); in at91_calc_i2c_clock() local
179 struct at91_i2c_bus *bus = dev_get_priv(dev); in at91_i2c_enable_clk() local
205 struct at91_i2c_bus *bus = dev_get_priv(dev); in at91_i2c_set_bus_speed() local
216 struct at91_i2c_bus *bus = dev_get_priv(dev); in at91_i2c_get_bus_speed() local
224 struct at91_i2c_bus *bus = dev_get_priv(dev); in at91_i2c_ofdata_to_platdata() local
243 struct at91_i2c_bus *bus = dev_get_priv(dev); in at91_i2c_probe() local
Di2c-uclass.c75 struct udevice *bus = dev_get_parent(dev); in i2c_read_bytewise() local
104 struct udevice *bus = dev_get_parent(dev); in i2c_write_bytewise() local
127 struct udevice *bus = dev_get_parent(dev); in dm_i2c_read() local
158 struct udevice *bus = dev_get_parent(dev); in dm_i2c_write() local
212 struct udevice *bus = dev_get_parent(dev); in dm_i2c_xfer() local
249 static int i2c_probe_chip(struct udevice *bus, uint chip_addr, in i2c_probe_chip()
274 static int i2c_bind_driver(struct udevice *bus, uint chip_addr, uint offset_len, in i2c_bind_driver()
314 int i2c_get_chip(struct udevice *bus, uint chip_addr, uint offset_len, in i2c_get_chip()
342 struct udevice *bus; in i2c_get_chip_for_busnum() local
360 int dm_i2c_probe(struct udevice *bus, uint chip_addr, uint chip_flags, in dm_i2c_probe()
[all …]
/external/u-boot/drivers/spi/
Daltera_spi.c43 struct udevice *bus = dev->parent; in spi_cs_activate() local
53 struct udevice *bus = dev->parent; in spi_cs_deactivate() local
63 struct udevice *bus = dev->parent; in altera_spi_claim_bus() local
75 struct udevice *bus = dev->parent; in altera_spi_release_bus() local
87 struct udevice *bus = dev->parent; in altera_spi_xfer() local
150 static int altera_spi_set_speed(struct udevice *bus, uint speed) in altera_spi_set_speed()
155 static int altera_spi_set_mode(struct udevice *bus, uint mode) in altera_spi_set_mode()
160 static int altera_spi_probe(struct udevice *bus) in altera_spi_probe()
170 static int altera_spi_ofdata_to_platdata(struct udevice *bus) in altera_spi_ofdata_to_platdata()
Dsandbox_spi.c27 const char *sandbox_spi_parse_spec(const char *arg, unsigned long *bus, in sandbox_spi_parse_spec()
44 struct udevice *bus, struct udevice *slave, in sandbox_spi_get_emul()
53 struct udevice *bus = slave->parent; in sandbox_spi_xfer() local
125 static int sandbox_spi_set_speed(struct udevice *bus, uint speed) in sandbox_spi_set_speed()
130 static int sandbox_spi_set_mode(struct udevice *bus, uint mode) in sandbox_spi_set_mode()
135 static int sandbox_cs_info(struct udevice *bus, uint cs, in sandbox_cs_info()
Dcadence_qspi.c22 static int cadence_spi_write_speed(struct udevice *bus, uint hz) in cadence_spi_write_speed()
39 static int spi_calibration(struct udevice *bus, uint hz) in spi_calibration()
118 static int cadence_spi_set_speed(struct udevice *bus, uint hz) in cadence_spi_set_speed()
153 static int cadence_spi_probe(struct udevice *bus) in cadence_spi_probe()
169 static int cadence_spi_set_mode(struct udevice *bus, uint mode) in cadence_spi_set_mode()
188 struct udevice *bus = dev->parent; in cadence_spi_xfer() local
280 static int cadence_spi_ofdata_to_platdata(struct udevice *bus) in cadence_spi_ofdata_to_platdata()
Dath79_spi.c29 struct udevice *bus = dev_get_parent(dev); in spi_cs_activate() local
38 struct udevice *bus = dev_get_parent(dev); in spi_cs_deactivate() local
58 struct udevice *bus = dev_get_parent(dev); in ath79_spi_xfer() local
136 static int ath79_spi_set_speed(struct udevice *bus, uint speed) in ath79_spi_set_speed()
169 static int ath79_spi_set_mode(struct udevice *bus, uint mode) in ath79_spi_set_mode()
174 static int ath79_spi_probe(struct udevice *bus) in ath79_spi_probe()
196 static int ath79_cs_info(struct udevice *bus, uint cs, in ath79_cs_info()
Dspi-uclass.c18 static int spi_set_speed_mode(struct udevice *bus, int speed, int mode) in spi_set_speed_mode()
47 struct udevice *bus = dev->parent; in dm_spi_claim_bus() local
75 struct udevice *bus = dev->parent; in dm_spi_release_bus() local
85 struct udevice *bus = dev->parent; in dm_spi_xfer() local
121 static int spi_post_probe(struct udevice *bus) in spi_post_probe()
178 int spi_find_chip_select(struct udevice *bus, int cs, struct udevice **devp) in spi_find_chip_select()
200 struct udevice *bus; in spi_cs_is_valid() local
212 int spi_cs_info(struct udevice *bus, uint cs, struct spi_cs_info *info) in spi_cs_info()
248 struct udevice *bus, *dev; in spi_find_bus_and_cs() local
271 struct udevice *bus, *dev; in spi_get_bus_and_cs() local
Datmel_spi.c42 struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs, in spi_setup_slave()
243 struct udevice *bus = dev_get_parent(dev); in atmel_spi_claim_bus() local
283 struct udevice *bus = dev_get_parent(dev); in atmel_spi_release_bus() local
294 struct udevice *bus = dev_get_parent(dev); in atmel_spi_cs_activate() local
309 struct udevice *bus = dev_get_parent(dev); in atmel_spi_cs_deactivate() local
324 struct udevice *bus = dev_get_parent(dev); in atmel_spi_xfer() local
409 static int atmel_spi_set_speed(struct udevice *bus, uint speed) in atmel_spi_set_speed()
418 static int atmel_spi_set_mode(struct udevice *bus, uint mode) in atmel_spi_set_mode()
439 static int atmel_spi_enable_clk(struct udevice *bus) in atmel_spi_enable_clk()
465 static int atmel_spi_probe(struct udevice *bus) in atmel_spi_probe()
Dkirkwood_spi.c105 struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs, in spi_setup_slave()
215 int spi_cs_is_valid(unsigned int bus, unsigned int cs) in spi_cs_is_valid()
257 static int mvebu_spi_set_speed(struct udevice *bus, uint hz) in mvebu_spi_set_speed()
275 static void mvebu_spi_50mhz_ac_timing_erratum(struct udevice *bus, uint mode) in mvebu_spi_50mhz_ac_timing_erratum()
308 static int mvebu_spi_set_mode(struct udevice *bus, uint mode) in mvebu_spi_set_mode()
336 struct udevice *bus = dev->parent; in mvebu_spi_xfer() local
344 struct udevice *bus = dev->parent; in mvebu_spi_claim_bus() local
355 static int mvebu_spi_probe(struct udevice *bus) in mvebu_spi_probe()
367 static int mvebu_spi_ofdata_to_platdata(struct udevice *bus) in mvebu_spi_ofdata_to_platdata()
Dexynos_spi.c212 struct udevice *bus = dev->parent; in spi_cs_activate() local
238 struct udevice *bus = dev->parent; in spi_cs_deactivate() local
251 static int exynos_spi_ofdata_to_platdata(struct udevice *bus) in exynos_spi_ofdata_to_platdata()
278 static int exynos_spi_probe(struct udevice *bus) in exynos_spi_probe()
300 struct udevice *bus = dev->parent; in exynos_spi_claim_bus() local
313 struct udevice *bus = dev->parent; in exynos_spi_release_bus() local
324 struct udevice *bus = dev->parent; in exynos_spi_xfer() local
366 static int exynos_spi_set_speed(struct udevice *bus, uint speed) in exynos_spi_set_speed()
383 static int exynos_spi_set_mode(struct udevice *bus, uint mode) in exynos_spi_set_mode()
/external/u-boot/board/gdsys/mpc8308/
Dhrcon.c54 u8 bus; member
236 void fpga_gpio_set(unsigned int bus, int pin) in fpga_gpio_set()
241 void fpga_gpio_clear(unsigned int bus, int pin) in fpga_gpio_clear()
246 int fpga_gpio_get(unsigned int bus, int pin) in fpga_gpio_get()
255 void fpga_control_set(unsigned int bus, int pin) in fpga_control_set()
263 void fpga_control_clear(unsigned int bus, int pin) in fpga_control_clear()
379 static int mii_dummy_init(struct bb_miiphy_bus *bus) in mii_dummy_init()
384 static int mii_mdio_active(struct bb_miiphy_bus *bus) in mii_mdio_active()
396 static int mii_mdio_tristate(struct bb_miiphy_bus *bus) in mii_mdio_tristate()
405 static int mii_set_mdio(struct bb_miiphy_bus *bus, int v) in mii_set_mdio()
[all …]
Dstrider.c57 u8 bus; member
289 void fpga_gpio_set(unsigned int bus, int pin) in fpga_gpio_set()
294 void fpga_gpio_clear(unsigned int bus, int pin) in fpga_gpio_clear()
299 int fpga_gpio_get(unsigned int bus, int pin) in fpga_gpio_get()
309 void fpga_control_set(unsigned int bus, int pin) in fpga_control_set()
317 void fpga_control_clear(unsigned int bus, int pin) in fpga_control_clear()
434 static int mii_dummy_init(struct bb_miiphy_bus *bus) in mii_dummy_init()
439 static int mii_mdio_active(struct bb_miiphy_bus *bus) in mii_mdio_active()
451 static int mii_mdio_tristate(struct bb_miiphy_bus *bus) in mii_mdio_tristate()
460 static int mii_set_mdio(struct bb_miiphy_bus *bus, int v) in mii_set_mdio()
[all …]
/external/u-boot/board/gdsys/a38x/
Dihs_phys.c103 int register_miiphy_bus(uint k, struct mii_dev **bus) in register_miiphy_bus()
142 int init_single_phy(struct porttype *porttype, struct mii_dev *bus, in init_single_phy()
168 struct mii_dev *bus = NULL; in init_octo_phys() local
223 static int mii_mdio_init(struct bb_miiphy_bus *bus) in mii_mdio_init()
264 static int mii_mdio_active(struct bb_miiphy_bus *bus) in mii_mdio_active()
273 static int mii_mdio_tristate(struct bb_miiphy_bus *bus) in mii_mdio_tristate()
282 static int mii_set_mdio(struct bb_miiphy_bus *bus, int v) in mii_set_mdio()
293 static int mii_get_mdio(struct bb_miiphy_bus *bus, int *v) in mii_get_mdio()
303 static int mii_set_mdc(struct bb_miiphy_bus *bus, int v) in mii_set_mdc()
312 static int mii_delay(struct bb_miiphy_bus *bus) in mii_delay()
/external/u-boot/drivers/usb/host/
Dusb-uclass.c36 struct udevice *bus = udev->controller_dev; in submit_int_msg() local
48 struct udevice *bus = udev->controller_dev; in submit_control_msg() local
71 struct udevice *bus = udev->controller_dev; in submit_bulk_msg() local
84 struct udevice *bus = udev->controller_dev; in create_int_queue() local
96 struct udevice *bus = udev->controller_dev; in poll_int_queue() local
107 struct udevice *bus = udev->controller_dev; in destroy_int_queue() local
118 struct udevice *bus = udev->controller_dev; in usb_alloc_device() local
130 struct udevice *bus = udev->controller_dev; in usb_reset_root_port() local
141 struct udevice *bus = udev->controller_dev; in usb_update_hub_device() local
152 struct udevice *bus = udev->controller_dev; in usb_get_max_xfer_size() local
[all …]
/external/u-boot/drivers/net/
Dpic32_mdio.c16 static int pic32_mdio_write(struct mii_dev *bus, in pic32_mdio_write()
44 static int pic32_mdio_read(struct mii_dev *bus, int addr, int devaddr, int reg) in pic32_mdio_read()
76 static int pic32_mdio_reset(struct mii_dev *bus) in pic32_mdio_reset()
105 struct mii_dev *bus; in pic32_mdio_init() local
/external/u-boot/drivers/net/fm/
Dtgec_phy.c19 static int tgec_mdio_write(struct mii_dev *bus, int port_addr, int dev_addr, in tgec_mdio_write()
61 static int tgec_mdio_read(struct mii_dev *bus, int port_addr, int dev_addr, in tgec_mdio_read()
103 static int tgec_mdio_reset(struct mii_dev *bus) in tgec_mdio_reset()
110 struct mii_dev *bus = mdio_alloc(); in fm_tgec_mdio_init() local
/external/u-boot/drivers/pci/
Dpci-uclass.c50 struct udevice *bus = dev->parent; in dm_pci_get_bdf() local
62 struct udevice *bus; in pci_get_bus_max() local
94 int pci_bus_find_devfn(struct udevice *bus, pci_dev_t find_devfn, in pci_bus_find_devfn()
116 struct udevice *bus; in dm_pci_bus_find_bdf() local
143 int pci_bus_find_devices(struct udevice *bus, struct pci_device_id *ids, in pci_bus_find_devices()
166 struct udevice *bus; in pci_find_device_id() local
180 static int dm_pci_bus_find_device(struct udevice *bus, unsigned int vendor, in dm_pci_bus_find_device()
205 struct udevice *bus; in dm_pci_find_device() local
239 int pci_bus_write_config(struct udevice *bus, pci_dev_t bdf, int offset, in pci_bus_write_config()
250 int pci_bus_clrset_config32(struct udevice *bus, pci_dev_t bdf, int offset, in pci_bus_clrset_config32()
[all …]
/external/toybox/toys/other/
Di2ctools.c87 static int i2c_open(int bus, int slave, int chip) in i2c_open()
97 static unsigned long i2c_get_funcs(int bus) in i2c_get_funcs()
122 static void i2cdetect_dash_F(int bus) in i2cdetect_dash_F()
155 int bus; in i2cdetect_dash_l() local
188 int bus, first = 0x03, last = 0x77, fd, row, addr, byte; in i2cdetect_main() local
235 int bus = atolx_range(toys.optargs[0], 0, INT_MAX); in i2cdump_main() local
261 int bus = atolx_range(toys.optargs[0], 0, INT_MAX); in i2cget_main() local
280 int bus = atolx_range(toys.optargs[0], 0, INT_MAX); in i2cset_main() local
/external/autotest/client/site_tests/hardware_I2CProbe/
Dhardware_I2CProbe.py19 def i2c_detect(bus, addr): argument
26 def i2c_probe(bus, addr): argument
34 def run_once(self, bus, addr): argument
/external/u-boot/common/
Dmiiphyutil.c69 struct mii_dev *bus; in mdio_alloc() local
83 void mdio_free(struct mii_dev *bus) in mdio_free()
88 int mdio_register(struct mii_dev *bus) in mdio_register()
109 int mdio_register_seq(struct mii_dev *bus, int seq) in mdio_register_seq()
121 int mdio_unregister(struct mii_dev *bus) in mdio_unregister()
141 struct mii_dev *bus = list_entry(entry, struct mii_dev, link); in mdio_list_devices() local
183 struct mii_dev *bus; in mdio_phydev_for_ethname() local
237 struct mii_dev *bus; in miiphy_read() local
265 struct mii_dev *bus; in miiphy_write() local

12345678910>>...17