Lines Matching refs:modem

51  * Each filter rule is associated with an AP or modem TX endpoint, though
74 * rule. Once initialized, the modem and AP update the entries for
85 * 1st endpoint | 0x000123456789abc0 | DMA address for modem endpoint 2 rule
97 * and modem. The AP initializes all entries in a route table to refer to
98 * a "zero entry". Once initialized, the modem and AP are responsible for
104 * 1st modem route | 0x0001234500001100 | DMA address for first route rule
106 * 2nd modem route | 0x0001234500001140 | DMA address for second route rule
110 * Last modem route| 0x0001234500002280 | DMA address for Nth route rule
227 * modem to refer to the zero entry. The memory region supplied will be
231 ipa_filter_reset_table(struct ipa *ipa, bool hashed, bool ipv6, bool modem)
241 modem ? "modem" : "AP");
245 ee_id = modem ? GSI_EE_MODEM : GSI_EE_AP;
268 static int ipa_filter_reset(struct ipa *ipa, bool modem)
272 ret = ipa_filter_reset_table(ipa, false, false, modem);
276 ret = ipa_filter_reset_table(ipa, false, true, modem);
280 ret = ipa_filter_reset_table(ipa, true, false, modem);
284 return ipa_filter_reset_table(ipa, true, true, modem);
287 /* The AP routes and modem routes are each contiguous within the
291 static int ipa_route_reset(struct ipa *ipa, bool modem)
303 modem ? "modem" : "AP");
307 if (modem) {
328 void ipa_table_reset(struct ipa *ipa, bool modem)
334 ee_name = modem ? "modem" : "AP";
337 ret = ipa_filter_reset(ipa, modem);
342 ret = ipa_route_reset(ipa, modem);
490 * Endpoint must be for the AP (not modem) and support filtering. Updates
522 static void ipa_filter_config(struct ipa *ipa, bool modem)
524 enum gsi_ee_id ee_id = modem ? GSI_EE_MODEM : GSI_EE_AP;
581 static void ipa_route_config(struct ipa *ipa, bool modem)
589 if (ipa_route_id_modem(ipa, route_id) == modem)
649 /* Routing tables must be able to hold all modem entries,