Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ipa/
Dgsi_trans.c242 channel->trans_info.map[index % channel->tre_ring.count] = trans; in gsi_channel_trans_map()
250 return channel->trans_info.map[index % channel->tre_ring.count]; in gsi_channel_trans_mapped()
256 return list_first_entry_or_null(&channel->trans_info.complete, in gsi_channel_trans_complete()
264 struct gsi_trans_info *trans_info = &channel->trans_info; in gsi_trans_move_pending() local
266 spin_lock_bh(&trans_info->spinlock); in gsi_trans_move_pending()
268 list_move_tail(&trans->links, &trans_info->pending); in gsi_trans_move_pending()
270 spin_unlock_bh(&trans_info->spinlock); in gsi_trans_move_pending()
279 struct gsi_trans_info *trans_info = &channel->trans_info; in gsi_trans_move_complete() local
282 spin_lock_bh(&trans_info->spinlock); in gsi_trans_move_complete()
285 list_cut_position(&list, &trans_info->pending, &trans->links); in gsi_trans_move_complete()
[all …]
Dipa_cmd.c292 struct gsi_trans_info *trans_info = &channel->trans_info; in ipa_cmd_pool_init() local
303 ret = gsi_trans_pool_init_dma(dev, &trans_info->cmd_pool, in ipa_cmd_pool_init()
310 ret = gsi_trans_pool_init(&trans_info->info_pool, in ipa_cmd_pool_init()
314 gsi_trans_pool_exit_dma(dev, &trans_info->cmd_pool); in ipa_cmd_pool_init()
321 struct gsi_trans_info *trans_info = &channel->trans_info; in ipa_cmd_pool_exit() local
324 gsi_trans_pool_exit(&trans_info->info_pool); in ipa_cmd_pool_exit()
325 gsi_trans_pool_exit_dma(dev, &trans_info->cmd_pool); in ipa_cmd_pool_exit()
331 struct gsi_trans_info *trans_info; in ipa_cmd_payload_alloc() local
335 trans_info = &ipa->gsi.channel[endpoint->channel_id].trans_info; in ipa_cmd_payload_alloc()
337 return gsi_trans_pool_alloc_dma(&trans_info->cmd_pool, addr); in ipa_cmd_payload_alloc()
[all …]
Dgsi.c649 struct gsi_trans_info *trans_info = &channel->trans_info; in gsi_channel_trans_last() local
652 spin_lock_bh(&trans_info->spinlock); in gsi_channel_trans_last()
654 if (!list_empty(&trans_info->complete)) in gsi_channel_trans_last()
655 trans = list_last_entry(&trans_info->complete, in gsi_channel_trans_last()
657 else if (!list_empty(&trans_info->polled)) in gsi_channel_trans_last()
658 trans = list_last_entry(&trans_info->polled, in gsi_channel_trans_last()
667 spin_unlock_bh(&trans_info->spinlock); in gsi_channel_trans_last()
1208 struct gsi_trans_info *trans_info; in gsi_evt_ring_rx_update() local
1216 trans_info = &channel->trans_info; in gsi_evt_ring_rx_update()
1241 trans = gsi_trans_pool_next(&trans_info->pool, trans); in gsi_evt_ring_rx_update()
Dgsi.h129 struct gsi_trans_info trans_info; member