Home
last modified time | relevance | path

Searched refs:devm_kzalloc (Results 1 – 21 of 21) sorted by relevance

/third_party/uboot/u-boot-2020.01/drivers/i2c/muxes/
Di2c-mux-gpio.c79 values = devm_kzalloc(dev, sizeof(*mux->values) * mux->n_values, in i2c_mux_gpio_probe()
101 gpios = devm_kzalloc(dev, sizeof(struct gpio_desc) * mux->n_gpios, in i2c_mux_gpio_probe()
/third_party/uboot/u-boot-2020.01/drivers/usb/cdns3/
Dhost.c43 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdns3_host_init()
Dcore.c262 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdns3_idle_init()
Dgadget.c2463 priv_ep = devm_kzalloc(priv_dev->dev, sizeof(*priv_ep), in cdns3_init_eps()
2724 rdrv = devm_kzalloc(cdns->dev, sizeof(*rdrv), GFP_KERNEL); in cdns3_gadget_init()
/third_party/uboot/u-boot-2020.01/drivers/pinctrl/mscc/
Dmscc-common.c151 info->func[f].groups = devm_kzalloc(dev, npins * sizeof(char *), in mscc_create_group_func_map()
264 priv->func = devm_kzalloc(dev, num_func * sizeof(struct mscc_pmx_func), in mscc_pinctrl_probe()
/third_party/uboot/u-boot-2020.01/drivers/pinctrl/mvebu/
Dpinctrl-armada-37xx.c354 grp->pins = devm_kzalloc(info->dev, in armada_37xx_fill_group()
406 funcs[n].groups = devm_kzalloc(info->dev, funcs[n].ngroups * in armada_37xx_fill_func()
603 info->funcs = devm_kzalloc(info->dev, pin_data->nr_pins * in armada_37xx_pinctrl_probe()
/third_party/uboot/u-boot-2020.01/include/dm/
Ddevice.h869 static inline void *devm_kzalloc(struct udevice *dev, size_t size, gfp_t gfp) in devm_kzalloc() function
946 static inline void *devm_kzalloc(struct udevice *dev, size_t size, gfp_t gfp) in devm_kzalloc() function
/third_party/uboot/u-boot-2020.01/drivers/pinctrl/nxp/
Dpinctrl-mxs.c80 pin_data = devm_kzalloc(dev, size, 0); in mxs_pinctrl_set_state()
Dpinctrl-imx.c51 pin_data = devm_kzalloc(dev, size, 0); in imx_pinctrl_set_state()
/third_party/uboot/u-boot-2020.01/drivers/usb/dwc3/
Dti_usb_phy.c266 phy = devm_kzalloc(NULL, sizeof(*phy), GFP_KERNEL); in ti_usb_phy_uboot_init()
Ddwc3-omap.c380 omap = devm_kzalloc((struct udevice *)dev, sizeof(*omap), GFP_KERNEL); in dwc3_omap_uboot_init()
Dcore.c115 evt = devm_kzalloc((struct udevice *)dwc->dev, sizeof(*evt), in dwc3_alloc_one_event_buffer()
671 mem = devm_kzalloc((struct udevice *)dev, in dwc3_uboot_init()
/third_party/uboot/u-boot-2020.01/drivers/pci/
Dpcie_mediatek.c189 port = devm_kzalloc(dev, sizeof(*port), GFP_KERNEL); in mtk_pcie_parse_port()
/third_party/uboot/u-boot-2020.01/drivers/phy/
Dphy-mtk-tphy.c328 instance = devm_kzalloc(dev, sizeof(*instance), GFP_KERNEL); in mtk_tphy_probe()
/third_party/uboot/u-boot-2020.01/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c906 layout = devm_kzalloc(&host->pdev->dev, sizeof(*layout), GFP_KERNEL); in brcmnand_create_layout()
908 layout = devm_kzalloc(host->pdev, sizeof(*layout), GFP_KERNEL); in brcmnand_create_layout()
2490 ctrl = devm_kzalloc(dev, sizeof(*ctrl), GFP_KERNEL); in brcmnand_probe()
2672 host = devm_kzalloc(dev, sizeof(*host), GFP_KERNEL); in brcmnand_probe()
2695 host = devm_kzalloc(dev, sizeof(*host), GFP_KERNEL); in brcmnand_probe()
/third_party/uboot/u-boot-2020.01/drivers/spi/
Dspi-mem.c461 mem = devm_kzalloc(&spi->dev, sizeof(*mem), GFP_KERNEL); in spi_mem_probe()
/third_party/uboot/u-boot-2020.01/drivers/mtd/nand/spi/
Dcore.c173 spinand->cfg_cache = devm_kzalloc(dev, in spinand_init_cfg_cache()
1150 spinand = devm_kzalloc(&mem->spi->dev, sizeof(*spinand), in spinand_probe()
/third_party/uboot/u-boot-2020.01/drivers/smem/
Dmsm_smem.c857 smem = devm_kzalloc(dev, sizeof(*smem) + array_size, GFP_KERNEL); in qcom_smem_probe()
/third_party/uboot/u-boot-2020.01/drivers/soc/ti/
Dk3-navss-ringacc.c1006 ringacc->rings = devm_kzalloc(dev, in k3_nav_ringacc_probe()
/third_party/uboot/u-boot-2020.01/drivers/firmware/
Dti_sci.c3177 res = devm_kzalloc(dev, sizeof(*res), GFP_KERNEL); in devm_ti_sci_get_of_resource()
3227 devm_kzalloc(dev, BITS_TO_LONGS(res->desc[i].num) * in devm_ti_sci_get_of_resource()
/third_party/uboot/u-boot-2020.01/drivers/net/
Dmvpp2.c4631 txq = devm_kzalloc(dev, sizeof(*txq), GFP_KERNEL); in mvpp2_port_init()
4635 txq->pcpu = devm_kzalloc(dev, sizeof(struct mvpp2_txq_pcpu), in mvpp2_port_init()
4661 rxq = devm_kzalloc(dev, sizeof(*rxq), GFP_KERNEL); in mvpp2_port_init()