Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ipa/
Dgsi_trans.c247 return &trans_info->trans[trans_id %= channel->tre_count]; in gsi_channel_trans_complete()
270 trans_info->committed_id += delta % channel->tre_count; in gsi_trans_move_pending()
283 delta %= channel->tre_count; in gsi_trans_move_complete()
299 gsi_trans_tre_reserve(struct gsi_trans_info *trans_info, u32 tre_count) in gsi_trans_tre_reserve() argument
305 new = avail - (int)tre_count; in gsi_trans_tre_reserve()
315 gsi_trans_tre_release(struct gsi_trans_info *trans_info, u32 tre_count) in gsi_trans_tre_release() argument
317 atomic_add(tre_count, &trans_info->tre_avail); in gsi_trans_tre_release()
333 u32 tre_count, in gsi_channel_trans_alloc() argument
341 if (WARN_ON(tre_count > channel->trans_tre_max)) in gsi_channel_trans_alloc()
347 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.c737 trans = &trans_info->trans[trans_id % channel->tre_count]; in gsi_channel_trans_last()
2042 if (channel_data->tre_count < 2 * channel_data->tlv_count - 1) { in gsi_channel_data_valid()
2045 channel_data->tre_count); in gsi_channel_data_valid()
2049 if (!is_power_of_2(channel_data->tre_count)) { in gsi_channel_data_valid()
2051 channel_id, channel_data->tre_count); in gsi_channel_data_valid()
2070 u32 tre_count; in gsi_channel_init_one() local
2077 if (data->channel.tre_count > data->channel.event_count) { in gsi_channel_init_one()
2078 tre_count = data->channel.event_count; in gsi_channel_init_one()
2080 data->channel_id, tre_count); in gsi_channel_init_one()
2082 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.c646 struct gsi_trans *ipa_cmd_trans_alloc(struct ipa *ipa, u32 tre_count) in ipa_cmd_trans_alloc() argument
650 if (WARN_ON(tre_count > IPA_COMMAND_TRANS_TRE_MAX)) in ipa_cmd_trans_alloc()
656 tre_count, DMA_NONE); in ipa_cmd_trans_alloc()
Dgsi_trans.h156 u32 tre_count,
Dgsi.h109 u16 tre_count; member
Dipa_endpoint.c286 u32 tre_count) in ipa_endpoint_trans_alloc() argument
294 return gsi_channel_trans_alloc(gsi, channel_id, tre_count, direction); in ipa_endpoint_trans_alloc()
/Linux-v6.1/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-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-v3.1.c73 .tre_count = 256,
94 .tre_count = 256,
117 .tre_count = 512,
142 .tre_count = 256,