mdl 174 drivers/media/pci/cx18/cx18-fileops.c struct cx18_mdl *mdl; mdl 187 drivers/media/pci/cx18/cx18-fileops.c while ((mdl = cx18_dequeue(s_vbi, mdl 190 drivers/media/pci/cx18/cx18-fileops.c cx18_process_vbi_data(cx, mdl, mdl 192 drivers/media/pci/cx18/cx18-fileops.c cx18_stream_put_mdl_fw(s_vbi, mdl); mdl 195 drivers/media/pci/cx18/cx18-fileops.c mdl = &cx->vbi.sliced_mpeg_mdl; mdl 196 drivers/media/pci/cx18/cx18-fileops.c if (mdl->readpos != mdl->bytesused) mdl 197 drivers/media/pci/cx18/cx18-fileops.c return mdl; mdl 201 drivers/media/pci/cx18/cx18-fileops.c mdl = cx18_dequeue(s, &s->q_full); mdl 202 drivers/media/pci/cx18/cx18-fileops.c if (mdl) { mdl 204 drivers/media/pci/cx18/cx18-fileops.c &mdl->m_flags)) mdl 205 drivers/media/pci/cx18/cx18-fileops.c return mdl; mdl 208 drivers/media/pci/cx18/cx18-fileops.c cx18_mdl_swap(mdl); mdl 211 drivers/media/pci/cx18/cx18-fileops.c cx18_process_vbi_data(cx, mdl, s->type); mdl 213 drivers/media/pci/cx18/cx18-fileops.c return mdl; mdl 246 drivers/media/pci/cx18/cx18-fileops.c struct cx18_mdl *mdl = &cx->vbi.sliced_mpeg_mdl; mdl 254 drivers/media/pci/cx18/cx18-fileops.c mdl->curr_buf = NULL; mdl 255 drivers/media/pci/cx18/cx18-fileops.c mdl->bytesused = cx->vbi.sliced_mpeg_size[idx]; mdl 256 drivers/media/pci/cx18/cx18-fileops.c mdl->readpos = 0; mdl 364 drivers/media/pci/cx18/cx18-fileops.c struct cx18_mdl *mdl, char __user *ubuf, size_t ucount) mdl 370 drivers/media/pci/cx18/cx18-fileops.c if (mdl->curr_buf == NULL) mdl 371 drivers/media/pci/cx18/cx18-fileops.c mdl->curr_buf = list_first_entry(&mdl->buf_list, mdl 374 drivers/media/pci/cx18/cx18-fileops.c if (list_entry_is_past_end(mdl->curr_buf, &mdl->buf_list, list)) { mdl 380 drivers/media/pci/cx18/cx18-fileops.c mdl->readpos = mdl->bytesused; mdl 384 drivers/media/pci/cx18/cx18-fileops.c list_for_each_entry_from(mdl->curr_buf, &mdl->buf_list, list) { mdl 386 drivers/media/pci/cx18/cx18-fileops.c if (mdl->curr_buf->readpos >= mdl->curr_buf->bytesused) mdl 389 drivers/media/pci/cx18/cx18-fileops.c rc = cx18_copy_buf_to_user(s, mdl->curr_buf, ubuf + tot_written, mdl 393 drivers/media/pci/cx18/cx18-fileops.c mdl->readpos += rc; mdl 398 drivers/media/pci/cx18/cx18-fileops.c mdl->curr_buf->readpos < mdl->curr_buf->bytesused || mdl 399 drivers/media/pci/cx18/cx18-fileops.c mdl->readpos >= mdl->bytesused) /* MDL buffers drained */ mdl 426 drivers/media/pci/cx18/cx18-fileops.c struct cx18_mdl *mdl; mdl 429 drivers/media/pci/cx18/cx18-fileops.c mdl = cx18_get_mdl(s, non_block, &rc); mdl 431 drivers/media/pci/cx18/cx18-fileops.c if (mdl == NULL) { mdl 445 drivers/media/pci/cx18/cx18-fileops.c rc = cx18_copy_mdl_to_user(s, mdl, ubuf + tot_written, mdl 448 drivers/media/pci/cx18/cx18-fileops.c if (mdl != &cx->vbi.sliced_mpeg_mdl) { mdl 449 drivers/media/pci/cx18/cx18-fileops.c if (mdl->readpos == mdl->bytesused) mdl 450 drivers/media/pci/cx18/cx18-fileops.c cx18_stream_put_mdl_fw(s, mdl); mdl 452 drivers/media/pci/cx18/cx18-fileops.c cx18_push(s, mdl, &s->q_full); mdl 453 drivers/media/pci/cx18/cx18-fileops.c } else if (mdl->readpos == mdl->bytesused) { mdl 458 drivers/media/pci/cx18/cx18-fileops.c cx->vbi_data_inserted += mdl->bytesused; mdl 714 drivers/media/pci/cx18/cx18-ioctl.c static int cx18_process_idx_data(struct cx18_stream *s, struct cx18_mdl *mdl, mdl 720 drivers/media/pci/cx18/cx18-ioctl.c if (mdl->curr_buf == NULL) mdl 721 drivers/media/pci/cx18/cx18-ioctl.c mdl->curr_buf = list_first_entry(&mdl->buf_list, mdl 724 drivers/media/pci/cx18/cx18-ioctl.c if (list_entry_is_past_end(mdl->curr_buf, &mdl->buf_list, list)) { mdl 730 drivers/media/pci/cx18/cx18-ioctl.c mdl->readpos = mdl->bytesused; mdl 734 drivers/media/pci/cx18/cx18-ioctl.c list_for_each_entry_from(mdl->curr_buf, &mdl->buf_list, list) { mdl 737 drivers/media/pci/cx18/cx18-ioctl.c if (mdl->curr_buf->readpos >= mdl->curr_buf->bytesused) mdl 740 drivers/media/pci/cx18/cx18-ioctl.c mdl->readpos += _cx18_process_idx_data(mdl->curr_buf, idx); mdl 744 drivers/media/pci/cx18/cx18-ioctl.c mdl->curr_buf->readpos < mdl->curr_buf->bytesused || mdl 745 drivers/media/pci/cx18/cx18-ioctl.c mdl->readpos >= mdl->bytesused) mdl 757 drivers/media/pci/cx18/cx18-ioctl.c struct cx18_mdl *mdl; mdl 776 drivers/media/pci/cx18/cx18-ioctl.c mdl = cx18_dequeue(s, &s->q_full); mdl 777 drivers/media/pci/cx18/cx18-ioctl.c if (mdl == NULL) /* No more IDX data right now */ mdl 781 drivers/media/pci/cx18/cx18-ioctl.c cx18_process_idx_data(s, mdl, idx); mdl 782 drivers/media/pci/cx18/cx18-ioctl.c if (mdl->readpos < mdl->bytesused) { mdl 784 drivers/media/pci/cx18/cx18-ioctl.c cx18_push(s, mdl, &s->q_full); mdl 789 drivers/media/pci/cx18/cx18-ioctl.c cx18_enqueue(s, mdl, &s->q_free); mdl 122 drivers/media/pci/cx18/cx18-mailbox.c static void cx18_mdl_send_to_dvb(struct cx18_stream *s, struct cx18_mdl *mdl) mdl 126 drivers/media/pci/cx18/cx18-mailbox.c if (s->dvb == NULL || !s->dvb->enabled || mdl->bytesused == 0) mdl 132 drivers/media/pci/cx18/cx18-mailbox.c if (list_is_singular(&mdl->buf_list)) { mdl 133 drivers/media/pci/cx18/cx18-mailbox.c buf = list_first_entry(&mdl->buf_list, struct cx18_buffer, mdl 141 drivers/media/pci/cx18/cx18-mailbox.c list_for_each_entry(buf, &mdl->buf_list, list) { mdl 149 drivers/media/pci/cx18/cx18-mailbox.c struct cx18_mdl *mdl) mdl 157 drivers/media/pci/cx18/cx18-mailbox.c if (mdl->bytesused == 0) mdl 173 drivers/media/pci/cx18/cx18-mailbox.c list_for_each_entry(buf, &mdl->buf_list, list) { mdl 204 drivers/media/pci/cx18/cx18-mailbox.c struct cx18_mdl *mdl) mdl 208 drivers/media/pci/cx18/cx18-mailbox.c if (mdl->bytesused == 0) mdl 214 drivers/media/pci/cx18/cx18-mailbox.c if (list_is_singular(&mdl->buf_list)) { mdl 215 drivers/media/pci/cx18/cx18-mailbox.c buf = list_first_entry(&mdl->buf_list, struct cx18_buffer, mdl 223 drivers/media/pci/cx18/cx18-mailbox.c list_for_each_entry(buf, &mdl->buf_list, list) { mdl 236 drivers/media/pci/cx18/cx18-mailbox.c struct cx18_mdl *mdl; mdl 283 drivers/media/pci/cx18/cx18-mailbox.c mdl = cx18_queue_get_mdl(s, id, mdl_ack->data_used); mdl 286 drivers/media/pci/cx18/cx18-mailbox.c if (mdl == NULL) { mdl 293 drivers/media/pci/cx18/cx18-mailbox.c s->name, mdl->bytesused); mdl 296 drivers/media/pci/cx18/cx18-mailbox.c cx18_mdl_send_to_dvb(s, mdl); mdl 297 drivers/media/pci/cx18/cx18-mailbox.c cx18_enqueue(s, mdl, &s->q_free); mdl 301 drivers/media/pci/cx18/cx18-mailbox.c cx18_mdl_send_to_alsa(cx, s, mdl); mdl 302 drivers/media/pci/cx18/cx18-mailbox.c cx18_enqueue(s, mdl, &s->q_free); mdl 304 drivers/media/pci/cx18/cx18-mailbox.c cx18_enqueue(s, mdl, &s->q_full); mdl 307 drivers/media/pci/cx18/cx18-mailbox.c cx18_mdl_send_to_videobuf(s, mdl); mdl 308 drivers/media/pci/cx18/cx18-mailbox.c cx18_enqueue(s, mdl, &s->q_free); mdl 310 drivers/media/pci/cx18/cx18-mailbox.c cx18_enqueue(s, mdl, &s->q_full); mdl 25 drivers/media/pci/cx18/cx18-queue.c void _cx18_mdl_swap(struct cx18_mdl *mdl) mdl 29 drivers/media/pci/cx18/cx18-queue.c list_for_each_entry(buf, &mdl->buf_list, list) { mdl 43 drivers/media/pci/cx18/cx18-queue.c struct cx18_queue *_cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, mdl 48 drivers/media/pci/cx18/cx18-queue.c mdl->bytesused = 0; mdl 49 drivers/media/pci/cx18/cx18-queue.c mdl->readpos = 0; mdl 50 drivers/media/pci/cx18/cx18-queue.c mdl->m_flags = 0; mdl 51 drivers/media/pci/cx18/cx18-queue.c mdl->skipped = 0; mdl 52 drivers/media/pci/cx18/cx18-queue.c mdl->curr_buf = NULL; mdl 63 drivers/media/pci/cx18/cx18-queue.c list_add(&mdl->list, &q->list); /* LIFO */ mdl 65 drivers/media/pci/cx18/cx18-queue.c list_add_tail(&mdl->list, &q->list); /* FIFO */ mdl 66 drivers/media/pci/cx18/cx18-queue.c q->bytesused += mdl->bytesused - mdl->readpos; mdl 75 drivers/media/pci/cx18/cx18-queue.c struct cx18_mdl *mdl = NULL; mdl 79 drivers/media/pci/cx18/cx18-queue.c mdl = list_first_entry(&q->list, struct cx18_mdl, list); mdl 80 drivers/media/pci/cx18/cx18-queue.c list_del_init(&mdl->list); mdl 81 drivers/media/pci/cx18/cx18-queue.c q->bytesused -= mdl->bytesused - mdl->readpos; mdl 82 drivers/media/pci/cx18/cx18-queue.c mdl->skipped = 0; mdl 86 drivers/media/pci/cx18/cx18-queue.c return mdl; mdl 90 drivers/media/pci/cx18/cx18-queue.c struct cx18_mdl *mdl) mdl 94 drivers/media/pci/cx18/cx18-queue.c u32 bytesused = mdl->bytesused; mdl 96 drivers/media/pci/cx18/cx18-queue.c list_for_each_entry(buf, &mdl->buf_list, list) { mdl 110 drivers/media/pci/cx18/cx18-queue.c struct cx18_mdl *mdl) mdl 114 drivers/media/pci/cx18/cx18-queue.c if (list_is_singular(&mdl->buf_list)) { mdl 115 drivers/media/pci/cx18/cx18-queue.c buf = list_first_entry(&mdl->buf_list, struct cx18_buffer, mdl 117 drivers/media/pci/cx18/cx18-queue.c buf->bytesused = mdl->bytesused; mdl 121 drivers/media/pci/cx18/cx18-queue.c _cx18_mdl_update_bufs_for_cpu(s, mdl); mdl 129 drivers/media/pci/cx18/cx18-queue.c struct cx18_mdl *mdl; mdl 141 drivers/media/pci/cx18/cx18-queue.c list_for_each_entry_safe(mdl, tmp, &s->q_busy.list, list) { mdl 149 drivers/media/pci/cx18/cx18-queue.c if (mdl->id != id) { mdl 150 drivers/media/pci/cx18/cx18-queue.c mdl->skipped++; mdl 151 drivers/media/pci/cx18/cx18-queue.c if (mdl->skipped >= atomic_read(&s->q_busy.depth)-1) { mdl 154 drivers/media/pci/cx18/cx18-queue.c s->name, mdl->id, mdl 155 drivers/media/pci/cx18/cx18-queue.c mdl->skipped); mdl 157 drivers/media/pci/cx18/cx18-queue.c list_move_tail(&mdl->list, &sweep_up); mdl 166 drivers/media/pci/cx18/cx18-queue.c list_del_init(&mdl->list); mdl 168 drivers/media/pci/cx18/cx18-queue.c ret = mdl; mdl 187 drivers/media/pci/cx18/cx18-queue.c list_for_each_entry_safe(mdl, tmp, &sweep_up, list) { mdl 188 drivers/media/pci/cx18/cx18-queue.c list_del_init(&mdl->list); mdl 189 drivers/media/pci/cx18/cx18-queue.c cx18_enqueue(s, mdl, &s->q_free); mdl 198 drivers/media/pci/cx18/cx18-queue.c struct cx18_mdl *mdl; mdl 207 drivers/media/pci/cx18/cx18-queue.c mdl = list_first_entry(&q_src->list, struct cx18_mdl, list); mdl 208 drivers/media/pci/cx18/cx18-queue.c list_move_tail(&mdl->list, &q_dst->list); mdl 209 drivers/media/pci/cx18/cx18-queue.c mdl->bytesused = 0; mdl 210 drivers/media/pci/cx18/cx18-queue.c mdl->readpos = 0; mdl 211 drivers/media/pci/cx18/cx18-queue.c mdl->m_flags = 0; mdl 212 drivers/media/pci/cx18/cx18-queue.c mdl->skipped = 0; mdl 213 drivers/media/pci/cx18/cx18-queue.c mdl->curr_buf = NULL; mdl 234 drivers/media/pci/cx18/cx18-queue.c struct cx18_mdl *mdl; mdl 244 drivers/media/pci/cx18/cx18-queue.c list_for_each_entry(mdl, &q_idle->list, list) { mdl 245 drivers/media/pci/cx18/cx18-queue.c while (!list_empty(&mdl->buf_list)) { mdl 246 drivers/media/pci/cx18/cx18-queue.c buf = list_first_entry(&mdl->buf_list, mdl 252 drivers/media/pci/cx18/cx18-queue.c mdl->id = s->mdl_base_idx; /* reset id to a "safe" value */ mdl 265 drivers/media/pci/cx18/cx18-queue.c struct cx18_mdl *mdl; mdl 277 drivers/media/pci/cx18/cx18-queue.c for (mdl = cx18_dequeue(s, &s->q_idle), i = s->bufs_per_mdl; mdl 278 drivers/media/pci/cx18/cx18-queue.c mdl != NULL && i == s->bufs_per_mdl; mdl 279 drivers/media/pci/cx18/cx18-queue.c mdl = cx18_dequeue(s, &s->q_idle)) { mdl 281 drivers/media/pci/cx18/cx18-queue.c mdl->id = mdl_id; mdl 289 drivers/media/pci/cx18/cx18-queue.c list_move_tail(&buf->list, &mdl->buf_list); mdl 311 drivers/media/pci/cx18/cx18-queue.c cx18_enqueue(s, mdl, &s->q_free); mdl 314 drivers/media/pci/cx18/cx18-queue.c cx18_push(s, mdl, &s->q_idle); mdl 320 drivers/media/pci/cx18/cx18-queue.c void _cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl) mdl 327 drivers/media/pci/cx18/cx18-queue.c list_for_each_entry(buf, &mdl->buf_list, list) mdl 360 drivers/media/pci/cx18/cx18-queue.c struct cx18_mdl *mdl; mdl 364 drivers/media/pci/cx18/cx18-queue.c mdl = kzalloc(sizeof(struct cx18_mdl), GFP_KERNEL|__GFP_NOWARN); mdl 365 drivers/media/pci/cx18/cx18-queue.c if (mdl == NULL) mdl 371 drivers/media/pci/cx18/cx18-queue.c kfree(mdl); mdl 377 drivers/media/pci/cx18/cx18-queue.c kfree(mdl); mdl 382 drivers/media/pci/cx18/cx18-queue.c INIT_LIST_HEAD(&mdl->list); mdl 383 drivers/media/pci/cx18/cx18-queue.c INIT_LIST_HEAD(&mdl->buf_list); mdl 384 drivers/media/pci/cx18/cx18-queue.c mdl->id = s->mdl_base_idx; /* a somewhat safe value */ mdl 385 drivers/media/pci/cx18/cx18-queue.c cx18_enqueue(s, mdl, &s->q_idle); mdl 404 drivers/media/pci/cx18/cx18-queue.c struct cx18_mdl *mdl; mdl 414 drivers/media/pci/cx18/cx18-queue.c while ((mdl = cx18_dequeue(s, &s->q_idle))) mdl 415 drivers/media/pci/cx18/cx18-queue.c kfree(mdl); mdl 29 drivers/media/pci/cx18/cx18-queue.h void _cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl); mdl 32 drivers/media/pci/cx18/cx18-queue.h struct cx18_mdl *mdl) mdl 34 drivers/media/pci/cx18/cx18-queue.h if (list_is_singular(&mdl->buf_list)) mdl 35 drivers/media/pci/cx18/cx18-queue.h cx18_buf_sync_for_device(s, list_first_entry(&mdl->buf_list, mdl 39 drivers/media/pci/cx18/cx18-queue.h _cx18_mdl_sync_for_device(s, mdl); mdl 43 drivers/media/pci/cx18/cx18-queue.h void _cx18_mdl_swap(struct cx18_mdl *mdl); mdl 45 drivers/media/pci/cx18/cx18-queue.h static inline void cx18_mdl_swap(struct cx18_mdl *mdl) mdl 47 drivers/media/pci/cx18/cx18-queue.h if (list_is_singular(&mdl->buf_list)) mdl 48 drivers/media/pci/cx18/cx18-queue.h cx18_buf_swap(list_first_entry(&mdl->buf_list, mdl 51 drivers/media/pci/cx18/cx18-queue.h _cx18_mdl_swap(mdl); mdl 55 drivers/media/pci/cx18/cx18-queue.h struct cx18_queue *_cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, mdl 59 drivers/media/pci/cx18/cx18-queue.h struct cx18_queue *cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, mdl 62 drivers/media/pci/cx18/cx18-queue.h return _cx18_enqueue(s, mdl, q, 0); /* FIFO */ mdl 66 drivers/media/pci/cx18/cx18-queue.h struct cx18_queue *cx18_push(struct cx18_stream *s, struct cx18_mdl *mdl, mdl 69 drivers/media/pci/cx18/cx18-queue.h return _cx18_enqueue(s, mdl, q, 1); /* LIFO */ mdl 650 drivers/media/pci/cx18/cx18-streams.c struct cx18_mdl *mdl; mdl 668 drivers/media/pci/cx18/cx18-streams.c mdl = cx18_dequeue(s, &s->q_full); mdl 669 drivers/media/pci/cx18/cx18-streams.c if (mdl != NULL) mdl 670 drivers/media/pci/cx18/cx18-streams.c cx18_enqueue(s, mdl, &s->q_free); mdl 675 drivers/media/pci/cx18/cx18-streams.c struct cx18_mdl *mdl) mdl 684 drivers/media/pci/cx18/cx18-streams.c return cx18_enqueue(s, mdl, &s->q_free); mdl 686 drivers/media/pci/cx18/cx18-streams.c q = cx18_enqueue(s, mdl, &s->q_busy); mdl 690 drivers/media/pci/cx18/cx18-streams.c cx18_mdl_sync_for_device(s, mdl); mdl 692 drivers/media/pci/cx18/cx18-streams.c (void __iomem *) &cx->scb->cpu_mdl[mdl->id] - cx->enc_mem, mdl 693 drivers/media/pci/cx18/cx18-streams.c s->bufs_per_mdl, mdl->id, s->mdl_size); mdl 701 drivers/media/pci/cx18/cx18-streams.c struct cx18_mdl *mdl; mdl 709 drivers/media/pci/cx18/cx18-streams.c mdl = cx18_dequeue(s, &s->q_free); mdl 710 drivers/media/pci/cx18/cx18-streams.c if (mdl == NULL) mdl 712 drivers/media/pci/cx18/cx18-streams.c q = _cx18_stream_put_mdl_fw(s, mdl); mdl 35 drivers/media/pci/cx18/cx18-streams.h struct cx18_mdl *mdl) mdl 38 drivers/media/pci/cx18/cx18-streams.h cx18_enqueue(s, mdl, &s->q_free); mdl 237 drivers/media/pci/cx18/cx18-vbi.c void cx18_process_vbi_data(struct cx18 *cx, struct cx18_mdl *mdl, mdl 256 drivers/media/pci/cx18/cx18-vbi.c list_for_each_entry(buf, &mdl->buf_list, list) { mdl 261 drivers/media/pci/cx18/cx18-vbi.c mdl->bytesused -= (orig_used - buf->bytesused); mdl 10 drivers/media/pci/cx18/cx18-vbi.h void cx18_process_vbi_data(struct cx18 *cx, struct cx18_mdl *mdl, mdl 1705 drivers/net/ethernet/brocade/bna/bna_enet.c &res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].dma, dma); mdl 1706 drivers/net/ethernet/brocade/bna/bna_enet.c kva = res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].kva; mdl 1709 drivers/net/ethernet/brocade/bna/bna_enet.c kva = res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mdl[0].kva; mdl 1717 drivers/net/ethernet/brocade/bna/bna_enet.c &res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].dma, dma); mdl 1718 drivers/net/ethernet/brocade/bna/bna_enet.c kva = res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].kva; mdl 1784 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_u.mem_info.mdl[0].kva; mdl 1811 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_MOD_RES_MEM_T_MCMAC_ARRAY].res_u.mem_info.mdl[0].kva; mdl 1818 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_MOD_RES_MEM_T_MCHANDLE_ARRAY].res_u.mem_info.mdl[0].kva; mdl 1973 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mdl[0].kva; mdl 1975 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mdl[0].dma.msb; mdl 1977 drivers/net/ethernet/brocade/bna/bna_enet.c res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mdl[0].dma.lsb; mdl 628 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_RX_RES_MEM_T_RIT].res_u.mem_info.mdl[0].kva; mdl 2035 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.mdl[0].kva; mdl 2037 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_u.mem_info.mdl[0].kva; mdl 2039 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_u.mem_info.mdl[0].kva; mdl 2284 drivers/net/ethernet/brocade/bna/bna_tx_rx.c ccb_mem = &res_info[BNA_RX_RES_MEM_T_CCB].res_u.mem_info.mdl[0]; mdl 2285 drivers/net/ethernet/brocade/bna/bna_tx_rx.c rcb_mem = &res_info[BNA_RX_RES_MEM_T_RCB].res_u.mem_info.mdl[0]; mdl 2286 drivers/net/ethernet/brocade/bna/bna_tx_rx.c dqunmap_mem = &res_info[BNA_RX_RES_MEM_T_UNMAPDQ].res_u.mem_info.mdl[0]; mdl 2287 drivers/net/ethernet/brocade/bna/bna_tx_rx.c hqunmap_mem = &res_info[BNA_RX_RES_MEM_T_UNMAPHQ].res_u.mem_info.mdl[0]; mdl 2288 drivers/net/ethernet/brocade/bna/bna_tx_rx.c cqpt_mem = &res_info[BNA_RX_RES_MEM_T_CQPT].res_u.mem_info.mdl[0]; mdl 2289 drivers/net/ethernet/brocade/bna/bna_tx_rx.c cswqpt_mem = &res_info[BNA_RX_RES_MEM_T_CSWQPT].res_u.mem_info.mdl[0]; mdl 2290 drivers/net/ethernet/brocade/bna/bna_tx_rx.c cpage_mem = &res_info[BNA_RX_RES_MEM_T_CQPT_PAGE].res_u.mem_info.mdl[0]; mdl 2291 drivers/net/ethernet/brocade/bna/bna_tx_rx.c hqpt_mem = &res_info[BNA_RX_RES_MEM_T_HQPT].res_u.mem_info.mdl[0]; mdl 2292 drivers/net/ethernet/brocade/bna/bna_tx_rx.c dqpt_mem = &res_info[BNA_RX_RES_MEM_T_DQPT].res_u.mem_info.mdl[0]; mdl 2293 drivers/net/ethernet/brocade/bna/bna_tx_rx.c hsqpt_mem = &res_info[BNA_RX_RES_MEM_T_HSWQPT].res_u.mem_info.mdl[0]; mdl 2294 drivers/net/ethernet/brocade/bna/bna_tx_rx.c dsqpt_mem = &res_info[BNA_RX_RES_MEM_T_DSWQPT].res_u.mem_info.mdl[0]; mdl 2295 drivers/net/ethernet/brocade/bna/bna_tx_rx.c hpage_mem = &res_info[BNA_RX_RES_MEM_T_HPAGE].res_u.mem_info.mdl[0]; mdl 2296 drivers/net/ethernet/brocade/bna/bna_tx_rx.c dpage_mem = &res_info[BNA_RX_RES_MEM_T_DPAGE].res_u.mem_info.mdl[0]; mdl 2361 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_RX_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].dma.lsb; mdl 2363 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_RX_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].dma.msb; mdl 2365 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_RX_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].kva; mdl 3443 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_TX_RES_MEM_T_TCB].res_u.mem_info.mdl[i].kva; mdl 3449 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_TX_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].dma.lsb; mdl 3451 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_TX_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].dma.msb; mdl 3453 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_TX_RES_MEM_T_IBIDX].res_u.mem_info.mdl[i].kva; mdl 3468 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_TX_RES_MEM_T_UNMAPQ].res_u.mem_info.mdl[i].kva; mdl 3480 drivers/net/ethernet/brocade/bna/bna_tx_rx.c &res_info[BNA_TX_RES_MEM_T_QPT].res_u.mem_info.mdl[i], mdl 3481 drivers/net/ethernet/brocade/bna/bna_tx_rx.c &res_info[BNA_TX_RES_MEM_T_SWQPT].res_u.mem_info.mdl[i], mdl 3483 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_u.mem_info.mdl[i]); mdl 3586 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_MOD_RES_MEM_T_TX_ARRAY].res_u.mem_info.mdl[0].kva; mdl 3588 drivers/net/ethernet/brocade/bna/bna_tx_rx.c res_info[BNA_MOD_RES_MEM_T_TXQ_ARRAY].res_u.mem_info.mdl[0].kva; mdl 272 drivers/net/ethernet/brocade/bna/bna_types.h struct bna_mem_descr *mdl; mdl 1317 drivers/net/ethernet/brocade/bna/bnad.c if (mem_info->mdl == NULL) mdl 1321 drivers/net/ethernet/brocade/bna/bnad.c if (mem_info->mdl[i].kva != NULL) { mdl 1323 drivers/net/ethernet/brocade/bna/bnad.c BNA_GET_DMA_ADDR(&(mem_info->mdl[i].dma), mdl 1326 drivers/net/ethernet/brocade/bna/bnad.c mem_info->mdl[i].len, mdl 1327 drivers/net/ethernet/brocade/bna/bnad.c mem_info->mdl[i].kva, dma_pa); mdl 1329 drivers/net/ethernet/brocade/bna/bnad.c kfree(mem_info->mdl[i].kva); mdl 1332 drivers/net/ethernet/brocade/bna/bnad.c kfree(mem_info->mdl); mdl 1333 drivers/net/ethernet/brocade/bna/bnad.c mem_info->mdl = NULL; mdl 1344 drivers/net/ethernet/brocade/bna/bnad.c mem_info->mdl = NULL; mdl 1348 drivers/net/ethernet/brocade/bna/bnad.c mem_info->mdl = kcalloc(mem_info->num, sizeof(struct bna_mem_descr), mdl 1350 drivers/net/ethernet/brocade/bna/bnad.c if (mem_info->mdl == NULL) mdl 1355 drivers/net/ethernet/brocade/bna/bnad.c mem_info->mdl[i].len = mem_info->len; mdl 1356 drivers/net/ethernet/brocade/bna/bnad.c mem_info->mdl[i].kva = mdl 1360 drivers/net/ethernet/brocade/bna/bnad.c if (mem_info->mdl[i].kva == NULL) mdl 1364 drivers/net/ethernet/brocade/bna/bnad.c &(mem_info->mdl[i].dma)); mdl 1368 drivers/net/ethernet/brocade/bna/bnad.c mem_info->mdl[i].len = mem_info->len; mdl 1369 drivers/net/ethernet/brocade/bna/bnad.c mem_info->mdl[i].kva = kzalloc(mem_info->len, mdl 1371 drivers/net/ethernet/brocade/bna/bnad.c if (mem_info->mdl[i].kva == NULL) mdl 1037 sound/drivers/dummy.c struct dummy_model *m = NULL, **mdl; mdl 1047 sound/drivers/dummy.c for (mdl = dummy_models; *mdl && model[dev]; mdl++) { mdl 1048 sound/drivers/dummy.c if (strcmp(model[dev], (*mdl)->name) == 0) { mdl 1051 sound/drivers/dummy.c (*mdl)->name, card->number); mdl 1052 sound/drivers/dummy.c m = dummy->model = *mdl;