Searched refs:new_proto (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/drivers/misc/ti-st/ |
H A D | st_core.c | 42 struct st_proto_s *new_proto) add_channel_to_table() 44 pr_info("%s: id %d\n", __func__, new_proto->chnl_id); add_channel_to_table() 46 st_gdata->list[new_proto->chnl_id] = new_proto; add_channel_to_table() 47 st_gdata->is_registered[new_proto->chnl_id] = true; add_channel_to_table() 522 long st_register(struct st_proto_s *new_proto) st_register() argument 529 if (st_gdata == NULL || new_proto == NULL || new_proto->recv == NULL st_register() 530 || new_proto->reg_complete_cb == NULL) { st_register() 531 pr_err("gdata/new_proto/recv or reg_complete_cb not ready"); st_register() 535 if (new_proto->chnl_id >= ST_MAX_CHANNELS) { st_register() 536 pr_err("chnl_id %d not supported", new_proto->chnl_id); st_register() 540 if (st_gdata->is_registered[new_proto->chnl_id] == true) { st_register() 541 pr_err("chnl_id %d already registered", new_proto->chnl_id); st_register() 549 pr_info(" ST_REG_IN_PROGRESS:%d ", new_proto->chnl_id); st_register() 552 add_channel_to_table(st_gdata, new_proto); st_register() 554 new_proto->write = st_write; st_register() 560 pr_info(" chnl_id list empty :%d ", new_proto->chnl_id); st_register() 605 if (st_gdata->is_registered[new_proto->chnl_id] == true) { st_register() 607 new_proto->chnl_id); st_register() 612 add_channel_to_table(st_gdata, new_proto); st_register() 614 new_proto->write = st_write; st_register() 620 add_channel_to_table(st_gdata, new_proto); st_register() 622 new_proto->write = st_write; st_register() 628 pr_debug("done %s(%d) ", __func__, new_proto->chnl_id); st_register() 41 add_channel_to_table(struct st_data_s *st_gdata, struct st_proto_s *new_proto) add_channel_to_table() argument
|
/linux-4.1.27/drivers/media/usb/dvb-usb/ |
H A D | dib0700_core.c | 609 int new_proto, ret; dib0700_change_protocol() local 622 new_proto = 1; dib0700_change_protocol() 625 new_proto = 0; dib0700_change_protocol() 632 new_proto = 2; dib0700_change_protocol() 639 st->buf[1] = new_proto; dib0700_change_protocol()
|
/linux-4.1.27/drivers/isdn/i4l/ |
H A D | isdn_ppp.c | 2614 int new_proto; isdn_ppp_compress() local 2636 new_proto = PPP_COMP; isdn_ppp_compress() 2662 *proto = new_proto; isdn_ppp_compress()
|
Completed in 137 milliseconds