/u-boot/drivers/video/ |
A D | sandbox_sdl.c | 27 struct video_uc_plat *uc_plat = dev_get_uclass_plat(dev); in sandbox_sdl_probe() local 46 uc_plat->copy_base = uc_plat->base - uc_plat->size / 2; in sandbox_sdl_probe() 53 struct video_uc_plat *uc_plat = dev_get_uclass_plat(dev); in sandbox_sdl_bind() local 61 uc_plat->size = plat->xres * plat->yres * (1 << plat->bpix) / 8; in sandbox_sdl_bind() 64 log_debug("Frame buffer size %x\n", uc_plat->size); in sandbox_sdl_bind() 66 uc_plat->size *= 2; in sandbox_sdl_bind()
|
A D | vesa.c | 34 struct video_uc_plat *uc_plat = dev_get_uclass_plat(dev); in vesa_video_bind() local 37 uc_plat->size = 2560 * 1600 * 4; in vesa_video_bind() 38 log_debug("%s: Frame buffer size %x\n", __func__, uc_plat->size); in vesa_video_bind()
|
A D | atmel_lcdfb.c | 249 struct video_uc_plat *uc_plat = dev_get_uclass_plat(dev); in atmel_fb_lcd_probe() local 260 uc_plat->base); in atmel_fb_lcd_probe() 265 debug("LCD frame buffer at %lx, size %x, %dx%d pixels\n", uc_plat->base, in atmel_fb_lcd_probe() 266 uc_plat->size, uc_priv->xsize, uc_priv->ysize); in atmel_fb_lcd_probe() 289 struct video_uc_plat *uc_plat = dev_get_uclass_plat(dev); in atmel_fb_lcd_bind() local 291 uc_plat->size = LCD_MAX_WIDTH * LCD_MAX_HEIGHT * in atmel_fb_lcd_bind() 293 debug("%s: Frame buffer size %x\n", __func__, uc_plat->size); in atmel_fb_lcd_bind()
|
A D | mali_dp.c | 264 struct video_uc_plat *uc_plat = dev_get_uclass_plat(dev); in malidp_probe() local 301 uc_plat->base = fb_base; in malidp_probe() 302 uc_plat->size = fb_size; in malidp_probe() 366 (phys_addr_t)uc_plat->base); in malidp_probe() 386 struct video_uc_plat *uc_plat = dev_get_uclass_plat(dev); in malidp_bind() local 389 uc_plat->size = 4 * 2048 * 2048; in malidp_bind()
|
A D | atmel_hlcdfb.c | 297 struct video_uc_plat *uc_plat = dev_get_uclass_plat(dev); in atmel_hlcdc_init() local 438 desc->address = (u32)uc_plat->base; in atmel_hlcdc_init() 543 struct video_uc_plat *uc_plat = dev_get_uclass_plat(dev); in atmel_hlcdc_bind() local 545 uc_plat->size = LCD_MAX_WIDTH * LCD_MAX_HEIGHT * in atmel_hlcdc_bind() 548 debug("%s: Frame buffer size %x\n", __func__, uc_plat->size); in atmel_hlcdc_bind()
|
A D | ivybridge_igd.c | 785 struct video_uc_plat *uc_plat = dev_get_uclass_plat(dev); in bd82x6x_video_bind() local 788 uc_plat->size = 2560 * 1600 * 4; in bd82x6x_video_bind() 789 log_debug("%s: Frame buffer size %x\n", __func__, uc_plat->size); in bd82x6x_video_bind()
|
/u-boot/drivers/i2c/ |
A D | i2c-emul-uclass.c | 40 struct i2c_emul_uc_plat *uc_plat = dev_get_uclass_plat(emul); in i2c_emul_get_device() local 42 return uc_plat->dev; in i2c_emul_get_device() 47 struct i2c_emul_uc_plat *uc_plat; in i2c_emul_find() local 57 uc_plat = dev_get_uclass_plat(emul); in i2c_emul_find() 58 uc_plat->dev = dev; in i2c_emul_find()
|
/u-boot/drivers/video/rockchip/ |
A D | rk3288_hdmi.c | 28 struct display_plat *uc_plat = dev_get_uclass_plat(dev); in rk3288_hdmi_enable() local 29 int vop_id = uc_plat->source_id; in rk3288_hdmi_enable() 61 struct display_plat *uc_plat = dev_get_uclass_plat(dev); in rk3288_clk_config() local 69 ret = clk_get_by_index(uc_plat->src_dev, 0, &clk); in rk3288_clk_config() 76 __func__, uc_plat->src_dev->name, ret); in rk3288_clk_config()
|
A D | rk3399_hdmi.c | 26 struct display_plat *uc_plat = dev_get_uclass_plat(dev); in rk3399_hdmi_enable() local 27 int vop_id = uc_plat->source_id; in rk3399_hdmi_enable()
|
A D | rk_lvds.c | 57 struct display_plat *uc_plat = dev_get_uclass_plat(dev); in rk_lvds_enable() local 68 if (uc_plat->source_id) in rk_lvds_enable()
|
/u-boot/drivers/button/ |
A D | button-gpio.c | 34 struct button_uc_plat *uc_plat = dev_get_uclass_plat(dev); in button_gpio_probe() local 39 if (!uc_plat->label) in button_gpio_probe() 72 struct button_uc_plat *uc_plat; in button_gpio_bind() local 86 uc_plat = dev_get_uclass_plat(dev); in button_gpio_bind() 87 uc_plat->label = label; in button_gpio_bind()
|
A D | button-uclass.c | 19 struct button_uc_plat *uc_plat = dev_get_uclass_plat(dev); in button_get_by_label() local 22 if (uc_plat->label && !strcmp(label, uc_plat->label)) in button_get_by_label()
|
A D | button-adc.c | 55 struct button_uc_plat *uc_plat = dev_get_uclass_plat(dev); in button_adc_of_to_plat() local 63 if (!uc_plat->label) in button_adc_of_to_plat() 108 struct button_uc_plat *uc_plat; in button_adc_bind() local 122 uc_plat = dev_get_uclass_plat(dev); in button_adc_bind() 123 uc_plat->label = label; in button_adc_bind()
|
/u-boot/drivers/led/ |
A D | led_gpio.c | 60 struct led_uc_plat *uc_plat = dev_get_uclass_plat(dev); in led_gpio_probe() local 65 if (!uc_plat->label) in led_gpio_probe() 98 struct led_uc_plat *uc_plat; in led_gpio_bind() local 109 uc_plat = dev_get_uclass_plat(dev); in led_gpio_bind() 110 uc_plat->label = label; in led_gpio_bind()
|
A D | led_bcm6358.c | 116 struct led_uc_plat *uc_plat = dev_get_uclass_plat(dev); in bcm6358_led_probe() local 119 if (!uc_plat->label) { in bcm6358_led_probe() 177 struct led_uc_plat *uc_plat; in bcm6358_led_bind() local 195 uc_plat = dev_get_uclass_plat(dev); in bcm6358_led_bind() 196 uc_plat->label = label; in bcm6358_led_bind()
|
A D | led_cortina.c | 135 struct led_uc_plat *uc_plat = dev_get_uclass_plat(dev); in ca_led_of_to_plat() local 138 if (!uc_plat->label) { in ca_led_of_to_plat() 168 struct led_uc_plat *uc_plat = dev_get_uclass_plat(dev); in cortina_led_probe() local 171 if (!uc_plat->label) { in cortina_led_probe() 259 struct led_uc_plat *uc_plat; in cortina_led_bind() local 276 uc_plat = dev_get_uclass_plat(dev); in cortina_led_bind() 277 uc_plat->label = label; in cortina_led_bind()
|
A D | led-uclass.c | 25 struct led_uc_plat *uc_plat = dev_get_uclass_plat(dev); in led_get_by_label() local 28 if (uc_plat->label && !strcmp(label, uc_plat->label)) in led_get_by_label()
|
A D | led_bcm6328.c | 150 struct led_uc_plat *uc_plat = dev_get_uclass_plat(dev); in bcm6328_led_probe() local 153 if (!uc_plat->label) { in bcm6328_led_probe() 207 struct led_uc_plat *uc_plat; in bcm6328_led_bind() local 225 uc_plat = dev_get_uclass_plat(dev); in bcm6328_led_bind() 226 uc_plat->label = label; in bcm6328_led_bind()
|
A D | led_bcm6858.c | 157 struct led_uc_plat *uc_plat = dev_get_uclass_plat(dev); in bcm6858_led_probe() local 160 if (!uc_plat->label) { in bcm6858_led_probe() 214 struct led_uc_plat *uc_plat; in bcm6858_led_bind() local 232 uc_plat = dev_get_uclass_plat(dev); in bcm6858_led_bind() 233 uc_plat->label = label; in bcm6858_led_bind()
|
/u-boot/drivers/video/ti/ |
A D | tilcdc.c | 159 struct video_uc_plat *uc_plat = dev_get_uclass_plat(dev); in tilcdc_remove() local 162 uc_plat->base -= 0x20; in tilcdc_remove() 163 uc_plat->size += 0x20; in tilcdc_remove() 278 memset((void *)uc_plat->base, 0, 0x20); in tilcdc_probe() 279 *(unsigned int *)uc_plat->base = 0x4000; in tilcdc_probe() 281 uc_plat->base += 0x20; in tilcdc_probe() 282 uc_plat->size -= 0x20; in tilcdc_probe() 293 reg += uc_plat->base; in tilcdc_probe() 294 writel(uc_plat->base, ®s->lcddma_fb0_base); in tilcdc_probe() 296 writel(uc_plat->base, ®s->lcddma_fb1_base); in tilcdc_probe() [all …]
|
/u-boot/drivers/scsi/ |
A D | scsi.c | 154 struct scsi_plat *uc_plat = dev_get_uclass_plat(bdev); in scsi_read() local 166 if (uc_plat->max_bytes_per_req) in scsi_read() 167 max_blks = uc_plat->max_bytes_per_req / block_dev->blksz; in scsi_read() 224 struct scsi_plat *uc_plat = dev_get_uclass_plat(bdev); in scsi_write() local 236 if (uc_plat->max_bytes_per_req) in scsi_write() 237 max_blks = uc_plat->max_bytes_per_req / block_dev->blksz; in scsi_write() 607 struct scsi_plat *uc_plat; /* scsi controller plat */ in scsi_scan_dev() local 618 uc_plat = dev_get_uclass_plat(dev); in scsi_scan_dev() 620 for (i = 0; i < uc_plat->max_id; i++) in scsi_scan_dev() 621 for (lun = 0; lun < uc_plat->max_lun; lun++) in scsi_scan_dev()
|
/u-boot/drivers/video/stm32/ |
A D | stm32_ltdc.c | 334 struct video_uc_plat *uc_plat = dev_get_uclass_plat(dev); in stm32_ltdc_probe() local 422 VNBITS(priv->l2bpp), uc_plat->base); in stm32_ltdc_probe() 429 stm32_ltdc_set_layer1(priv, uc_plat->base); in stm32_ltdc_probe() 458 struct video_uc_plat *uc_plat = dev_get_uclass_plat(dev); in stm32_ltdc_bind() local 460 uc_plat->size = CONFIG_VIDEO_STM32_MAX_XRES * in stm32_ltdc_bind() 463 dev_dbg(dev, "frame buffer max size %d bytes\n", uc_plat->size); in stm32_ltdc_bind()
|
/u-boot/drivers/video/meson/ |
A D | meson_vpu.c | 47 struct video_uc_plat *uc_plat = dev_get_uclass_plat(dev); in meson_vpu_setup_mode() local 89 uc_plat->base = meson_fb.base; in meson_vpu_setup_mode()
|
A D | meson_plane.c | 103 struct video_uc_plat *uc_plat = dev_get_uclass_plat(dev); in meson_vpu_setup_plane() local 197 uc_plat->base, uc_priv->xsize * 4, in meson_vpu_setup_plane()
|
/u-boot/drivers/ata/ |
A D | ahci.c | 1166 struct scsi_plat *uc_plat; in ahci_probe_scsi() local 1173 uc_plat = dev_get_uclass_plat(dev); in ahci_probe_scsi() 1174 uc_plat->base = base; in ahci_probe_scsi() 1175 uc_plat->max_lun = 1; in ahci_probe_scsi() 1176 uc_plat->max_id = 2; in ahci_probe_scsi() 1191 uc_plat->max_id = max_t(unsigned long, uc_priv->n_ports, in ahci_probe_scsi() 1192 uc_plat->max_id); in ahci_probe_scsi()
|