Home
last modified time | relevance | path

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

/linux/drivers/misc/ti-st/
H A Dst_core.c29 struct st_proto_s *new_proto) in add_channel_to_table() argument
31 pr_info("%s: id %d\n", __func__, new_proto->chnl_id); in add_channel_to_table()
33 st_gdata->list[new_proto->chnl_id] = new_proto; in add_channel_to_table()
34 st_gdata->is_registered[new_proto->chnl_id] = true; in add_channel_to_table()
523 long st_register(struct st_proto_s *new_proto) in st_register() argument
530 if (st_gdata == NULL || new_proto == NULL || new_proto->recv == NULL in st_register()
531 || new_proto->reg_complete_cb == NULL) { in st_register()
536 if (new_proto->chnl_id >= ST_MAX_CHANNELS) { in st_register()
537 pr_err("chnl_id %d not supported", new_proto->chnl_id); in st_register()
541 if (st_gdata->is_registered[new_proto->chnl_id] == true) { in st_register()
[all …]
/linux/drivers/power/supply/
H A Dolpc_battery.c56 bool new_proto; member
101 if (data->new_proto) { in olpc_bat_get_status()
657 data->new_proto = true; in olpc_battery_probe()
661 data->new_proto = true; in olpc_battery_probe()
/linux/drivers/media/usb/dvb-usb/
H A Ddib0700_core.c642 int new_proto, ret; in dib0700_change_protocol() local
655 new_proto = 1; in dib0700_change_protocol()
658 new_proto = 0; in dib0700_change_protocol()
665 new_proto = 2; in dib0700_change_protocol()
672 st->buf[1] = new_proto; in dib0700_change_protocol()
/linux/net/ipv4/
H A Ddevinet.c986 u8 new_proto = ifa->ifa_proto; in inet_rtm_newaddr() local
1002 ifa->ifa_proto = new_proto; in inet_rtm_newaddr()