/Linux-v4.19/drivers/media/pci/cx18/ |
D | cx18-queue.c | 34 void _cx18_mdl_swap(struct cx18_mdl *mdl) in _cx18_mdl_swap() argument 38 list_for_each_entry(buf, &mdl->buf_list, list) { in _cx18_mdl_swap() 52 struct cx18_queue *_cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, in _cx18_enqueue() argument 57 mdl->bytesused = 0; in _cx18_enqueue() 58 mdl->readpos = 0; in _cx18_enqueue() 59 mdl->m_flags = 0; in _cx18_enqueue() 60 mdl->skipped = 0; in _cx18_enqueue() 61 mdl->curr_buf = NULL; in _cx18_enqueue() 72 list_add(&mdl->list, &q->list); /* LIFO */ in _cx18_enqueue() 74 list_add_tail(&mdl->list, &q->list); /* FIFO */ in _cx18_enqueue() [all …]
|
D | cx18-queue.h | 38 void _cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl); 41 struct cx18_mdl *mdl) in cx18_mdl_sync_for_device() argument 43 if (list_is_singular(&mdl->buf_list)) in cx18_mdl_sync_for_device() 44 cx18_buf_sync_for_device(s, list_first_entry(&mdl->buf_list, in cx18_mdl_sync_for_device() 48 _cx18_mdl_sync_for_device(s, mdl); in cx18_mdl_sync_for_device() 52 void _cx18_mdl_swap(struct cx18_mdl *mdl); 54 static inline void cx18_mdl_swap(struct cx18_mdl *mdl) in cx18_mdl_swap() argument 56 if (list_is_singular(&mdl->buf_list)) in cx18_mdl_swap() 57 cx18_buf_swap(list_first_entry(&mdl->buf_list, in cx18_mdl_swap() 60 _cx18_mdl_swap(mdl); in cx18_mdl_swap() [all …]
|
D | cx18-fileops.c | 183 struct cx18_mdl *mdl; in cx18_get_mdl() local 196 while ((mdl = cx18_dequeue(s_vbi, in cx18_get_mdl() 199 cx18_process_vbi_data(cx, mdl, in cx18_get_mdl() 201 cx18_stream_put_mdl_fw(s_vbi, mdl); in cx18_get_mdl() 204 mdl = &cx->vbi.sliced_mpeg_mdl; in cx18_get_mdl() 205 if (mdl->readpos != mdl->bytesused) in cx18_get_mdl() 206 return mdl; in cx18_get_mdl() 210 mdl = cx18_dequeue(s, &s->q_full); in cx18_get_mdl() 211 if (mdl) { in cx18_get_mdl() 213 &mdl->m_flags)) in cx18_get_mdl() [all …]
|
D | cx18-mailbox.c | 131 static void cx18_mdl_send_to_dvb(struct cx18_stream *s, struct cx18_mdl *mdl) in cx18_mdl_send_to_dvb() argument 135 if (s->dvb == NULL || !s->dvb->enabled || mdl->bytesused == 0) in cx18_mdl_send_to_dvb() 141 if (list_is_singular(&mdl->buf_list)) { in cx18_mdl_send_to_dvb() 142 buf = list_first_entry(&mdl->buf_list, struct cx18_buffer, in cx18_mdl_send_to_dvb() 150 list_for_each_entry(buf, &mdl->buf_list, list) { in cx18_mdl_send_to_dvb() 158 struct cx18_mdl *mdl) in cx18_mdl_send_to_videobuf() argument 166 if (mdl->bytesused == 0) in cx18_mdl_send_to_videobuf() 182 list_for_each_entry(buf, &mdl->buf_list, list) { in cx18_mdl_send_to_videobuf() 213 struct cx18_mdl *mdl) in cx18_mdl_send_to_alsa() argument 217 if (mdl->bytesused == 0) in cx18_mdl_send_to_alsa() [all …]
|
D | cx18-ioctl.c | 725 static int cx18_process_idx_data(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_process_idx_data() argument 731 if (mdl->curr_buf == NULL) in cx18_process_idx_data() 732 mdl->curr_buf = list_first_entry(&mdl->buf_list, in cx18_process_idx_data() 735 if (list_entry_is_past_end(mdl->curr_buf, &mdl->buf_list, list)) { in cx18_process_idx_data() 741 mdl->readpos = mdl->bytesused; in cx18_process_idx_data() 745 list_for_each_entry_from(mdl->curr_buf, &mdl->buf_list, list) { in cx18_process_idx_data() 748 if (mdl->curr_buf->readpos >= mdl->curr_buf->bytesused) in cx18_process_idx_data() 751 mdl->readpos += _cx18_process_idx_data(mdl->curr_buf, idx); in cx18_process_idx_data() 755 mdl->curr_buf->readpos < mdl->curr_buf->bytesused || in cx18_process_idx_data() 756 mdl->readpos >= mdl->bytesused) in cx18_process_idx_data() [all …]
|
D | cx18-streams.c | 658 struct cx18_mdl *mdl; in cx18_stream_rotate_idx_mdls() local 676 mdl = cx18_dequeue(s, &s->q_full); in cx18_stream_rotate_idx_mdls() 677 if (mdl != NULL) in cx18_stream_rotate_idx_mdls() 678 cx18_enqueue(s, mdl, &s->q_free); in cx18_stream_rotate_idx_mdls() 683 struct cx18_mdl *mdl) in _cx18_stream_put_mdl_fw() argument 692 return cx18_enqueue(s, mdl, &s->q_free); in _cx18_stream_put_mdl_fw() 694 q = cx18_enqueue(s, mdl, &s->q_busy); in _cx18_stream_put_mdl_fw() 698 cx18_mdl_sync_for_device(s, mdl); in _cx18_stream_put_mdl_fw() 700 (void __iomem *) &cx->scb->cpu_mdl[mdl->id] - cx->enc_mem, in _cx18_stream_put_mdl_fw() 701 s->bufs_per_mdl, mdl->id, s->mdl_size); in _cx18_stream_put_mdl_fw() [all …]
|
D | cx18-streams.h | 44 struct cx18_mdl *mdl) in cx18_stream_put_mdl_fw() argument 47 cx18_enqueue(s, mdl, &s->q_free); in cx18_stream_put_mdl_fw()
|
D | cx18-vbi.c | 246 void cx18_process_vbi_data(struct cx18 *cx, struct cx18_mdl *mdl, in cx18_process_vbi_data() argument 265 list_for_each_entry(buf, &mdl->buf_list, list) { in cx18_process_vbi_data() 270 mdl->bytesused -= (orig_used - buf->bytesused); in cx18_process_vbi_data()
|
D | cx18-vbi.h | 19 void cx18_process_vbi_data(struct cx18 *cx, struct cx18_mdl *mdl,
|
/Linux-v4.19/drivers/net/ethernet/brocade/bna/ |
D | bna_tx_rx.c | 636 res_info[BNA_RX_RES_MEM_T_RIT].res_u.mem_info.mdl[0].kva; in bna_rxf_init() 2043 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init() 2045 res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init() 2047 res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init() 2292 ccb_mem = &res_info[BNA_RX_RES_MEM_T_CCB].res_u.mem_info.mdl[0]; in bna_rx_create() 2293 rcb_mem = &res_info[BNA_RX_RES_MEM_T_RCB].res_u.mem_info.mdl[0]; in bna_rx_create() 2294 dqunmap_mem = &res_info[BNA_RX_RES_MEM_T_UNMAPDQ].res_u.mem_info.mdl[0]; in bna_rx_create() 2295 hqunmap_mem = &res_info[BNA_RX_RES_MEM_T_UNMAPHQ].res_u.mem_info.mdl[0]; in bna_rx_create() 2296 cqpt_mem = &res_info[BNA_RX_RES_MEM_T_CQPT].res_u.mem_info.mdl[0]; in bna_rx_create() 2297 cswqpt_mem = &res_info[BNA_RX_RES_MEM_T_CSWQPT].res_u.mem_info.mdl[0]; in bna_rx_create() [all …]
|
D | bna_enet.c | 1713 &res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].dma, dma); in bna_ioceth_init() 1714 kva = res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1717 kva = res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1725 &res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].dma, dma); in bna_ioceth_init() 1726 kva = res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1792 res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_u.mem_info.mdl[0].kva; in bna_ucam_mod_init() 1819 res_info[BNA_MOD_RES_MEM_T_MCMAC_ARRAY].res_u.mem_info.mdl[0].kva; in bna_mcam_mod_init() 1826 res_info[BNA_MOD_RES_MEM_T_MCHANDLE_ARRAY].res_u.mem_info.mdl[0].kva; in bna_mcam_mod_init() 1981 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mdl[0].kva; in bna_init() 1983 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mdl[0].dma.msb; in bna_init() [all …]
|
D | bnad.c | 1325 if (mem_info->mdl == NULL) in bnad_mem_free() 1329 if (mem_info->mdl[i].kva != NULL) { in bnad_mem_free() 1331 BNA_GET_DMA_ADDR(&(mem_info->mdl[i].dma), in bnad_mem_free() 1334 mem_info->mdl[i].len, in bnad_mem_free() 1335 mem_info->mdl[i].kva, dma_pa); in bnad_mem_free() 1337 kfree(mem_info->mdl[i].kva); in bnad_mem_free() 1340 kfree(mem_info->mdl); in bnad_mem_free() 1341 mem_info->mdl = NULL; in bnad_mem_free() 1352 mem_info->mdl = NULL; in bnad_mem_alloc() 1356 mem_info->mdl = kcalloc(mem_info->num, sizeof(struct bna_mem_descr), in bnad_mem_alloc() [all …]
|
D | bna_types.h | 280 struct bna_mem_descr *mdl; member
|
/Linux-v4.19/sound/drivers/ |
D | dummy.c | 1057 struct dummy_model *m = NULL, **mdl; in snd_dummy_probe() local 1067 for (mdl = dummy_models; *mdl && model[dev]; mdl++) { in snd_dummy_probe() 1068 if (strcmp(model[dev], (*mdl)->name) == 0) { in snd_dummy_probe() 1071 (*mdl)->name, card->number); in snd_dummy_probe() 1072 m = dummy->model = *mdl; in snd_dummy_probe()
|
/Linux-v4.19/Documentation/devicetree/bindings/leds/ |
D | leds-cpcap.txt | 9 * "motorola,cpcap-led-mdl" (Main Display Lighting)
|
/Linux-v4.19/Documentation/ |
D | parport-lowlevel.txt | 1066 int parport_find_device (const char *mfg, const char *mdl, int from);
|