/linux-6.12.1/drivers/net/ipa/ |
D | gsi_trans.c | 250 return &trans_info->trans[trans_id %= channel->tre_count]; in gsi_channel_trans_complete() 273 trans_info->committed_id += delta % channel->tre_count; in gsi_trans_move_pending() 286 delta %= channel->tre_count; in gsi_trans_move_complete() 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 344 if (WARN_ON(tre_count > channel->trans_tre_max)) in gsi_channel_trans_alloc() 350 if (!gsi_trans_tre_reserve(trans_info, tre_count)) in gsi_channel_trans_alloc() [all …]
|
D | ipa_cmd.h | 63 int ipa_cmd_pool_init(struct gsi_channel *channel, u32 tre_count); 151 struct gsi_trans *ipa_cmd_trans_alloc(struct ipa *ipa, u32 tre_count);
|
D | gsi.c | 803 trans = &trans_info->trans[trans_id % channel->tre_count]; in gsi_channel_trans_last() 2194 if (channel_data->tre_count < 2 * channel_data->tlv_count - 1) { in gsi_channel_data_valid() 2197 channel_data->tre_count); in gsi_channel_data_valid() 2201 if (!is_power_of_2(channel_data->tre_count)) { in gsi_channel_data_valid() 2203 channel_id, channel_data->tre_count); in gsi_channel_data_valid() 2222 u32 tre_count; in gsi_channel_init_one() local 2229 if (data->channel.tre_count > data->channel.event_count) { in gsi_channel_init_one() 2230 tre_count = data->channel.event_count; in gsi_channel_init_one() 2232 data->channel_id, tre_count); in gsi_channel_init_one() 2234 tre_count = data->channel.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 | 623 struct gsi_trans *ipa_cmd_trans_alloc(struct ipa *ipa, u32 tre_count) in ipa_cmd_trans_alloc() argument 627 if (WARN_ON(tre_count > IPA_COMMAND_TRANS_TRE_MAX)) in ipa_cmd_trans_alloc() 633 tre_count, DMA_NONE); in ipa_cmd_trans_alloc()
|
D | gsi_trans.h | 155 u32 tre_count,
|
D | gsi.h | 105 u16 tre_count; member
|
D | ipa_endpoint.c | 434 u32 tre_count) in ipa_endpoint_trans_alloc() argument 442 return gsi_channel_trans_alloc(gsi, channel_id, tre_count, direction); in ipa_endpoint_trans_alloc()
|
/linux-6.12.1/drivers/net/ipa/data/ |
D | ipa_data-v4.2.c | 55 .tre_count = 256, 76 .tre_count = 256, 99 .tre_count = 512, 125 .tre_count = 256,
|
D | ipa_data-v4.7.c | 57 .tre_count = 256, 78 .tre_count = 256, 101 .tre_count = 512, 125 .tre_count = 256,
|
D | ipa_data-v4.11.c | 59 .tre_count = 256, 80 .tre_count = 256, 103 .tre_count = 512, 128 .tre_count = 256,
|
D | ipa_data-v3.5.1.c | 65 .tre_count = 512, 86 .tre_count = 256, 109 .tre_count = 512, 135 .tre_count = 256,
|
D | ipa_data-v4.5.c | 68 .tre_count = 256, 89 .tre_count = 256, 112 .tre_count = 512, 137 .tre_count = 256,
|
D | ipa_data-v4.9.c | 60 .tre_count = 256, 81 .tre_count = 256, 104 .tre_count = 512, 129 .tre_count = 256,
|
D | ipa_data-v5.0.c | 72 .tre_count = 256, 93 .tre_count = 256, 116 .tre_count = 512, 141 .tre_count = 256,
|
D | ipa_data-v5.5.c | 72 .tre_count = 256, 93 .tre_count = 256, 116 .tre_count = 512, 141 .tre_count = 256,
|
D | ipa_data-v3.1.c | 74 .tre_count = 256, 95 .tre_count = 256, 118 .tre_count = 512, 143 .tre_count = 256,
|