Home
last modified time | relevance | path

Searched defs:dev (Results 426 – 450 of 2754) sorted by relevance

1...<<11121314151617181920>>...111

/openbmc/u-boot/drivers/net/ti/
H A Dkeystone_net.c86 struct udevice *dev; member
103 keystone2_eth_gigabit_enable(struct udevice *dev) in keystone2_eth_gigabit_enable()
385 static int ks2_eth_start(struct udevice *dev) in ks2_eth_start()
439 static int ks2_eth_send(struct udevice *dev, void *packet, int length) in ks2_eth_send()
454 static int ks2_eth_recv(struct udevice *dev, int flags, uchar **packetp) in ks2_eth_recv()
469 static int ks2_eth_free_pkt(struct udevice *dev, uchar *packet, in ks2_eth_free_pkt()
479 static void ks2_eth_stop(struct udevice *dev) in ks2_eth_stop()
493 int ks2_eth_read_rom_hwaddr(struct udevice *dev) in ks2_eth_read_rom_hwaddr()
516 int ks2_eth_write_hwaddr(struct udevice *dev) in ks2_eth_write_hwaddr()
531 static int ks2_eth_probe(struct udevice *dev) in ks2_eth_probe()
[all …]
/openbmc/u-boot/drivers/timer/
H A Ddw-apb-timer.c26 static int dw_apb_timer_get_count(struct udevice *dev, u64 *count) in dw_apb_timer_get_count()
40 static int dw_apb_timer_probe(struct udevice *dev) in dw_apb_timer_probe()
63 static int dw_apb_timer_ofdata_to_platdata(struct udevice *dev) in dw_apb_timer_ofdata_to_platdata()
/openbmc/u-boot/drivers/sound/
H A Drockchip_sound.c19 static int rockchip_sound_setup(struct udevice *dev) in rockchip_sound_setup()
39 static int rockchip_sound_play(struct udevice *dev, void *data, uint data_size) in rockchip_sound_play()
46 static int rockchip_sound_probe(struct udevice *dev) in rockchip_sound_probe()
/openbmc/u-boot/drivers/power/pmic/
H A Dpalmas.c23 static int palmas_write(struct udevice *dev, uint reg, const uint8_t *buff, in palmas_write()
34 static int palmas_read(struct udevice *dev, uint reg, uint8_t *buff, int len) in palmas_read()
44 static int palmas_bind(struct udevice *dev) in palmas_bind()
/openbmc/u-boot/drivers/clk/at91/
H A Dpmc.c35 int at91_pmc_core_probe(struct udevice *dev) in at91_pmc_core_probe()
52 int at91_clk_sub_device_bind(struct udevice *dev, const char *drv_name) in at91_clk_sub_device_bind()
108 int at91_clk_probe(struct udevice *dev) in at91_clk_probe()
/openbmc/u-boot/test/dm/
H A Dregmap.c18 struct udevice *dev; in dm_test_regmap_base() local
98 struct udevice *dev; in dm_test_regmap_rw() local
123 struct udevice *dev; in dm_test_regmap_getset() local
151 struct udevice *dev; in dm_test_regmap_poll() local
/openbmc/u-boot/drivers/usb/host/
H A Dohci-generic.c27 static int ohci_setup_phy(struct udevice *dev, int index) in ohci_setup_phy()
55 static int ohci_shutdown_phy(struct udevice *dev) in ohci_shutdown_phy()
77 static int ohci_usb_probe(struct udevice *dev) in ohci_usb_probe()
164 static int ohci_usb_remove(struct udevice *dev) in ohci_usb_remove()
/openbmc/u-boot/arch/x86/cpu/broadwell/
H A Dsata.c40 static void broadwell_sata_init(struct udevice *dev) in broadwell_sata_init()
210 static int broadwell_sata_enable(struct udevice *dev) in broadwell_sata_enable()
233 static int broadwell_sata_ofdata_to_platdata(struct udevice *dev) in broadwell_sata_ofdata_to_platdata()
246 static int broadwell_sata_probe(struct udevice *dev) in broadwell_sata_probe()
H A Dcpu.c86 struct udevice *dev; in arch_cpu_init_dm() local
229 static void initialize_vr_config(struct udevice *dev) in initialize_vr_config()
385 static int bsp_init_before_ap_bringup(struct udevice *dev) in bsp_init_before_ap_bringup()
432 int broadwell_init(struct udevice *dev) in broadwell_init()
565 static void configure_thermal_target(struct udevice *dev) in configure_thermal_target()
617 static void cpu_core_init(struct udevice *dev) in cpu_core_init()
720 static int broadwell_get_info(struct udevice *dev, struct cpu_info *info) in broadwell_get_info()
732 static int broadwell_get_count(struct udevice *dev) in broadwell_get_count()
737 static int cpu_x86_broadwell_probe(struct udevice *dev) in cpu_x86_broadwell_probe()
/openbmc/qemu/hw/s390x/
H A Dvirtio-ccw-md.c21 DeviceState *dev = DEVICE(vmd); in virtio_ccw_md_pre_plug() local
50 DeviceState *dev = DEVICE(vmd); in virtio_ccw_md_plug() local
74 DeviceState *dev = DEVICE(vmd); in virtio_ccw_md_unplug_request() local
114 DeviceState *dev = DEVICE(vmd); in virtio_ccw_md_unplug() local
/openbmc/qemu/hw/virtio/
H A Dvirtio-md-pci.c21 DeviceState *dev = DEVICE(vmd); in virtio_md_pci_pre_plug() local
49 DeviceState *dev = DEVICE(vmd); in virtio_md_pci_plug() local
73 DeviceState *dev = DEVICE(vmd); in virtio_md_pci_unplug_request() local
112 DeviceState *dev = DEVICE(vmd); in virtio_md_pci_unplug() local
/openbmc/u-boot/drivers/usb/gadget/
H A Dpxa25x_udc.c95 static void udc_watchdog(struct pxa25x_udc *dev) in udc_watchdog()
154 dump_state(struct pxa25x_udc *dev) in dump_state()
194 static inline void dump_state(struct pxa25x_udc *dev) { } in dump_state()
297 struct pxa25x_udc *dev; in pxa25x_ep_enable() local
438 static inline void ep0_idle(struct pxa25x_udc *dev) in ep0_idle()
532 void ep0start(struct pxa25x_udc *dev, u32 flags, const char *tag) in ep0start()
727 struct pxa25x_udc *dev; in pxa25x_ep_queue() local
1107 static void udc_disable(struct pxa25x_udc *dev) in udc_disable()
1127 static void udc_reinit(struct pxa25x_udc *dev) in udc_reinit()
1156 static void udc_enable(struct pxa25x_udc *dev) in udc_enable()
[all …]
H A Df_thor.c536 struct thor_dev *dev = thor_func->dev; in thor_rx_data() local
568 struct thor_dev *dev = thor_func->dev; in thor_tx_data() local
596 struct thor_dev *dev = thor_func->dev; in thor_rx_tx_complete() local
633 struct thor_dev *dev = thor_func->dev; in thor_func_setup() local
674 struct thor_dev *dev = thor_func->dev; in thor_set_dma() local
685 struct thor_dev *dev = thor_func->dev; in thor_init() local
750 struct thor_dev *dev; in thor_func_bind() local
863 struct thor_dev *dev = f_thor->dev; in thor_unbind() local
874 struct thor_dev *dev = f_thor->dev; in thor_func_disable() local
901 struct thor_dev *dev = thor_func->dev; in thor_eps_setup() local
[all …]
/openbmc/qemu/hw/intc/
H A Dapic.c183 void apic_deliver_pic_intr(DeviceState *dev, int level) in apic_deliver_pic_intr()
303 bool is_x2apic_mode(DeviceState *dev) in is_x2apic_mode()
390 int apic_get_highest_priority_irr(DeviceState *dev) in apic_get_highest_priority_irr()
460 DeviceState *dev = (DeviceState *)s; in apic_update_irq() local
472 void apic_poll_irq(DeviceState *dev) in apic_poll_irq()
644 void apic_sipi(DeviceState *dev) in apic_sipi()
656 static void apic_deliver(DeviceState *dev, uint32_t dest, uint8_t dest_mode, in apic_deliver()
713 DeviceState *dev = (DeviceState *)s; in apic_check_pic() local
722 int apic_get_interrupt(DeviceState *dev) in apic_get_interrupt()
756 int apic_accept_pic_intr(DeviceState *dev) in apic_accept_pic_intr()
[all …]
/openbmc/u-boot/drivers/net/
H A Dnatsemi.c252 INW(struct eth_device *dev, u_long addr) in INW()
258 INL(struct eth_device *dev, u_long addr) in INL()
264 OUTW(struct eth_device *dev, int command, u_long addr) in OUTW()
270 OUTL(struct eth_device *dev, int command, u_long addr) in OUTL()
293 struct eth_device *dev; in natsemi_initialize() local
495 read_eeprom(struct eth_device *dev, long addr, int location) in read_eeprom()
539 mdio_read(struct eth_device *dev, int phy_id, int location) in mdio_read()
558 natsemi_init(struct eth_device *dev, bd_t * bis) in natsemi_init()
603 natsemi_reset(struct eth_device *dev) in natsemi_reset()
633 natsemi_init_rxfilter(struct eth_device *dev) in natsemi_init_rxfilter()
[all …]
H A Dns8382x.c273 INW(struct eth_device *dev, u_long addr) in INW()
279 INL(struct eth_device *dev, u_long addr) in INL()
285 OUTW(struct eth_device *dev, int command, u_long addr) in OUTW()
291 OUTL(struct eth_device *dev, int command, u_long addr) in OUTL()
309 struct eth_device *dev; in ns8382x_initialize() local
458 mdio_sync(struct eth_device *dev, u32 offset) in mdio_sync()
472 mdio_read(struct eth_device *dev, int phy_id, int addr) in mdio_read()
499 mdio_write(struct eth_device *dev, int phy_id, int addr, int value) in mdio_write()
531 ns8382x_init(struct eth_device *dev, bd_t * bis) in ns8382x_init()
583 ns8382x_reset(struct eth_device *dev) in ns8382x_reset()
[all …]
H A Dtsec.c125 static int tsec_mcast_addr(struct eth_device *dev, const u8 *mcast_mac, in tsec_mcast_addr()
255 static int tsec_send(struct eth_device *dev, void *packet, int length) in tsec_send()
302 static int tsec_recv(struct eth_device *dev) in tsec_recv()
337 static int tsec_recv(struct udevice *dev, int flags, uchar **packetp) in tsec_recv()
366 static int tsec_free_pkt(struct udevice *dev, uchar *packet, int length) in tsec_free_pkt()
387 static void tsec_halt(struct eth_device *dev) in tsec_halt()
555 static int tsec_init(struct eth_device *dev, bd_t *bd) in tsec_init()
711 struct eth_device *dev; in tsec_initialize() local
795 int tsec_probe(struct udevice *dev) in tsec_probe()
869 int tsec_remove(struct udevice *dev) in tsec_remove()
/openbmc/u-boot/drivers/usb/eth/
H A Dlan7x.c208 int lan7x_eth_phylib_connect(struct udevice *udev, struct ueth_data *dev) in lan7x_eth_phylib_connect()
263 struct ueth_data *dev, in lan7x_update_flowcontrol()
330 struct ueth_data *dev) in lan7x_pmt_phy_reset()
355 struct ueth_data *dev) in lan7x_basic_reset()
376 void lan7x_eth_stop(struct udevice *dev) in lan7x_eth_stop()
381 int lan7x_eth_send(struct udevice *dev, void *packet, int length) in lan7x_eth_send()
421 int lan7x_eth_recv(struct udevice *dev, int flags, uchar **packetp) in lan7x_eth_recv()
478 int lan7x_free_pkt(struct udevice *dev, uchar *packet, int packet_len) in lan7x_free_pkt()
488 int lan7x_eth_remove(struct udevice *dev) in lan7x_eth_remove()
/openbmc/u-boot/drivers/serial/
H A Dmcfuart.c158 static int coldfire_serial_probe(struct udevice *dev) in coldfire_serial_probe()
166 static int coldfire_serial_putc(struct udevice *dev, const char ch) in coldfire_serial_putc()
180 static int coldfire_serial_getc(struct udevice *dev) in coldfire_serial_getc()
192 int coldfire_serial_setbrg(struct udevice *dev, int baudrate) in coldfire_serial_setbrg()
202 static int coldfire_serial_pending(struct udevice *dev, bool input) in coldfire_serial_pending()
/openbmc/u-boot/drivers/i2c/
H A Di2c-uclass-compat.c34 struct udevice *bus, *dev; in i2c_probe() local
52 struct udevice *dev; in i2c_read() local
65 struct udevice *dev; in i2c_write() local
111 struct udevice *dev; in i2c_reg_read() local
122 struct udevice *dev; in i2c_reg_write() local
/openbmc/u-boot/drivers/pci/
H A Dpci_rom.c42 __weak bool board_should_run_oprom(struct udevice *dev) in board_should_run_oprom()
56 __weak bool board_should_load_oprom(struct udevice *dev) in board_should_load_oprom()
66 static int pci_rom_probe(struct udevice *dev, struct pci_rom_header **hdrp) in pci_rom_probe()
233 int dm_pci_run_vga_bios(struct udevice *dev, int (*int15_handler)(void), in dm_pci_run_vga_bios()
352 int vbe_setup_video(struct udevice *dev, int (*int15_handler)(void)) in vbe_setup_video()
/openbmc/u-boot/drivers/power/regulator/
H A Dpfuze100.c260 static int pfuze100_regulator_probe(struct udevice *dev) in pfuze100_regulator_probe()
314 static int pfuze100_regulator_mode(struct udevice *dev, int op, int *opmode) in pfuze100_regulator_mode()
384 static int pfuze100_regulator_enable(struct udevice *dev, int op, bool *enable) in pfuze100_regulator_enable()
447 static int pfuze100_regulator_val(struct udevice *dev, int op, int *uV) in pfuze100_regulator_val()
509 static int pfuze100_regulator_get_value(struct udevice *dev) in pfuze100_regulator_get_value()
521 static int pfuze100_regulator_set_value(struct udevice *dev, int uV) in pfuze100_regulator_set_value()
526 static int pfuze100_regulator_get_enable(struct udevice *dev) in pfuze100_regulator_get_enable()
538 static int pfuze100_regulator_set_enable(struct udevice *dev, bool enable) in pfuze100_regulator_set_enable()
543 static int pfuze100_regulator_get_mode(struct udevice *dev) in pfuze100_regulator_get_mode()
555 static int pfuze100_regulator_set_mode(struct udevice *dev, int mode) in pfuze100_regulator_set_mode()
/openbmc/qemu/hw/acpi/
H A Dacpi-cpu-hotplug-stub.c30 CPUHotplugState *cpu_st, DeviceState *dev, Error **errp) in acpi_cpu_plug_cb()
35 AcpiCpuHotplug *g, DeviceState *dev, Error **errp) in legacy_acpi_cpu_plug_cb()
40 DeviceState *dev, Error **errp) in acpi_cpu_unplug_cb()
46 DeviceState *dev, Error **errp) in acpi_cpu_unplug_request_cb()
/openbmc/u-boot/drivers/hwspinlock/
H A Dstm32_hwspinlock.c20 static int stm32mp1_lock(struct udevice *dev, int index) in stm32mp1_lock()
42 static int stm32mp1_unlock(struct udevice *dev, int index) in stm32mp1_unlock()
54 static int stm32mp1_hwspinlock_probe(struct udevice *dev) in stm32mp1_hwspinlock_probe()
/openbmc/u-boot/drivers/w1/
H A Dmxc_w1.c77 static u8 mxc_w1_read_byte(struct udevice *dev) in mxc_w1_read_byte()
104 static void mxc_w1_write_byte(struct udevice *dev, u8 byte) in mxc_w1_write_byte()
128 static bool mxc_w1_reset(struct udevice *dev) in mxc_w1_reset()
142 static u8 mxc_w1_triplet(struct udevice *dev, bool bdir) in mxc_w1_triplet()
166 static int mxc_w1_ofdata_to_platdata(struct udevice *dev) in mxc_w1_ofdata_to_platdata()
180 static int mxc_w1_probe(struct udevice *dev) in mxc_w1_probe()

1...<<11121314151617181920>>...111