Home
last modified time | relevance | path

Searched refs:tre_count (Results 1 – 16 of 16) sorted by relevance

/Linux-v6.6/drivers/net/ipa/
Dgsi_trans.c250 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 …]
Dipa_cmd.h75 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);
Dgsi.c805 trans = &trans_info->trans[trans_id % channel->tre_count]; in gsi_channel_trans_last()
2196 if (channel_data->tre_count < 2 * channel_data->tlv_count - 1) { in gsi_channel_data_valid()
2199 channel_data->tre_count); in gsi_channel_data_valid()
2203 if (!is_power_of_2(channel_data->tre_count)) { in gsi_channel_data_valid()
2205 channel_id, channel_data->tre_count); in gsi_channel_data_valid()
2224 u32 tre_count; in gsi_channel_init_one() local
2231 if (data->channel.tre_count > data->channel.event_count) { in gsi_channel_init_one()
2232 tre_count = data->channel.event_count; in gsi_channel_init_one()
2234 data->channel_id, tre_count); in gsi_channel_init_one()
2236 tre_count = data->channel.tre_count; in gsi_channel_init_one()
[all …]
Dipa_data.h93 u16 tre_count; /* must be a power of 2 */ member
Dipa_cmd.c622 struct gsi_trans *ipa_cmd_trans_alloc(struct ipa *ipa, u32 tre_count) in ipa_cmd_trans_alloc() argument
626 if (WARN_ON(tre_count > IPA_COMMAND_TRANS_TRE_MAX)) in ipa_cmd_trans_alloc()
632 tre_count, DMA_NONE); in ipa_cmd_trans_alloc()
Dgsi_trans.h156 u32 tre_count,
Dgsi.h109 u16 tre_count; member
Dipa_endpoint.c431 u32 tre_count) in ipa_endpoint_trans_alloc() argument
439 return gsi_channel_trans_alloc(gsi, channel_id, tre_count, direction); in ipa_endpoint_trans_alloc()
/Linux-v6.6/drivers/net/ipa/data/
Dipa_data-v4.2.c54 .tre_count = 256,
75 .tre_count = 256,
98 .tre_count = 512,
124 .tre_count = 256,
Dipa_data-v4.11.c58 .tre_count = 256,
79 .tre_count = 256,
102 .tre_count = 512,
127 .tre_count = 256,
Dipa_data-v4.7.c56 .tre_count = 256,
77 .tre_count = 256,
100 .tre_count = 512,
124 .tre_count = 256,
Dipa_data-v3.5.1.c64 .tre_count = 512,
85 .tre_count = 256,
108 .tre_count = 512,
134 .tre_count = 256,
Dipa_data-v4.5.c67 .tre_count = 256,
88 .tre_count = 256,
111 .tre_count = 512,
136 .tre_count = 256,
Dipa_data-v4.9.c59 .tre_count = 256,
80 .tre_count = 256,
103 .tre_count = 512,
128 .tre_count = 256,
Dipa_data-v5.0.c71 .tre_count = 256,
92 .tre_count = 256,
115 .tre_count = 512,
140 .tre_count = 256,
Dipa_data-v3.1.c73 .tre_count = 256,
94 .tre_count = 256,
117 .tre_count = 512,
142 .tre_count = 256,