Home
last modified time | relevance | path

Searched refs:udevice (Results 1 – 25 of 1796) sorted by relevance

12345678910>>...72

/u-boot/include/power/
A Dregulator.h10 struct udevice;
198 int (*get_value)(struct udevice *dev);
223 int (*get_current)(struct udevice *dev);
235 int (*get_enable)(struct udevice *dev);
265 int (*get_mode)(struct udevice *dev);
285 int regulator_get_value(struct udevice *dev);
396 int regulator_get_mode(struct udevice *dev);
440 int regulator_autoset(struct udevice *dev);
486 struct udevice *list_devp[],
529 struct udevice **devp);
[all …]
/u-boot/include/dm/
A Ddevice.h165 struct udevice { struct
172 struct udevice *parent; argument
442 struct udevice *dev_get_parent(const struct udevice *child);
513 struct udevice **devp);
536 struct udevice **devp);
554 struct udevice **devp);
567 struct udevice **devp);
582 struct udevice **devp);
650 struct udevice **devp);
712 struct udevice **devp);
[all …]
A Dpinctrl.h46 int (*get_pins_count)(struct udevice *dev);
73 int (*get_groups_count)(struct udevice *dev);
100 int (*get_functions_count)(struct udevice *dev);
116 const char *(*get_function_name)(struct udevice *dev,
243 int (*set_state)(struct udevice *dev, struct udevice *config);
257 int (*set_state_simple)(struct udevice *dev, struct udevice *periph);
287 int (*get_periph_id)(struct udevice *dev, struct udevice *periph);
493 int pinctrl_generic_set_state(struct udevice *pctldev, struct udevice *config);
496 struct udevice *config) in pinctrl_generic_set_state()
551 int pinctrl_get_periph_id(struct udevice *dev, struct udevice *periph);
[all …]
A Ddevice-internal.h16 struct udevice;
41 struct udevice **devp);
65 struct udevice **devp);
89 int device_reparent(struct udevice *dev, struct udevice *new_parent);
105 int device_of_to_plat(struct udevice *dev);
116 int device_probe(struct udevice *dev);
131 int device_remove(struct udevice *dev, uint flags);
145 int device_unbind(struct udevice *dev);
151 void device_free(struct udevice *dev);
314 void devres_release_probe(struct udevice *dev);
[all …]
A Dread.h254 fdt_addr_t dev_read_addr(const struct udevice *dev);
264 void *dev_read_addr_ptr(const struct udevice *dev);
284 fdt_addr_t dev_read_addr_pci(const struct udevice *dev);
294 void *dev_remap_addr(const struct udevice *dev);
316 const char *dev_read_name(const struct udevice *dev);
433 int dev_read_addr_cells(const struct udevice *dev);
444 int dev_read_size_cells(const struct udevice *dev);
472 int dev_read_phandle(const struct udevice *dev);
599 int dev_read_enabled(const struct udevice *dev);
647 u64 dev_translate_dma_address(const struct udevice *dev,
[all …]
A Duclass-internal.h54 int uclass_get_device_tail(struct udevice *dev, int ret, struct udevice **devp);
103 int uclass_find_next_device(struct udevice **devp);
118 struct udevice **devp);
133 struct udevice **devp);
149 struct udevice **devp);
165 struct udevice **devp);
182 const char *name, struct udevice **devp);
192 int uclass_bind_device(struct udevice *dev);
203 int uclass_unbind_device(struct udevice *dev);
218 int uclass_pre_probe_device(struct udevice *dev);
[all …]
A Duclass.h42 struct udevice;
94 int (*post_bind)(struct udevice *dev);
95 int (*pre_unbind)(struct udevice *dev);
96 int (*pre_probe)(struct udevice *dev);
97 int (*post_probe)(struct udevice *dev);
179 struct udevice **devp);
211 struct udevice **devp);
227 struct udevice **devp);
244 struct udevice **devp);
278 struct udevice **devp);
[all …]
A Dfdtaddr.h15 struct udevice;
24 fdt_addr_t devfdt_get_addr(const struct udevice *dev);
34 void *devfdt_get_addr_ptr(const struct udevice *dev);
44 void *devfdt_remap_addr(const struct udevice *dev);
56 void *devfdt_remap_addr_index(const struct udevice *dev, int index);
69 void *devfdt_remap_addr_name(const struct udevice *dev, const char *name);
82 void *devfdt_map_physmem(const struct udevice *dev, unsigned long size);
93 fdt_addr_t devfdt_get_addr_index(const struct udevice *dev, int index);
108 fdt_addr_t devfdt_get_addr_size_index(const struct udevice *dev, int index,
138 fdt_addr_t devfdt_get_addr_size_name(const struct udevice *dev,
[all …]
A Ddevres.h16 struct udevice;
19 typedef void (*dr_release_t)(struct udevice *dev, void *res);
77 void devres_add(struct udevice *dev, void *res);
92 void *devres_find(struct udevice *dev, dr_release_t release,
108 void *devres_get(struct udevice *dev, void *new_res,
145 int devres_destroy(struct udevice *dev, dr_release_t release,
184 static inline void *devm_kmalloc_array(struct udevice *dev, in devm_kmalloc_array()
192 static inline void *devm_kcalloc(struct udevice *dev, in devm_kcalloc()
205 void devm_kfree(struct udevice *dev, void *ptr);
266 static inline void *devm_kmalloc_array(struct udevice *dev, in devm_kmalloc_array()
[all …]
/u-boot/include/
A Dcros_ec.h19 struct udevice *dev; /* Transport device */
93 int cros_ec_get_next_event(struct udevice *dev,
216 int cros_ec_test(struct udevice *dev);
234 struct udevice *board_get_cros_ec_dev(void);
247 int (*check_version)(struct udevice *dev);
291 int (*get_switches)(struct udevice *dev);
297 int cros_ec_register(struct udevice *dev);
346 int cros_ec_read_flashinfo(struct udevice *dev,
388 int cros_ec_get_sku_id(struct udevice *dev);
407 int cros_ec_read_version(struct udevice *dev,
[all …]
A Dsysinfo.h7 struct udevice;
60 int (*detect)(struct udevice *dev);
71 int (*get_bool)(struct udevice *dev, int id, bool *val);
82 int (*get_int)(struct udevice *dev, int id, int *val);
111 int (*get_fit_loadable)(struct udevice *dev, int index,
125 int sysinfo_detect(struct udevice *dev);
136 int sysinfo_get_bool(struct udevice *dev, int id, bool *val);
147 int sysinfo_get_int(struct udevice *dev, int id, int *val);
171 int sysinfo_get(struct udevice **devp);
194 static inline int sysinfo_detect(struct udevice *dev) in sysinfo_detect()
[all …]
A Dadc.h80 struct udevice *vdd_supply;
81 struct udevice *vss_supply;
100 int (*start_channel)(struct udevice *dev, int channel);
131 int (*channel_data)(struct udevice *dev, int channel,
159 int (*stop)(struct udevice *dev);
169 int adc_start_channel(struct udevice *dev, int channel);
219 int adc_data_mask(struct udevice *dev, unsigned int *data_mask);
276 int adc_vdd_value(struct udevice *dev, int *uV);
288 int adc_vss_value(struct udevice *dev, int *uV);
296 int adc_stop(struct udevice *dev);
[all …]
A Dpci_ep.h121 int (*set_bar)(struct udevice *dev, uint func_num,
132 int (*read_bar)(struct udevice *dev, uint func_num,
142 int (*clear_bar)(struct udevice *dev, uint func_num,
157 int (*map_addr)(struct udevice *dev, uint func_num,
194 int (*get_msi)(struct udevice *dev, uint func_num);
207 int (*set_msix)(struct udevice *dev, uint func_num,
220 int (*get_msix)(struct udevice *dev, uint func_num);
239 int (*start)(struct udevice *dev);
247 int (*stop)(struct udevice *dev);
401 int pci_ep_start(struct udevice *dev);
[all …]
A Drtc.h21 struct udevice;
33 int (*get)(struct udevice *dev, struct rtc_time *time);
44 int (*set)(struct udevice *dev, const struct rtc_time *time);
56 int (*reset)(struct udevice *dev);
67 int (*read)(struct udevice *dev, unsigned int reg,
79 int (*write)(struct udevice *dev, unsigned int reg,
89 int (*read8)(struct udevice *dev, unsigned int reg);
112 int dm_rtc_get(struct udevice *dev, struct rtc_time *time);
134 int dm_rtc_reset(struct udevice *dev);
156 int dm_rtc_write(struct udevice *dev, unsigned int reg,
[all …]
A Dw1.h11 struct udevice;
23 u8 (*read_byte)(struct udevice *dev);
24 bool (*reset)(struct udevice *dev);
25 u8 (*triplet)(struct udevice *dev, bool bdir);
26 void (*write_byte)(struct udevice *dev, u8 byte);
29 int w1_get_bus(int busnum, struct udevice **busp);
30 u8 w1_get_device_family(struct udevice *dev);
32 int w1_read_buf(struct udevice *dev, u8 *buf, unsigned int count);
33 int w1_read_byte(struct udevice *dev);
34 int w1_reset_select(struct udevice *dev);
[all …]
A Dp2sb.h53 int (*set_hide)(struct udevice *dev, bool hide);
68 int p2sb_set_hide(struct udevice *dev, bool hide);
79 uint pcr_read32(struct udevice *dev, uint offset);
80 uint pcr_read16(struct udevice *dev, uint offset);
81 uint pcr_read8(struct udevice *dev, uint offset);
92 void pcr_write32(struct udevice *dev, uint offset, uint data);
93 void pcr_write16(struct udevice *dev, uint offset, uint data);
94 void pcr_write8(struct udevice *dev, uint offset, uint data);
154 int p2sb_set_port_id(struct udevice *dev, int portid);
162 int p2sb_get_port_id(struct udevice *dev);
[all …]
A Dreset.h31 struct udevice;
59 struct udevice *dev;
113 struct reset_ctl *devm_reset_control_get_optional(struct udevice *dev,
128 struct reset_ctl *devm_reset_control_get_by_index(struct udevice *dev,
141 struct reset_ctl_bulk *devm_reset_bulk_get(struct udevice *dev);
164 struct reset_ctl_bulk *devm_reset_bulk_get_by_node(struct udevice *dev,
195 int reset_get_by_index(struct udevice *dev, int index,
227 int reset_get_bulk(struct udevice *dev, struct reset_ctl_bulk *bulk);
245 int reset_get_by_name(struct udevice *dev, const char *name,
402 static inline int reset_get_by_index(struct udevice *dev, int index, in reset_get_by_index()
[all …]
A Dsound.h32 struct udevice *codec;
33 struct udevice *i2s;
59 int (*setup)(struct udevice *dev);
69 int (*play)(struct udevice *dev, void *data, uint data_size);
81 int (*stop_play)(struct udevice *dev);
93 int (*start_beep)(struct udevice *dev, int frequency_hz);
103 int (*stop_beep)(struct udevice *dev);
111 int sound_setup(struct udevice *dev);
133 int sound_start_beep(struct udevice *dev, int frequency_hz);
143 int sound_stop_beep(struct udevice *dev);
[all …]
A Dmisc.h9 struct udevice;
20 int misc_read(struct udevice *dev, int offset, void *buf, int size);
31 int misc_write(struct udevice *dev, int offset, void *buf, int size);
41 int misc_ioctl(struct udevice *dev, unsigned long request, void *buf);
61 int misc_call(struct udevice *dev, int msgid, void *tx_msg, int tx_size,
79 int misc_set_enabled(struct udevice *dev, bool val);
97 int (*read)(struct udevice *dev, int offset, void *buf, int size);
108 int (*write)(struct udevice *dev, int offset, const void *buf,
118 int (*ioctl)(struct udevice *dev, unsigned long request, void *buf);
132 int (*call)(struct udevice *dev, int msgid, void *tx_msg, int tx_size,
[all …]
A Dcpu.h10 struct udevice;
66 int (*get_desc)(const struct udevice *dev, char *buf, int size);
75 int (*get_info)(const struct udevice *dev, struct cpu_info *info);
83 int (*get_count)(const struct udevice *dev);
93 int (*get_vendor)(const struct udevice *dev, char *buf, int size);
102 int (*is_current)(struct udevice *dev);
115 int cpu_get_desc(const struct udevice *dev, char *buf, int size);
124 int cpu_get_info(const struct udevice *dev, struct cpu_info *info);
132 int cpu_get_count(const struct udevice *dev);
156 int cpu_is_current(struct udevice *cpu);
[all …]
/u-boot/arch/sandbox/include/asm/
A Dclk.h11 struct udevice;
55 ulong sandbox_clk_query_rate(struct udevice *dev, int id);
63 int sandbox_clk_query_enable(struct udevice *dev, int id);
80 int sandbox_clk_test_get(struct udevice *dev);
89 int sandbox_clk_test_devm_get(struct udevice *dev);
98 int sandbox_clk_test_get_bulk(struct udevice *dev);
142 int sandbox_clk_test_enable_bulk(struct udevice *dev);
159 int sandbox_clk_test_disable_bulk(struct udevice *dev);
167 int sandbox_clk_test_free(struct udevice *dev);
175 int sandbox_clk_test_release_bulk(struct udevice *dev);
[all …]
A Dtest.h83 void sandbox_i2c_eeprom_set_test_mode(struct udevice *dev,
91 uint sanbox_i2c_eeprom_get_prev_addr(struct udevice *dev);
167 int sandbox_get_i2s_sum(struct udevice *dev);
177 int sandbox_get_setup_called(struct udevice *dev);
184 int sandbox_get_sound_active(struct udevice *dev);
194 int sandbox_get_sound_sum(struct udevice *dev);
210 int sandbox_get_beep_frequency(struct udevice *dev);
218 uint sandbox_spi_get_speed(struct udevice *dev);
226 uint sandbox_spi_get_mode(struct udevice *dev);
234 int sandbox_get_pch_spi_protect(struct udevice *dev);
[all …]
A Dreset.h11 struct udevice;
16 int sandbox_reset_test_get(struct udevice *dev);
17 int sandbox_reset_test_get_devm(struct udevice *dev);
18 int sandbox_reset_test_get_bulk(struct udevice *dev);
19 int sandbox_reset_test_get_bulk_devm(struct udevice *dev);
20 int sandbox_reset_test_assert(struct udevice *dev);
21 int sandbox_reset_test_assert_bulk(struct udevice *dev);
22 int sandbox_reset_test_deassert(struct udevice *dev);
23 int sandbox_reset_test_deassert_bulk(struct udevice *dev);
24 int sandbox_reset_test_free(struct udevice *dev);
[all …]
/u-boot/drivers/core/
A Dread.c90 ofnode dev_read_first_subnode(const struct udevice *dev) in dev_read_first_subnode()
163 fdt_addr_t dev_read_addr(const struct udevice *dev) in dev_read_addr()
168 void *dev_read_addr_ptr(const struct udevice *dev) in dev_read_addr_ptr()
175 void *dev_remap_addr(const struct udevice *dev) in dev_remap_addr()
186 const char *dev_read_name(const struct udevice *dev) in dev_read_name()
225 int dev_read_addr_cells(const struct udevice *dev) in dev_read_addr_cells()
230 int dev_read_size_cells(const struct udevice *dev) in dev_read_size_cells()
245 int dev_read_phandle(const struct udevice *dev) in dev_read_phandle()
311 int dev_read_enabled(const struct udevice *dev) in dev_read_enabled()
369 int dev_get_child_count(const struct udevice *dev) in dev_get_child_count()
[all …]
A Ddevice.c42 struct udevice *dev; in device_bind_common()
273 int device_reparent(struct udevice *dev, struct udevice *new_parent) in device_reparent()
676 struct udevice *dev; in device_find_by_ofnode()
695 struct udevice *dev; in device_get_child()
707 struct udevice *dev; in device_get_child_count()
719 struct udevice *dev; in device_find_child_by_seq()
736 struct udevice *dev; in device_get_child_by_seq()
748 struct udevice *dev; in device_find_child_by_of_offset()
765 struct udevice *dev; in device_get_child_by_of_offset()
799 struct udevice *dev; in device_get_global_by_ofnode()
[all …]

Completed in 54 milliseconds

12345678910>>...72