Searched refs:tre_count (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.10/drivers/net/ipa/ |
D | gsi_trans.c | 306 gsi_trans_tre_reserve(struct gsi_trans_info *trans_info, u32 tre_count) in gsi_trans_tre_reserve() argument 312 new = avail - (int)tre_count; in gsi_trans_tre_reserve() 322 gsi_trans_tre_release(struct gsi_trans_info *trans_info, u32 tre_count) in gsi_trans_tre_release() argument 324 atomic_add(tre_count, &trans_info->tre_avail); in gsi_trans_tre_release() 329 u32 tre_count, in gsi_channel_trans_alloc() argument 343 if (!gsi_trans_tre_reserve(trans_info, tre_count)) in gsi_channel_trans_alloc() 350 trans->tre_count = tre_count; in gsi_channel_trans_alloc() 354 trans->sgl = gsi_trans_pool_alloc(&trans_info->sg_pool, tre_count); in gsi_channel_trans_alloc() 355 sg_init_marker(trans->sgl, tre_count); in gsi_channel_trans_alloc() 400 gsi_trans_tre_release(trans_info, trans->tre_count); in gsi_trans_free() [all …]
|
D | ipa_data-sc7180.c | 20 .tre_count = 256, 38 .tre_count = 256, 59 .tre_count = 512, 84 .tre_count = 256,
|
D | ipa_data-sdm845.c | 22 .tre_count = 512, 40 .tre_count = 256, 61 .tre_count = 512, 86 .tre_count = 256,
|
D | ipa_cmd.h | 100 int ipa_cmd_pool_init(struct gsi_channel *gsi_channel, u32 tre_count); 190 struct gsi_trans *ipa_cmd_trans_alloc(struct ipa *ipa, u32 tre_count);
|
D | gsi_trans.h | 55 u8 tre_count; /* # TREs requested */ member 141 u32 tre_count,
|
D | gsi.c | 1791 if (data->channel.tre_count < 2 * data->channel.tlv_count - 1) { in gsi_channel_data_valid() 1794 data->channel.tre_count); in gsi_channel_data_valid() 1798 if (!is_power_of_2(data->channel.tre_count)) { in gsi_channel_data_valid() 1800 channel_id, data->channel.tre_count); in gsi_channel_data_valid() 1820 u32 tre_count; in gsi_channel_init_one() local 1827 if (data->channel.tre_count > data->channel.event_count) { in gsi_channel_init_one() 1828 tre_count = data->channel.event_count; in gsi_channel_init_one() 1830 data->channel_id, tre_count); in gsi_channel_init_one() 1832 tre_count = data->channel.tre_count; in gsi_channel_init_one() 1843 channel->tre_count = tre_count; in gsi_channel_init_one() [all …]
|
D | ipa_cmd.c | 605 ipa_cmd_info_alloc(struct ipa_endpoint *endpoint, u32 tre_count) in ipa_cmd_info_alloc() argument 611 return gsi_trans_pool_alloc(&channel->trans_info.info_pool, tre_count); in ipa_cmd_info_alloc() 615 struct gsi_trans *ipa_cmd_trans_alloc(struct ipa *ipa, u32 tre_count) in ipa_cmd_trans_alloc() argument 623 tre_count, DMA_NONE); in ipa_cmd_trans_alloc() 625 trans->info = ipa_cmd_info_alloc(endpoint, tre_count); in ipa_cmd_trans_alloc()
|
D | ipa_data.h | 75 u16 tre_count; member
|
D | gsi.h | 113 u16 tre_count; member
|
D | ipa_endpoint.c | 235 u32 tre_count) in ipa_endpoint_trans_alloc() argument 243 return gsi_channel_trans_alloc(gsi, channel_id, tre_count, direction); in ipa_endpoint_trans_alloc()
|