Searched refs:trans_info (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ipa/ |
D | gsi_trans.c | 241 channel->trans_info.map[index % channel->tre_ring.count] = trans; in gsi_channel_trans_map() 249 return channel->trans_info.map[index % channel->tre_ring.count]; in gsi_channel_trans_mapped() 255 return list_first_entry_or_null(&channel->trans_info.complete, in gsi_channel_trans_complete() 263 struct gsi_trans_info *trans_info = &channel->trans_info; in gsi_trans_move_pending() local 265 spin_lock_bh(&trans_info->spinlock); in gsi_trans_move_pending() 267 list_move_tail(&trans->links, &trans_info->pending); in gsi_trans_move_pending() 269 spin_unlock_bh(&trans_info->spinlock); in gsi_trans_move_pending() 278 struct gsi_trans_info *trans_info = &channel->trans_info; in gsi_trans_move_complete() local 281 spin_lock_bh(&trans_info->spinlock); in gsi_trans_move_complete() 284 list_cut_position(&list, &trans_info->pending, &trans->links); in gsi_trans_move_complete() [all …]
|
D | ipa_cmd.c | 324 struct gsi_trans_info *trans_info = &channel->trans_info; in ipa_cmd_pool_init() local 335 ret = gsi_trans_pool_init_dma(dev, &trans_info->cmd_pool, in ipa_cmd_pool_init() 342 ret = gsi_trans_pool_init(&trans_info->info_pool, in ipa_cmd_pool_init() 346 gsi_trans_pool_exit_dma(dev, &trans_info->cmd_pool); in ipa_cmd_pool_init() 353 struct gsi_trans_info *trans_info = &channel->trans_info; in ipa_cmd_pool_exit() local 356 gsi_trans_pool_exit(&trans_info->info_pool); in ipa_cmd_pool_exit() 357 gsi_trans_pool_exit_dma(dev, &trans_info->cmd_pool); in ipa_cmd_pool_exit() 363 struct gsi_trans_info *trans_info; in ipa_cmd_payload_alloc() local 367 trans_info = &ipa->gsi.channel[endpoint->channel_id].trans_info; in ipa_cmd_payload_alloc() 369 return gsi_trans_pool_alloc_dma(&trans_info->cmd_pool, addr); in ipa_cmd_payload_alloc() [all …]
|
D | gsi.c | 649 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 1217 trans_info = &channel->trans_info; in gsi_evt_ring_rx_update() 1243 trans = gsi_trans_pool_next(&trans_info->pool, trans); in gsi_evt_ring_rx_update()
|
D | gsi.h | 129 struct gsi_trans_info trans_info; member
|