Searched refs:new_proto (Results 1 – 3 of 3) sorted by relevance
41 struct st_proto_s *new_proto) in add_channel_to_table() argument43 pr_info("%s: id %d\n", __func__, new_proto->chnl_id); in add_channel_to_table()45 st_gdata->list[new_proto->chnl_id] = new_proto; in add_channel_to_table()488 long st_register(struct st_proto_s *new_proto) in st_register() argument495 pr_info("%s(%d) ", __func__, new_proto->chnl_id); in st_register()496 if (st_gdata == NULL || new_proto == NULL || new_proto->recv == NULL in st_register()497 || new_proto->reg_complete_cb == NULL) { in st_register()502 if (new_proto->chnl_id >= ST_MAX_CHANNELS) { in st_register()503 pr_err("chnl_id %d not supported", new_proto->chnl_id); in st_register()507 if (st_gdata->list[new_proto->chnl_id] != NULL) { in st_register()[all …]
514 int new_proto, ret; in dib0700_change_protocol() local518 new_proto = 1; in dib0700_change_protocol()520 new_proto = 0; in dib0700_change_protocol()525 new_proto = 2; in dib0700_change_protocol()529 rc_setup[1] = new_proto; in dib0700_change_protocol()
2585 int new_proto; in isdn_ppp_compress() local2607 new_proto = PPP_COMP; in isdn_ppp_compress()2633 *proto = new_proto; in isdn_ppp_compress()