Home
last modified time | relevance | path

Searched defs:dev (Results 151 – 175 of 2755) sorted by relevance

12345678910>>...111

/openbmc/u-boot/drivers/serial/
H A Dserial.c138 void serial_register(struct serial_device *dev) in serial_register()
186 struct serial_device *dev = sdev->priv; in serial_stub_start() local
193 struct serial_device *dev = sdev->priv; in serial_stub_stop() local
200 struct serial_device *dev = sdev->priv; in serial_stub_putc() local
207 struct serial_device *dev = sdev->priv; in serial_stub_puts() local
214 struct serial_device *dev = sdev->priv; in serial_stub_getc() local
221 struct serial_device *dev = sdev->priv; in serial_stub_tstc() local
235 struct stdio_dev dev; in serial_stdio_init() local
315 struct serial_device *dev; in get_current() local
447 struct serial_device *dev = get_current(); in default_serial_puts() local
/openbmc/u-boot/drivers/cpu/
H A Dmpc83xx_cpu.c60 static inline void determine_family(struct udevice *dev) in determine_family()
95 static inline void determine_type(struct udevice *dev) in determine_type()
169 static inline void determine_e300_type(struct udevice *dev) in determine_e300_type()
198 static inline void determine_revid(struct udevice *dev) in determine_revid()
221 static void determine_cpu_data(struct udevice *dev) in determine_cpu_data()
239 static int mpc83xx_cpu_get_desc(struct udevice *dev, char *buf, int size) in mpc83xx_cpu_get_desc()
278 static int mpc83xx_cpu_get_info(struct udevice *dev, struct cpu_info *info) in mpc83xx_cpu_get_info()
303 static int mpc83xx_cpu_get_count(struct udevice *dev) in mpc83xx_cpu_get_count()
309 static int mpc83xx_cpu_get_vendor(struct udevice *dev, char *buf, int size) in mpc83xx_cpu_get_vendor()
323 static int mpc83xx_cpu_probe(struct udevice *dev) in mpc83xx_cpu_probe()
/openbmc/u-boot/drivers/core/
H A Dsyscon-uclass.c26 struct regmap *syscon_get_regmap(struct udevice *dev) in syscon_get_regmap()
36 static int syscon_pre_probe(struct udevice *dev) in syscon_pre_probe()
60 struct regmap *syscon_regmap_lookup_by_phandle(struct udevice *dev, in syscon_regmap_lookup_by_phandle()
85 struct udevice *dev; in syscon_get_by_driver_data() local
106 struct udevice *dev; in syscon_get_regmap_by_driver_data() local
155 struct udevice *dev, *parent; in syscon_node_to_regmap() local
/openbmc/u-boot/drivers/net/
H A Dftmac100.c234 static void ftmac100_halt(struct eth_device *dev) in ftmac100_halt()
240 static int ftmac100_init(struct eth_device *dev, bd_t *bd) in ftmac100_init()
263 static int ftmac100_recv(struct eth_device *dev) in ftmac100_recv()
272 static int ftmac100_send(struct eth_device *dev, void *packet, int length) in ftmac100_send()
280 struct eth_device *dev; in ftmac100_initialize() local
316 static int ftmac100_start(struct udevice *dev) in ftmac100_start()
324 static void ftmac100_stop(struct udevice *dev) in ftmac100_stop()
330 static int ftmac100_send(struct udevice *dev, void *packet, int length) in ftmac100_send()
338 static int ftmac100_recv(struct udevice *dev, int flags, uchar **packetp) in ftmac100_recv()
351 static int ftmac100_free_pkt(struct udevice *dev, uchar *packet, int length) in ftmac100_free_pkt()
[all …]
H A Dbcm-sf2-eth.c32 static int bcm_sf2_eth_init(struct eth_device *dev) in bcm_sf2_eth_init()
71 static int bcm_sf2_eth_send(struct eth_device *dev, void *packet, int length) in bcm_sf2_eth_send()
102 static int bcm_sf2_eth_receive(struct eth_device *dev) in bcm_sf2_eth_receive()
137 static int bcm_sf2_eth_write_hwaddr(struct eth_device *dev) in bcm_sf2_eth_write_hwaddr()
148 static int bcm_sf2_eth_open(struct eth_device *dev, bd_t *bt) in bcm_sf2_eth_open()
187 static void bcm_sf2_eth_close(struct eth_device *dev) in bcm_sf2_eth_close()
201 struct eth_device *dev; in bcm_sf2_eth_register() local
/openbmc/qemu/system/
H A Dqdev-monitor.c347 static Object *dev; in qdev_get_peripheral() local
358 static Object *dev; in qdev_get_peripheral_anon() local
367 static void qbus_error_append_bus_list_hint(DeviceState *dev, in qbus_error_append_bus_list_hint()
390 DeviceState *dev = kid->child; in qbus_error_append_dev_list_hint() local
401 static BusState *qbus_find_bus(DeviceState *dev, char *elem) in qbus_find_bus()
424 DeviceState *dev = kid->child; in qbus_find_dev() local
430 DeviceState *dev = kid->child; in qbus_find_dev() local
436 DeviceState *dev = kid->child; in qbus_find_dev() local
487 DeviceState *dev = kid->child; in qbus_find_recursive() local
505 DeviceState *dev; in qbus_find() local
[all …]
/openbmc/u-boot/drivers/misc/
H A Dsmsc_lpc47m.c10 static void pnp_enter_conf_state(u16 dev) in pnp_enter_conf_state()
17 static void pnp_exit_conf_state(u16 dev) in pnp_exit_conf_state()
24 void lpc47m_enable_serial(uint dev, uint iobase, uint irq) in lpc47m_enable_serial()
35 void lpc47m_enable_kbc(uint dev, uint irq0, uint irq1) in lpc47m_enable_kbc()
/openbmc/u-boot/drivers/led/
H A Dled-uclass.c17 struct udevice *dev; in led_get_by_label() local
35 int led_set_state(struct udevice *dev, enum led_state_t state) in led_set_state()
45 enum led_state_t led_get_state(struct udevice *dev) in led_get_state()
56 int led_set_period(struct udevice *dev, int period_ms) in led_set_period()
69 struct udevice *dev; in led_default_state() local
/openbmc/u-boot/test/dm/
H A Dusb.c38 struct udevice *dev; in dm_test_usb_flash() local
61 struct udevice *dev; in dm_test_usb_multi() local
86 struct udevice *dev; in count_usb_devices() local
102 struct udevice *dev; in dm_test_usb_stop() local
120 struct udevice *dev; in dm_test_usb_keyb() local
/openbmc/u-boot/examples/standalone/
H A Dsmc91111_eeprom.c39 struct eth_device dev; in smc91111_eeprom() local
231 void copy_from_eeprom (struct eth_device *dev) in copy_from_eeprom()
249 void print_macaddr (struct eth_device *dev) in print_macaddr()
276 void dump_eeprom (struct eth_device *dev) in dump_eeprom()
309 int read_eeprom_reg (struct eth_device *dev, int reg) in read_eeprom_reg()
331 int write_eeprom_reg (struct eth_device *dev, int value, int reg) in write_eeprom_reg()
354 void dump_reg (struct eth_device *dev) in dump_reg()
/openbmc/u-boot/drivers/gpio/
H A Dmsm_gpio.c33 static int msm_gpio_direction_input(struct udevice *dev, unsigned int gpio) in msm_gpio_direction_input()
44 static int msm_gpio_set_value(struct udevice *dev, unsigned gpio, int value) in msm_gpio_set_value()
55 static int msm_gpio_direction_output(struct udevice *dev, unsigned gpio, in msm_gpio_direction_output()
70 static int msm_gpio_get_value(struct udevice *dev, unsigned gpio) in msm_gpio_get_value()
77 static int msm_gpio_get_function(struct udevice *dev, unsigned offset) in msm_gpio_get_function()
95 static int msm_gpio_probe(struct udevice *dev) in msm_gpio_probe()
104 static int msm_gpio_ofdata_to_platdata(struct udevice *dev) in msm_gpio_ofdata_to_platdata()
H A Dbcm2835_gpio.c20 static int bcm2835_gpio_direction_input(struct udevice *dev, unsigned gpio) in bcm2835_gpio_direction_input()
33 static int bcm2835_gpio_direction_output(struct udevice *dev, unsigned int gpio, in bcm2835_gpio_direction_output()
58 static int bcm2835_gpio_get_value(struct udevice *dev, unsigned gpio) in bcm2835_gpio_get_value()
65 static int bcm2835_gpio_set_value(struct udevice *dev, unsigned gpio, in bcm2835_gpio_set_value()
77 static int bcm2835_gpio_get_function(struct udevice *dev, unsigned offset) in bcm2835_gpio_get_function()
102 static int bcm2835_gpio_probe(struct udevice *dev) in bcm2835_gpio_probe()
119 static int bcm2835_gpio_ofdata_to_platdata(struct udevice *dev) in bcm2835_gpio_ofdata_to_platdata()
H A Dgpio-uniphier.c59 static void uniphier_gpio_bank_write(struct udevice *dev, unsigned int bank, in uniphier_gpio_bank_write()
71 static void uniphier_gpio_offset_write(struct udevice *dev, unsigned int offset, in uniphier_gpio_offset_write()
82 static int uniphier_gpio_offset_read(struct udevice *dev, in uniphier_gpio_offset_read()
95 static int uniphier_gpio_get_function(struct udevice *dev, unsigned int offset) in uniphier_gpio_get_function()
101 static int uniphier_gpio_direction_input(struct udevice *dev, in uniphier_gpio_direction_input()
109 static int uniphier_gpio_direction_output(struct udevice *dev, in uniphier_gpio_direction_output()
118 static int uniphier_gpio_get_value(struct udevice *dev, unsigned int offset) in uniphier_gpio_get_value()
123 static int uniphier_gpio_set_value(struct udevice *dev, in uniphier_gpio_set_value()
139 static int uniphier_gpio_probe(struct udevice *dev) in uniphier_gpio_probe()
H A Dintel_broadwell_gpio.c35 static int broadwell_gpio_request(struct udevice *dev, unsigned offset, in broadwell_gpio_request()
58 static int broadwell_gpio_direction_input(struct udevice *dev, unsigned offset) in broadwell_gpio_direction_input()
68 static int broadwell_gpio_get_value(struct udevice *dev, unsigned offset) in broadwell_gpio_get_value()
77 static int broadwell_gpio_set_value(struct udevice *dev, unsigned offset, in broadwell_gpio_set_value()
91 static int broadwell_gpio_direction_output(struct udevice *dev, unsigned offset, in broadwell_gpio_direction_output()
103 static int broadwell_gpio_get_function(struct udevice *dev, unsigned offset) in broadwell_gpio_get_function()
117 static int broadwell_gpio_probe(struct udevice *dev) in broadwell_gpio_probe()
141 static int broadwell_gpio_ofdata_to_platdata(struct udevice *dev) in broadwell_gpio_ofdata_to_platdata()
/openbmc/qemu/hw/isa/
H A Disa-bus.c52 ISABus *isa_bus_new(DeviceState *dev, MemoryRegion* address_space, in isa_bus_new()
95 qemu_irq isa_get_irq(ISADevice *dev, unsigned isairq) in isa_get_irq()
121 static inline void isa_init_ioport(ISADevice *dev, uint16_t ioport) in isa_init_ioport()
128 void isa_register_ioport(ISADevice *dev, MemoryRegion *io, uint16_t start) in isa_register_ioport()
134 int isa_register_portio_list(ISADevice *dev, in isa_register_portio_list()
168 ISADevice *dev; in isa_create_simple() local
175 bool isa_realize_and_unref(ISADevice *dev, ISABus *bus, Error **errp) in isa_realize_and_unref()
180 ISABus *isa_bus_from_device(ISADevice *dev) in isa_bus_from_device()
245 static char *isabus_get_fw_dev_path(DeviceState *dev) in isabus_get_fw_dev_path()
259 MemoryRegion *isa_address_space(ISADevice *dev) in isa_address_space()
[all …]
/openbmc/u-boot/drivers/misc/imx8/
H A Dscu_api.c20 struct udevice *dev = gd->arch.scu_dev; in sc_pm_set_clock_rate() local
46 struct udevice *dev = gd->arch.scu_dev; in sc_pm_get_clock_rate() local
74 struct udevice *dev = gd->arch.scu_dev; in sc_pm_clock_enable() local
99 struct udevice *dev = gd->arch.scu_dev; in sc_pm_set_resource_power_mode() local
125 struct udevice *dev = gd->arch.scu_dev; in sc_pad_set() local
152 struct udevice *dev = gd->arch.scu_dev; in sc_misc_get_control() local
180 struct udevice *dev = gd->arch.scu_dev; in sc_misc_get_boot_dev() local
203 struct udevice *dev = gd->arch.scu_dev; in sc_misc_boot_status() local
225 struct udevice *dev = gd->arch.scu_dev; in sc_misc_build_info() local
252 struct udevice *dev = gd->arch.scu_dev; in sc_misc_otp_fuse_read() local
[all …]
/openbmc/u-boot/lib/
H A Dtpm-v2.c33 int tcg2_get_active_pcr_banks(struct udevice *dev, u32 *active_pcr_banks) in tcg2_get_active_pcr_banks()
69 int tcg2_create_digest(struct udevice *dev, const u8 *input, u32 length, in tcg2_create_digest()
194 static int tcg2_log_init(struct udevice *dev, struct tcg2_event_log *elog) in tcg2_log_init()
280 struct udevice *dev, in tcg2_replay_eventlog()
366 static int tcg2_log_parse(struct udevice *dev, struct tcg2_event_log *elog) in tcg2_log_parse()
479 int tcg2_pcr_extend(struct udevice *dev, u32 pcr_index, in tcg2_pcr_extend()
501 int tcg2_pcr_read(struct udevice *dev, u32 pcr_index, in tcg2_pcr_read()
528 int tcg2_measure_data(struct udevice *dev, struct tcg2_event_log *elog, in tcg2_measure_data()
550 int tcg2_log_prepare_buffer(struct udevice *dev, struct tcg2_event_log *elog, in tcg2_log_prepare_buffer()
603 int tcg2_measurement_init(struct udevice **dev, struct tcg2_event_log *elog, in tcg2_measurement_init()
[all …]
/openbmc/u-boot/drivers/video/rockchip/
H A Drk3399_mipi.c27 static int rk_mipi_dsi_source_select(struct udevice *dev) in rk_mipi_dsi_source_select()
52 static void rk_mipi_dphy_mode_set(struct udevice *dev) in rk_mipi_dphy_mode_set()
76 static int rk_display_enable(struct udevice *dev, int panel_bpp, in rk_display_enable()
123 static int rk_mipi_ofdata_to_platdata(struct udevice *dev) in rk_mipi_ofdata_to_platdata()
146 static int rk_mipi_probe(struct udevice *dev) in rk_mipi_probe()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_verify.c20 int yaffs_skip_verification(struct yaffs_dev *dev) in yaffs_skip_verification()
26 static int yaffs_skip_full_verification(struct yaffs_dev *dev) in yaffs_skip_full_verification()
31 static int yaffs_skip_nand_verification(struct yaffs_dev *dev) in yaffs_skip_nand_verification()
49 void yaffs_verify_blk(struct yaffs_dev *dev, struct yaffs_block_info *bi, int n) in yaffs_verify_blk()
93 void yaffs_verify_collected_blk(struct yaffs_dev *dev, in yaffs_verify_collected_blk()
108 void yaffs_verify_blocks(struct yaffs_dev *dev) in yaffs_verify_blocks()
229 struct yaffs_dev *dev; in yaffs_verify_file() local
306 struct yaffs_dev *dev; in yaffs_verify_obj() local
401 void yaffs_verify_objects(struct yaffs_dev *dev) in yaffs_verify_objects()
499 void yaffs_verify_free_chunks(struct yaffs_dev *dev) in yaffs_verify_free_chunks()
/openbmc/qemu/contrib/vhost-user-gpu/
H A Dvugbm.c39 mem_device_destroy(struct vugbm_device *dev) in mem_device_destroy()
125 udmabuf_device_destroy(struct vugbm_device *dev) in udmabuf_device_destroy()
135 struct gbm_device *dev = buf->dev->dev; in alloc_bo() local
186 device_destroy(struct vugbm_device *dev) in device_destroy()
193 vugbm_device_destroy(struct vugbm_device *dev) in vugbm_device_destroy()
203 vugbm_device_init(struct vugbm_device *dev, int fd) in vugbm_device_init()
252 struct vugbm_device *dev = buf->dev; in vugbm_buffer_map() local
260 struct vugbm_device *dev = buf->dev; in vugbm_buffer_unmap() local
293 vugbm_buffer_create(struct vugbm_buffer *buffer, struct vugbm_device *dev, in vugbm_buffer_create()
321 struct vugbm_device *dev = buffer->dev; in vugbm_buffer_destroy() local
/openbmc/u-boot/drivers/ata/
H A Dfsl_sata.c77 int init_sata(int dev) in init_sata()
258 int reset_sata(int dev) in reset_sata()
482 static void fsl_sata_identify(int dev, u16 *id) in fsl_sata_identify()
497 static void fsl_sata_xfer_mode(int dev, u16 *id) in fsl_sata_xfer_mode()
507 static void fsl_sata_set_features(int dev) in fsl_sata_set_features()
536 static u32 fsl_sata_rw_cmd(int dev, u32 start, u32 blkcnt, u8 *buffer, int is_write) in fsl_sata_rw_cmd()
561 static void fsl_sata_flush_cache(int dev) in fsl_sata_flush_cache()
575 static u32 fsl_sata_rw_cmd_ext(int dev, u32 start, u32 blkcnt, u8 *buffer, int is_write) in fsl_sata_rw_cmd_ext()
605 static u32 fsl_sata_rw_ncq_cmd(int dev, u32 start, u32 blkcnt, u8 *buffer, in fsl_sata_rw_ncq_cmd()
649 static void fsl_sata_flush_cache_ext(int dev) in fsl_sata_flush_cache_ext()
[all …]
/openbmc/u-boot/drivers/mtd/spi/
H A Dsf_probe.c95 static int spi_flash_std_read(struct udevice *dev, u32 offset, size_t len, in spi_flash_std_read()
105 static int spi_flash_std_write(struct udevice *dev, u32 offset, size_t len, in spi_flash_std_write()
115 static int spi_flash_std_erase(struct udevice *dev, u32 offset, size_t len) in spi_flash_std_erase()
133 static int spi_flash_std_get_sw_write_prot(struct udevice *dev) in spi_flash_std_get_sw_write_prot()
140 static int spi_flash_std_ctrl_wlock(struct udevice *dev, u32 offset, size_t len) in spi_flash_std_ctrl_wlock()
147 static int spi_flash_std_ctrl_wunlock(struct udevice *dev, u32 offset, size_t len) in spi_flash_std_ctrl_wunlock()
154 static int spi_flash_std_probe(struct udevice *dev) in spi_flash_std_probe()
167 static int spi_flash_std_remove(struct udevice *dev) in spi_flash_std_remove()
/openbmc/u-boot/drivers/w1/
H A Dw1-gpio.c32 static bool w1_gpio_read_bit(struct udevice *dev) in w1_gpio_read_bit()
51 static u8 w1_gpio_read_byte(struct udevice *dev) in w1_gpio_read_byte()
62 static void w1_gpio_write_bit(struct udevice *dev, bool bit) in w1_gpio_write_bit()
75 static void w1_gpio_write_byte(struct udevice *dev, u8 byte) in w1_gpio_write_byte()
83 static bool w1_gpio_reset(struct udevice *dev) in w1_gpio_reset()
123 static u8 w1_gpio_triplet(struct udevice *dev, bool bdir) in w1_gpio_triplet()
152 static int w1_gpio_ofdata_to_platdata(struct udevice *dev) in w1_gpio_ofdata_to_platdata()
/openbmc/u-boot/drivers/nvme/
H A Dnvme.c34 struct nvme_dev *dev; member
50 static int nvme_wait_ready(struct nvme_dev *dev, bool enabled) in nvme_wait_ready()
68 static int nvme_setup_prps(struct nvme_dev *dev, u64 *prp2, in nvme_setup_prps()
212 static int nvme_submit_admin_cmd(struct nvme_dev *dev, struct nvme_command *cmd, in nvme_submit_admin_cmd()
219 static struct nvme_queue *nvme_alloc_queue(struct nvme_dev *dev, in nvme_alloc_queue()
257 static int nvme_delete_queue(struct nvme_dev *dev, u8 opcode, u16 id) in nvme_delete_queue()
268 static int nvme_delete_sq(struct nvme_dev *dev, u16 sqid) in nvme_delete_sq()
273 static int nvme_delete_cq(struct nvme_dev *dev, u16 cqid) in nvme_delete_cq()
278 static int nvme_enable_ctrl(struct nvme_dev *dev) in nvme_enable_ctrl()
287 static int nvme_disable_ctrl(struct nvme_dev *dev) in nvme_disable_ctrl()
[all …]
/openbmc/u-boot/drivers/sysreset/
H A Dsysreset-uclass.c19 int sysreset_request(struct udevice *dev, enum sysreset_t type) in sysreset_request()
29 int sysreset_get_status(struct udevice *dev, char *buf, int size) in sysreset_get_status()
39 int sysreset_get_last(struct udevice *dev) in sysreset_get_last()
51 struct udevice *dev; in sysreset_walk() local
70 struct udevice *dev; in sysreset_get_last_walk() local
121 static int sysreset_post_bind(struct udevice *dev) in sysreset_post_bind()

12345678910>>...111