/openbmc/u-boot/drivers/net/ |
H A D | ne2000_base.c | 684 static int ne2k_setup_driver(struct eth_device *dev) in ne2k_setup_driver() 732 static int ne2k_init(struct eth_device *dev, bd_t *bd) in ne2k_init() 739 static void ne2k_halt(struct eth_device *dev) in ne2k_halt() 747 static int ne2k_recv(struct eth_device *dev) in ne2k_recv() 753 static int ne2k_send(struct eth_device *dev, void *packet, int length) in ne2k_send() 784 struct eth_device *dev; in ne2k_register() local
|
/openbmc/u-boot/disk/ |
H A D | part.c | 55 static struct blk_desc *get_dev_hwpart(const char *ifname, int dev, int hwpart) in get_dev_hwpart() 76 struct blk_desc *blk_get_dev(const char *ifname, int dev) in blk_get_dev() 81 struct blk_desc *get_dev_hwpart(const char *ifname, int dev, int hwpart) in get_dev_hwpart() 86 struct blk_desc *blk_get_dev(const char *ifname, int dev) in blk_get_dev() 376 int dev, hwpart; in blk_get_device_by_str() local 439 int dev; in blk_get_device_part_str() local
|
/openbmc/qemu/hw/usb/ |
H A D | dev-wacom.c | 43 USBDevice dev; member 303 static void usb_wacom_handle_reset(USBDevice *dev) in usb_wacom_handle_reset() 316 static void usb_wacom_handle_control(USBDevice *dev, USBPacket *p, in usb_wacom_handle_control() 371 static void usb_wacom_handle_data(USBDevice *dev, USBPacket *p) in usb_wacom_handle_data() 399 static void usb_wacom_unrealize(USBDevice *dev) in usb_wacom_unrealize() 409 static void usb_wacom_realize(USBDevice *dev, Error **errp) in usb_wacom_realize()
|
/openbmc/u-boot/drivers/pinctrl/renesas/ |
H A D | pfc.c | 416 static int sh_pfc_pinctrl_get_pins_count(struct udevice *dev) in sh_pfc_pinctrl_get_pins_count() 423 static const char *sh_pfc_pinctrl_get_pin_name(struct udevice *dev, in sh_pfc_pinctrl_get_pin_name() 431 static int sh_pfc_pinctrl_get_groups_count(struct udevice *dev) in sh_pfc_pinctrl_get_groups_count() 438 static const char *sh_pfc_pinctrl_get_group_name(struct udevice *dev, in sh_pfc_pinctrl_get_group_name() 446 static int sh_pfc_pinctrl_get_functions_count(struct udevice *dev) in sh_pfc_pinctrl_get_functions_count() 453 static const char *sh_pfc_pinctrl_get_function_name(struct udevice *dev, in sh_pfc_pinctrl_get_function_name() 461 int sh_pfc_config_mux_for_gpio(struct udevice *dev, unsigned pin_selector) in sh_pfc_config_mux_for_gpio() 490 static int sh_pfc_pinctrl_pin_set(struct udevice *dev, unsigned pin_selector, in sh_pfc_pinctrl_pin_set() 506 static int sh_pfc_pinctrl_group_set(struct udevice *dev, unsigned group_selector, in sh_pfc_pinctrl_group_set() 700 static int sh_pfc_pinconf_pin_set(struct udevice *dev, in sh_pfc_pinconf_pin_set() [all …]
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-balloon.c | 206 static inline void reset_stats(VirtIOBalloon *dev) in reset_stats() 342 VirtIOBalloon *dev = VIRTIO_BALLOON(vdev); in virtio_balloon_handle_report() local 512 static bool get_free_page_hints(VirtIOBalloon *dev) in get_free_page_hints() 567 VirtIOBalloon *dev = opaque; in virtio_ballloon_get_free_page_hints() local 651 VirtIOBalloon *dev = container_of(n, VirtIOBalloon, free_page_hint_notify); in virtio_balloon_free_page_hint_notify() local 724 VirtIOBalloon *dev = VIRTIO_BALLOON(vdev); in virtio_balloon_get_config() local 767 VirtIOBalloon *dev = VIRTIO_BALLOON(vdev); in virtio_balloon_set_config() local 788 VirtIOBalloon *dev = VIRTIO_BALLOON(vdev); in virtio_balloon_get_features() local 797 VirtIOBalloon *dev = opaque; in virtio_balloon_stat() local 804 VirtIOBalloon *dev = VIRTIO_BALLOON(opaque); in virtio_balloon_to_target() local [all …]
|
/openbmc/u-boot/drivers/sysreset/ |
H A D | sysreset_syscon.c | 23 static int syscon_reboot_request(struct udevice *dev, enum sysreset_t type) in syscon_reboot_request() 36 int syscon_reboot_probe(struct udevice *dev) in syscon_reboot_probe()
|
/openbmc/u-boot/drivers/timer/ |
H A D | sti-timer.c | 21 static int sti_timer_get_count(struct udevice *dev, u64 *count) in sti_timer_get_count() 43 static int sti_timer_probe(struct udevice *dev) in sti_timer_probe()
|
/openbmc/u-boot/drivers/clk/ |
H A D | clk_fixed_factor.c | 19 #define to_clk_fixed_factor(dev) \ argument 43 static int clk_fixed_factor_ofdata_to_platdata(struct udevice *dev) in clk_fixed_factor_ofdata_to_platdata()
|
/openbmc/u-boot/board/nvidia/cardhu/ |
H A D | cardhu.c | 42 struct udevice *dev; in board_sdmmc_voltage_init() local 91 struct udevice *dev; in tegra_pcie_board_init() local
|
/openbmc/qemu/include/hw/acpi/ |
H A D | acpi_aml_interface.h | 33 static inline dev_aml_fn get_dev_aml_func(DeviceState *dev) in get_dev_aml_func() 42 static inline void call_dev_aml_func(DeviceState *dev, Aml *scope) in call_dev_aml_func()
|
/openbmc/qemu/hw/s390x/ |
H A D | ap-bridge.c | 19 static char *ap_bus_get_dev_path(DeviceState *dev) in ap_bus_get_dev_path() 43 DeviceState *dev; in s390_init_ap() local
|
/openbmc/qemu/block/export/ |
H A D | vduse-blk.c | 31 VduseDev *dev; member 74 VduseDev *dev = vduse_queue_get_dev(vq); in vduse_blk_virtio_process_req() local 95 static void vduse_blk_vq_handler(VduseDev *dev, VduseVirtq *vq) in vduse_blk_vq_handler() 119 VduseDev *dev = vduse_queue_get_dev(vq); in on_vduse_vq_kick() local 131 static void vduse_blk_enable_queue(VduseDev *dev, VduseVirtq *vq) in vduse_blk_enable_queue() 145 static void vduse_blk_disable_queue(VduseDev *dev, VduseVirtq *vq) in vduse_blk_disable_queue() 165 VduseDev *dev = opaque; in on_vduse_dev_kick() local
|
/openbmc/qemu/hw/acpi/ |
H A D | memory_hotplug.c | 45 DeviceState *dev = DEVICE(mdev->dimm); in acpi_memory_device_status() local 121 DeviceState *dev = NULL; in acpi_memory_hotplug_write() local 233 DeviceState *dev, Error **errp) in acpi_memory_slot_status() 257 DeviceState *dev, Error **errp) in acpi_memory_plug_cb() 281 DeviceState *dev, Error **errp) in acpi_memory_unplug_request_cb() 295 DeviceState *dev, Error **errp) in acpi_memory_unplug_cb() 658 Aml *dev; in build_memory_hotplug_aml() local
|
/openbmc/u-boot/drivers/gpio/ |
H A D | mscc_sgpio.c | 102 static int mscc_sgpio_direction_input(struct udevice *dev, unsigned int gpio) in mscc_sgpio_direction_input() 114 static int mscc_sgpio_direction_output(struct udevice *dev, in mscc_sgpio_direction_output() 134 static int mscc_sgpio_get_function(struct udevice *dev, unsigned int gpio) in mscc_sgpio_get_function() 147 static int mscc_sgpio_set_value(struct udevice *dev, in mscc_sgpio_set_value() 153 static int mscc_sgpio_get_value(struct udevice *dev, unsigned int gpio) in mscc_sgpio_get_value() 174 static int mscc_sgpio_get_count(struct udevice *dev) in mscc_sgpio_get_count() 188 static int mscc_sgpio_probe(struct udevice *dev) in mscc_sgpio_probe()
|
H A D | s5p_gpio.c | 189 static int exynos_gpio_direction_input(struct udevice *dev, unsigned offset) in exynos_gpio_direction_input() 200 static int exynos_gpio_direction_output(struct udevice *dev, unsigned offset, in exynos_gpio_direction_output() 215 static int exynos_gpio_get_value(struct udevice *dev, unsigned offset) in exynos_gpio_get_value() 223 static int exynos_gpio_set_value(struct udevice *dev, unsigned offset, in exynos_gpio_set_value() 263 static int exynos_gpio_get_function(struct udevice *dev, unsigned offset) in exynos_gpio_get_function() 285 static int gpio_exynos_probe(struct udevice *dev) in gpio_exynos_probe() 323 struct udevice *dev; in gpio_exynos_bind() local
|
/openbmc/u-boot/drivers/clk/mediatek/ |
H A D | clk-mt7623.c | 735 static int mt7623_mcucfg_probe(struct udevice *dev) in mt7623_mcucfg_probe() 749 static int mt7623_apmixedsys_probe(struct udevice *dev) in mt7623_apmixedsys_probe() 766 static int mt7623_topckgen_probe(struct udevice *dev) in mt7623_topckgen_probe() 771 static int mt7623_infracfg_probe(struct udevice *dev) in mt7623_infracfg_probe() 776 static int mt7623_pericfg_probe(struct udevice *dev) in mt7623_pericfg_probe() 781 static int mt7623_ethsys_probe(struct udevice *dev) in mt7623_ethsys_probe() 786 static int mt7623_ethsys_bind(struct udevice *dev) in mt7623_ethsys_bind()
|
/openbmc/qemu/hw/arm/ |
H A D | aspeed_ast27x0.c | 291 static qemu_irq aspeed_soc_ast2700_get_irq(AspeedSoCState *s, int dev) in aspeed_soc_ast2700_get_irq() 312 static qemu_irq aspeed_soc_ast2700_get_irq_index(AspeedSoCState *s, int dev, in aspeed_soc_ast2700_get_irq_index() 390 static bool aspeed_soc_ast2700_dram_init(DeviceState *dev, Error **errp) in aspeed_soc_ast2700_dram_init() 578 static bool aspeed_soc_ast2700_gic_realize(DeviceState *dev, Error **errp) in aspeed_soc_ast2700_gic_realize() 647 static bool aspeed_soc_ast2700_ssp_realize(DeviceState *dev, Error **errp) in aspeed_soc_ast2700_ssp_realize() 679 static bool aspeed_soc_ast2700_tsp_realize(DeviceState *dev, Error **errp) in aspeed_soc_ast2700_tsp_realize() 711 static void aspeed_soc_ast2700_realize(DeviceState *dev, Error **errp) in aspeed_soc_ast2700_realize()
|
/openbmc/u-boot/drivers/usb/eth/ |
H A D | mcs7830.c | 588 struct ueth_data *dev = eth->priv; in mcs7830_init() local 604 struct ueth_data *dev = eth->priv; in mcs7830_send() local 718 int mcs7830_eth_probe(struct usb_device *dev, unsigned int ifnum, in mcs7830_eth_probe() 817 int mcs7830_eth_get_info(struct usb_device *dev, struct ueth_data *ss, in mcs7830_eth_get_info() 848 static int mcs7830_eth_start(struct udevice *dev) in mcs7830_eth_start() 855 void mcs7830_eth_stop(struct udevice *dev) in mcs7830_eth_stop() 860 int mcs7830_eth_send(struct udevice *dev, void *packet, int length) in mcs7830_eth_send() 868 int mcs7830_eth_recv(struct udevice *dev, int flags, uchar **packetp) in mcs7830_eth_recv() 880 static int mcs7830_free_pkt(struct udevice *dev, uchar *packet, int packet_len) in mcs7830_free_pkt() 890 int mcs7830_write_hwaddr(struct udevice *dev) in mcs7830_write_hwaddr() [all …]
|
/openbmc/qemu/hw/char/ |
H A D | ipoctal232.c | 102 CharBackend dev; member 177 static void update_irq(IPOctalState *dev, unsigned block) in update_irq() 193 static void write_cr(IPOctalState *dev, unsigned channel, uint8_t val) in write_cr() 260 IPOctalState *dev = IPOCTAL(ip); in io_read() local 326 IPOctalState *dev = IPOCTAL(ip); in io_write() local 413 IPOctalState *dev = IPOCTAL(ip); in id_write() local 424 IPOctalState *dev = IPOCTAL(ip); in int_read() local 460 IPOctalState *dev = IPOCTAL(ip); in mem_write8() local 479 IPOctalState *dev = ch->ipoctal; in hostdev_receive() local 519 IPOctalState *dev = ch->ipoctal; in hostdev_event() local [all …]
|
/openbmc/u-boot/drivers/mmc/ |
H A D | tangier_sdhci.c | 23 static int sdhci_tangier_bind(struct udevice *dev) in sdhci_tangier_bind() 30 static int sdhci_tangier_probe(struct udevice *dev) in sdhci_tangier_probe()
|
/openbmc/u-boot/board/sunxi/ |
H A D | ahci.c | 82 static int sunxi_sata_probe(struct udevice *dev) in sunxi_sata_probe() 108 static int sunxi_sata_bind(struct udevice *dev) in sunxi_sata_bind()
|
/openbmc/u-boot/drivers/misc/ |
H A D | cbmem_console.c | 22 void cbmemc_putc(struct stdio_dev *dev, char data) in cbmemc_putc() 31 void cbmemc_puts(struct stdio_dev *dev, const char *str) in cbmemc_puts()
|
/openbmc/ipmitool/src/plugins/free/ |
H A D | free.c | 55 ipmi_ctx_t dev = NULL; variable 57 ipmi_device_t dev = NULL; variable
|
/openbmc/u-boot/drivers/ram/stm32mp1/ |
H A D | stm32mp1_ram.c | 59 static __maybe_unused int stm32mp1_ddr_setup(struct udevice *dev) in stm32mp1_ddr_setup() 140 static int stm32mp1_ddr_probe(struct udevice *dev) in stm32mp1_ddr_probe() 169 static int stm32mp1_ddr_get_info(struct udevice *dev, struct ram_info *info) in stm32mp1_ddr_get_info()
|
/openbmc/u-boot/lib/ |
H A D | tpm-common.c | 15 enum tpm_version tpm_get_version(struct udevice *dev) in tpm_get_version() 161 u32 tpm_sendrecv_command(struct udevice *dev, const void *command, in tpm_sendrecv_command() 195 int tpm_init(struct udevice *dev) in tpm_init()
|