Lines Matching refs:modem
51 * Each filter rule is associated with an AP or modem TX endpoint, though
64 * entry. Once initialized the modem and AP update the entries for
72 * 1st endpoint | 0x000123456789abc0 | DMA address for modem endpoint 2 rule
84 * and modem. The AP initializes all entries in a route table to refer to
85 * a "zero entry". Once initialized, the modem and AP are responsible for
91 * 1st modem route | 0x0001234500001100 | DMA address for first route rule
93 * 2nd modem route | 0x0001234500001140 | DMA address for second route rule
97 * Last modem route| 0x0001234500002280 | DMA address for Nth route rule
109 /* Assignment of route table entries to the modem and AP */
143 /* The modem must be allotted at least one route table entry */
279 * modem to refer to the zero entry. The memory region supplied will be
283 ipa_filter_reset_table(struct ipa *ipa, const struct ipa_mem *mem, bool modem)
297 modem ? "modem" : "AP");
301 ee_id = modem ? GSI_EE_MODEM : GSI_EE_AP;
324 static int ipa_filter_reset(struct ipa *ipa, bool modem)
328 ret = ipa_filter_reset_table(ipa, &ipa->mem[IPA_MEM_V4_FILTER], modem);
333 modem);
337 ret = ipa_filter_reset_table(ipa, &ipa->mem[IPA_MEM_V6_FILTER], modem);
341 modem);
346 /* The AP routes and modem routes are each contiguous within the
350 static int ipa_route_reset(struct ipa *ipa, bool modem)
360 modem ? "modem" : "AP");
364 if (modem) {
387 void ipa_table_reset(struct ipa *ipa, bool modem)
393 ee_name = modem ? "modem" : "AP";
396 ret = ipa_filter_reset(ipa, modem);
401 ret = ipa_route_reset(ipa, modem);
509 * Endpoint must be for the AP (not modem) and support filtering. Updates
528 static void ipa_filter_config(struct ipa *ipa, bool modem)
530 enum gsi_ee_id ee_id = modem ? GSI_EE_MODEM : GSI_EE_AP;
549 static void ipa_filter_deconfig(struct ipa *ipa, bool modem)
580 static void ipa_route_config(struct ipa *ipa, bool modem)
589 if (ipa_route_id_modem(route_id) == modem)
593 static void ipa_route_deconfig(struct ipa *ipa, bool modem)