/kernel/linux/linux-5.10/drivers/media/pci/cx18/ |
H A D | cx18-queue.c | 25 void _cx18_mdl_swap(struct cx18_mdl *mdl) in _cx18_mdl_swap() argument 29 list_for_each_entry(buf, &mdl->buf_list, list) { in _cx18_mdl_swap() 43 struct cx18_queue *_cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, in _cx18_enqueue() argument 46 /* clear the mdl if it is not to be enqueued to the full queue */ in _cx18_enqueue() 48 mdl->bytesused = 0; in _cx18_enqueue() 49 mdl->readpos = 0; in _cx18_enqueue() 50 mdl->m_flags = 0; in _cx18_enqueue() 51 mdl->skipped = 0; in _cx18_enqueue() 52 mdl->curr_buf = NULL; in _cx18_enqueue() 63 list_add(&mdl in _cx18_enqueue() 75 struct cx18_mdl *mdl = NULL; cx18_dequeue() local 89 _cx18_mdl_update_bufs_for_cpu(struct cx18_stream *s, struct cx18_mdl *mdl) _cx18_mdl_update_bufs_for_cpu() argument 109 cx18_mdl_update_bufs_for_cpu(struct cx18_stream *s, struct cx18_mdl *mdl) cx18_mdl_update_bufs_for_cpu() argument 129 struct cx18_mdl *mdl; cx18_queue_get_mdl() local 198 struct cx18_mdl *mdl; cx18_queue_flush() local 234 struct cx18_mdl *mdl; cx18_unload_queues() local 265 struct cx18_mdl *mdl; cx18_load_queues() local 320 _cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl) _cx18_mdl_sync_for_device() argument 360 struct cx18_mdl *mdl; cx18_stream_alloc() local 404 struct cx18_mdl *mdl; cx18_stream_free() local [all...] |
H A D | cx18-queue.h | 29 void _cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl); 32 struct cx18_mdl *mdl) in cx18_mdl_sync_for_device() 34 if (list_is_singular(&mdl->buf_list)) in cx18_mdl_sync_for_device() 35 cx18_buf_sync_for_device(s, list_first_entry(&mdl->buf_list, in cx18_mdl_sync_for_device() 39 _cx18_mdl_sync_for_device(s, mdl); in cx18_mdl_sync_for_device() 43 void _cx18_mdl_swap(struct cx18_mdl *mdl); 45 static inline void cx18_mdl_swap(struct cx18_mdl *mdl) in cx18_mdl_swap() argument 47 if (list_is_singular(&mdl->buf_list)) in cx18_mdl_swap() 48 cx18_buf_swap(list_first_entry(&mdl->buf_list, in cx18_mdl_swap() 51 _cx18_mdl_swap(mdl); in cx18_mdl_swap() 31 cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl) cx18_mdl_sync_for_device() argument 59 cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, struct cx18_queue *q) cx18_enqueue() argument 66 cx18_push(struct cx18_stream *s, struct cx18_mdl *mdl, struct cx18_queue *q) cx18_push() argument [all...] |
H A D | cx18-fileops.c | 174 struct cx18_mdl *mdl; in cx18_get_mdl() local 187 while ((mdl = cx18_dequeue(s_vbi, in cx18_get_mdl() 190 cx18_process_vbi_data(cx, mdl, in cx18_get_mdl() 192 cx18_stream_put_mdl_fw(s_vbi, mdl); in cx18_get_mdl() 195 mdl = &cx->vbi.sliced_mpeg_mdl; in cx18_get_mdl() 196 if (mdl->readpos != mdl->bytesused) in cx18_get_mdl() 197 return mdl; in cx18_get_mdl() 201 mdl = cx18_dequeue(s, &s->q_full); in cx18_get_mdl() 202 if (mdl) { in cx18_get_mdl() 246 struct cx18_mdl *mdl = &cx->vbi.sliced_mpeg_mdl; cx18_setup_sliced_vbi_mdl() local 363 cx18_copy_mdl_to_user(struct cx18_stream *s, struct cx18_mdl *mdl, char __user *ubuf, size_t ucount) cx18_copy_mdl_to_user() argument 426 struct cx18_mdl *mdl; cx18_read() local [all...] |
H A D | cx18-mailbox.c | 122 static void cx18_mdl_send_to_dvb(struct cx18_stream *s, struct cx18_mdl *mdl) in cx18_mdl_send_to_dvb() argument 126 if (s->dvb == NULL || !s->dvb->enabled || mdl->bytesused == 0) in cx18_mdl_send_to_dvb() 129 /* We ignore mdl and buf readpos accounting here - it doesn't matter */ in cx18_mdl_send_to_dvb() 132 if (list_is_singular(&mdl->buf_list)) { in cx18_mdl_send_to_dvb() 133 buf = list_first_entry(&mdl->buf_list, struct cx18_buffer, in cx18_mdl_send_to_dvb() 141 list_for_each_entry(buf, &mdl->buf_list, list) { in cx18_mdl_send_to_dvb() 149 struct cx18_mdl *mdl) in cx18_mdl_send_to_videobuf() 157 if (mdl->bytesused == 0) in cx18_mdl_send_to_videobuf() 173 list_for_each_entry(buf, &mdl->buf_list, list) { in cx18_mdl_send_to_videobuf() 204 struct cx18_mdl *mdl) in cx18_mdl_send_to_alsa() 148 cx18_mdl_send_to_videobuf(struct cx18_stream *s, struct cx18_mdl *mdl) cx18_mdl_send_to_videobuf() argument 203 cx18_mdl_send_to_alsa(struct cx18 *cx, struct cx18_stream *s, struct cx18_mdl *mdl) cx18_mdl_send_to_alsa() argument 236 struct cx18_mdl *mdl; epu_dma_done() local [all...] |
H A D | cx18-ioctl.c | 724 static int cx18_process_idx_data(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_process_idx_data() argument 730 if (mdl->curr_buf == NULL) in cx18_process_idx_data() 731 mdl->curr_buf = list_first_entry(&mdl->buf_list, in cx18_process_idx_data() 734 if (list_entry_is_past_end(mdl->curr_buf, &mdl->buf_list, list)) { in cx18_process_idx_data() 740 mdl->readpos = mdl->bytesused; in cx18_process_idx_data() 744 list_for_each_entry_from(mdl->curr_buf, &mdl in cx18_process_idx_data() 767 struct cx18_mdl *mdl; cx18_g_enc_index() local [all...] |
H A D | cx18-streams.c | 650 struct cx18_mdl *mdl; in cx18_stream_rotate_idx_mdls() local 668 mdl = cx18_dequeue(s, &s->q_full); in cx18_stream_rotate_idx_mdls() 669 if (mdl != NULL) in cx18_stream_rotate_idx_mdls() 670 cx18_enqueue(s, mdl, &s->q_free); in cx18_stream_rotate_idx_mdls() 675 struct cx18_mdl *mdl) in _cx18_stream_put_mdl_fw() 684 return cx18_enqueue(s, mdl, &s->q_free); in _cx18_stream_put_mdl_fw() 686 q = cx18_enqueue(s, mdl, &s->q_busy); in _cx18_stream_put_mdl_fw() 690 cx18_mdl_sync_for_device(s, mdl); in _cx18_stream_put_mdl_fw() 692 (void __iomem *) &cx->scb->cpu_mdl[mdl->id] - cx->enc_mem, in _cx18_stream_put_mdl_fw() 693 s->bufs_per_mdl, mdl in _cx18_stream_put_mdl_fw() 674 _cx18_stream_put_mdl_fw(struct cx18_stream *s, struct cx18_mdl *mdl) _cx18_stream_put_mdl_fw() argument 701 struct cx18_mdl *mdl; _cx18_stream_load_fw_queue() local [all...] |
H A D | cx18-streams.h | 35 struct cx18_mdl *mdl) in cx18_stream_put_mdl_fw() 37 /* Put mdl on q_free; the out work handler will move mdl(s) to q_busy */ in cx18_stream_put_mdl_fw() 38 cx18_enqueue(s, mdl, &s->q_free); in cx18_stream_put_mdl_fw() 34 cx18_stream_put_mdl_fw(struct cx18_stream *s, struct cx18_mdl *mdl) cx18_stream_put_mdl_fw() argument
|
H A D | cx18-vbi.c | 237 void cx18_process_vbi_data(struct cx18 *cx, struct cx18_mdl *mdl, in cx18_process_vbi_data() argument 256 list_for_each_entry(buf, &mdl->buf_list, list) { in cx18_process_vbi_data() 261 mdl->bytesused -= (orig_used - buf->bytesused); in cx18_process_vbi_data()
|
/kernel/linux/linux-6.6/drivers/media/pci/cx18/ |
H A D | cx18-queue.c | 25 void _cx18_mdl_swap(struct cx18_mdl *mdl) in _cx18_mdl_swap() argument 29 list_for_each_entry(buf, &mdl->buf_list, list) { in _cx18_mdl_swap() 43 struct cx18_queue *_cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, in _cx18_enqueue() argument 46 /* clear the mdl if it is not to be enqueued to the full queue */ in _cx18_enqueue() 48 mdl->bytesused = 0; in _cx18_enqueue() 49 mdl->readpos = 0; in _cx18_enqueue() 50 mdl->m_flags = 0; in _cx18_enqueue() 51 mdl->skipped = 0; in _cx18_enqueue() 52 mdl->curr_buf = NULL; in _cx18_enqueue() 63 list_add(&mdl in _cx18_enqueue() 75 struct cx18_mdl *mdl = NULL; cx18_dequeue() local 89 _cx18_mdl_update_bufs_for_cpu(struct cx18_stream *s, struct cx18_mdl *mdl) _cx18_mdl_update_bufs_for_cpu() argument 109 cx18_mdl_update_bufs_for_cpu(struct cx18_stream *s, struct cx18_mdl *mdl) cx18_mdl_update_bufs_for_cpu() argument 129 struct cx18_mdl *mdl; cx18_queue_get_mdl() local 198 struct cx18_mdl *mdl; cx18_queue_flush() local 234 struct cx18_mdl *mdl; cx18_unload_queues() local 265 struct cx18_mdl *mdl; cx18_load_queues() local 320 _cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl) _cx18_mdl_sync_for_device() argument 360 struct cx18_mdl *mdl; cx18_stream_alloc() local 405 struct cx18_mdl *mdl; cx18_stream_free() local [all...] |
H A D | cx18-queue.h | 29 void _cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl); 32 struct cx18_mdl *mdl) in cx18_mdl_sync_for_device() 34 if (list_is_singular(&mdl->buf_list)) in cx18_mdl_sync_for_device() 35 cx18_buf_sync_for_device(s, list_first_entry(&mdl->buf_list, in cx18_mdl_sync_for_device() 39 _cx18_mdl_sync_for_device(s, mdl); in cx18_mdl_sync_for_device() 43 void _cx18_mdl_swap(struct cx18_mdl *mdl); 45 static inline void cx18_mdl_swap(struct cx18_mdl *mdl) in cx18_mdl_swap() argument 47 if (list_is_singular(&mdl->buf_list)) in cx18_mdl_swap() 48 cx18_buf_swap(list_first_entry(&mdl->buf_list, in cx18_mdl_swap() 51 _cx18_mdl_swap(mdl); in cx18_mdl_swap() 31 cx18_mdl_sync_for_device(struct cx18_stream *s, struct cx18_mdl *mdl) cx18_mdl_sync_for_device() argument 59 cx18_enqueue(struct cx18_stream *s, struct cx18_mdl *mdl, struct cx18_queue *q) cx18_enqueue() argument 66 cx18_push(struct cx18_stream *s, struct cx18_mdl *mdl, struct cx18_queue *q) cx18_push() argument [all...] |
H A D | cx18-fileops.c | 174 struct cx18_mdl *mdl; in cx18_get_mdl() local 187 while ((mdl = cx18_dequeue(s_vbi, in cx18_get_mdl() 190 cx18_process_vbi_data(cx, mdl, in cx18_get_mdl() 192 cx18_stream_put_mdl_fw(s_vbi, mdl); in cx18_get_mdl() 195 mdl = &cx->vbi.sliced_mpeg_mdl; in cx18_get_mdl() 196 if (mdl->readpos != mdl->bytesused) in cx18_get_mdl() 197 return mdl; in cx18_get_mdl() 201 mdl = cx18_dequeue(s, &s->q_full); in cx18_get_mdl() 202 if (mdl) { in cx18_get_mdl() 246 struct cx18_mdl *mdl = &cx->vbi.sliced_mpeg_mdl; cx18_setup_sliced_vbi_mdl() local 363 cx18_copy_mdl_to_user(struct cx18_stream *s, struct cx18_mdl *mdl, char __user *ubuf, size_t ucount) cx18_copy_mdl_to_user() argument 426 struct cx18_mdl *mdl; cx18_read() local [all...] |
H A D | cx18-mailbox.c | 122 static void cx18_mdl_send_to_dvb(struct cx18_stream *s, struct cx18_mdl *mdl) in cx18_mdl_send_to_dvb() argument 126 if (s->dvb == NULL || !s->dvb->enabled || mdl->bytesused == 0) in cx18_mdl_send_to_dvb() 129 /* We ignore mdl and buf readpos accounting here - it doesn't matter */ in cx18_mdl_send_to_dvb() 132 if (list_is_singular(&mdl->buf_list)) { in cx18_mdl_send_to_dvb() 133 buf = list_first_entry(&mdl->buf_list, struct cx18_buffer, in cx18_mdl_send_to_dvb() 141 list_for_each_entry(buf, &mdl->buf_list, list) { in cx18_mdl_send_to_dvb() 148 static void cx18_mdl_send_to_vb2(struct cx18_stream *s, struct cx18_mdl *mdl) in cx18_mdl_send_to_vb2() argument 157 if (mdl->bytesused == 0) in cx18_mdl_send_to_vb2() 174 list_for_each_entry(buf, &mdl->buf_list, list) { in cx18_mdl_send_to_vb2() 205 struct cx18_mdl *mdl) in cx18_mdl_send_to_alsa() 204 cx18_mdl_send_to_alsa(struct cx18 *cx, struct cx18_stream *s, struct cx18_mdl *mdl) cx18_mdl_send_to_alsa() argument 237 struct cx18_mdl *mdl; epu_dma_done() local [all...] |
H A D | cx18-ioctl.c | 757 static int cx18_process_idx_data(struct cx18_stream *s, struct cx18_mdl *mdl, in cx18_process_idx_data() argument 763 if (mdl->curr_buf == NULL) in cx18_process_idx_data() 764 mdl->curr_buf = list_first_entry(&mdl->buf_list, in cx18_process_idx_data() 767 if (list_entry_is_past_end(mdl->curr_buf, &mdl->buf_list, list)) { in cx18_process_idx_data() 773 mdl->readpos = mdl->bytesused; in cx18_process_idx_data() 777 list_for_each_entry_from(mdl->curr_buf, &mdl in cx18_process_idx_data() 800 struct cx18_mdl *mdl; cx18_g_enc_index() local [all...] |
H A D | cx18-streams.c | 662 struct cx18_mdl *mdl; in cx18_stream_rotate_idx_mdls() local 680 mdl = cx18_dequeue(s, &s->q_full); in cx18_stream_rotate_idx_mdls() 681 if (mdl != NULL) in cx18_stream_rotate_idx_mdls() 682 cx18_enqueue(s, mdl, &s->q_free); in cx18_stream_rotate_idx_mdls() 687 struct cx18_mdl *mdl) in _cx18_stream_put_mdl_fw() 696 return cx18_enqueue(s, mdl, &s->q_free); in _cx18_stream_put_mdl_fw() 698 q = cx18_enqueue(s, mdl, &s->q_busy); in _cx18_stream_put_mdl_fw() 702 cx18_mdl_sync_for_device(s, mdl); in _cx18_stream_put_mdl_fw() 704 (void __iomem *) &cx->scb->cpu_mdl[mdl->id] - cx->enc_mem, in _cx18_stream_put_mdl_fw() 705 s->bufs_per_mdl, mdl in _cx18_stream_put_mdl_fw() 686 _cx18_stream_put_mdl_fw(struct cx18_stream *s, struct cx18_mdl *mdl) _cx18_stream_put_mdl_fw() argument 713 struct cx18_mdl *mdl; _cx18_stream_load_fw_queue() local [all...] |
H A D | cx18-streams.h | 35 struct cx18_mdl *mdl) in cx18_stream_put_mdl_fw() 37 /* Put mdl on q_free; the out work handler will move mdl(s) to q_busy */ in cx18_stream_put_mdl_fw() 38 cx18_enqueue(s, mdl, &s->q_free); in cx18_stream_put_mdl_fw() 34 cx18_stream_put_mdl_fw(struct cx18_stream *s, struct cx18_mdl *mdl) cx18_stream_put_mdl_fw() argument
|
H A D | cx18-vbi.c | 237 void cx18_process_vbi_data(struct cx18 *cx, struct cx18_mdl *mdl, in cx18_process_vbi_data() argument 256 list_for_each_entry(buf, &mdl->buf_list, list) { in cx18_process_vbi_data() 261 mdl->bytesused -= (orig_used - buf->bytesused); in cx18_process_vbi_data()
|
/kernel/linux/linux-6.6/tools/testing/selftests/net/forwarding/ |
H A D | tc_flower_cfm.sh | 40 local mdl=$1; shift 46 )"$(u8_to_hex $((mdl << 5))):"$( : MD level and Version 97 flower cfm mdl 5 action drop 99 flower cfm mdl 3 action drop 101 flower cfm mdl 0 action drop 144 flower cfm mdl 5 op 41 action drop 146 flower cfm mdl 7 op 42 action drop
|
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
H A D | bna_tx_rx.c | 628 res_info[BNA_RX_RES_MEM_T_RIT].res_u.mem_info.mdl[0].kva; in bna_rxf_init() 2035 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init() 2037 res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init() 2039 res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init() 2284 ccb_mem = &res_info[BNA_RX_RES_MEM_T_CCB].res_u.mem_info.mdl[0]; in bna_rx_create() 2285 rcb_mem = &res_info[BNA_RX_RES_MEM_T_RCB].res_u.mem_info.mdl[0]; in bna_rx_create() 2286 dqunmap_mem = &res_info[BNA_RX_RES_MEM_T_UNMAPDQ].res_u.mem_info.mdl[0]; in bna_rx_create() 2287 hqunmap_mem = &res_info[BNA_RX_RES_MEM_T_UNMAPHQ].res_u.mem_info.mdl[0]; in bna_rx_create() 2288 cqpt_mem = &res_info[BNA_RX_RES_MEM_T_CQPT].res_u.mem_info.mdl[0]; in bna_rx_create() 2289 cswqpt_mem = &res_info[BNA_RX_RES_MEM_T_CSWQPT].res_u.mem_info.mdl[ in bna_rx_create() [all...] |
H A D | bna_enet.c | 1705 &res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].dma, dma); in bna_ioceth_init() 1706 kva = res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1709 kva = res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1717 &res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].dma, dma); in bna_ioceth_init() 1718 kva = res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1784 res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_u.mem_info.mdl[0].kva; in bna_ucam_mod_init() 1811 res_info[BNA_MOD_RES_MEM_T_MCMAC_ARRAY].res_u.mem_info.mdl[0].kva; in bna_mcam_mod_init() 1818 res_info[BNA_MOD_RES_MEM_T_MCHANDLE_ARRAY].res_u.mem_info.mdl[0].kva; in bna_mcam_mod_init() 1973 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mdl[0].kva; in bna_init() 1975 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mdl[ in bna_init() [all...] |
H A D | bnad.c | 1317 if (mem_info->mdl == NULL) in bnad_mem_free() 1321 if (mem_info->mdl[i].kva != NULL) { in bnad_mem_free() 1323 BNA_GET_DMA_ADDR(&(mem_info->mdl[i].dma), in bnad_mem_free() 1326 mem_info->mdl[i].len, in bnad_mem_free() 1327 mem_info->mdl[i].kva, dma_pa); in bnad_mem_free() 1329 kfree(mem_info->mdl[i].kva); in bnad_mem_free() 1332 kfree(mem_info->mdl); in bnad_mem_free() 1333 mem_info->mdl = NULL; in bnad_mem_free() 1344 mem_info->mdl = NULL; in bnad_mem_alloc() 1348 mem_info->mdl in bnad_mem_alloc() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/ |
H A D | bna_tx_rx.c | 628 res_info[BNA_RX_RES_MEM_T_RIT].res_u.mem_info.mdl[0].kva; in bna_rxf_init() 2035 res_info[BNA_MOD_RES_MEM_T_RX_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init() 2037 res_info[BNA_MOD_RES_MEM_T_RXP_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init() 2039 res_info[BNA_MOD_RES_MEM_T_RXQ_ARRAY].res_u.mem_info.mdl[0].kva; in bna_rx_mod_init() 2284 ccb_mem = &res_info[BNA_RX_RES_MEM_T_CCB].res_u.mem_info.mdl[0]; in bna_rx_create() 2285 rcb_mem = &res_info[BNA_RX_RES_MEM_T_RCB].res_u.mem_info.mdl[0]; in bna_rx_create() 2286 dqunmap_mem = &res_info[BNA_RX_RES_MEM_T_UNMAPDQ].res_u.mem_info.mdl[0]; in bna_rx_create() 2287 hqunmap_mem = &res_info[BNA_RX_RES_MEM_T_UNMAPHQ].res_u.mem_info.mdl[0]; in bna_rx_create() 2288 cqpt_mem = &res_info[BNA_RX_RES_MEM_T_CQPT].res_u.mem_info.mdl[0]; in bna_rx_create() 2289 cswqpt_mem = &res_info[BNA_RX_RES_MEM_T_CSWQPT].res_u.mem_info.mdl[ in bna_rx_create() [all...] |
H A D | bna_enet.c | 1705 &res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].dma, dma); in bna_ioceth_init() 1706 kva = res_info[BNA_RES_MEM_T_ATTR].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1709 kva = res_info[BNA_RES_MEM_T_FWTRC].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1717 &res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].dma, dma); in bna_ioceth_init() 1718 kva = res_info[BNA_RES_MEM_T_COM].res_u.mem_info.mdl[0].kva; in bna_ioceth_init() 1784 res_info[BNA_MOD_RES_MEM_T_UCMAC_ARRAY].res_u.mem_info.mdl[0].kva; in bna_ucam_mod_init() 1811 res_info[BNA_MOD_RES_MEM_T_MCMAC_ARRAY].res_u.mem_info.mdl[0].kva; in bna_mcam_mod_init() 1818 res_info[BNA_MOD_RES_MEM_T_MCHANDLE_ARRAY].res_u.mem_info.mdl[0].kva; in bna_mcam_mod_init() 1973 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mdl[0].kva; in bna_init() 1975 res_info[BNA_RES_MEM_T_STATS].res_u.mem_info.mdl[ in bna_init() [all...] |
H A D | bnad.c | 1316 if (mem_info->mdl == NULL) in bnad_mem_free() 1320 if (mem_info->mdl[i].kva != NULL) { in bnad_mem_free() 1322 BNA_GET_DMA_ADDR(&(mem_info->mdl[i].dma), in bnad_mem_free() 1325 mem_info->mdl[i].len, in bnad_mem_free() 1326 mem_info->mdl[i].kva, dma_pa); in bnad_mem_free() 1328 kfree(mem_info->mdl[i].kva); in bnad_mem_free() 1331 kfree(mem_info->mdl); in bnad_mem_free() 1332 mem_info->mdl = NULL; in bnad_mem_free() 1343 mem_info->mdl = NULL; in bnad_mem_alloc() 1347 mem_info->mdl in bnad_mem_alloc() [all...] |
/kernel/linux/linux-5.10/sound/drivers/ |
H A D | dummy.c | 1025 const struct dummy_model *m = NULL, **mdl; in snd_dummy_probe() local 1035 for (mdl = dummy_models; *mdl && model[dev]; mdl++) { in snd_dummy_probe() 1036 if (strcmp(model[dev], (*mdl)->name) == 0) { in snd_dummy_probe() 1039 (*mdl)->name, card->number); in snd_dummy_probe() 1040 m = dummy->model = *mdl; in snd_dummy_probe()
|
/kernel/linux/linux-6.6/sound/drivers/ |
H A D | dummy.c | 1024 const struct dummy_model *m = NULL, **mdl; in snd_dummy_probe() local 1034 for (mdl = dummy_models; *mdl && model[dev]; mdl++) { in snd_dummy_probe() 1035 if (strcmp(model[dev], (*mdl)->name) == 0) { in snd_dummy_probe() 1038 (*mdl)->name, card->number); in snd_dummy_probe() 1039 m = dummy->model = *mdl; in snd_dummy_probe()
|