Searched refs:tre_count (Results 1 – 14 of 14) sorted by relevance
/linux-5.19.10/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() 336 u32 tre_count, in gsi_channel_trans_alloc() argument 343 if (WARN_ON(tre_count > gsi_channel_trans_tre_max(gsi, channel_id))) in gsi_channel_trans_alloc() 351 if (!gsi_trans_tre_reserve(trans_info, tre_count)) in gsi_channel_trans_alloc() 358 trans->tre_count = tre_count; in gsi_channel_trans_alloc() 362 trans->sgl = gsi_trans_pool_alloc(&trans_info->sg_pool, tre_count); in gsi_channel_trans_alloc() 363 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, 98 .tre_count = 512, 124 .tre_count = 256,
|
D | ipa_data-v4.11.c | 58 .tre_count = 256, 79 .tre_count = 256, 102 .tre_count = 512, 127 .tre_count = 256,
|
D | ipa_data-v3.5.1.c | 64 .tre_count = 512, 85 .tre_count = 256, 108 .tre_count = 512, 134 .tre_count = 256,
|
D | ipa_data-v4.5.c | 67 .tre_count = 256, 88 .tre_count = 256, 111 .tre_count = 512, 136 .tre_count = 256,
|
D | ipa_data-v4.9.c | 59 .tre_count = 256, 80 .tre_count = 256, 103 .tre_count = 512, 128 .tre_count = 256,
|
D | ipa_cmd.h | 75 int ipa_cmd_pool_init(struct gsi_channel *channel, u32 tre_count); 163 struct gsi_trans *ipa_cmd_trans_alloc(struct ipa *ipa, u32 tre_count);
|
D | gsi_trans.h | 59 u8 tre_count; /* # TREs requested */ member 158 u32 tre_count,
|
D | ipa_data-v3.1.c | 73 .tre_count = 256, 94 .tre_count = 256, 117 .tre_count = 512, 142 .tre_count = 256,
|
D | gsi.c | 2034 if (data->channel.tre_count < 2 * data->channel.tlv_count - 1) { in gsi_channel_data_valid() 2037 data->channel.tre_count); in gsi_channel_data_valid() 2041 if (!is_power_of_2(data->channel.tre_count)) { in gsi_channel_data_valid() 2043 channel_id, data->channel.tre_count); in gsi_channel_data_valid() 2062 u32 tre_count; in gsi_channel_init_one() local 2069 if (data->channel.tre_count > data->channel.event_count) { in gsi_channel_init_one() 2070 tre_count = data->channel.event_count; in gsi_channel_init_one() 2072 data->channel_id, tre_count); in gsi_channel_init_one() 2074 tre_count = data->channel.tre_count; in gsi_channel_init_one() 2084 channel->tre_count = tre_count; in gsi_channel_init_one() [all …]
|
D | ipa_data.h | 93 u16 tre_count; /* must be a power of 2 */ member
|
D | ipa_cmd.c | 643 struct gsi_trans *ipa_cmd_trans_alloc(struct ipa *ipa, u32 tre_count) in ipa_cmd_trans_alloc() argument 647 if (WARN_ON(tre_count > IPA_COMMAND_TRANS_TRE_MAX)) in ipa_cmd_trans_alloc() 653 tre_count, DMA_NONE); in ipa_cmd_trans_alloc()
|
D | gsi.h | 114 u16 tre_count; member
|
D | ipa_endpoint.c | 284 u32 tre_count) in ipa_endpoint_trans_alloc() argument 292 return gsi_channel_trans_alloc(gsi, channel_id, tre_count, direction); in ipa_endpoint_trans_alloc()
|