Home
last modified time | relevance | path

Searched refs:new_proto (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/drivers/misc/ti-st/
Dst_core.c42 struct st_proto_s *new_proto) in add_channel_to_table() argument
44 pr_info("%s: id %d\n", __func__, new_proto->chnl_id); in add_channel_to_table()
46 st_gdata->list[new_proto->chnl_id] = new_proto; in add_channel_to_table()
47 st_gdata->is_registered[new_proto->chnl_id] = true; in add_channel_to_table()
522 long st_register(struct st_proto_s *new_proto) in st_register() argument
529 if (st_gdata == NULL || new_proto == NULL || new_proto->recv == NULL in st_register()
530 || new_proto->reg_complete_cb == NULL) { in st_register()
535 if (new_proto->chnl_id >= ST_MAX_CHANNELS) { in st_register()
536 pr_err("chnl_id %d not supported", new_proto->chnl_id); in st_register()
540 if (st_gdata->is_registered[new_proto->chnl_id] == true) { in st_register()
[all …]
/linux-4.1.27/drivers/media/usb/dvb-usb/
Ddib0700_core.c609 int new_proto, ret; in dib0700_change_protocol() local
622 new_proto = 1; in dib0700_change_protocol()
625 new_proto = 0; in dib0700_change_protocol()
632 new_proto = 2; in dib0700_change_protocol()
639 st->buf[1] = new_proto; in dib0700_change_protocol()
/linux-4.1.27/drivers/isdn/i4l/
Disdn_ppp.c2614 int new_proto; in isdn_ppp_compress() local
2636 new_proto = PPP_COMP; in isdn_ppp_compress()
2662 *proto = new_proto; in isdn_ppp_compress()