/linux/drivers/media/platform/davinci/ |
A D | vpbe_display.c | 64 if (layer->cur_frm == layer->next_frm) in vpbe_isr_even_field() 70 layer->cur_frm = layer->next_frm; in vpbe_isr_even_field() 81 (layer->cur_frm != layer->next_frm)) { in vpbe_isr_odd_field() 91 layer->next_frm = list_entry(layer->dma_queue.next, in vpbe_isr_odd_field() 278 layer->next_frm = layer->cur_frm = list_entry(layer->dma_queue.next, in vpbe_start_streaming() 288 ret = vpbe_set_osd_display_params(layer->disp_dev, layer); in vpbe_start_streaming() 326 if (layer->cur_frm == layer->next_frm) { in vpbe_stop_streaming() 339 layer->next_frm = list_entry(layer->dma_queue.next, in vpbe_stop_streaming() 872 layer); in vpbe_display_s_fmt() 1172 layer->usrs++; in vpbe_display_open() [all …]
|
A D | vpbe_osd.c | 102 #define is_osd_win(layer) (((layer) == WIN_OSD0) || ((layer) == WIN_OSD1)) argument 103 #define is_vid_win(layer) (((layer) == WIN_VID0) || ((layer) == WIN_VID1)) argument 415 switch (layer) { in _osd_set_zoom() 445 switch (layer) { in _osd_disable_layer() 490 switch (layer) { in _osd_enable_layer() 563 switch (layer) { in _osd_start_layer() 581 switch (layer) { in _osd_start_layer() 633 switch (layer) { in _osd_start_layer() 670 switch (layer) { in _osd_start_layer() 952 switch (layer) { in _osd_set_layer_config() [all …]
|
/linux/drivers/media/dvb-frontends/ |
A D | mb86a20s.c | 552 switch (c->layer[layer].modulation) { in isdbt_layer_min_bitrate() 566 switch (c->layer[layer].fec) { in isdbt_layer_min_bitrate() 627 for (layer = 0; layer < NUM_LAYERS; layer++) { in mb86a20s_get_frontend() 635 c->layer[layer].segment_count = rc; in mb86a20s_get_frontend() 637 c->layer[layer].segment_count = 0; in mb86a20s_get_frontend() 647 c->layer[layer].modulation = rc; in mb86a20s_get_frontend() 653 c->layer[layer].fec = rc; in mb86a20s_get_frontend() 659 c->layer[layer].interleaving = rc; in mb86a20s_get_frontend() 1449 for (layer = 0; layer < NUM_LAYERS; layer++) { in mb86a20s_get_blk_error_layer_CNR() 1551 for (layer = 0; layer < NUM_LAYERS + 1; layer++) { in mb86a20s_stats_not_ready() [all …]
|
/linux/Documentation/devicetree/bindings/display/ |
A D | xylon,logicvc-display.yaml | 182 - layer@0 244 layer@0 { 248 xylon,layer-alpha-mode = "layer"; 254 layer@1 { 258 xylon,layer-alpha-mode = "layer"; 263 layer@2 { 267 xylon,layer-alpha-mode = "layer"; 272 layer@3 { 276 xylon,layer-alpha-mode = "layer"; 281 layer@4 { [all …]
|
/linux/drivers/gpu/drm/sun4i/ |
A D | sun4i_layer.c | 36 plane->state->zpos = layer->id; in sun4i_backend_layer_reset() 200 struct sun4i_layer *layer; in sun4i_layer_init_one() local 203 layer = devm_kzalloc(drm->dev, sizeof(*layer), GFP_KERNEL); in sun4i_layer_init_one() 204 if (!layer) in sun4i_layer_init_one() 207 layer->backend = backend; in sun4i_layer_init_one() 232 return layer; in sun4i_layer_init_one() 250 struct sun4i_layer *layer; in sun4i_layers_init() local 253 if (IS_ERR(layer)) { in sun4i_layers_init() 256 return ERR_CAST(layer); in sun4i_layers_init() 259 layer->id = i; in sun4i_layers_init() [all …]
|
A D | sun8i_ui_layer.h | 17 #define SUN8I_MIXER_CHAN_UI_LAYER_ATTR(base, layer) \ argument 18 ((base) + 0x20 * (layer) + 0x0) 19 #define SUN8I_MIXER_CHAN_UI_LAYER_SIZE(base, layer) \ argument 20 ((base) + 0x20 * (layer) + 0x4) 21 #define SUN8I_MIXER_CHAN_UI_LAYER_COORD(base, layer) \ argument 22 ((base) + 0x20 * (layer) + 0x8) 23 #define SUN8I_MIXER_CHAN_UI_LAYER_PITCH(base, layer) \ argument 24 ((base) + 0x20 * (layer) + 0xc) 26 ((base) + 0x20 * (layer) + 0x10) 28 ((base) + 0x20 * (layer) + 0x14) [all …]
|
A D | sun8i_ui_layer.c | 280 if (layer->mixer->cfg->scaler_mask & BIT(layer->channel)) { in sun8i_ui_layer_atomic_check() 300 sun8i_ui_layer_enable(mixer, layer->channel, layer->overlay, false, 0, in sun8i_ui_layer_atomic_disable() 325 layer->overlay, plane); in sun8i_ui_layer_atomic_update() 330 sun8i_ui_layer_enable(mixer, layer->channel, layer->overlay, in sun8i_ui_layer_atomic_update() 383 struct sun8i_ui_layer *layer; in sun8i_ui_layer_init_one() local 387 layer = devm_kzalloc(drm->dev, sizeof(*layer), GFP_KERNEL); in sun8i_ui_layer_init_one() 388 if (!layer) in sun8i_ui_layer_init_one() 421 layer->mixer = mixer; in sun8i_ui_layer_init_one() 422 layer->channel = channel; in sun8i_ui_layer_init_one() 423 layer->overlay = 0; in sun8i_ui_layer_init_one() [all …]
|
A D | sun8i_vi_layer.h | 11 #define SUN8I_MIXER_CHAN_VI_LAYER_ATTR(base, layer) \ argument 12 ((base) + 0x30 * (layer) + 0x0) 13 #define SUN8I_MIXER_CHAN_VI_LAYER_SIZE(base, layer) \ argument 14 ((base) + 0x30 * (layer) + 0x4) 15 #define SUN8I_MIXER_CHAN_VI_LAYER_COORD(base, layer) \ argument 16 ((base) + 0x30 * (layer) + 0x8) 17 #define SUN8I_MIXER_CHAN_VI_LAYER_PITCH(base, layer, plane) \ argument 18 ((base) + 0x30 * (layer) + 0xc + 4 * (plane)) 19 #define SUN8I_MIXER_CHAN_VI_LAYER_TOP_LADDR(base, layer, plane) \ argument 20 ((base) + 0x30 * (layer) + 0x18 + 4 * (plane))
|
A D | sun8i_vi_layer.c | 384 if (layer->mixer->cfg->scaler_mask & BIT(layer->channel)) { in sun8i_vi_layer_atomic_check() 404 sun8i_vi_layer_enable(mixer, layer->channel, layer->overlay, false, 0, in sun8i_vi_layer_atomic_disable() 429 layer->overlay, plane); in sun8i_vi_layer_atomic_update() 434 sun8i_vi_layer_enable(mixer, layer->channel, layer->overlay, in sun8i_vi_layer_atomic_update() 547 struct sun8i_vi_layer *layer; in sun8i_vi_layer_init_one() local 551 layer = devm_kzalloc(drm->dev, sizeof(*layer), GFP_KERNEL); in sun8i_vi_layer_init_one() 552 if (!layer) in sun8i_vi_layer_init_one() 610 layer->mixer = mixer; in sun8i_vi_layer_init_one() 611 layer->channel = index; in sun8i_vi_layer_init_one() 612 layer->overlay = 0; in sun8i_vi_layer_init_one() [all …]
|
A D | sun8i_csc.c | 142 static void sun8i_de3_ccsc_set_coefficients(struct regmap *map, int layer, in sun8i_de3_ccsc_set_coefficients() argument 155 addr = SUN50I_MIXER_BLEND_CSC_COEFF(DE3_BLD_BASE, layer, 0); in sun8i_de3_ccsc_set_coefficients() 162 layer, in sun8i_de3_ccsc_set_coefficients() 166 layer, in sun8i_de3_ccsc_set_coefficients() 170 layer, i); in sun8i_de3_ccsc_set_coefficients() 196 mask = SUN50I_MIXER_BLEND_CSC_CTL_EN(layer); in sun8i_de3_ccsc_enable() 207 void sun8i_csc_set_ccsc_coefficients(struct sun8i_mixer *mixer, int layer, in sun8i_csc_set_ccsc_coefficients() argument 215 sun8i_de3_ccsc_set_coefficients(mixer->engine.regs, layer, in sun8i_csc_set_ccsc_coefficients() 220 base = ccsc_base[mixer->cfg->ccsc][layer]; in sun8i_csc_set_ccsc_coefficients() 231 sun8i_de3_ccsc_enable(mixer->engine.regs, layer, enable); in sun8i_csc_enable_ccsc() [all …]
|
A D | sun4i_backend.c | 81 int layer, bool enable) in sun4i_backend_layer_enable() argument 86 layer); in sun4i_backend_layer_enable() 89 val = SUN4I_BACKEND_MODCTL_LAY_EN(layer); in sun4i_backend_layer_enable() 285 SUN4I_BACKEND_ATTCTL_REG0(layer), in sun4i_backend_update_layer_formats() 300 SUN4I_BACKEND_ATTCTL_REG1(layer), in sun4i_backend_update_layer_formats() 307 int layer, uint32_t fmt) in sun4i_backend_update_layer_frontend() argument 319 SUN4I_BACKEND_ATTCTL_REG0(layer), in sun4i_backend_update_layer_frontend() 324 SUN4I_BACKEND_ATTCTL_REG1(layer), in sun4i_backend_update_layer_frontend() 392 layer, priority, pipe); in sun4i_backend_update_layer_zpos() 403 int layer) in sun4i_backend_cleanup_layer() argument [all …]
|
/linux/drivers/gpu/drm/xlnx/ |
A D | zynqmp_disp.c | 1016 zynqmp_disp_avbuf_enable_video(layer->disp, layer, in zynqmp_disp_layer_enable() 1018 zynqmp_disp_blend_layer_enable(layer->disp, layer); in zynqmp_disp_layer_enable() 1037 zynqmp_disp_avbuf_disable_video(layer->disp, layer); in zynqmp_disp_layer_disable() 1038 zynqmp_disp_blend_layer_disable(layer->disp, layer); in zynqmp_disp_layer_disable() 1055 layer->disp_fmt = zynqmp_disp_layer_find_format(layer, info->format); in zynqmp_disp_layer_set_format() 1056 layer->drm_fmt = info; in zynqmp_disp_layer_set_format() 1058 zynqmp_disp_avbuf_set_format(layer->disp, layer, layer->disp_fmt); in zynqmp_disp_layer_set_format() 1114 dev_err(layer->disp->dev, in zynqmp_disp_layer_update() 1275 if (!layer->info) in zynqmp_disp_layer_release_dma() 1363 layer->id = i; in zynqmp_disp_create_layers() [all …]
|
/linux/net/caif/ |
A D | caif_dev.c | 34 struct cflayer layer; member 160 caifd->layer.up-> in caif_flow_cb() 171 container_of(layer, struct caif_device_entry, layer); in transmit() 229 caifd->layer.up->ctrlcmd(caifd->layer.up, in transmit() 258 if (!caifd || !caifd->layer.up || !caifd->layer.up->receive || in receive() 269 err = caifd->layer.up->receive(caifd->layer.up, pkt); in receive() 295 if (!caifd || !caifd->layer.up || !caifd->layer.up->ctrlcmd) { in dev_flowctrl() 303 caifd->layer.up->ctrlcmd(caifd->layer.up, in dev_flowctrl() 328 *layer = &caifd->layer; in caif_enroll_dev() 425 if (!caifd || !caifd->layer.up || !caifd->layer.up->ctrlcmd) { in caif_device_notify() [all …]
|
A D | cfserl.c | 22 struct cflayer layer; member 34 void cfserl_release(struct cflayer *layer) in cfserl_release() argument 36 kfree(layer); in cfserl_release() 44 caif_assert(offsetof(struct cfserl, layer) == 0); in cfserl_create() 45 this->layer.receive = cfserl_receive; in cfserl_create() 46 this->layer.transmit = cfserl_transmit; in cfserl_create() 47 this->layer.ctrlcmd = cfserl_ctrlcmd; in cfserl_create() 51 return &this->layer; in cfserl_create() 158 ret = layr->layer.up->receive(layr->layer.up, pkt); in cfserl_receive() 182 struct cfserl *layr = container_obj(layer); in cfserl_transmit() [all …]
|
A D | caif_usb.c | 32 struct cflayer layer; member 94 memset(&this->layer, 0, sizeof(this->layer)); in cfusbl_create() 95 this->layer.receive = cfusbl_receive; in cfusbl_create() 96 this->layer.transmit = cfusbl_transmit; in cfusbl_create() 97 this->layer.ctrlcmd = cfusbl_ctrlcmd; in cfusbl_create() 99 this->layer.id = phyid; in cfusbl_create() 118 static void cfusbl_release(struct cflayer *layer) in cfusbl_release() argument 120 kfree(layer); in cfusbl_release() 132 struct cflayer *layer, *link_support; in cfusbl_device_notify() local 179 &layer, &caif_usb_type.func); in cfusbl_device_notify() [all …]
|
A D | cfsrvl.c | 121 info->channel_id = service->layer.id; in cfservl_modemcmd() 142 info->channel_id = service->layer.id; in cfservl_modemcmd() 154 static void cfsrvl_release(struct cflayer *layer) in cfsrvl_release() argument 156 struct cfsrvl *service = container_of(layer, struct cfsrvl, layer); in cfsrvl_release() 169 service->layer.id = channel_id; in cfsrvl_init() 170 service->layer.ctrlcmd = cfservl_ctrlcmd; in cfsrvl_init() 171 service->layer.modemcmd = cfservl_modemcmd; in cfsrvl_init() 186 u8 cfsrvl_getphyid(struct cflayer *layer) in cfsrvl_getphyid() argument 188 struct cfsrvl *servl = container_obj(layer); in cfsrvl_getphyid() 194 struct cfsrvl *servl = container_obj(layer); in cfsrvl_phyid_match() [all …]
|
A D | cfctrl.c | 48 this->serv.layer.receive = cfctrl_recv; in cfctrl_create() 49 sprintf(this->serv.layer.name, "ctrl"); in cfctrl_create() 50 this->serv.layer.ctrlcmd = cfctrl_ctrlcmd; in cfctrl_create() 57 return &this->serv.layer; in cfctrl_create() 60 void cfctrl_remove(struct cflayer *layer) in cfctrl_remove() argument 63 struct cfctrl *ctrl = container_obj(layer); in cfctrl_remove() 71 kfree(layer); in cfctrl_remove() 165 struct cfctrl *this = container_obj(layer); in cfctrl_get_respfuncs() 172 info->channel_id = cfctrl->serv.layer.id; in init_info() 180 struct cflayer *dn = cfctrl->serv.layer.dn; in cfctrl_enum_req() [all …]
|
A D | cfmuxl.c | 25 struct cflayer layer; member 54 this->layer.receive = cfmuxl_receive; in cfmuxl_create() 55 this->layer.transmit = cfmuxl_transmit; in cfmuxl_create() 56 this->layer.ctrlcmd = cfmuxl_ctrlcmd; in cfmuxl_create() 61 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "mux"); in cfmuxl_create() 62 return &this->layer; in cfmuxl_create() 250 struct cflayer *layer; in cfmuxl_ctrlcmd() local 255 if (cfsrvl_phyid_match(layer, phyid) && layer->ctrlcmd) { in cfmuxl_ctrlcmd() 259 layer->id != 0) in cfmuxl_ctrlcmd() 260 cfmuxl_remove_uplayer(layr, layer->id); in cfmuxl_ctrlcmd() [all …]
|
A D | cfrfml.c | 17 #define container_obj(layr) container_of(layr, struct cfrfml, serv.layer) 34 static void cfrfml_release(struct cflayer *layer) in cfrfml_release() argument 36 struct cfsrvl *srvl = container_of(layer, struct cfsrvl, layer); in cfrfml_release() 37 struct cfrfml *rfml = container_obj(&srvl->layer); in cfrfml_release() 56 this->serv.layer.receive = cfrfml_receive; in cfrfml_create() 57 this->serv.layer.transmit = cfrfml_transmit; in cfrfml_create() 65 snprintf(this->serv.layer.name, CAIF_LAYER_NAME_SZ, in cfrfml_create() 68 return &this->serv.layer; in cfrfml_create() 167 err = rfml->serv.layer.up->receive(rfml->serv.layer.up, pkt); in cfrfml_receive() 201 cfpkt_info(pkt)->channel_id = rfml->serv.layer.id; in cfrfml_transmit_segment() [all …]
|
/linux/drivers/gpu/drm/atmel-hlcdc/ |
A D | atmel_hlcdc_dc.h | 276 struct atmel_hlcdc_layer layer; member 288 return container_of(layer, struct atmel_hlcdc_plane, layer); in atmel_hlcdc_layer_to_plane() 354 regmap_write(layer->regmap, layer->desc->regs_offset + reg, val); in atmel_hlcdc_layer_write_reg() 362 regmap_read(layer->regmap, layer->desc->regs_offset + reg, &val); in atmel_hlcdc_layer_read_reg() 370 atmel_hlcdc_layer_write_reg(layer, in atmel_hlcdc_layer_write_cfg() 371 layer->desc->cfgs_offset + in atmel_hlcdc_layer_write_cfg() 378 return atmel_hlcdc_layer_read_reg(layer, in atmel_hlcdc_layer_read_cfg() 379 layer->desc->cfgs_offset + in atmel_hlcdc_layer_read_cfg() 386 regmap_write(layer->regmap, in atmel_hlcdc_layer_write_clut() 395 layer->desc = desc; in atmel_hlcdc_layer_init() [all …]
|
A D | atmel_hlcdc_plane.c | 294 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_hlcdc_plane_setup_scaler() 344 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_hlcdc_plane_update_pos_and_size() 411 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_hlcdc_plane_update_format() 454 atmel_hlcdc_layer_write_reg(&plane->layer, in atmel_hlcdc_plane_update_buffers() 459 atmel_hlcdc_layer_write_reg(&plane->layer, in atmel_hlcdc_plane_update_buffers() 462 atmel_hlcdc_layer_write_reg(&plane->layer, in atmel_hlcdc_plane_update_buffers() 465 atmel_hlcdc_layer_write_reg(&plane->layer, in atmel_hlcdc_plane_update_buffers() 471 atmel_hlcdc_layer_write_cfg(&plane->layer, in atmel_hlcdc_plane_update_buffers() 528 layout = &primary->layer.desc->layout; in atmel_hlcdc_plane_prepare_disc_area() 582 layout = &plane->layer.desc->layout; in atmel_hlcdc_plane_update_disc_area() [all …]
|
/linux/Documentation/networking/caif/ |
A D | linux_caif.rst | 68 each layer described in the specification is implemented as a separate layer. 81 - Clients must implement CAIF layer to consume/produce 84 Client layer. 112 External Interface). This layer encodes/decodes VEI frames. 114 - CFDGML CAIF Datagram layer. Handles CAIF Datagram layer (IP 162 - A layer does not depend on any other layer's private data. 165 layer->up , layer->dn 167 - In order to send data upwards, each layer should do:: 169 layer->up->receive(layer->up, packet); 171 - In order to send data downwards, each layer should do:: [all …]
|
/linux/Documentation/hid/ |
A D | amd-sfh-hid.rst | 49 sensor data. The layer, which binds each device (AMD SFH HID driver) identifies the device type and 50 registers with the HID core. Transport layer attaches a constant "struct hid_ll_driver" object with 57 client layer fills the HID request structure and descriptors. HID client layer is complex as it is 58 interface between MP2 PCIe layer and HID. HID client layer initializes the MP2 PCIe layer and holds 59 the instance of MP2 layer. It identifies the number of sensors connected using MP2-PCIe layer. Based 61 enumeration of each sensor, client layer fills the HID Descriptor structure and HID input report 65 AMD MP2 PCIe layer 76 interrupt to MP2. The client layer allocates the physical memory and the same is sent to MP2 via 77 the PCI layer. MP2 firmware writes the command output to the access DRAM memory which the client 78 layer has allocated. Firmware always writes minimum of 32 bytes into DRAM. So as a protocol driver [all …]
|
/linux/fs/overlayfs/ |
A D | export.c | 94 return oe->lowerstack[0].layer->idx; in ovl_connectable_layer() 323 oe->lowerstack->layer = lowerpath->layer; in ovl_obtain_alias() 367 const struct ovl_layer *layer) in ovl_lookup_real_one() argument 430 const struct ovl_layer *layer) in ovl_lookup_real_inode() argument 500 if (real == layer->mnt->mnt_root) in ovl_lookup_real_ancestor() 516 if (parent == layer->mnt->mnt_root) { in ovl_lookup_real_ancestor() 548 const struct ovl_layer *layer) in ovl_lookup_real() argument 561 layer->idx); in ovl_lookup_real() 582 if (parent == layer->mnt->mnt_root) { in ovl_lookup_real() 620 layer); in ovl_lookup_real() [all …]
|
/linux/drivers/gpu/drm/arm/ |
A D | malidp_planes.c | 495 if (!mp->layer->mmu_ctrl_offset) in malidp_de_prefetch_settings() 573 if (mp->layer->rot == ROTATE_NONE) in malidp_de_plane_check() 623 if (!mp->layer->stride_offset) in malidp_de_set_plane_pitches() 639 mp->layer->base + in malidp_de_set_plane_pitches() 640 mp->layer->stride_offset + i * 4); in malidp_de_set_plane_pitches() 693 plane->layer->base + plane->layer->yuv2rgb_offset + in malidp_de_set_color_encoding() 704 if (!mp->layer->mmu_ctrl_offset) in malidp_de_set_mmu_control() 713 mp->layer->base + mp->layer->mmu_ctrl_offset); in malidp_de_set_mmu_control() 760 if (!mp->layer->afbc_decoder_offset) in malidp_de_set_plane_afbc() 853 if (mp->layer->id == DE_SMART) { in malidp_de_plane_update() [all …]
|