Home
last modified time | relevance | path

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

/linux-6.12.1/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.h63 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);
Dgsi.c803 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 …]
Dipa_data.h93 u16 tre_count; /* must be a power of 2 */ member
Dipa_cmd.c623 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()
Dgsi_trans.h155 u32 tre_count,
Dgsi.h105 u16 tre_count; member
Dipa_endpoint.c434 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/
Dipa_data-v4.2.c55 .tre_count = 256,
76 .tre_count = 256,
99 .tre_count = 512,
125 .tre_count = 256,
Dipa_data-v4.7.c57 .tre_count = 256,
78 .tre_count = 256,
101 .tre_count = 512,
125 .tre_count = 256,
Dipa_data-v4.11.c59 .tre_count = 256,
80 .tre_count = 256,
103 .tre_count = 512,
128 .tre_count = 256,
Dipa_data-v3.5.1.c65 .tre_count = 512,
86 .tre_count = 256,
109 .tre_count = 512,
135 .tre_count = 256,
Dipa_data-v4.5.c68 .tre_count = 256,
89 .tre_count = 256,
112 .tre_count = 512,
137 .tre_count = 256,
Dipa_data-v4.9.c60 .tre_count = 256,
81 .tre_count = 256,
104 .tre_count = 512,
129 .tre_count = 256,
Dipa_data-v5.0.c72 .tre_count = 256,
93 .tre_count = 256,
116 .tre_count = 512,
141 .tre_count = 256,
Dipa_data-v5.5.c72 .tre_count = 256,
93 .tre_count = 256,
116 .tre_count = 512,
141 .tre_count = 256,
Dipa_data-v3.1.c74 .tre_count = 256,
95 .tre_count = 256,
118 .tre_count = 512,
143 .tre_count = 256,