| /openbmc/qemu/tests/qtest/ |
| H A D | ide-test.c | 157 QPCIDevice *dev; in get_pci_device() local 183 static void free_pci_device(QPCIDevice *dev) in free_pci_device() 205 void(*post_exec)(QPCIDevice *dev, QPCIBar ide_bar, in send_dma_request() 208 QPCIDevice *dev; in send_dma_request() local 329 QPCIDevice *dev; in test_bmdma_simple_rw() local 399 QPCIDevice *dev; in test_bmdma_trim() local 461 QPCIDevice *dev = NULL; in test_bmdma_various_prdts() local 530 QPCIDevice *dev; in test_bmdma_no_busmaster() local 569 QPCIDevice *dev; in test_specify() local 609 QPCIDevice *dev; in test_identify() local [all …]
|
| /openbmc/u-boot/drivers/mtd/ |
| H A D | altera_qspi.c | 106 struct udevice *dev = mtd->dev; in write_buff() local 122 struct udevice *dev; in flash_init() local 135 struct udevice *dev = mtd->dev; in altera_qspi_erase() local 197 struct udevice *dev = mtd->dev; in altera_qspi_read() local 209 struct udevice *dev = mtd->dev; in altera_qspi_write() local 235 struct udevice *dev = mtd->dev; in altera_qspi_get_locked_range() local 257 struct udevice *dev = mtd->dev; in altera_qspi_lock() local 291 struct udevice *dev = mtd->dev; in altera_qspi_unlock() local 303 static int altera_qspi_probe(struct udevice *dev) in altera_qspi_probe() 347 static int altera_qspi_ofdata_to_platdata(struct udevice *dev) in altera_qspi_ofdata_to_platdata()
|
| /openbmc/u-boot/drivers/net/ |
| H A D | ftgmac100.c | 158 static int ftgmac100_mdio_init(struct udevice *dev) in ftgmac100_mdio_init() 221 static int ftgmac100_phy_init(struct udevice *dev) in ftgmac100_phy_init() 281 static void ftgmac100_stop(struct udevice *dev) in ftgmac100_stop() 294 static int ftgmac100_start(struct udevice *dev) in ftgmac100_start() 396 static int ftgmac100_free_pkt(struct udevice *dev, uchar *packet, int length) in ftgmac100_free_pkt() 417 static int ftgmac100_recv(struct udevice *dev, int flags, uchar **packetp) in ftgmac100_recv() 527 static int ftgmac100_write_hwaddr(struct udevice *dev) in ftgmac100_write_hwaddr() 535 static int ftgmac100_ofdata_to_platdata(struct udevice *dev) in ftgmac100_ofdata_to_platdata() 580 static int ftgmac100_probe(struct udevice *dev) in ftgmac100_probe() 629 static int ftgmac100_remove(struct udevice *dev) in ftgmac100_remove()
|
| H A D | macb.c | 123 const struct device *dev; member 234 struct udevice *dev = eth_get_dev_by_name(bus->name); in macb_miiphy_read() local 237 struct eth_device *dev = eth_get_dev_by_name(bus->name); in macb_miiphy_read() local 254 struct udevice *dev = eth_get_dev_by_name(bus->name); in macb_miiphy_write() local 502 static int macb_phy_init(struct udevice *dev, const char *name) in macb_phy_init() 651 static int _macb_init(struct udevice *dev, const char *name) in _macb_init() 996 static int macb_start(struct udevice *dev) in macb_start() 1001 static int macb_send(struct udevice *dev, void *packet, int length) in macb_send() 1008 static int macb_recv(struct udevice *dev, int flags, uchar **packetp) in macb_recv() 1018 static int macb_free_pkt(struct udevice *dev, uchar *packet, int length) in macb_free_pkt() [all …]
|
| /openbmc/u-boot/board/nvidia/p2771-0000/ |
| H A D | p2771-0000.c | 12 struct udevice *dev; in tegra_board_init() local 36 struct udevice *dev; in tegra_pcie_board_init() local
|
| /openbmc/u-boot/test/dm/ |
| H A D | pch.c | 16 struct udevice *dev; in dm_test_pch_base() local 41 struct udevice *dev; in dm_test_pch_ioctl() local
|
| H A D | nop.c | 23 struct udevice *dev; in noptest_bind() local 63 struct udevice *dev; in dm_test_nop() local
|
| H A D | eth.c | 102 struct udevice *dev[DM_TEST_ETH_NUM]; in dm_test_eth_act() local 262 static int sb_check_arp_reply(struct udevice *dev, void *packet, in sb_check_arp_reply() 300 static int sb_with_async_arp_handler(struct udevice *dev, void *packet, in sb_with_async_arp_handler() 347 static int sb_check_ping_reply(struct udevice *dev, void *packet, in sb_check_ping_reply() 385 static int sb_with_async_ping_handler(struct udevice *dev, void *packet, in sb_with_async_ping_handler()
|
| /openbmc/u-boot/drivers/hwspinlock/ |
| H A D | sandbox_hwspinlock.c | 11 static int sandbox_lock(struct udevice *dev, int index) in sandbox_lock() 26 static int sandbox_unlock(struct udevice *dev, int index) in sandbox_unlock()
|
| /openbmc/u-boot/arch/arm/mach-mediatek/mt7629/ |
| H A D | init.c | 36 struct udevice *dev; in mtk_pll_early_init() local 68 struct udevice *dev; in mtk_soc_early_init() local 98 struct udevice *dev; in dram_init() local
|
| /openbmc/u-boot/drivers/pinctrl/mvebu/ |
| H A D | pinctrl-mvebu.c | 39 void mvebu_pinctl_emmc_set_mux(struct udevice *dev, u32 pin, u32 func) in mvebu_pinctl_emmc_set_mux() 67 int mvebu_pinctrl_set_state(struct udevice *dev, struct udevice *config) in mvebu_pinctrl_set_state() 127 static int mvebu_pinctrl_set_state_all(struct udevice *dev, in mvebu_pinctrl_set_state_all() 182 int mvebu_pinctl_probe(struct udevice *dev) in mvebu_pinctl_probe()
|
| /openbmc/u-boot/drivers/pinctrl/aspeed/ |
| H A D | pinctrl_ast2500.c | 24 static int ast2500_pinctrl_probe(struct udevice *dev) in ast2500_pinctrl_probe() 166 static int ast2500_pinctrl_get_groups_count(struct udevice *dev) in ast2500_pinctrl_get_groups_count() 173 static const char *ast2500_pinctrl_get_group_name(struct udevice *dev, in ast2500_pinctrl_get_group_name() 181 static int ast2500_pinctrl_group_set(struct udevice *dev, unsigned selector, in ast2500_pinctrl_group_set()
|
| /openbmc/u-boot/drivers/tpm/ |
| H A D | tpm2_tis_i2c.c | 48 static int tpm_tis_i2c_read(struct udevice *dev, u32 addr, u16 len, u8 *in) in tpm_tis_i2c_read() 62 static int tpm_tis_i2c_write(struct udevice *dev, u32 addr, u16 len, in tpm_tis_i2c_write() 77 static int tpm_tis_i2c_read32(struct udevice *dev, u32 addr, u32 *result) in tpm_tis_i2c_read32() 89 static int tpm_tis_i2c_write32(struct udevice *dev, u32 addr, u32 value) in tpm_tis_i2c_write32()
|
| /openbmc/u-boot/drivers/pci/ |
| H A D | pci_auto_old.c | 29 pci_dev_t dev, int bars_num, in pciauto_setup_device() 176 pci_dev_t dev, int sub_bus) in pciauto_prescan_setup_bridge() 257 pci_dev_t dev, int sub_bus) in pciauto_postscan_setup_bridge() 320 int pciauto_config_device(struct pci_controller *hose, pci_dev_t dev) in pciauto_config_device()
|
| /openbmc/u-boot/drivers/video/ |
| H A D | atmel_hlcdfb.c | 261 static int at91_hlcdc_enable_clk(struct udevice *dev) in at91_hlcdc_enable_clk() 289 static void atmel_hlcdc_init(struct udevice *dev) in atmel_hlcdc_init() 477 static int atmel_hlcdc_probe(struct udevice *dev) in atmel_hlcdc_probe() 499 static int atmel_hlcdc_ofdata_to_platdata(struct udevice *dev) in atmel_hlcdc_ofdata_to_platdata() 535 static int atmel_hlcdc_bind(struct udevice *dev) in atmel_hlcdc_bind()
|
| /openbmc/u-boot/arch/x86/cpu/ivybridge/ |
| H A D | model_206ax.c | 285 static int configure_thermal_target(struct udevice *dev) in configure_thermal_target() 396 static int model_206ax_init(struct udevice *dev) in model_206ax_init() 437 static int model_206ax_get_info(struct udevice *dev, struct cpu_info *info) in model_206ax_get_info() 449 static int model_206ax_get_count(struct udevice *dev) in model_206ax_get_count() 454 static int cpu_x86_model_206ax_probe(struct udevice *dev) in cpu_x86_model_206ax_probe()
|
| /openbmc/qemu/hw/ssi/ |
| H A D | ssi.c | 45 static bool ssi_bus_check_address(BusState *b, DeviceState *dev, Error **errp) in ssi_bus_check_address() 85 static uint32_t ssi_transfer_raw_default(SSIPeripheral *dev, uint32_t val) in ssi_transfer_raw_default() 97 static void ssi_peripheral_realize(DeviceState *dev, Error **errp) in ssi_peripheral_realize() 136 bool ssi_realize_and_unref(DeviceState *dev, SSIBus *bus, Error **errp) in ssi_realize_and_unref() 143 DeviceState *dev = qdev_new(name); in ssi_create_peripheral() local
|
| /openbmc/qemu/hw/usb/ |
| H A D | u2f.c | 149 static void u2f_key_handle_reset(USBDevice *dev) in u2f_key_handle_reset() 156 static void u2f_key_handle_control(USBDevice *dev, USBPacket *p, in u2f_key_handle_control() 238 static void u2f_key_handle_data(USBDevice *dev, USBPacket *p) in u2f_key_handle_data() 274 static void u2f_key_unrealize(USBDevice *dev) in u2f_key_unrealize() 284 static void u2f_key_realize(USBDevice *dev, Error **errp) in u2f_key_realize()
|
| /openbmc/u-boot/include/linux/ |
| H A D | compat.h | 35 #define dev_dbg(dev, fmt, args...) \ argument 37 #define dev_vdbg(dev, fmt, args...) \ argument 39 #define dev_info(dev, fmt, args...) \ argument 41 #define dev_err(dev, fmt, args...) \ argument 43 #define dev_warn(dev, fmt, args...) \ argument 46 #define netdev_emerg(dev, fmt, args...) \ argument 48 #define netdev_alert(dev, fmt, args...) \ argument 50 #define netdev_crit(dev, fmt, args...) \ argument 52 #define netdev_err(dev, fmt, args...) \ argument 54 #define netdev_warn(dev, fmt, args...) \ argument [all …]
|
| /openbmc/u-boot/cmd/ |
| H A D | mtdparts.c | 234 struct mtd_device *dev; in index_partitions() local 451 static int part_del(struct mtd_device *dev, struct part_info *part) in part_del() 516 static int part_sort_add(struct mtd_device *dev, struct part_info *part) in part_sort_add() 579 static int part_add(struct mtd_device *dev, struct part_info *part) in part_add() 761 static int device_del(struct mtd_device *dev) in device_del() 813 static void device_add(struct mtd_device *dev) in device_add() 842 struct mtd_device *dev; in device_parse() local 1087 struct mtd_device *dev; in generate_mtdparts() local 1251 struct mtd_device *dev; local 1347 int find_dev_and_part(const char *id, struct mtd_device **dev, [all …]
|
| /openbmc/u-boot/drivers/net/phy/ |
| H A D | b53.c | 319 static inline int b53_read8(struct b53_device *dev, u8 page, in b53_read8() 325 static inline int b53_read16(struct b53_device *dev, u8 page, in b53_read16() 331 static inline int b53_read32(struct b53_device *dev, u8 page, in b53_read32() 337 static inline int b53_read48(struct b53_device *dev, u8 page, in b53_read48() 343 static inline int b53_read64(struct b53_device *dev, u8 page, in b53_read64() 349 static inline int b53_write8(struct b53_device *dev, u8 page, in b53_write8() 355 static inline int b53_write16(struct b53_device *dev, u8 page, in b53_write16() 361 static inline int b53_write32(struct b53_device *dev, u8 page, in b53_write32() 367 static inline int b53_write48(struct b53_device *dev, u8 page, in b53_write48() 373 static inline int b53_write64(struct b53_device *dev, u8 page, in b53_write64() [all …]
|
| /openbmc/qemu/hw/pci/ |
| H A D | pci.c | 402 static void pci_update_irq_status(PCIDevice *dev) in pci_update_irq_status() 411 void pci_device_deassert_intx(PCIDevice *dev) in pci_device_deassert_intx() 419 static void pci_msi_trigger(PCIDevice *dev, MSIMessage msg) in pci_msi_trigger() 517 static void pci_reset_regions(PCIDevice *dev) in pci_reset_regions() 539 static void pci_do_device_reset(PCIDevice *dev) in pci_do_device_reset() 577 void pci_device_reset(PCIDevice *dev) in pci_device_reset() 632 const char *pci_root_bus_path(PCIDevice *dev) in pci_root_bus_path() 775 PCIDevice *dev = bus->devices[i]; in pci_bus_range() local 1014 static void pci_init_cmask(PCIDevice *dev) in pci_init_cmask() 1026 static void pci_init_wmask(PCIDevice *dev) in pci_init_wmask() [all …]
|
| /openbmc/u-boot/drivers/mmc/ |
| H A D | ftsdc010_mci.c | 180 static int ftsdc010_request(struct udevice *dev, struct mmc_cmd *cmd, in ftsdc010_request() 284 static int ftsdc010_set_ios(struct udevice *dev) in ftsdc010_set_ios() 308 static int ftsdc010_get_cd(struct udevice *dev) in ftsdc010_get_cd() 316 static int ftsdc010_get_wp(struct udevice *dev) in ftsdc010_get_wp() 358 static int ftsdc010_probe(struct udevice *dev) in ftsdc010_probe() 390 static int ftsdc010_mmc_ofdata_to_platdata(struct udevice *dev) in ftsdc010_mmc_ofdata_to_platdata() 423 static int ftsdc010_mmc_probe(struct udevice *dev) in ftsdc010_mmc_probe() 458 int ftsdc010_mmc_bind(struct udevice *dev) in ftsdc010_mmc_bind()
|
| /openbmc/qemu/hw/acpi/ |
| H A D | generic_event_device.c | 51 Aml *dev = aml_device("%s", name); in build_ged_aml() local 160 Aml *dev = aml_device(ACPI_POWER_BUTTON_DEVICE); in acpi_dsdt_add_power_button() local 241 DeviceState *dev, Error **errp) in acpi_ged_device_pre_plug_cb() 249 DeviceState *dev, Error **errp) in acpi_ged_device_plug_cb() 270 DeviceState *dev, Error **errp) in acpi_ged_unplug_request_cb() 289 DeviceState *dev, Error **errp) in acpi_ged_unplug_cb() 456 static void acpi_ged_realize(DeviceState *dev, Error **errp) in acpi_ged_realize() 505 DeviceState *dev = DEVICE(obj); in acpi_ged_initfn() local
|
| /openbmc/u-boot/include/ |
| H A D | usb.h | 152 struct udevice *dev; /* Pointer to associated device */ member 179 #define usb_reset_root_port(dev) argument 339 #define create_pipe(dev,endpoint) \ argument 342 #define default_pipe(dev) ((dev)->speed << 26) argument 344 #define usb_sndctrlpipe(dev, endpoint) ((PIPE_CONTROL << 30) | \ argument 346 #define usb_rcvctrlpipe(dev, endpoint) ((PIPE_CONTROL << 30) | \ argument 349 #define usb_sndisocpipe(dev, endpoint) ((PIPE_ISOCHRONOUS << 30) | \ argument 351 #define usb_rcvisocpipe(dev, endpoint) ((PIPE_ISOCHRONOUS << 30) | \ argument 354 #define usb_sndbulkpipe(dev, endpoint) ((PIPE_BULK << 30) | \ argument 356 #define usb_rcvbulkpipe(dev, endpoint) ((PIPE_BULK << 30) | \ argument [all …]
|