Home
last modified time | relevance | path

Searched defs:dev (Results 176 – 200 of 2755) sorted by relevance

12345678910>>...111

/openbmc/qemu/hw/virtio/
H A Dvhost-user.c243 struct vhost_dev *dev; member
275 static int vhost_user_read_header(struct vhost_dev *dev, VhostUserMsg *msg) in vhost_user_read_header()
303 static int vhost_user_read(struct vhost_dev *dev, VhostUserMsg *msg) in vhost_user_read()
338 static int process_message_reply(struct vhost_dev *dev, in process_message_reply()
382 static int vhost_user_write(struct vhost_dev *dev, VhostUserMsg *msg, in vhost_user_write()
423 int vhost_user_gpu_set_socket(struct vhost_dev *dev, int fd) in vhost_user_gpu_set_socket()
433 static int vhost_user_set_log_base(struct vhost_dev *dev, uint64_t base, in vhost_user_set_log_base()
506 struct vhost_dev *dev, in vhost_user_fill_set_mem_table_msg()
569 static void scrub_shadow_regions(struct vhost_dev *dev, in scrub_shadow_regions()
659 static int send_remove_regions(struct vhost_dev *dev, in send_remove_regions()
[all …]
/openbmc/u-boot/drivers/net/
H A Dep93xx_eth.c41 static void dump_dev(struct eth_device *dev) in dump_dev()
68 static void dump_rx_status_queue(struct eth_device *dev) in dump_rx_status_queue()
86 static void dump_rx_descriptor_queue(struct eth_device *dev) in dump_rx_descriptor_queue()
104 static void dump_tx_descriptor_queue(struct eth_device *dev) in dump_tx_descriptor_queue()
122 static void dump_tx_status_queue(struct eth_device *dev) in dump_tx_status_queue()
147 static void ep93xx_mac_reset(struct eth_device *dev) in ep93xx_mac_reset()
165 static int ep93xx_eth_open(struct eth_device *dev, bd_t *bd) in ep93xx_eth_open()
283 static void ep93xx_eth_close(struct eth_device *dev) in ep93xx_eth_close()
299 static int ep93xx_eth_rcv_packet(struct eth_device *dev) in ep93xx_eth_rcv_packet()
368 static int ep93xx_eth_send_packet(struct eth_device *dev, in ep93xx_eth_send_packet()
[all …]
H A Dsandbox-raw.c20 static int sb_eth_raw_start(struct udevice *dev) in sb_eth_raw_start()
38 static int sb_eth_raw_send(struct udevice *dev, void *packet, int length) in sb_eth_raw_send()
64 static int sb_eth_raw_recv(struct udevice *dev, int flags, uchar **packetp) in sb_eth_raw_recv()
124 static void sb_eth_raw_stop(struct udevice *dev) in sb_eth_raw_stop()
133 static int sb_eth_raw_read_rom_hwaddr(struct udevice *dev) in sb_eth_raw_read_rom_hwaddr()
150 static int sb_eth_raw_ofdata_to_platdata(struct udevice *dev) in sb_eth_raw_ofdata_to_platdata()
/openbmc/u-boot/drivers/rtc/
H A Drx8010sj.c93 static int rx8010sj_rtc_read8(DEV_TYPE *dev, unsigned int reg) in rx8010sj_rtc_read8()
107 static int rx8010sj_rtc_write8(DEV_TYPE *dev, unsigned int reg, int val) in rx8010sj_rtc_write8()
147 void rx8010sj_rtc_init(DEV_TYPE *dev) in rx8010sj_rtc_init()
205 static int rx8010sj_rtc_get(DEV_TYPE *dev, struct rtc_time *tmp) in rx8010sj_rtc_get()
249 static int rx8010sj_rtc_set(DEV_TYPE *dev, const struct rtc_time *tm) in rx8010sj_rtc_set()
304 static int rx8010sj_rtc_reset(DEV_TYPE *dev) in rx8010sj_rtc_reset()
314 struct ludevice dev = { in rtc_get() local
323 struct ludevice dev = { in rtc_set() local
332 struct ludevice dev = { in rtc_reset() local
341 struct ludevice dev = { in rtc_init() local
[all …]
/openbmc/u-boot/drivers/cpu/
H A Dcpu-uclass.c37 int cpu_get_desc(struct udevice *dev, char *buf, int size) in cpu_get_desc()
47 int cpu_get_info(struct udevice *dev, struct cpu_info *info) in cpu_get_info()
57 int cpu_get_count(struct udevice *dev) in cpu_get_count()
67 int cpu_get_vendor(struct udevice *dev, char *buf, int size) in cpu_get_vendor()
85 struct udevice *dev; in uclass_cpu_init() local
/openbmc/u-boot/drivers/video/rockchip/
H A Drk3288_mipi.c29 static int rk_mipi_dsi_source_select(struct udevice *dev) in rk_mipi_dsi_source_select()
56 static void rk_mipi_dphy_mode_set(struct udevice *dev) in rk_mipi_dphy_mode_set()
84 static int rk_mipi_enable(struct udevice *dev, int panel_bpp, in rk_mipi_enable()
131 static int rk_mipi_ofdata_to_platdata(struct udevice *dev) in rk_mipi_ofdata_to_platdata()
155 static int rk_mipi_probe(struct udevice *dev) in rk_mipi_probe()
/openbmc/u-boot/drivers/power/pmic/
H A Drk8xx.c20 static int rk8xx_reg_count(struct udevice *dev) in rk8xx_reg_count()
25 static int rk8xx_write(struct udevice *dev, uint reg, const uint8_t *buff, in rk8xx_write()
39 static int rk8xx_read(struct udevice *dev, uint reg, uint8_t *buff, int len) in rk8xx_read()
53 static int rk8xx_bind(struct udevice *dev) in rk8xx_bind()
76 static int rk8xx_probe(struct udevice *dev) in rk8xx_probe()
H A Dsandbox.c22 static int sandbox_pmic_reg_count(struct udevice *dev) in sandbox_pmic_reg_count()
27 static int sandbox_pmic_write(struct udevice *dev, uint reg, in sandbox_pmic_write()
38 static int sandbox_pmic_read(struct udevice *dev, uint reg, in sandbox_pmic_read()
49 static int sandbox_pmic_bind(struct udevice *dev) in sandbox_pmic_bind()
/openbmc/u-boot/drivers/virtio/
H A Dvirtio_net.c51 static int virtio_net_start(struct udevice *dev) in virtio_net_start()
77 static int virtio_net_send(struct udevice *dev, void *packet, int length) in virtio_net_send()
109 static int virtio_net_recv(struct udevice *dev, int flags, uchar **packetp) in virtio_net_recv()
123 static int virtio_net_free_pkt(struct udevice *dev, uchar *packet, int length) in virtio_net_free_pkt()
136 static void virtio_net_stop(struct udevice *dev) in virtio_net_stop()
145 static int virtio_net_write_hwaddr(struct udevice *dev) in virtio_net_write_hwaddr()
167 static int virtio_net_read_rom_hwaddr(struct udevice *dev) in virtio_net_read_rom_hwaddr()
183 static int virtio_net_bind(struct udevice *dev) in virtio_net_bind()
194 static int virtio_net_probe(struct udevice *dev) in virtio_net_probe()
/openbmc/u-boot/drivers/gpio/
H A Ddwapb_gpio.c44 static int dwapb_gpio_direction_input(struct udevice *dev, unsigned pin) in dwapb_gpio_direction_input()
52 static int dwapb_gpio_direction_output(struct udevice *dev, unsigned pin, in dwapb_gpio_direction_output()
67 static int dwapb_gpio_get_value(struct udevice *dev, unsigned pin) in dwapb_gpio_get_value()
74 static int dwapb_gpio_set_value(struct udevice *dev, unsigned pin, int val) in dwapb_gpio_set_value()
86 static int dwapb_gpio_get_function(struct udevice *dev, unsigned offset) in dwapb_gpio_get_function()
107 static int gpio_dwapb_reset(struct udevice *dev) in gpio_dwapb_reset()
134 static int gpio_dwapb_probe(struct udevice *dev) in gpio_dwapb_probe()
150 static int gpio_dwapb_bind(struct udevice *dev) in gpio_dwapb_bind()
203 static int gpio_dwapb_remove(struct udevice *dev) in gpio_dwapb_remove()
H A Dbcm6345_gpio.c21 static int bcm6345_gpio_get_value(struct udevice *dev, unsigned offset) in bcm6345_gpio_get_value()
28 static int bcm6345_gpio_set_value(struct udevice *dev, unsigned offset, in bcm6345_gpio_set_value()
52 static int bcm6345_gpio_direction_input(struct udevice *dev, unsigned offset) in bcm6345_gpio_direction_input()
59 static int bcm6345_gpio_direction_output(struct udevice *dev, unsigned offset, in bcm6345_gpio_direction_output()
69 static int bcm6345_gpio_get_function(struct udevice *dev, unsigned offset) in bcm6345_gpio_get_function()
87 static int bcm6345_gpio_probe(struct udevice *dev) in bcm6345_gpio_probe()
H A Dhi6220_gpio.c13 static int hi6220_gpio_direction_input(struct udevice *dev, unsigned int gpio) in hi6220_gpio_direction_input()
25 static int hi6220_gpio_set_value(struct udevice *dev, unsigned gpio, in hi6220_gpio_set_value()
34 static int hi6220_gpio_direction_output(struct udevice *dev, unsigned gpio, in hi6220_gpio_direction_output()
49 static int hi6220_gpio_get_value(struct udevice *dev, unsigned gpio) in hi6220_gpio_get_value()
65 static int hi6220_gpio_probe(struct udevice *dev) in hi6220_gpio_probe()
/openbmc/u-boot/arch/arm/mach-stm32mp/
H A Dpwr_regulator.c32 static int stm32mp_pwr_write(struct udevice *dev, uint reg, in stm32mp_pwr_write()
44 static int stm32mp_pwr_read(struct udevice *dev, uint reg, uint8_t *buff, in stm32mp_pwr_read()
55 static int stm32mp_pwr_ofdata_to_platdata(struct udevice *dev) in stm32mp_pwr_ofdata_to_platdata()
77 static int stm32mp_pwr_bind(struct udevice *dev) in stm32mp_pwr_bind()
133 static int stm32mp_pwr_regulator_probe(struct udevice *dev) in stm32mp_pwr_regulator_probe()
171 static int stm32mp_pwr_regulator_set_value(struct udevice *dev, int uV) in stm32mp_pwr_regulator_set_value()
187 static int stm32mp_pwr_regulator_get_value(struct udevice *dev) in stm32mp_pwr_regulator_get_value()
203 static int stm32mp_pwr_regulator_get_enable(struct udevice *dev) in stm32mp_pwr_regulator_get_enable()
218 static int stm32mp_pwr_regulator_set_enable(struct udevice *dev, bool enable) in stm32mp_pwr_regulator_set_enable()
/openbmc/u-boot/drivers/power/domain/
H A Dsandbox-power-domain-test.c16 int sandbox_power_domain_test_get(struct udevice *dev) in sandbox_power_domain_test_get()
23 int sandbox_power_domain_test_on(struct udevice *dev) in sandbox_power_domain_test_on()
30 int sandbox_power_domain_test_off(struct udevice *dev) in sandbox_power_domain_test_off()
37 int sandbox_power_domain_test_free(struct udevice *dev) in sandbox_power_domain_test_free()
/openbmc/u-boot/drivers/watchdog/
H A Dsandbox_wdt.c11 static int sandbox_wdt_start(struct udevice *dev, u64 timeout, ulong flags) in sandbox_wdt_start()
21 static int sandbox_wdt_stop(struct udevice *dev) in sandbox_wdt_stop()
30 static int sandbox_wdt_reset(struct udevice *dev) in sandbox_wdt_reset()
39 static int sandbox_wdt_expire_now(struct udevice *dev, ulong flags) in sandbox_wdt_expire_now()
/openbmc/qemu/hw/net/
H A Dspapr_llan.c114 SpaprVioVlan *dev = qemu_get_nic_opaque(nc); in spapr_vlan_can_receive() local
126 static void spapr_vlan_record_dropped_rx_frame(SpaprVioVlan *dev) in spapr_vlan_record_dropped_rx_frame()
137 static vlan_bd_t spapr_vlan_get_rx_bd_from_pool(SpaprVioVlan *dev, in spapr_vlan_get_rx_bd_from_pool()
171 static vlan_bd_t spapr_vlan_get_rx_bd_from_page(SpaprVioVlan *dev, in spapr_vlan_get_rx_bd_from_page()
206 SpaprVioVlan *dev = qemu_get_nic_opaque(nc); in spapr_vlan_receive() local
283 SpaprVioVlan *dev = opaque; in spapr_vlan_flush_rx_queue() local
301 SpaprVioVlan *dev = VIO_SPAPR_VLAN_DEVICE(sdev); in spapr_vlan_reset() local
321 SpaprVioVlan *dev = VIO_SPAPR_VLAN_DEVICE(sdev); in spapr_vlan_realize() local
338 SpaprVioVlan *dev = VIO_SPAPR_VLAN_DEVICE(obj); in spapr_vlan_instance_init() local
355 SpaprVioVlan *dev = VIO_SPAPR_VLAN_DEVICE(obj); in spapr_vlan_instance_finalize() local
[all …]
/openbmc/u-boot/lib/
H A Dtpm-v1.c35 u32 tpm1_startup(struct udevice *dev, enum tpm_startup_type mode) in tpm1_startup()
51 u32 tpm1_resume(struct udevice *dev) in tpm1_resume()
56 u32 tpm1_self_test_full(struct udevice *dev) in tpm1_self_test_full()
64 u32 tpm1_continue_self_test(struct udevice *dev) in tpm1_continue_self_test()
72 u32 tpm1_clear_and_reenable(struct udevice *dev) in tpm1_clear_and_reenable()
98 u32 tpm1_nv_define_space(struct udevice *dev, u32 index, u32 perm, u32 size) in tpm1_nv_define_space()
141 u32 tpm1_nv_set_locked(struct udevice *dev) in tpm1_nv_set_locked()
146 u32 tpm1_nv_read_value(struct udevice *dev, u32 index, void *data, u32 count) in tpm1_nv_read_value()
180 u32 tpm1_nv_write_value(struct udevice *dev, u32 index, const void *data, in tpm1_nv_write_value()
211 u32 tpm1_extend(struct udevice *dev, u32 index, const void *in_digest, in tpm1_extend()
[all …]
/openbmc/u-boot/drivers/misc/
H A Datsha204a-i2c.c148 static int atsha204a_send(struct udevice *dev, const u8 *buf, u8 len) in atsha204a_send()
161 static int atsha204a_recv(struct udevice *dev, u8 *buf, u8 len) in atsha204a_recv()
174 static int atsha204a_recv_resp(struct udevice *dev, in atsha204a_recv_resp()
206 int atsha204a_wakeup(struct udevice *dev) in atsha204a_wakeup()
245 int atsha204a_idle(struct udevice *dev) in atsha204a_idle()
256 int atsha204a_sleep(struct udevice *dev) in atsha204a_sleep()
267 static int atsha204a_transaction(struct udevice *dev, struct atsha204a_req *req, in atsha204a_transaction()
310 int atsha204a_read(struct udevice *dev, enum atsha204a_zone zone, bool read32, in atsha204a_read()
355 int atsha204a_get_random(struct udevice *dev, u8 *buffer, size_t max) in atsha204a_get_random()
382 static int atsha204a_ofdata_to_platdata(struct udevice *dev) in atsha204a_ofdata_to_platdata()
/openbmc/qemu/hw/misc/
H A Dimx6_ccm.c245 static uint64_t imx6_analog_get_pll2_clk(IMX6CCMState *dev) in imx6_analog_get_pll2_clk()
260 static uint64_t imx6_analog_get_pll2_pfd0_clk(IMX6CCMState *dev) in imx6_analog_get_pll2_pfd0_clk()
272 static uint64_t imx6_analog_get_pll2_pfd2_clk(IMX6CCMState *dev) in imx6_analog_get_pll2_pfd2_clk()
284 static uint64_t imx6_analog_get_periph_clk(IMX6CCMState *dev) in imx6_analog_get_periph_clk()
311 static uint64_t imx6_ccm_get_ahb_clk(IMX6CCMState *dev) in imx6_ccm_get_ahb_clk()
323 static uint64_t imx6_ccm_get_ipg_clk(IMX6CCMState *dev) in imx6_ccm_get_ipg_clk()
335 static uint64_t imx6_ccm_get_per_clk(IMX6CCMState *dev) in imx6_ccm_get_per_clk()
347 static uint32_t imx6_ccm_get_clock_frequency(IMXCCMState *dev, IMXClk clock) in imx6_ccm_get_clock_frequency()
381 static void imx6_ccm_reset(DeviceState *dev) in imx6_ccm_reset()
719 DeviceState *dev = DEVICE(obj); in imx6_ccm_init() local
H A Dimx31_ccm.c107 static uint32_t imx31_ccm_get_pll_ref_clk(IMXCCMState *dev) in imx31_ccm_get_pll_ref_clk()
128 static uint32_t imx31_ccm_get_mpll_clk(IMXCCMState *dev) in imx31_ccm_get_mpll_clk()
141 static uint32_t imx31_ccm_get_mcu_main_clk(IMXCCMState *dev) in imx31_ccm_get_mcu_main_clk()
158 static uint32_t imx31_ccm_get_hclk_clk(IMXCCMState *dev) in imx31_ccm_get_hclk_clk()
171 static uint32_t imx31_ccm_get_ipg_clk(IMXCCMState *dev) in imx31_ccm_get_ipg_clk()
184 static uint32_t imx31_ccm_get_clock_frequency(IMXCCMState *dev, IMXClk clock) in imx31_ccm_get_clock_frequency()
209 static void imx31_ccm_reset(DeviceState *dev) in imx31_ccm_reset()
313 DeviceState *dev = DEVICE(obj); in imx31_ccm_init() local
/openbmc/u-boot/drivers/usb/musb/
H A Dmusb_hcd.c37 static void write_toggle(struct usb_device *dev, u8 ep, u8 dir_out) in write_toggle()
115 static int wait_until_ep0_ready(struct usb_device *dev, u32 bit_mask) in wait_until_ep0_ready()
178 static int wait_until_txep_ready(struct usb_device *dev, u8 ep) in wait_until_txep_ready()
210 static int wait_until_rxep_ready(struct usb_device *dev, u8 ep) in wait_until_rxep_ready()
242 static int ctrlreq_setup_phase(struct usb_device *dev, struct devrequest *setup) in ctrlreq_setup_phase()
264 static int ctrlreq_in_data_phase(struct usb_device *dev, u32 len, void *buffer) in ctrlreq_in_data_phase()
310 static int ctrlreq_out_data_phase(struct usb_device *dev, u32 len, void *buffer) in ctrlreq_out_data_phase()
347 static int ctrlreq_out_status_phase(struct usb_device *dev) in ctrlreq_out_status_phase()
368 static int ctrlreq_in_status_phase(struct usb_device *dev) in ctrlreq_in_status_phase()
391 static u8 get_dev_speed(struct usb_device *dev) in get_dev_speed()
[all …]
/openbmc/u-boot/drivers/video/
H A Dmb862xx.c78 GraphicDevice *dev = &mb862xx; in gdc_sw_reset() local
88 GraphicDevice *dev = &mb862xx; in de_wait() local
105 GraphicDevice *dev = &mb862xx; in de_wait_slots() local
121 GraphicDevice *dev = &mb862xx; in board_disp_init() local
137 GraphicDevice *dev = &mb862xx; in de_init() local
185 GraphicDevice *dev = &mb862xx; in pci_video_init() local
232 GraphicDevice *dev = &mb862xx; in card_init() local
365 GraphicDevice *dev = &mb862xx; in mb862xx_probe() local
387 GraphicDevice *dev = &mb862xx; in video_hw_init() local
437 GraphicDevice *dev = &mb862xx; in video_set_lut() local
[all …]
/openbmc/u-boot/drivers/sound/
H A Divybridge_sound.c21 static int bd82x6x_azalia_probe(struct udevice *dev) in bd82x6x_azalia_probe()
104 static int bd82x6x_azalia_setup(struct udevice *dev) in bd82x6x_azalia_setup()
109 int bd82x6x_azalia_start_beep(struct udevice *dev, int frequency_hz) in bd82x6x_azalia_start_beep()
114 int bd82x6x_azalia_stop_beep(struct udevice *dev) in bd82x6x_azalia_stop_beep()
/openbmc/u-boot/drivers/mailbox/
H A Dsandbox-mbox-test.c15 int sandbox_mbox_test_get(struct udevice *dev) in sandbox_mbox_test_get()
22 int sandbox_mbox_test_send(struct udevice *dev, uint32_t msg) in sandbox_mbox_test_send()
29 int sandbox_mbox_test_recv(struct udevice *dev, uint32_t *msg) in sandbox_mbox_test_recv()
36 int sandbox_mbox_test_free(struct udevice *dev) in sandbox_mbox_test_free()
/openbmc/u-boot/drivers/led/
H A Dled_gpio.c18 static int gpio_led_set_state(struct udevice *dev, enum led_state_t state) in gpio_led_set_state()
42 static enum led_state_t gpio_led_get_state(struct udevice *dev) in gpio_led_get_state()
56 static int led_gpio_probe(struct udevice *dev) in led_gpio_probe()
73 static int led_gpio_remove(struct udevice *dev) in led_gpio_remove()
91 struct udevice *dev; in led_gpio_bind() local

12345678910>>...111