/linux-3.4.99/drivers/media/video/s5p-tv/ |
D | mixer_video.c | 158 struct mxr_layer *layer = video_drvdata(file); in mxr_querycap() local 160 mxr_dbg(layer->mdev, "%s:%d\n", __func__, __LINE__); in mxr_querycap() 163 strlcpy(cap->card, layer->vfd.name, sizeof cap->card); in mxr_querycap() 164 sprintf(cap->bus_info, "%d", layer->idx); in mxr_querycap() 190 static void mxr_layer_default_geo(struct mxr_layer *layer) in mxr_layer_default_geo() argument 192 struct mxr_device *mdev = layer->mdev; in mxr_layer_default_geo() 195 memset(&layer->geo, 0, sizeof layer->geo); in mxr_layer_default_geo() 199 layer->geo.dst.full_width = mbus_fmt.width; in mxr_layer_default_geo() 200 layer->geo.dst.full_height = mbus_fmt.height; in mxr_layer_default_geo() 201 layer->geo.dst.width = layer->geo.dst.full_width; in mxr_layer_default_geo() [all …]
|
D | mixer_vp_layer.c | 84 static void mxr_vp_layer_release(struct mxr_layer *layer) in mxr_vp_layer_release() argument 86 mxr_base_layer_unregister(layer); in mxr_vp_layer_release() 87 mxr_base_layer_release(layer); in mxr_vp_layer_release() 90 static void mxr_vp_buffer_set(struct mxr_layer *layer, in mxr_vp_buffer_set() argument 97 mxr_reg_vp_buffer(layer->mdev, luma_addr, chroma_addr); in mxr_vp_buffer_set() 101 if (layer->fmt->num_subframes == 2) { in mxr_vp_buffer_set() 107 &layer->fmt->plane[0], layer->geo.src.full_width, in mxr_vp_buffer_set() 108 layer->geo.src.full_height); in mxr_vp_buffer_set() 110 if (layer->fmt->cookie & VP_MODE_MEM_TILED) { in mxr_vp_buffer_set() 114 luma_addr[1] = luma_addr[0] + layer->geo.src.full_width; in mxr_vp_buffer_set() [all …]
|
D | mixer_grp_layer.c | 77 static void mxr_graph_layer_release(struct mxr_layer *layer) in mxr_graph_layer_release() argument 79 mxr_base_layer_unregister(layer); in mxr_graph_layer_release() 80 mxr_base_layer_release(layer); in mxr_graph_layer_release() 83 static void mxr_graph_buffer_set(struct mxr_layer *layer, in mxr_graph_buffer_set() argument 90 mxr_reg_graph_buffer(layer->mdev, layer->idx, addr); in mxr_graph_buffer_set() 93 static void mxr_graph_stream_set(struct mxr_layer *layer, int en) in mxr_graph_stream_set() argument 95 mxr_reg_graph_layer_stream(layer->mdev, layer->idx, en); in mxr_graph_stream_set() 98 static void mxr_graph_format_set(struct mxr_layer *layer) in mxr_graph_format_set() argument 100 mxr_reg_graph_format(layer->mdev, layer->idx, in mxr_graph_format_set() 101 layer->fmt, &layer->geo); in mxr_graph_format_set() [all …]
|
D | mixer_reg.c | 253 static void mxr_irq_layer_handle(struct mxr_layer *layer) in mxr_irq_layer_handle() argument 255 struct list_head *head = &layer->enq_list; in mxr_irq_layer_handle() 259 if (layer == NULL) in mxr_irq_layer_handle() 262 spin_lock(&layer->enq_slock); in mxr_irq_layer_handle() 263 if (layer->state == MXR_LAYER_IDLE) in mxr_irq_layer_handle() 266 done = layer->shadow_buf; in mxr_irq_layer_handle() 267 layer->shadow_buf = layer->update_buf; in mxr_irq_layer_handle() 270 if (layer->state != MXR_LAYER_STREAMING) in mxr_irq_layer_handle() 271 layer->update_buf = NULL; in mxr_irq_layer_handle() 276 layer->update_buf = next; in mxr_irq_layer_handle() [all …]
|
/linux-3.4.99/drivers/media/video/davinci/ |
D | vpbe_display.c | 69 struct vpbe_layer *layer) in vpbe_isr_even_field() argument 73 if (layer->cur_frm == layer->next_frm) in vpbe_isr_even_field() 76 layer->cur_frm->ts.tv_sec = timevalue.tv_sec; in vpbe_isr_even_field() 77 layer->cur_frm->ts.tv_usec = timevalue.tv_nsec / NSEC_PER_USEC; in vpbe_isr_even_field() 78 layer->cur_frm->state = VIDEOBUF_DONE; in vpbe_isr_even_field() 79 wake_up_interruptible(&layer->cur_frm->done); in vpbe_isr_even_field() 81 layer->cur_frm = layer->next_frm; in vpbe_isr_even_field() 85 struct vpbe_layer *layer) in vpbe_isr_odd_field() argument 91 if (list_empty(&layer->dma_queue) || in vpbe_isr_odd_field() 92 (layer->cur_frm != layer->next_frm)) { in vpbe_isr_odd_field() [all …]
|
D | vpbe_osd.c | 99 #define is_osd_win(layer) (((layer) == WIN_OSD0) || ((layer) == WIN_OSD1)) argument 100 #define is_vid_win(layer) (((layer) == WIN_VID0) || ((layer) == WIN_VID1)) argument 406 static void _osd_set_zoom(struct osd_state *sd, enum osd_layer layer, in _osd_set_zoom() argument 412 switch (layer) { in _osd_set_zoom() 440 static void _osd_disable_layer(struct osd_state *sd, enum osd_layer layer) in _osd_disable_layer() argument 442 switch (layer) { in _osd_disable_layer() 460 static void osd_disable_layer(struct osd_state *sd, enum osd_layer layer) in osd_disable_layer() argument 463 struct osd_window_state *win = &osd->win[layer]; in osd_disable_layer() 474 _osd_disable_layer(sd, layer); in osd_disable_layer() 485 static void _osd_enable_layer(struct osd_state *sd, enum osd_layer layer) in _osd_enable_layer() argument [all …]
|
/linux-3.4.99/net/caif/ |
D | caif_dev.c | 34 struct cflayer layer; member 155 caifd->layer.up-> in caif_flow_cb() 156 ctrlcmd(caifd->layer.up, in caif_flow_cb() 158 caifd->layer.id); in caif_flow_cb() 162 static int transmit(struct cflayer *layer, struct cfpkt *pkt) in transmit() argument 166 container_of(layer, struct caif_device_entry, layer); in transmit() 220 caifd->layer.up->ctrlcmd(caifd->layer.up, in transmit() 222 caifd->layer.id); in transmit() 249 if (!caifd || !caifd->layer.up || !caifd->layer.up->receive || in receive() 260 err = caifd->layer.up->receive(caifd->layer.up, pkt); in receive() [all …]
|
D | cfsrvl.c | 24 #define container_obj(layr) container_of(layr, struct cfsrvl, layer) 120 info->channel_id = service->layer.id; in cfservl_modemcmd() 140 info->channel_id = service->layer.id; in cfservl_modemcmd() 151 static void cfsrvl_release(struct cflayer *layer) in cfsrvl_release() argument 153 struct cfsrvl *service = container_of(layer, struct cfsrvl, layer); in cfsrvl_release() 163 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfsrvl_init() 167 service->layer.id = channel_id; in cfsrvl_init() 168 service->layer.ctrlcmd = cfservl_ctrlcmd; in cfsrvl_init() 169 service->layer.modemcmd = cfservl_modemcmd; in cfsrvl_init() 184 u8 cfsrvl_getphyid(struct cflayer *layer) in cfsrvl_getphyid() argument [all …]
|
D | cfserl.c | 22 struct cflayer layer; member 39 caif_assert(offsetof(struct cfserl, layer) == 0); in cfserl_create() 40 this->layer.receive = cfserl_receive; in cfserl_create() 41 this->layer.transmit = cfserl_transmit; in cfserl_create() 42 this->layer.ctrlcmd = cfserl_ctrlcmd; in cfserl_create() 45 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "ser1"); in cfserl_create() 46 return &this->layer; in cfserl_create() 153 ret = layr->layer.up->receive(layr->layer.up, pkt); in cfserl_receive() 175 static int cfserl_transmit(struct cflayer *layer, struct cfpkt *newpkt) in cfserl_transmit() argument 177 struct cfserl *layr = container_obj(layer); in cfserl_transmit() [all …]
|
D | caif_usb.c | 32 struct cflayer layer; member 54 struct cfusbl *usbl = container_of(layr, struct cfusbl, layer); in cfusbl_transmit() 93 caif_assert(offsetof(struct cfusbl, layer) == 0); in cfusbl_create() 96 this->layer.receive = cfusbl_receive; in cfusbl_create() 97 this->layer.transmit = cfusbl_transmit; in cfusbl_create() 98 this->layer.ctrlcmd = cfusbl_ctrlcmd; in cfusbl_create() 99 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "usb%d", phyid); in cfusbl_create() 100 this->layer.id = phyid; in cfusbl_create() 128 struct cflayer *layer, *link_support; in cfusbl_device_notify() local 178 &layer, &caif_usb_type.func); in cfusbl_device_notify() [all …]
|
D | cfmuxl.c | 18 #define container_obj(layr) container_of(layr, struct cfmuxl, layer) 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 253 list_for_each_entry_rcu(layer, &muxl->srvl_list, node) { in cfmuxl_ctrlcmd() 255 if (cfsrvl_phyid_match(layer, phyid) && layer->ctrlcmd) { in cfmuxl_ctrlcmd() [all …]
|
D | cffrml.c | 20 #define container_obj(layr) container_of(layr, struct cffrml, layer) 23 struct cflayer layer; member 46 caif_assert(offsetof(struct cffrml, layer) == 0); in cffrml_create() 48 this->layer.receive = cffrml_receive; in cffrml_create() 49 this->layer.transmit = cffrml_transmit; in cffrml_create() 50 this->layer.ctrlcmd = cffrml_ctrlcmd; in cffrml_create() 51 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "frm%d", phyid); in cffrml_create() 53 this->layer.id = phyid; in cffrml_create() 57 void cffrml_free(struct cflayer *layer) in cffrml_free() argument 59 struct cffrml *this = container_obj(layer); in cffrml_free() [all …]
|
D | cfctrl.c | 16 #define container_obj(layr) container_of(layr, struct cfctrl, serv.layer) 41 caif_assert(offsetof(struct cfctrl, serv.layer) == 0); in cfctrl_create() 47 this->serv.layer.receive = cfctrl_recv; in cfctrl_create() 48 sprintf(this->serv.layer.name, "ctrl"); in cfctrl_create() 49 this->serv.layer.ctrlcmd = cfctrl_ctrlcmd; in cfctrl_create() 56 return &this->serv.layer; in cfctrl_create() 59 void cfctrl_remove(struct cflayer *layer) in cfctrl_remove() argument 62 struct cfctrl *ctrl = container_obj(layer); in cfctrl_remove() 70 kfree(layer); in cfctrl_remove() 162 struct cfctrl_rsp *cfctrl_get_respfuncs(struct cflayer *layer) in cfctrl_get_respfuncs() argument [all …]
|
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 …]
|
D | cfdbgl.c | 25 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfdbgl_create() 27 dbg->layer.receive = cfdbgl_receive; in cfdbgl_create() 28 dbg->layer.transmit = cfdbgl_transmit; in cfdbgl_create() 29 snprintf(dbg->layer.name, CAIF_LAYER_NAME_SZ - 1, "dbg%d", channel_id); in cfdbgl_create() 30 return &dbg->layer; in cfdbgl_create() 51 info->channel_id = service->layer.id; in cfdbgl_transmit()
|
D | cfvidl.c | 27 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfvidl_create() 30 vid->layer.receive = cfvidl_receive; in cfvidl_create() 31 vid->layer.transmit = cfvidl_transmit; in cfvidl_create() 32 snprintf(vid->layer.name, CAIF_LAYER_NAME_SZ - 1, "vid1"); in cfvidl_create() 33 return &vid->layer; in cfvidl_create() 62 info->channel_id = service->layer.id; in cfvidl_transmit()
|
D | cfveil.c | 21 #define container_obj(layr) container_of(layr, struct cfsrvl, layer) 31 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfvei_create() 33 vei->layer.receive = cfvei_receive; in cfvei_create() 34 vei->layer.transmit = cfvei_transmit; in cfvei_create() 35 snprintf(vei->layer.name, CAIF_LAYER_NAME_SZ - 1, "vei%d", channel_id); in cfvei_create() 36 return &vei->layer; in cfvei_create() 94 info->channel_id = service->layer.id; in cfvei_transmit()
|
D | cfdgml.c | 32 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfdgml_create() 34 dgm->layer.receive = cfdgml_receive; in cfdgml_create() 35 dgm->layer.transmit = cfdgml_transmit; in cfdgml_create() 36 snprintf(dgm->layer.name, CAIF_LAYER_NAME_SZ - 1, "dgm%d", channel_id); in cfdgml_create() 37 dgm->layer.name[CAIF_LAYER_NAME_SZ - 1] = '\0'; in cfdgml_create() 38 return &dgm->layer; in cfdgml_create() 107 info->channel_id = service->layer.id; in cfdgml_transmit()
|
D | cfutill.c | 32 caif_assert(offsetof(struct cfsrvl, layer) == 0); in cfutill_create() 34 util->layer.receive = cfutill_receive; in cfutill_create() 35 util->layer.transmit = cfutill_transmit; in cfutill_create() 36 snprintf(util->layer.name, CAIF_LAYER_NAME_SZ - 1, "util1"); in cfutill_create() 37 return &util->layer; in cfutill_create() 96 info->channel_id = service->layer.id; in cfutill_transmit()
|
/linux-3.4.99/Documentation/networking/caif/ |
D | Linux-CAIF.txt | 80 CAIF Core layer implements the CAIF protocol as defined by ST-Ericsson. 82 each layer described in the specification is implemented as a separate layer. 89 - Layered architecture (a la Streams), each layer in the CAIF 91 - Clients must implement PHY layer to access physical HW 93 - Clients must call configuration function to add PHY layer. 94 - Clients must implement CAIF layer to consume/produce 97 Client layer. 119 - CFCNFG CAIF Configuration layer. Configures the CAIF Protocol 123 - CFCTRL CAIF Control layer. Encodes and Decodes control messages 130 - CFVEI CAIF VEI layer. Handles CAIF AT Channels on VEI (Virtual [all …]
|
/linux-3.4.99/include/net/caif/ |
D | cfsrvl.h | 16 struct cflayer layer; member 21 void (*release)(struct cflayer *layer); 39 bool cfsrvl_phyid_match(struct cflayer *layer, int phyid); 46 u8 cfsrvl_getphyid(struct cflayer *layer); 50 struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); in cfsrvl_get() 59 struct cfsrvl *s = container_of(layr, struct cfsrvl, layer); in cfsrvl_put()
|
/linux-3.4.99/include/media/davinci/ |
D | vpbe_osd.h | 329 int (*request_layer)(struct osd_state *sd, enum osd_layer layer); 330 void (*release_layer)(struct osd_state *sd, enum osd_layer layer); 331 int (*enable_layer)(struct osd_state *sd, enum osd_layer layer, 333 void (*disable_layer)(struct osd_state *sd, enum osd_layer layer); 334 int (*set_layer_config)(struct osd_state *sd, enum osd_layer layer, 336 void (*get_layer_config)(struct osd_state *sd, enum osd_layer layer, 338 void (*start_layer)(struct osd_state *sd, enum osd_layer layer, 350 void (*set_zoom)(struct osd_state *sd, enum osd_layer layer,
|
/linux-3.4.99/drivers/media/dvb/frontends/ |
D | mb86a20s.c | 396 unsigned layer) in mb86a20s_get_modulation() argument 405 if (layer >= ARRAY_SIZE(reg)) in mb86a20s_get_modulation() 407 rc = mb86a20s_writereg(state, 0x6d, reg[layer]); in mb86a20s_get_modulation() 428 unsigned layer) in mb86a20s_get_fec() argument 438 if (layer >= ARRAY_SIZE(reg)) in mb86a20s_get_fec() 440 rc = mb86a20s_writereg(state, 0x6d, reg[layer]); in mb86a20s_get_fec() 463 unsigned layer) in mb86a20s_get_interleaving() argument 473 if (layer >= ARRAY_SIZE(reg)) in mb86a20s_get_interleaving() 475 rc = mb86a20s_writereg(state, 0x6d, reg[layer]); in mb86a20s_get_interleaving() 487 unsigned layer) in mb86a20s_get_segment_count() argument [all …]
|
/linux-3.4.99/block/ |
D | Kconfig | 2 # Block layer core configuration 5 bool "Enable the block layer" if EXPERT 8 Provide block layer support for the kernel. 10 Disable this option to remove the block layer support from the 19 they make use of various block layer definitions and facilities. 51 bool "Block layer SG support v4" 69 bool "Block layer SG support v4 helper lib" 79 bool "Block layer data integrity support" 82 stored/retrieved to help protect the data. The block layer 91 bool "Block layer bio throttling support" [all …]
|
/linux-3.4.99/Documentation/scsi/ |
D | ufs.txt | 11 2.2 UFS Transport Protocol(UTP) layer 28 on MIPI M-PHY physical layer standard. UFS uses MIPI M-PHY as the 29 physical layer and MIPI Unipro as the link layer. 52 The Application layer is composed of UFS command set layer(UCS), 55 protocol for versions 1.0 and 1.1 of UFS protocol layer. 67 2.2 UFS Transport Protocol(UTP) layer 69 UTP layer provides services for 76 set layer(UCS) to transport commands. 83 UIC is the lowest layer of UFS layered architecture. It handles 86 to upper layer, [all …]
|