Home
last modified time | relevance | path

Searched defs:devp (Results 1 – 25 of 77) sorted by relevance

1234

/openbmc/u-boot/drivers/core/
H A Duclass.c249 struct udevice **devp) in uclass_find_device_by_name()
326 struct udevice **devp) in uclass_find_device_by_of_offset()
350 struct udevice **devp) in uclass_find_device_by_ofnode()
382 const char *name, struct udevice **devp) in uclass_find_device_by_phandle()
414 struct udevice **devp) in uclass_get_device_by_driver()
458 struct udevice **devp) in uclass_get_device_by_name()
486 struct udevice **devp) in uclass_get_device_by_of_offset()
497 struct udevice **devp) in uclass_get_device_by_ofnode()
513 struct udevice **devp) in uclass_get_device_by_phandle_id()
539 const char *name, struct udevice **devp) in uclass_get_device_by_phandle()
[all …]
H A Ddevice.c36 uint of_platdata_size, struct udevice **devp) in device_bind_common()
222 struct udevice **devp) in device_bind_with_driver_data()
230 struct udevice **devp) in device_bind()
238 struct udevice **devp) in device_bind_ofnode()
508 struct udevice **devp) in device_get_device_tail()
582 struct udevice **devp) in device_get_child_by_seq()
600 struct udevice **devp) in device_find_child_by_of_offset()
617 struct udevice **devp) in device_get_child_by_of_offset()
688 struct udevice **devp) in device_find_first_inactive_child()
706 struct udevice **devp) in device_find_first_child_by_uclass()
[all …]
H A Dlists.c74 const char *dev_name, struct udevice **devp) in device_bind_driver()
82 struct udevice **devp) in device_bind_driver_to_node()
125 int lists_bind_fdt(struct udevice *parent, ofnode node, struct udevice **devp, in lists_bind_fdt()
/openbmc/linux/arch/powerpc/boot/
H A Dlibfdt-wrapper.c37 #define devp_offset_find(devp) (((unsigned long)(devp))-1) argument
38 #define devp_offset(devp) (devp ? ((unsigned long)(devp))-1 : 0) argument
67 static int fdt_wrapper_getprop(const void *devp, const char *name, in fdt_wrapper_getprop()
80 static int fdt_wrapper_setprop(const void *devp, const char *name, in fdt_wrapper_setprop()
94 static int fdt_wrapper_del_node(const void *devp) in fdt_wrapper_del_node()
99 static void *fdt_wrapper_get_parent(const void *devp) in fdt_wrapper_get_parent()
104 static void *fdt_wrapper_create_node(const void *devp, const char *name) in fdt_wrapper_create_node()
135 static char *fdt_wrapper_get_path(const void *devp, char *buf, int len) in fdt_wrapper_get_path()
H A Dops.h104 static inline int getprop(void *devp, const char *name, void *buf, int buflen) in getprop()
109 static inline int setprop(void *devp, const char *name, in setprop()
114 #define setprop_val(devp, name, val) \ argument
120 static inline int setprop_str(void *devp, const char *name, const char *buf) in setprop_str()
128 static inline int del_node(const void *devp) in del_node()
133 static inline void *get_parent(const char *devp) in get_parent()
171 void *devp = finddevice("/aliases"); in find_node_by_alias() local
H A Dcuboot-hotfoot.c47 void *devp; in hotfoot_fixups() local
67 void *devp = finddevice("/plb/ebc/nor_flash@0"); in hotfoot_fixups() local
H A Dserial.c85 void *devp; in serial_get_stdout_devp() local
112 void *devp; in serial_console_init() local
H A Ddevtree.c65 void *devp = NULL; in dt_fixup_cpu_clocks() local
84 void *devp = finddevice(path); in dt_fixup_clock() local
94 void *devp = find_node_by_alias(alias); in dt_fixup_mac_address_by_alias() local
108 void *devp = find_node_by_prop_value(NULL, "linux,network-index", in dt_fixup_mac_address() local
H A Dofconsole.c21 void *devp; in of_console_open() local
/openbmc/linux/drivers/char/
H A Dhpet.c126 struct hpet_dev *devp; in hpet_interrupt() local
183 static void hpet_timer_set_irq(struct hpet_dev *devp) in hpet_timer_set_irq()
244 struct hpet_dev *devp; in hpet_open() local
286 struct hpet_dev *devp; in hpet_read() local
330 struct hpet_dev *devp; in hpet_poll() local
366 struct hpet_dev *devp; in hpet_mmap() local
390 struct hpet_dev *devp; in hpet_fasync() local
402 struct hpet_dev *devp; in hpet_release() local
438 static int hpet_ioctl_ieon(struct hpet_dev *devp) in hpet_ioctl_ieon()
747 struct hpet_dev *devp; in __hpet_calibrate() local
[all …]
/openbmc/u-boot/arch/arm/mach-rockchip/rk3399/
H A Dclk_rk3399.c13 static int rockchip_get_cruclk(struct udevice **devp) in rockchip_get_cruclk()
34 static int rockchip_get_pmucruclk(struct udevice **devp) in rockchip_get_pmucruclk()
/openbmc/u-boot/drivers/block/
H A Dblk-uclass.c354 int blk_first_device(int if_type, struct udevice **devp) in blk_first_device()
376 int blk_next_device(struct udevice **devp) in blk_next_device()
395 int blk_find_device(int if_type, int devnum, struct udevice **devp) in blk_find_device()
418 int blk_get_device(int if_type, int devnum, struct udevice **devp) in blk_get_device()
476 int blk_get_from_parent(struct udevice *parent, struct udevice **devp) in blk_get_from_parent()
562 lbaint_t lba, struct udevice **devp) in blk_create_device()
594 lbaint_t lba, struct udevice **devp) in blk_create_devicef()
/openbmc/u-boot/drivers/net/mdio/
H A Dmdio-uclass.c25 int mdio_device_get_from_phy(ofnode phy_node, struct udevice **devp) in mdio_device_get_from_phy()
47 int mdio_device_get_from_eth(struct udevice *eth, struct udevice **devp) in mdio_device_get_from_eth()
/openbmc/u-boot/drivers/power/regulator/
H A Dregulator-uclass.c193 int regulator_get_by_platname(const char *plat_name, struct udevice **devp) in regulator_get_by_platname()
220 int regulator_get_by_devname(const char *devname, struct udevice **devp) in regulator_get_by_devname()
226 struct udevice **devp) in device_get_supply_regulator()
269 int regulator_autoset_by_name(const char *platname, struct udevice **devp) in regulator_autoset_by_name()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Ddevice.c40 struct cdev *cdev, struct device **devp, in hfi1_cdev_init()
77 void hfi1_cdev_cleanup(struct cdev *cdev, struct device **devp) in hfi1_cdev_cleanup()
/openbmc/u-boot/drivers/pci/
H A Dpci-uclass.c115 struct udevice **devp) in pci_bus_find_devfn()
134 int dm_pci_bus_find_bdf(pci_dev_t bdf, struct udevice **devp) in dm_pci_bus_find_bdf()
164 int *indexp, struct udevice **devp) in pci_bus_find_devices()
184 struct udevice **devp) in pci_find_device_id()
202 struct udevice **devp) in dm_pci_bus_find_device()
223 struct udevice **devp) in dm_pci_find_device()
239 int dm_pci_find_class(uint find_class, int index, struct udevice **devp) in dm_pci_find_class()
662 pci_dev_t bdf, struct udevice **devp) in pci_find_and_bind_driver()
1062 static int skip_to_next_device(struct udevice *bus, struct udevice **devp) in skip_to_next_device()
1085 int pci_find_next_device(struct udevice **devp) in pci_find_next_device()
[all …]
/openbmc/u-boot/arch/arm/mach-rockchip/rk3328/
H A Dclk_rk3328.c11 int rockchip_get_clk(struct udevice **devp) in rockchip_get_clk()
/openbmc/u-boot/arch/arm/mach-rockchip/rv1108/
H A Dclk_rv1108.c13 int rockchip_get_clk(struct udevice **devp) in rockchip_get_clk()
/openbmc/u-boot/arch/arm/mach-rockchip/rk3368/
H A Dclk_rk3368.c13 int rockchip_get_clk(struct udevice **devp) in rockchip_get_clk()
/openbmc/u-boot/arch/arm/mach-rockchip/rk3288/
H A Dclk_rk3288.c13 int rockchip_get_clk(struct udevice **devp) in rockchip_get_clk()
/openbmc/u-boot/arch/arm/mach-rockchip/rk3128/
H A Dclk_rk3128.c12 int rockchip_get_clk(struct udevice **devp) in rockchip_get_clk()
/openbmc/u-boot/arch/arm/mach-rockchip/rk322x/
H A Dclk_rk322x.c12 int rockchip_get_clk(struct udevice **devp) in rockchip_get_clk()
/openbmc/u-boot/arch/arm/mach-rockchip/rk3188/
H A Dclk_rk3188.c13 int rockchip_get_clk(struct udevice **devp) in rockchip_get_clk()
/openbmc/u-boot/arch/arm/mach-rockchip/rk3036/
H A Dclk_rk3036.c13 int rockchip_get_clk(struct udevice **devp) in rockchip_get_clk()
/openbmc/u-boot/drivers/spi/
H A Dspi-uclass.c210 int spi_find_chip_select(struct udevice *bus, int cs, struct udevice **devp) in spi_find_chip_select()
278 struct udevice **devp) in spi_find_bus_and_cs()
301 struct udevice **busp, struct spi_slave **devp) in spi_get_bus_and_cs()

1234