/drivers/net/wan/ |
H A D | hdlc.c | 20 * - proto->open(), close(), start(), stop() calls are serialized. 22 * - proto->start() and stop() are called with spin_lock_irq held. 67 BUG_ON(!hdlc->proto->netif_rx); 68 return hdlc->proto->netif_rx(skb); 75 if (hdlc->proto->xmit) 76 return hdlc->proto->xmit(skb, dev); 84 if (hdlc->proto->start) 85 hdlc->proto->start(dev); 93 if (hdlc->proto->stop) 94 hdlc->proto 208 struct hdlc_proto *proto = first_proto; local 275 attach_hdlc_protocol(struct net_device *dev, struct hdlc_proto *proto, size_t size) argument 312 register_hdlc_protocol(struct hdlc_proto *proto) argument 321 unregister_hdlc_protocol(struct hdlc_proto *proto) argument [all...] |
H A D | hdlc_ppp.c | 65 struct proto { struct 76 struct proto protos[IDX_COUNT]; 112 static inline struct proto* get_proto(struct net_device *dev, u16 pid) 309 struct proto *proto = get_proto(dev, pid); local 311 old_state = proto->state; 317 proto_name(pid), event_names[event], state_names[proto->state]); 322 proto->state = action & STATE_MASK; 324 mod_timer(&proto->timer, proto 437 struct proto *proto; local 563 struct proto *proto = (struct proto *)arg; local 611 struct proto *proto = &ppp->protos[i]; local 635 static struct hdlc_proto proto = { variable in typeref:struct:hdlc_proto [all...] |
H A D | hdlc_raw.c | 32 static struct hdlc_proto proto = { variable in typeref:struct:hdlc_proto 49 if (dev_to_hdlc(dev)->proto != &proto) 81 result = attach_hdlc_protocol(dev, &proto, 97 register_hdlc_protocol(&proto); 105 unregister_hdlc_protocol(&proto);
|
H A D | hdlc_raw_eth.c | 46 static struct hdlc_proto proto = { variable in typeref:struct:hdlc_proto 64 if (dev_to_hdlc(dev)->proto != &proto) 96 result = attach_hdlc_protocol(dev, &proto, 115 register_hdlc_protocol(&proto); 123 unregister_hdlc_protocol(&proto);
|
H A D | hdlc_x25.c | 180 static struct hdlc_proto proto = { variable in typeref:struct:hdlc_proto 197 if (dev_to_hdlc(dev)->proto != &proto) 213 if ((result = attach_hdlc_protocol(dev, &proto, 0))) 226 register_hdlc_protocol(&proto); 234 unregister_hdlc_protocol(&proto);
|
/drivers/block/paride/ |
H A D | paride.c | 46 pi->proto->write_regr(pi, cont, regr, val); 53 return pi->proto->read_regr(pi, cont, regr); 60 pi->proto->write_block(pi, buf, count); 67 pi->proto->read_block(pi, buf, count); 138 pi->proto->connect(pi); 145 pi->proto->disconnect(pi); 162 if (pi->proto->release_proto) 163 pi->proto->release_proto(pi); 164 module_put(pi->proto->owner); 174 pi->proto 371 struct pi_protocol *proto = protocols[p]; local [all...] |
/drivers/net/ethernet/sfc/ |
H A D | filter.h | 122 extern int efx_filter_set_ipv4_local(struct efx_filter_spec *spec, u8 proto, 125 u8 *proto, __be32 *host, __be16 *port); 126 extern int efx_filter_set_ipv4_full(struct efx_filter_spec *spec, u8 proto, 130 u8 *proto, __be32 *host, __be16 *port,
|
/drivers/net/wireless/bcmdhd/ |
H A D | bcmevent.c | 28 #include <proto/ethernet.h> 29 #include <proto/bcmeth.h> 30 #include <proto/bcmevent.h>
|
/drivers/net/arcnet/ |
H A D | arcnet.c | 67 * one ArcProto per possible proto ID. None of the elements of 216 void arcnet_unregister_proto(struct ArcProto *proto) argument 220 if (arc_proto_default == proto) 222 if (arc_bcast_proto == proto) 224 if (arc_raw_proto == proto) 228 if (arc_proto_map[count] == proto) 490 struct ArcProto *proto; local 505 proto = arc_raw_proto; 506 BUGMSG(D_DEBUG, "arc_raw_proto used. proto='%c'\n",proto 553 struct ArcProto *proto; local 600 struct ArcProto *proto; local [all...] |
H A D | capmode.c | 76 memcpy(pktbuf, pkthdrbuf, ARC_HDR_SIZE+sizeof(pkt->soft.cap.proto)); 77 memcpy(pktbuf+ARC_HDR_SIZE+sizeof(pkt->soft.cap.proto)+sizeof(int), 78 pkthdrbuf+ARC_HDR_SIZE+sizeof(pkt->soft.cap.proto), 79 sizeof(struct archdr)-ARC_HDR_SIZE-sizeof(pkt->soft.cap.proto)); 173 lp->hw.copy_to_card(dev, bufnum, ofs, &pkt->soft.cap.proto, 174 sizeof(pkt->soft.cap.proto)); 214 ackpkt->soft.cap.proto = 0; /* using protocol 0 for acknowledge */ 227 lp->outgoing.proto = NULL; /* We are always finished when in this protocol */ 252 /* for cap mode, we only set the bcast proto if there's no better one */
|
H A D | rfc1201.c | 110 switch (soft->proto) { 205 if (soft->proto == ARC_P_ARP) { 385 soft->proto = ARC_P_IP; 388 soft->proto = ARC_P_IPV6; 391 soft->proto = ARC_P_ARP; 394 soft->proto = ARC_P_RARP; 399 soft->proto = ARC_P_IPX; 402 soft->proto = ARC_P_ATALK; 455 excsoft.proto = soft->proto; [all...] |
/drivers/tty/hvc/ |
H A D | hvc_vio.c | 72 hv_protocol_t proto; /* Raw data or HVSI packets */ member in struct:hvterm_priv 239 hv_protocol_t proto; local 247 proto = HV_PROTOCOL_RAW; 250 proto = HV_PROTOCOL_HVSI; 259 proto == HV_PROTOCOL_RAW ? "raw" : "hvsi"); 280 pv->proto = proto; 342 switch(hvterm_priv0.proto) { 358 switch(hvterm_priv0.proto) { 421 hvterm_priv0.proto [all...] |
H A D | hvc_opal.c | 56 hv_protocol_t proto; /* Raw data or HVSI packets */ member in struct:hvc_opal_priv 169 hv_protocol_t proto; local 174 proto = HV_PROTOCOL_RAW; 178 proto = HV_PROTOCOL_HVSI; 197 pv->proto = proto; 199 if (proto == HV_PROTOCOL_HVSI) 212 proto == HV_PROTOCOL_RAW ? "raw" : "hvsi", 275 switch(hvc_opal_boot_priv.proto) { 292 switch(hvc_opal_boot_priv.proto) { [all...] |
/drivers/s390/net/ |
H A D | qeth_l3_sys.c | 573 enum qeth_prot_versions proto) 581 entry_len = (proto == QETH_PROT_IPV4)? 12 : 40; 583 entry_len += (proto == QETH_PROT_IPV4)? 5 : 6; 586 if (ipatoe->proto != proto) 593 qeth_l3_ipaddr_to_string(proto, ipatoe->addr, addr_str); 614 static int qeth_l3_parse_ipatoe(const char *buf, enum qeth_prot_versions proto, argument 628 if (qeth_l3_string_to_ipaddr(buffer, proto, addr)) { 635 (*mask_bits > ((proto == QETH_PROT_IPV4) ? 32 : 128))) { 642 struct qeth_card *card, enum qeth_prot_versions proto) 572 qeth_l3_dev_ipato_add_show(char *buf, struct qeth_card *card, enum qeth_prot_versions proto) argument 641 qeth_l3_dev_ipato_add_store(const char *buf, size_t count, struct qeth_card *card, enum qeth_prot_versions proto) argument 686 qeth_l3_dev_ipato_del_store(const char *buf, size_t count, struct qeth_card *card, enum qeth_prot_versions proto) argument 811 qeth_l3_dev_vipa_add_show(char *buf, struct qeth_card *card, enum qeth_prot_versions proto) argument 854 qeth_l3_parse_vipae(const char *buf, enum qeth_prot_versions proto, u8 *addr) argument 863 qeth_l3_dev_vipa_add_store(const char *buf, size_t count, struct qeth_card *card, enum qeth_prot_versions proto) argument 892 qeth_l3_dev_vipa_del_store(const char *buf, size_t count, struct qeth_card *card, enum qeth_prot_versions proto) argument 973 qeth_l3_dev_rxip_add_show(char *buf, struct qeth_card *card, enum qeth_prot_versions proto) argument 1016 qeth_l3_parse_rxipe(const char *buf, enum qeth_prot_versions proto, u8 *addr) argument 1025 qeth_l3_dev_rxip_add_store(const char *buf, size_t count, struct qeth_card *card, enum qeth_prot_versions proto) argument 1054 qeth_l3_dev_rxip_del_store(const char *buf, size_t count, struct qeth_card *card, enum qeth_prot_versions proto) argument [all...] |
H A D | qeth_l3.h | 25 enum qeth_prot_versions proto; member in struct:qeth_ipaddr 41 enum qeth_prot_versions proto; member in struct:qeth_ipato_entry
|
/drivers/isdn/i4l/ |
H A D | isdn_ppp.c | 29 static int isdn_ppp_fill_rq(unsigned char *buf, int len, int proto, int slot); 32 struct sk_buff *skb, int proto); 36 struct ippp_struct *, struct ippp_struct *, int *proto); 38 struct sk_buff *skb, int proto); 39 static struct sk_buff *isdn_ppp_compress(struct sk_buff *skb_in, int *proto, 46 static void isdn_ppp_ccp_xmit_reset(struct ippp_struct *is, int proto, 704 isdn_ppp_fill_rq(unsigned char *buf, int len, int proto, int slot) argument 728 nbuf[2] = proto >> 8; 729 nbuf[3] = proto & 0xff; 801 int proto; local 947 int proto; local 973 int proto; local 1025 isdn_ppp_push_higher(isdn_net_dev *net_dev, isdn_net_local *lp, struct sk_buff *skb, int proto) argument 1219 unsigned int proto = PPP_IP; /* 0x21 */ local 1462 u_int16_t proto; local 1868 int proto; local 2193 isdn_ppp_ccp_xmit_reset(struct ippp_struct *is, int proto, unsigned char code, unsigned char id, unsigned char *data, int len) argument 2498 isdn_ppp_decompress(struct sk_buff *skb, struct ippp_struct *is, struct ippp_struct *master, int *proto) argument 2581 isdn_ppp_compress(struct sk_buff *skb_in, int *proto, struct ippp_struct *is, struct ippp_struct *master, int type) argument 2641 isdn_ppp_receive_ccp(isdn_net_dev *net_dev, isdn_net_local *lp, struct sk_buff *skb, int proto) argument 2821 int proto, slot = lp->ppp_slot; local [all...] |
/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | brcms_trace_events.h | 29 #define TRACE_EVENT(name, proto, ...) \ 30 static inline void trace_ ## name(proto) {}
|
/drivers/misc/ti-st/ |
H A D | st_core.c | 35 * st_int_recv after registration to receive proto stack responses 50 struct st_proto_s *proto) 52 pr_info("%s: id %d\n", __func__, proto->chnl_id); 53 /* st_gdata->list[proto->chnl_id] = NULL; */ 54 st_gdata->is_registered[proto->chnl_id] = false; 125 pr_err(" proto stack %d's ->recv failed", chnl_id); 130 pr_err(" proto stack %d's ->recv null", chnl_id); 239 struct st_proto_s *proto; local 284 proto = st_gdata->list[st_gdata->rx_chnl]; 287 [proto 49 remove_channel_from_table(struct st_data_s *st_gdata, struct st_proto_s *proto) argument 612 st_unregister(struct st_proto_s *proto) argument [all...] |
/drivers/net/ppp/ |
H A D | ppp_deflate.c | 192 int r, proto, off, olen, oavail; local 198 proto = PPP_PROTOCOL(rptr); 199 if (proto > 0x3fff || proto == 0xfd || proto == 0xfb) 223 off = (proto > 0xff) ? 2 : 3; /* skip 1st proto byte if 0 */ 500 printk(KERN_DEBUG "z_decompress%d: didn't get proto\n", 523 int proto, r; local 528 proto [all...] |
H A D | pppopns.c | 73 struct pppopns_opt *opt = &pppox_sk(sk)->proto.pns; 208 struct pppopns_opt *opt = &pppox_sk(sk_raw->sk_user_data)->proto.pns; 294 po->proto.pns.local = addr->local; 295 po->proto.pns.remote = addr->remote; 296 po->proto.pns.data_ready = sk_raw->sk_data_ready; 297 po->proto.pns.backlog_rcv = sk_raw->sk_backlog_rcv; 336 sk_raw->sk_data_ready = pppox_sk(sk)->proto.pns.data_ready; 337 sk_raw->sk_backlog_rcv = pppox_sk(sk)->proto.pns.backlog_rcv; 352 static struct proto pppopns_proto = {
|
H A D | pptp.c | 54 static struct proto pptp_sk_proto __read_mostly; 101 opt = &sock->proto.pptp; 124 opt = &sock->proto.pptp; 139 if (!sock->proto.pptp.src_addr.call_id) { 146 sock->proto.pptp.src_addr.call_id = call_id; 147 } else if (test_bit(sock->proto.pptp.src_addr.call_id, callid_bitmap)) 150 set_bit(sock->proto.pptp.src_addr.call_id, callid_bitmap); 151 rcu_assign_pointer(callid_sock[sock->proto.pptp.src_addr.call_id], sock); 164 clear_bit(sock->proto.pptp.src_addr.call_id, callid_bitmap); 165 RCU_INIT_POINTER(callid_sock[sock->proto [all...] |
H A D | pppolac.c | 74 struct pppolac_opt *opt = &pppox_sk(sk)->proto.lac; 225 struct pppolac_opt *opt = &pppox_sk(sk_udp->sk_user_data)->proto.lac; 314 po->proto.lac.local = unaligned(&addr->local)->u32; 315 po->proto.lac.remote = unaligned(&addr->remote)->u32; 316 atomic_set(&po->proto.lac.sequencing, 1); 317 po->proto.lac.backlog_rcv = sk_udp->sk_backlog_rcv; 358 sk_udp->sk_backlog_rcv = pppox_sk(sk)->proto.lac.backlog_rcv; 373 static struct proto pppolac_proto = {
|
/drivers/input/mouse/ |
H A D | sermouse.c | 259 sermouse->type = serio->id.proto; 302 .proto = SERIO_MSC, 308 .proto = SERIO_SUN, 314 .proto = SERIO_MS, 320 .proto = SERIO_MP, 326 .proto = SERIO_MZ, 332 .proto = SERIO_MZP, 338 .proto = SERIO_MZPP,
|
H A D | psmouse-base.c | 52 module_param_named(proto, psmouse_max_proto, proto_abbrev, 0644); 53 MODULE_PARM_DESC(proto, "Highest protocol extension to probe (bare, imps, exps, any). Useful for KVM switches."); 1317 const struct psmouse_protocol *proto) 1324 if (proto && (proto->detect || proto->init)) { 1327 if (proto->detect && proto->detect(psmouse, true) < 0) 1330 if (proto->init && proto 1316 psmouse_switch_protocol(struct psmouse *psmouse, const struct psmouse_protocol *proto) argument 1650 const struct psmouse_protocol *proto, *old_proto; local 1767 const struct psmouse_protocol *proto; local [all...] |
/drivers/net/wireless/ath/ath5k/ |
H A D | trace.h | 9 #define TRACE_EVENT(name, proto, ...) \ 10 static inline void trace_ ## name(proto) {}
|