Lines Matching refs:protoid
86 void st_send_frame(enum proto_type protoid, struct st_data_s *st_gdata)
88 pr_info(" %s(prot:%d) ", __func__, protoid);
92 || st_gdata->list[protoid] == NULL)) {
94 protoid);
103 if (likely(st_gdata->list[protoid]->recv != NULL)) {
105 (st_gdata->list[protoid]->recv
106 (st_gdata->list[protoid]->priv_data, st_gdata->rx_skb)
108 pr_err(" proto stack %d's ->recv failed", protoid);
113 pr_err(" proto stack %d's ->recv null", protoid);
137 int protoid, int len)
148 st_send_frame(protoid, st_gdata);
218 static enum proto_type protoid = ST_MAX;
253 st_send_frame(protoid, st_gdata);
257 protoid = ST_MAX; /* is this required ? */
268 st_check_data_len(st_gdata, protoid, eh->plen);
279 st_check_data_len(st_gdata, protoid, dlen);
289 st_check_data_len(st_gdata, protoid, sh->dlen);
319 protoid = ST_BT;
328 protoid = ST_BT;
337 protoid = ST_BT;
346 protoid = ST_FM;
353 protoid = ST_GPS;
385 switch (protoid) {
750 enum proto_type protoid = ST_MAX;
765 protoid = ST_BT;
768 protoid = ST_FM;
771 protoid = ST_GPS;
774 if (unlikely(st_gdata->list[protoid] == NULL)) {
776 protoid);