Home
last modified time | relevance | path

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

12

/u-boot/drivers/video/
A Dsandbox_sdl.c27 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 Dvesa.c34 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 Datmel_lcdfb.c249 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 Dmali_dp.c264 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 Datmel_hlcdfb.c297 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 Divybridge_igd.c785 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 Di2c-emul-uclass.c40 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 Drk3288_hdmi.c28 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 Drk3399_hdmi.c26 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 Drk_lvds.c57 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 Dbutton-gpio.c34 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 Dbutton-uclass.c19 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 Dbutton-adc.c55 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 Dled_gpio.c60 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 Dled_bcm6358.c116 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 Dled_cortina.c135 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 Dled-uclass.c25 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 Dled_bcm6328.c150 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 Dled_bcm6858.c157 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 Dtilcdc.c159 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, &regs->lcddma_fb0_base); in tilcdc_probe()
296 writel(uc_plat->base, &regs->lcddma_fb1_base); in tilcdc_probe()
[all …]
/u-boot/drivers/scsi/
A Dscsi.c154 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 Dstm32_ltdc.c334 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 Dmeson_vpu.c47 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 Dmeson_plane.c103 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 Dahci.c1166 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()

Completed in 24 milliseconds

12