Searched refs:new_proto (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/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() 529 long st_register(struct st_proto_s *new_proto) st_register() argument 536 if (st_gdata == NULL || new_proto == NULL || new_proto->recv == NULL st_register() 537 || new_proto->reg_complete_cb == NULL) { st_register() 538 pr_err("gdata/new_proto/recv or reg_complete_cb not ready"); st_register() 542 if (new_proto->chnl_id >= ST_MAX_CHANNELS) { st_register() 543 pr_err("chnl_id %d not supported", new_proto->chnl_id); st_register() 547 if (st_gdata->is_registered[new_proto->chnl_id] == true) { st_register() 548 pr_err("chnl_id %d already registered", new_proto->chnl_id); st_register() 556 pr_info(" ST_REG_IN_PROGRESS:%d ", new_proto->chnl_id); st_register() 559 add_channel_to_table(st_gdata, new_proto); st_register() 561 new_proto->write = st_write; st_register() 567 pr_info(" chnl_id list empty :%d ", new_proto->chnl_id); st_register() 612 if (st_gdata->is_registered[new_proto->chnl_id] == true) { st_register() 614 new_proto->chnl_id); st_register() 619 add_channel_to_table(st_gdata, new_proto); st_register() 621 new_proto->write = st_write; st_register() 627 add_channel_to_table(st_gdata, new_proto); st_register() 629 new_proto->write = st_write; st_register() 635 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.4.14/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.4.14/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 108 milliseconds