Searched refs:tre_count (Results 1 – 14 of 14) sorted by relevance
/drivers/net/ipa/ |
D | gsi_trans.c | 302 gsi_trans_tre_reserve(struct gsi_trans_info *trans_info, u32 tre_count) in gsi_trans_tre_reserve() argument 308 new = avail - (int)tre_count; in gsi_trans_tre_reserve() 318 gsi_trans_tre_release(struct gsi_trans_info *trans_info, u32 tre_count) in gsi_trans_tre_release() argument 320 atomic_add(tre_count, &trans_info->tre_avail); in gsi_trans_tre_release() 325 u32 tre_count, in gsi_channel_trans_alloc() argument 332 if (WARN_ON(tre_count > gsi_channel_trans_tre_max(gsi, channel_id))) in gsi_channel_trans_alloc() 340 if (!gsi_trans_tre_reserve(trans_info, tre_count)) in gsi_channel_trans_alloc() 347 trans->tre_count = tre_count; in gsi_channel_trans_alloc() 351 trans->sgl = gsi_trans_pool_alloc(&trans_info->sg_pool, tre_count); in gsi_channel_trans_alloc() 352 sg_init_marker(trans->sgl, tre_count); in gsi_channel_trans_alloc() [all …]
|
D | ipa_data-v4.2.c | 54 .tre_count = 256, 75 .tre_count = 256, 96 .tre_count = 512, 122 .tre_count = 256,
|
D | ipa_data-v4.11.c | 58 .tre_count = 256, 79 .tre_count = 256, 100 .tre_count = 512, 125 .tre_count = 256,
|
D | ipa_data-v3.5.1.c | 64 .tre_count = 512, 85 .tre_count = 256, 106 .tre_count = 512, 132 .tre_count = 256,
|
D | ipa_data-v4.5.c | 67 .tre_count = 256, 88 .tre_count = 256, 109 .tre_count = 512, 134 .tre_count = 256,
|
D | ipa_data-v4.9.c | 59 .tre_count = 256, 80 .tre_count = 256, 101 .tre_count = 512, 126 .tre_count = 256,
|
D | ipa_cmd.h | 86 int ipa_cmd_pool_init(struct gsi_channel *channel, u32 tre_count); 174 struct gsi_trans *ipa_cmd_trans_alloc(struct ipa *ipa, u32 tre_count);
|
D | ipa_data-v3.1.c | 73 .tre_count = 256, 94 .tre_count = 256, 115 .tre_count = 512, 140 .tre_count = 256,
|
D | gsi_trans.h | 56 u8 tre_count; /* # TREs requested */ member 143 u32 tre_count,
|
D | gsi.c | 2022 if (data->channel.tre_count < 2 * data->channel.tlv_count - 1) { in gsi_channel_data_valid() 2025 data->channel.tre_count); in gsi_channel_data_valid() 2029 if (!is_power_of_2(data->channel.tre_count)) { in gsi_channel_data_valid() 2031 channel_id, data->channel.tre_count); in gsi_channel_data_valid() 2050 u32 tre_count; in gsi_channel_init_one() local 2057 if (data->channel.tre_count > data->channel.event_count) { in gsi_channel_init_one() 2058 tre_count = data->channel.event_count; in gsi_channel_init_one() 2060 data->channel_id, tre_count); in gsi_channel_init_one() 2062 tre_count = data->channel.tre_count; in gsi_channel_init_one() 2072 channel->tre_count = tre_count; in gsi_channel_init_one() [all …]
|
D | ipa_cmd.c | 665 ipa_cmd_info_alloc(struct ipa_endpoint *endpoint, u32 tre_count) in ipa_cmd_info_alloc() argument 671 return gsi_trans_pool_alloc(&channel->trans_info.info_pool, tre_count); in ipa_cmd_info_alloc() 675 struct gsi_trans *ipa_cmd_trans_alloc(struct ipa *ipa, u32 tre_count) in ipa_cmd_trans_alloc() argument 683 tre_count, DMA_NONE); in ipa_cmd_trans_alloc() 685 trans->info = ipa_cmd_info_alloc(endpoint, tre_count); in ipa_cmd_trans_alloc()
|
D | ipa_data.h | 93 u16 tre_count; /* must be a power of 2 */ member
|
D | gsi.h | 114 u16 tre_count; member
|
D | ipa_endpoint.c | 228 u32 tre_count) in ipa_endpoint_trans_alloc() argument 236 return gsi_channel_trans_alloc(gsi, channel_id, tre_count, direction); in ipa_endpoint_trans_alloc()
|