/openbmc/u-boot/drivers/i2c/ |
H A D | i2c-emul-uclass.c | 39 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()
|
/openbmc/u-boot/drivers/video/rockchip/ |
H A D | rk3288_hdmi.c | 26 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()
|
H A D | rk3399_hdmi.c | 26 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()
|
H A D | rk_lvds.c | 54 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()
|
H A D | rk_edp.c | 1019 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()
|
/openbmc/u-boot/drivers/led/ |
H A D | led_gpio.c | 58 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()
|
H A D | led_bcm6358.c | 114 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()
|
H A D | led_bcm6328.c | 149 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()
|
H A D | led-uclass.c | 25 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()
|
/openbmc/u-boot/drivers/video/ |
H A D | atmel_lcdfb.c | 245 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()
|
H A D | sandbox_sdl.c | 45 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()
|
H A D | mali_dp.c | 260 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()
|
H A D | atmel_hlcdfb.c | 291 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in atmel_hlcdc_init() local 432 desc->address = (u32)uc_plat->base; in atmel_hlcdc_init() 537 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in atmel_hlcdc_bind() local 539 uc_plat->size = LCD_MAX_WIDTH * LCD_MAX_HEIGHT * in atmel_hlcdc_bind() 542 debug("%s: Frame buffer size %x\n", __func__, uc_plat->size); in atmel_hlcdc_bind()
|
/openbmc/u-boot/drivers/video/stm32/ |
H A D | stm32_ltdc.c | 330 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in stm32_ltdc_probe() local 409 VNBITS(priv->l2bpp), uc_plat->base); in stm32_ltdc_probe() 416 stm32_ltdc_set_layer1(priv, uc_plat->base); in stm32_ltdc_probe() 430 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in stm32_ltdc_bind() local 432 uc_plat->size = CONFIG_VIDEO_STM32_MAX_XRES * in stm32_ltdc_bind() 435 debug("%s: frame buffer max size %d bytes\n", __func__, uc_plat->size); in stm32_ltdc_bind()
|
/openbmc/u-boot/drivers/video/meson/ |
H A D | meson_plane.c | 97 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in meson_vpu_setup_plane() local 170 uc_plat->base, uc_priv->xsize * 4, in meson_vpu_setup_plane()
|
H A D | meson_vpu.c | 33 struct video_uc_platdata *uc_plat = dev_get_uclass_platdata(dev); in meson_vpu_setup_mode() local 75 uc_plat->base = meson_fb.base; in meson_vpu_setup_mode()
|
/openbmc/u-boot/drivers/scsi/ |
H A D | scsi.c | 605 struct scsi_platdata *uc_plat; /* scsi controller platdata */ in scsi_scan_dev() local 616 uc_plat = dev_get_uclass_platdata(dev); in scsi_scan_dev() 618 for (i = 0; i < uc_plat->max_id; i++) in scsi_scan_dev() 619 for (lun = 0; lun < uc_plat->max_lun; lun++) in scsi_scan_dev()
|
/openbmc/u-boot/drivers/ata/ |
H A D | ahci.c | 1165 struct scsi_platdata *uc_plat; in ahci_probe_scsi() local 1172 uc_plat = dev_get_uclass_platdata(dev); in ahci_probe_scsi() 1173 uc_plat->base = base; in ahci_probe_scsi() 1174 uc_plat->max_lun = 1; in ahci_probe_scsi() 1175 uc_plat->max_id = 2; in ahci_probe_scsi()
|
/openbmc/u-boot/drivers/video/tegra124/ |
H A D | display.c | 481 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()
|
/openbmc/u-boot/drivers/video/sunxi/ |
H A D | sunxi_dw_hdmi.c | 339 struct display_plat *uc_plat = dev_get_uclass_platdata(dev); in sunxi_dw_hdmi_probe() local 374 priv->mux = uc_plat->source_id; in sunxi_dw_hdmi_probe()
|