Home
last modified time | relevance | path

Searched refs:uc_plat (Results 1 – 22 of 22) sorted by relevance

/external/u-boot/drivers/i2c/
Di2c-emul-uclass.c39 struct i2c_emul_uc_platdata *uc_plat = dev_get_uclass_platdata(emul); in i2c_emul_get_device() local
41 return uc_plat->dev; in i2c_emul_get_device()
46 struct i2c_emul_uc_platdata *uc_plat; in i2c_emul_find() local
56 uc_plat = dev_get_uclass_platdata(emul); in i2c_emul_find()
57 uc_plat->dev = dev; in i2c_emul_find()
/external/u-boot/drivers/video/rockchip/
Drk3288_hdmi.c26 struct display_plat *uc_plat = dev_get_uclass_platdata(dev); in rk3288_hdmi_enable() local
27 int vop_id = uc_plat->source_id; in rk3288_hdmi_enable()
59 struct display_plat *uc_plat = dev_get_uclass_platdata(dev); in rk3288_clk_config() local
67 ret = clk_get_by_index(uc_plat->src_dev, 0, &clk); in rk3288_clk_config()
74 __func__, uc_plat->src_dev->name, ret); in rk3288_clk_config()
Drk3399_hdmi.c26 struct display_plat *uc_plat = dev_get_uclass_platdata(dev); in rk3399_hdmi_enable() local
27 int vop_id = uc_plat->source_id; in rk3399_hdmi_enable()
Drk_lvds.c54 struct display_plat *uc_plat = dev_get_uclass_platdata(dev); in rk_lvds_enable() local
65 if (uc_plat->source_id) in rk_lvds_enable()
Drk_edp.c1019 struct display_plat *uc_plat = dev_get_uclass_platdata(dev); in rk_edp_probe() local
1033 int vop_id = uc_plat->source_id; in rk_edp_probe()
1034 debug("%s, uc_plat=%p, vop_id=%u\n", __func__, uc_plat, vop_id); in rk_edp_probe()
1046 ret = clk_get_by_index(uc_plat->src_dev, 0, &clk); in rk_edp_probe()
1053 __func__, uc_plat->src_dev->name, ret); in rk_edp_probe()
/external/u-boot/drivers/led/
Dled_gpio.c58 struct led_uc_plat *uc_plat = dev_get_uclass_platdata(dev); in led_gpio_probe() local
63 if (!uc_plat->label) in led_gpio_probe()
96 struct led_uc_plat *uc_plat; in led_gpio_bind() local
110 uc_plat = dev_get_uclass_platdata(dev); in led_gpio_bind()
111 uc_plat->label = label; in led_gpio_bind()
Dled_bcm6358.c114 struct led_uc_plat *uc_plat = dev_get_uclass_platdata(dev); in bcm6358_led_probe() local
117 if (!uc_plat->label) { in bcm6358_led_probe()
175 struct led_uc_plat *uc_plat; in bcm6358_led_bind() local
193 uc_plat = dev_get_uclass_platdata(dev); in bcm6358_led_bind()
194 uc_plat->label = label; in bcm6358_led_bind()
Dled_bcm6858.c155 struct led_uc_plat *uc_plat = dev_get_uclass_platdata(dev); in bcm6858_led_probe() local
158 if (!uc_plat->label) { in bcm6858_led_probe()
212 struct led_uc_plat *uc_plat; in bcm6858_led_bind() local
230 uc_plat = dev_get_uclass_platdata(dev); in bcm6858_led_bind()
231 uc_plat->label = label; in bcm6858_led_bind()
Dled_bcm6328.c149 struct led_uc_plat *uc_plat = dev_get_uclass_platdata(dev); in bcm6328_led_probe() local
152 if (!uc_plat->label) { in bcm6328_led_probe()
206 struct led_uc_plat *uc_plat; in bcm6328_led_bind() local
224 uc_plat = dev_get_uclass_platdata(dev); in bcm6328_led_bind()
225 uc_plat->label = label; in bcm6328_led_bind()
Dled-uclass.c25 struct led_uc_plat *uc_plat = dev_get_uclass_platdata(dev); in led_get_by_label() local
28 if (uc_plat->label && !strcmp(label, uc_plat->label)) in led_get_by_label()
/external/u-boot/drivers/video/
Datmel_lcdfb.c245 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in atmel_fb_lcd_probe() local
256 uc_plat->base); in atmel_fb_lcd_probe()
261 debug("LCD frame buffer at %lx, size %x, %dx%d pixels\n", uc_plat->base, in atmel_fb_lcd_probe()
262 uc_plat->size, uc_priv->xsize, uc_priv->ysize); in atmel_fb_lcd_probe()
285 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in atmel_fb_lcd_bind() local
287 uc_plat->size = LCD_MAX_WIDTH * LCD_MAX_HEIGHT * in atmel_fb_lcd_bind()
289 debug("%s: Frame buffer size %x\n", __func__, uc_plat->size); in atmel_fb_lcd_bind()
Dsandbox_sdl.c45 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in sandbox_sdl_bind() local
54 uc_plat->size = plat->xres * plat->yres * (1 << plat->bpix) / 8; in sandbox_sdl_bind()
55 debug("%s: Frame buffer size %x\n", __func__, uc_plat->size); in sandbox_sdl_bind()
Dmali_dp.c260 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in malidp_probe() local
297 uc_plat->base = fb_base; in malidp_probe()
298 uc_plat->size = fb_size; in malidp_probe()
362 (phys_addr_t)uc_plat->base); in malidp_probe()
382 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in malidp_bind() local
385 uc_plat->size = 4 * 2048 * 2048; in malidp_bind()
Datmel_hlcdfb.c292 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in atmel_hlcdc_init() local
433 desc->address = (u32)uc_plat->base; in atmel_hlcdc_init()
538 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in atmel_hlcdc_bind() local
540 uc_plat->size = LCD_MAX_WIDTH * LCD_MAX_HEIGHT * in atmel_hlcdc_bind()
543 debug("%s: Frame buffer size %x\n", __func__, uc_plat->size); in atmel_hlcdc_bind()
/external/u-boot/drivers/scsi/
Dscsi.c150 struct scsi_platdata *uc_plat = dev_get_uclass_platdata(bdev); in scsi_read() local
162 if (uc_plat->max_bytes_per_req) in scsi_read()
163 max_blks = uc_plat->max_bytes_per_req / block_dev->blksz; in scsi_read()
220 struct scsi_platdata *uc_plat = dev_get_uclass_platdata(bdev); in scsi_write() local
232 if (uc_plat->max_bytes_per_req) in scsi_write()
233 max_blks = uc_plat->max_bytes_per_req / block_dev->blksz; in scsi_write()
603 struct scsi_platdata *uc_plat; /* scsi controller platdata */ in scsi_scan_dev() local
614 uc_plat = dev_get_uclass_platdata(dev); in scsi_scan_dev()
616 for (i = 0; i < uc_plat->max_id; i++) in scsi_scan_dev()
617 for (lun = 0; lun < uc_plat->max_lun; lun++) in scsi_scan_dev()
/external/u-boot/drivers/video/stm32/
Dstm32_ltdc.c329 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in stm32_ltdc_probe() local
417 VNBITS(priv->l2bpp), uc_plat->base); in stm32_ltdc_probe()
424 stm32_ltdc_set_layer1(priv, uc_plat->base); in stm32_ltdc_probe()
453 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in stm32_ltdc_bind() local
455 uc_plat->size = CONFIG_VIDEO_STM32_MAX_XRES * in stm32_ltdc_bind()
458 debug("%s: frame buffer max size %d bytes\n", __func__, uc_plat->size); in stm32_ltdc_bind()
/external/u-boot/drivers/ata/
Dahci.c1162 struct scsi_platdata *uc_plat; in ahci_probe_scsi() local
1169 uc_plat = dev_get_uclass_platdata(dev); in ahci_probe_scsi()
1170 uc_plat->base = base; in ahci_probe_scsi()
1171 uc_plat->max_lun = 1; in ahci_probe_scsi()
1172 uc_plat->max_id = 2; in ahci_probe_scsi()
1187 uc_plat->max_id = max_t(unsigned long, uc_priv->n_ports, in ahci_probe_scsi()
1188 uc_plat->max_id); in ahci_probe_scsi()
Dfsl_ahci.c995 struct scsi_platdata *uc_plat; in fsl_ahci_probe() local
1000 uc_plat = dev_get_uclass_platdata(child_dev); in fsl_ahci_probe()
1001 uc_plat->base = priv->base; in fsl_ahci_probe()
1002 uc_plat->max_lun = 1; in fsl_ahci_probe()
1003 uc_plat->max_id = 1; in fsl_ahci_probe()
/external/u-boot/drivers/video/meson/
Dmeson_vpu.c32 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in meson_vpu_setup_mode() local
74 uc_plat->base = meson_fb.base; in meson_vpu_setup_mode()
Dmeson_plane.c97 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in meson_vpu_setup_plane() local
191 uc_plat->base, uc_priv->xsize * 4, in meson_vpu_setup_plane()
/external/u-boot/drivers/video/tegra124/
Ddisplay.c481 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in tegra124_lcd_bind() local
483 uc_plat->size = LCD_MAX_WIDTH * LCD_MAX_HEIGHT * in tegra124_lcd_bind()
485 debug("%s: Frame buffer size %x\n", __func__, uc_plat->size); in tegra124_lcd_bind()
/external/u-boot/drivers/video/sunxi/
Dsunxi_dw_hdmi.c340 struct display_plat *uc_plat = dev_get_uclass_platdata(dev); in sunxi_dw_hdmi_probe() local
375 priv->mux = uc_plat->source_id; in sunxi_dw_hdmi_probe()