Home
last modified time | relevance | path

Searched refs:trans_info (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ipa/
Dgsi_trans.c238 channel->trans_info.map[index % channel->tre_ring.count] = trans; in gsi_channel_trans_map()
246 return channel->trans_info.map[index % channel->tre_ring.count]; in gsi_channel_trans_mapped()
252 return list_first_entry_or_null(&channel->trans_info.complete, in gsi_channel_trans_complete()
260 struct gsi_trans_info *trans_info = &channel->trans_info; in gsi_trans_move_pending() local
262 spin_lock_bh(&trans_info->spinlock); in gsi_trans_move_pending()
264 list_move_tail(&trans->links, &trans_info->pending); in gsi_trans_move_pending()
266 spin_unlock_bh(&trans_info->spinlock); in gsi_trans_move_pending()
275 struct gsi_trans_info *trans_info = &channel->trans_info; in gsi_trans_move_complete() local
278 spin_lock_bh(&trans_info->spinlock); in gsi_trans_move_complete()
281 list_cut_position(&list, &trans_info->pending, &trans->links); in gsi_trans_move_complete()
[all …]
Dipa_cmd.c351 struct gsi_trans_info *trans_info = &channel->trans_info; in ipa_cmd_pool_init() local
362 ret = gsi_trans_pool_init_dma(dev, &trans_info->cmd_pool, in ipa_cmd_pool_init()
369 ret = gsi_trans_pool_init(&trans_info->info_pool, in ipa_cmd_pool_init()
373 gsi_trans_pool_exit_dma(dev, &trans_info->cmd_pool); in ipa_cmd_pool_init()
380 struct gsi_trans_info *trans_info = &channel->trans_info; in ipa_cmd_pool_exit() local
383 gsi_trans_pool_exit(&trans_info->info_pool); in ipa_cmd_pool_exit()
384 gsi_trans_pool_exit_dma(dev, &trans_info->cmd_pool); in ipa_cmd_pool_exit()
390 struct gsi_trans_info *trans_info; in ipa_cmd_payload_alloc() local
394 trans_info = &ipa->gsi.channel[endpoint->channel_id].trans_info; in ipa_cmd_payload_alloc()
396 return gsi_trans_pool_alloc_dma(&trans_info->cmd_pool, addr); in ipa_cmd_payload_alloc()
[all …]
Dgsi.c712 struct gsi_trans_info *trans_info = &channel->trans_info; in gsi_channel_trans_last() local
716 spin_lock_bh(&trans_info->spinlock); in gsi_channel_trans_last()
722 list = &trans_info->alloc; in gsi_channel_trans_last()
725 list = &trans_info->pending; in gsi_channel_trans_last()
733 list = &trans_info->complete; in gsi_channel_trans_last()
736 list = &trans_info->polled; in gsi_channel_trans_last()
746 spin_unlock_bh(&trans_info->spinlock); in gsi_channel_trans_last()
1369 struct gsi_trans_info *trans_info; in gsi_evt_ring_rx_update() local
1378 trans_info = &channel->trans_info; in gsi_evt_ring_rx_update()
1404 trans = gsi_trans_pool_next(&trans_info->pool, trans); in gsi_evt_ring_rx_update()
Dgsi.h130 struct gsi_trans_info trans_info; member