/u-boot/drivers/i2c/ |
A D | i2c-gpio.c | 41 static int i2c_gpio_sda_get(struct i2c_gpio_bus *bus) in i2c_gpio_sda_get() 48 static void i2c_gpio_sda_set(struct i2c_gpio_bus *bus, int bit) in i2c_gpio_sda_set() 59 static void i2c_gpio_scl_set(struct i2c_gpio_bus *bus, int bit) in i2c_gpio_scl_set() 99 static int i2c_gpio_read_bit(struct i2c_gpio_bus *bus, int delay) in i2c_gpio_read_bit() 126 static void i2c_gpio_send_stop(struct i2c_gpio_bus *bus, int delay) in i2c_gpio_send_stop() 162 static void i2c_gpio_sda_high(struct i2c_gpio_bus *bus, int delay) in i2c_gpio_sda_high() 272 struct i2c_gpio_bus *bus = dev_get_priv(dev); in i2c_gpio_xfer() local 295 struct i2c_gpio_bus *bus = dev_get_priv(dev); in i2c_gpio_probe() local 311 struct i2c_gpio_bus *bus = dev_get_priv(dev); in i2c_gpio_set_bus_speed() local 325 struct i2c_gpio_bus *bus = dev_get_priv(dev); in i2c_gpio_drv_probe() local [all …]
|
A D | at91_i2c.c | 26 static int at91_wait_for_xfer(struct at91_i2c_bus *bus, u32 status) in at91_wait_for_xfer() 47 static int at91_i2c_xfer_msg(struct at91_i2c_bus *bus, struct i2c_msg *msg) in at91_i2c_xfer_msg() 115 struct at91_i2c_bus *bus = dev_get_priv(dev); in at91_i2c_xfer() local 159 struct at91_i2c_bus *bus = dev_get_priv(dev); in at91_calc_i2c_clock() local 185 struct at91_i2c_bus *bus = dev_get_priv(dev); in at91_i2c_enable_clk() local 211 struct at91_i2c_bus *bus = dev_get_priv(dev); in at91_i2c_set_bus_speed() local 222 struct at91_i2c_bus *bus = dev_get_priv(dev); in at91_i2c_get_bus_speed() local 230 struct at91_i2c_bus *bus = dev_get_priv(dev); in at91_i2c_of_to_plat() local 249 struct at91_i2c_bus *bus = dev_get_priv(dev); in at91_i2c_probe() local
|
A D | imx_lpi2c.c | 98 static int bus_i2c_send(struct udevice *bus, u8 *txbuf, int len) in bus_i2c_send() 120 static int bus_i2c_receive(struct udevice *bus, u8 *rxbuf, int len) in bus_i2c_receive() 164 static int bus_i2c_start(struct udevice *bus, u8 addr, u8 dir) in bus_i2c_start() 201 static int bus_i2c_stop(struct udevice *bus) in bus_i2c_stop() 239 static int bus_i2c_read(struct udevice *bus, u32 chip, u8 *buf, int len) in bus_i2c_read() 253 static int bus_i2c_write(struct udevice *bus, u32 chip, u8 *buf, int len) in bus_i2c_write() 273 static int bus_i2c_set_bus_speed(struct udevice *bus, int speed) in bus_i2c_set_bus_speed() 349 static int bus_i2c_init(struct udevice *bus, int speed) in bus_i2c_init() 385 static int imx_lpi2c_probe_chip(struct udevice *bus, u32 chip, in imx_lpi2c_probe_chip() 432 static int imx_lpi2c_set_bus_speed(struct udevice *bus, unsigned int speed) in imx_lpi2c_set_bus_speed() [all …]
|
A D | i2c-uclass.c | 83 struct udevice *bus = dev_get_parent(dev); in i2c_read_bytewise() local 112 struct udevice *bus = dev_get_parent(dev); in i2c_write_bytewise() local 135 struct udevice *bus = dev_get_parent(dev); in dm_i2c_read() local 166 struct udevice *bus = dev_get_parent(dev); in dm_i2c_write() local 220 struct udevice *bus = dev_get_parent(dev); in dm_i2c_xfer() local 351 struct udevice *bus; in i2c_get_chip_for_busnum() local 422 int dm_i2c_get_bus_speed(struct udevice *bus) in dm_i2c_get_bus_speed() 435 struct udevice *bus = dev->parent; in i2c_set_chip_flags() local 563 static int i2c_deblock_gpio(struct udevice *bus) in i2c_deblock_gpio() 603 static int i2c_deblock_gpio(struct udevice *bus) in i2c_deblock_gpio() [all …]
|
/u-boot/drivers/net/phy/ |
A D | miiphybb.c | 33 static int bb_mii_init_wrap(struct bb_miiphy_bus *bus) in bb_mii_init_wrap() 41 static int bb_mdio_active_wrap(struct bb_miiphy_bus *bus) in bb_mdio_active_wrap() 50 static int bb_mdio_tristate_wrap(struct bb_miiphy_bus *bus) in bb_mdio_tristate_wrap() 59 static int bb_set_mdio_wrap(struct bb_miiphy_bus *bus, int v) in bb_set_mdio_wrap() 68 static int bb_get_mdio_wrap(struct bb_miiphy_bus *bus, int *v) in bb_get_mdio_wrap() 77 static int bb_set_mdc_wrap(struct bb_miiphy_bus *bus, int v) in bb_set_mdc_wrap() 86 static int bb_delay_wrap(struct bb_miiphy_bus *bus) in bb_delay_wrap() 155 static void miiphy_pre(struct bb_miiphy_bus *bus, char read, in miiphy_pre() 240 struct bb_miiphy_bus *bus; in bb_miiphy_read() local 310 struct bb_miiphy_bus *bus; in bb_miiphy_write() local
|
/u-boot/test/dm/ |
A D | bus.c | 27 struct udevice *bus; in dm_test_bus_children() local 50 struct udevice *bus, *dev; in dm_test_bus_children_funcs() local 89 struct udevice *bus, *dev; in dm_test_bus_children_of_offset() local 145 struct udevice *bus, *dev; in test_bus_parent_data() local 212 struct udevice *bus; in dm_test_bus_parent_data_uclass() local 242 struct udevice *bus, *dev; in dm_test_bus_parent_ops() local 278 struct udevice *bus, *dev; in test_bus_parent_plat() local 353 struct udevice *bus; in dm_test_bus_parent_plat_uclass() local 383 struct udevice *bus, *dev; in dm_test_bus_child_post_bind() local 404 struct udevice *bus, *dev; in dm_test_bus_child_post_bind_uclass() local [all …]
|
A D | i2c.c | 28 struct udevice *bus, *dev; in dm_test_i2c_find() local 46 struct udevice *bus, *dev; in dm_test_i2c_read_write() local 63 struct udevice *bus, *dev; in dm_test_i2c_speed() local 85 struct udevice *bus, *dev; in dm_test_i2c_offset_len() local 102 struct udevice *bus, *dev; in dm_test_i2c_probe_empty() local 117 struct udevice *bus, *dev; in dm_test_i2c_bytewise() local
|
A D | virtio.c | 21 struct udevice *bus, *dev; in dm_test_virtio_base() local 44 struct udevice *bus, *dev; in dm_test_virtio_all_ops() local 93 struct udevice *bus; in dm_test_virtio_missing_ops() local 111 struct udevice *bus, *dev; in dm_test_virtio_remove() local
|
A D | pci.c | 17 struct udevice *bus; in dm_test_pci_base() local 28 struct udevice *bus; in dm_test_pci_busdev() local 116 struct udevice *bus, *swap; in dm_test_pci_drvdata() local 139 struct udevice *bus, *swap; in dm_test_pci_mixed() local 201 struct udevice *bus, *swap; in dm_test_pci_cap() local 253 struct udevice *bus, *swap; in dm_test_pci_ea() local
|
/u-boot/board/LaCie/common/ |
A D | cpld-gpio-bus.c | 17 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()
|
/u-boot/drivers/spi/ |
A D | altera_spi.c | 45 struct udevice *bus = dev->parent; in spi_cs_activate() local 55 struct udevice *bus = dev->parent; in spi_cs_deactivate() local 65 struct udevice *bus = dev->parent; in altera_spi_claim_bus() local 77 struct udevice *bus = dev->parent; in altera_spi_release_bus() local 89 struct udevice *bus = dev->parent; in altera_spi_xfer() local 152 static int altera_spi_set_speed(struct udevice *bus, uint speed) in altera_spi_set_speed() 157 static int altera_spi_set_mode(struct udevice *bus, uint mode) in altera_spi_set_mode() 162 static int altera_spi_probe(struct udevice *bus) in altera_spi_probe() 172 static int altera_spi_of_to_plat(struct udevice *bus) in altera_spi_of_to_plat()
|
A D | ath79_spi.c | 31 struct udevice *bus = dev_get_parent(dev); in spi_cs_activate() local 40 struct udevice *bus = dev_get_parent(dev); in spi_cs_deactivate() local 60 struct udevice *bus = dev_get_parent(dev); in ath79_spi_xfer() local 138 static int ath79_spi_set_speed(struct udevice *bus, uint speed) in ath79_spi_set_speed() 171 static int ath79_spi_set_mode(struct udevice *bus, uint mode) in ath79_spi_set_mode() 176 static int ath79_spi_probe(struct udevice *bus) in ath79_spi_probe() 198 static int ath79_cs_info(struct udevice *bus, uint cs, in ath79_cs_info()
|
A D | cadence_qspi.c | 28 static int cadence_spi_write_speed(struct udevice *bus, uint hz) in cadence_spi_write_speed() 55 static int spi_calibration(struct udevice *bus, uint hz) in spi_calibration() 131 static int cadence_spi_set_speed(struct udevice *bus, uint hz) in cadence_spi_set_speed() 166 static int cadence_spi_probe(struct udevice *bus) in cadence_spi_probe() 213 static int cadence_spi_set_mode(struct udevice *bus, uint mode) in cadence_spi_set_mode() 237 struct udevice *bus = spi->dev->parent; in cadence_spi_mem_exec_op() local 285 static int cadence_spi_of_to_plat(struct udevice *bus) in cadence_spi_of_to_plat()
|
A D | kirkwood_spi.c | 110 static int mvebu_spi_set_speed(struct udevice *bus, uint hz) in mvebu_spi_set_speed() 128 static void mvebu_spi_50mhz_ac_timing_erratum(struct udevice *bus, uint mode) in mvebu_spi_50mhz_ac_timing_erratum() 161 static int mvebu_spi_set_mode(struct udevice *bus, uint mode) in mvebu_spi_set_mode() 187 struct udevice *bus = dev->parent; in mvebu_spi_xfer() local 200 struct udevice *bus = dev->parent; in mvebu_spi_claim_bus() local 221 static int mvebu_spi_probe(struct udevice *bus) in mvebu_spi_probe() 233 static int mvebu_spi_of_to_plat(struct udevice *bus) in mvebu_spi_of_to_plat()
|
A D | spi-uclass.c | 25 static int spi_set_speed_mode(struct udevice *bus, int speed, int mode) in spi_set_speed_mode() 54 struct udevice *bus = dev->parent; in dm_spi_claim_bus() local 87 struct udevice *bus = dev->parent; in dm_spi_release_bus() local 97 struct udevice *bus = dev->parent; in dm_spi_xfer() local 111 struct udevice *bus = dev->parent; in dm_spi_get_mmap() local 176 static int spi_post_probe(struct udevice *bus) in spi_post_probe() 237 int spi_find_chip_select(struct udevice *bus, int cs, struct udevice **devp) in spi_find_chip_select() 284 struct udevice *bus; in spi_cs_is_valid() local 296 int spi_cs_info(struct udevice *bus, uint cs, struct spi_cs_info *info) in spi_cs_info() 313 struct udevice *bus, *dev; in spi_find_bus_and_cs() local [all …]
|
/u-boot/board/gdsys/mpc8308/ |
A D | hrcon.c | 59 u8 bus; member 243 void fpga_gpio_set(uint bus, int pin) in fpga_gpio_set() 248 void fpga_gpio_clear(uint bus, int pin) in fpga_gpio_clear() 253 int fpga_gpio_get(uint bus, int pin) in fpga_gpio_get() 262 void fpga_control_set(uint bus, int pin) in fpga_control_set() 270 void fpga_control_clear(uint bus, int pin) in fpga_control_clear() 386 static int mii_dummy_init(struct bb_miiphy_bus *bus) in mii_dummy_init() 391 static int mii_mdio_active(struct bb_miiphy_bus *bus) in mii_mdio_active() 403 static int mii_mdio_tristate(struct bb_miiphy_bus *bus) in mii_mdio_tristate() 438 static int mii_set_mdc(struct bb_miiphy_bus *bus, int v) in mii_set_mdc() [all …]
|
A D | strider.c | 62 u8 bus; member 296 void fpga_gpio_set(uint bus, int pin) in fpga_gpio_set() 301 void fpga_gpio_clear(uint bus, int pin) in fpga_gpio_clear() 306 int fpga_gpio_get(uint bus, int pin) in fpga_gpio_get() 316 void fpga_control_set(uint bus, int pin) in fpga_control_set() 324 void fpga_control_clear(uint bus, int pin) in fpga_control_clear() 441 static int mii_dummy_init(struct bb_miiphy_bus *bus) in mii_dummy_init() 446 static int mii_mdio_active(struct bb_miiphy_bus *bus) in mii_mdio_active() 458 static int mii_mdio_tristate(struct bb_miiphy_bus *bus) in mii_mdio_tristate() 493 static int mii_set_mdc(struct bb_miiphy_bus *bus, int v) in mii_set_mdc() [all …]
|
/u-boot/board/gdsys/a38x/ |
A D | ihs_phys.c | 105 int register_miiphy_bus(uint k, struct mii_dev **bus) in register_miiphy_bus() 144 int init_single_phy(struct porttype *porttype, struct mii_dev *bus, in init_single_phy() 170 struct mii_dev *bus = NULL; in init_octo_phys() local 225 static int mii_mdio_init(struct bb_miiphy_bus *bus) in mii_mdio_init() 266 static int mii_mdio_active(struct bb_miiphy_bus *bus) in mii_mdio_active() 275 static int mii_mdio_tristate(struct bb_miiphy_bus *bus) in mii_mdio_tristate() 284 static int mii_set_mdio(struct bb_miiphy_bus *bus, int v) in mii_set_mdio() 295 static int mii_get_mdio(struct bb_miiphy_bus *bus, int *v) in mii_get_mdio() 305 static int mii_set_mdc(struct bb_miiphy_bus *bus, int v) in mii_set_mdc() 314 static int mii_delay(struct bb_miiphy_bus *bus) in mii_delay()
|
/u-boot/drivers/net/ |
A D | pic32_mdio.c | 17 static int pic32_mdio_write(struct mii_dev *bus, in pic32_mdio_write() 45 static int pic32_mdio_read(struct mii_dev *bus, int addr, int devaddr, int reg) in pic32_mdio_read() 77 static int pic32_mdio_reset(struct mii_dev *bus) in pic32_mdio_reset() 106 struct mii_dev *bus; in pic32_mdio_init() local
|
/u-boot/drivers/net/fm/ |
A D | tgec_phy.c | 19 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
|
/u-boot/drivers/usb/host/ |
A D | usb-uclass.c | 28 struct udevice *bus = udev->controller_dev; in usb_lock_async() local 48 struct udevice *bus = udev->controller_dev; in submit_int_msg() local 61 struct udevice *bus = udev->controller_dev; in submit_control_msg() local 84 struct udevice *bus = udev->controller_dev; in submit_bulk_msg() local 97 struct udevice *bus = udev->controller_dev; in create_int_queue() local 109 struct udevice *bus = udev->controller_dev; in poll_int_queue() local 120 struct udevice *bus = udev->controller_dev; in destroy_int_queue() local 131 struct udevice *bus = udev->controller_dev; in usb_alloc_device() local 176 struct udevice *bus; in usb_stop() local 256 struct udevice *bus; in usb_init() local [all …]
|
/u-boot/drivers/w1/ |
A D | w1-uclass.c | 29 static int w1_enumerate(struct udevice *bus) in w1_enumerate() 141 struct udevice *bus = dev_get_parent(dev); in w1_reset_select() local 160 struct udevice *bus = dev_get_parent(dev); in w1_read_byte() local 186 struct udevice *bus = dev_get_parent(dev); in w1_write_byte() local 197 static int w1_post_probe(struct udevice *bus) in w1_post_probe() 206 struct udevice *bus; in w1_init() local
|
/u-boot/common/ |
A D | miiphyutil.c | 71 struct mii_dev *bus; in mdio_alloc() local 85 void mdio_free(struct mii_dev *bus) in mdio_free() 90 int mdio_register(struct mii_dev *bus) in mdio_register() 111 int mdio_register_seq(struct mii_dev *bus, int seq) in mdio_register_seq() 123 int mdio_unregister(struct mii_dev *bus) in mdio_unregister() 143 struct mii_dev *bus = list_entry(entry, struct mii_dev, link); in mdio_list_devices() local 190 struct mii_dev *bus; in mdio_phydev_for_ethname() local 244 struct mii_dev *bus; in miiphy_read() local 272 struct mii_dev *bus; in miiphy_write() local
|
/u-boot/drivers/pci/ |
A D | pci_octeontx.c | 49 struct resource bus; member 56 u32 bus, dev, func; in octeontx_cfg_addr() local 118 static int octeontx_ecam_read_config(const struct udevice *bus, pci_dev_t bdf, in octeontx_ecam_read_config() 136 static int octeontx_ecam_write_config(struct udevice *bus, pci_dev_t bdf, in octeontx_ecam_write_config() 154 static int octeontx_pem_read_config(const struct udevice *bus, pci_dev_t bdf, in octeontx_pem_read_config() 185 static int octeontx_pem_write_config(struct udevice *bus, pci_dev_t bdf, in octeontx_pem_write_config() 217 static int octeontx2_pem_read_config(const struct udevice *bus, pci_dev_t bdf, in octeontx2_pem_read_config() 242 static int octeontx2_pem_write_config(struct udevice *bus, pci_dev_t bdf, in octeontx2_pem_write_config() 265 int pci_octeontx_read_config(const struct udevice *bus, pci_dev_t bdf, in pci_octeontx_read_config() 290 int pci_octeontx_write_config(struct udevice *bus, pci_dev_t bdf, in pci_octeontx_write_config()
|
/u-boot/drivers/net/pfe_eth/ |
A D | pfe_mdio.c | 19 static int pfe_write_addr(struct mii_dev *bus, int phy_addr, int dev_addr, in pfe_write_addr() 53 static int pfe_phy_read(struct mii_dev *bus, int phy_addr, int dev_addr, in pfe_phy_read() 108 static int pfe_phy_write(struct mii_dev *bus, int phy_addr, int dev_addr, in pfe_phy_write() 160 struct mii_dev bus; in pfe_configure_serdes() local 251 struct mii_dev *bus; in pfe_mdio_init() local 282 void pfe_set_mdio(int dev_id, struct mii_dev *bus) in pfe_set_mdio()
|