/linux-4.1.27/include/uapi/linux/tc_act/ |
H A D | tc_gact.h | 18 __u16 ptype; member in struct:tc_gact_p
|
/linux-4.1.27/include/uapi/linux/netfilter_bridge/ |
H A D | ebt_arp.h | 22 __be16 ptype; member in struct:ebt_arp_info
|
/linux-4.1.27/include/linux/ |
H A D | amigaffs.h | 47 __be32 ptype; member in struct:affs_root_head 73 __be32 ptype; member in struct:affs_head 103 __be32 ptype; member in struct:slink_front 112 __be32 ptype; member in struct:affs_data_head
|
H A D | netdevice.h | 373 * are registered on exact device (ptype->dev == skb->dev). 1977 bool (*id_match)(struct packet_type *ptype,
|
/linux-4.1.27/include/net/ |
H A D | arp.h | 40 void arp_send(int type, int ptype, __be32 dest_ip, 47 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip,
|
/linux-4.1.27/net/ipv4/ |
H A D | gre_offload.c | 128 struct packet_offload *ptype; gre_gro_receive() local 152 ptype = gro_find_receive_by_type(type); gre_gro_receive() 153 if (!ptype) gre_gro_receive() 217 pp = ptype->callbacks.gro_receive(head, skb); gre_gro_receive() 230 struct packet_offload *ptype; gre_gro_complete() local 246 ptype = gro_find_complete_by_type(type); gre_gro_complete() 247 if (ptype) gre_gro_complete() 248 err = ptype->callbacks.gro_complete(skb, nhoff + grehlen); gre_gro_complete()
|
H A D | geneve.c | 157 const struct packet_offload *ptype; geneve_gro_receive() local 198 ptype = gro_find_receive_by_type(type); geneve_gro_receive() 199 if (!ptype) { geneve_gro_receive() 206 pp = ptype->callbacks.gro_receive(head, skb); geneve_gro_receive() 220 struct packet_offload *ptype; geneve_gro_complete() local 232 ptype = gro_find_complete_by_type(type); geneve_gro_complete() 233 if (ptype) geneve_gro_complete() 234 err = ptype->callbacks.gro_complete(skb, nhoff + gh_len); geneve_gro_complete()
|
H A D | arp.c | 481 struct sk_buff *arp_create(int type, int ptype, __be32 dest_ip, arp_create() argument 514 if (dev_hard_header(skb, dev, ptype, dest_hw, src_hw, skb->len) < 0) arp_create() 602 void arp_send(int type, int ptype, __be32 dest_ip, arp_send() argument 616 skb = arp_create(type, ptype, dest_ip, dev, src_ip, arp_send()
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/linux/ |
H A D | linux-tracefile.c | 244 char *prefix = "Lustre", *ptype = NULL; cfs_print_to_console() local 248 ptype = KERN_EMERG; cfs_print_to_console() 251 ptype = KERN_ERR; cfs_print_to_console() 254 ptype = KERN_WARNING; cfs_print_to_console() 257 ptype = KERN_INFO; cfs_print_to_console() 261 printk("%s%s: %.*s", ptype, prefix, len, buf); cfs_print_to_console() 263 printk("%s%s: %d:%d:(%s:%d:%s()) %.*s", ptype, prefix, cfs_print_to_console()
|
/linux-4.1.27/kernel/trace/ |
H A D | trace_probe.h | 205 #define __ASSIGN_FETCH_TYPE(_name, ptype, ftype, _size, sign, _fmttype) \ 209 .print = PRINT_TYPE_FUNC_NAME(ptype), \ 210 .fmt = PRINT_TYPE_FMT_NAME(ptype), \ 224 #define ASSIGN_FETCH_TYPE(ptype, ftype, sign) \ 225 __ASSIGN_FETCH_TYPE(#ptype, ptype, ftype, sizeof(ftype), sign, #ptype)
|
/linux-4.1.27/drivers/staging/ozwpan/ |
H A D | ozproto.c | 34 struct packet_type ptype; member in struct:oz_binding 465 dev_remove_pack(&b->ptype); oz_protocol_term() 466 if (b->ptype.dev) oz_protocol_term() 467 dev_put(b->ptype.dev); oz_protocol_term() 680 binding->ptype.type = htons(OZ_ETHERTYPE); oz_binding_add() 681 binding->ptype.func = oz_pkt_recv; oz_binding_add() 685 binding->ptype.dev = dev_get_by_name(&init_net, net_dev); oz_binding_add() 686 if (binding->ptype.dev == NULL) { oz_binding_add() 692 dev_add_pack(&binding->ptype); oz_binding_add() 741 dev_remove_pack(&binding->ptype); oz_binding_remove() 742 if (binding->ptype.dev) { oz_binding_remove() 743 dev_put(binding->ptype.dev); oz_binding_remove() 744 pd_stop_all_for_device(binding->ptype.dev); oz_binding_remove()
|
/linux-4.1.27/net/nfc/ |
H A D | llcp_core.c | 731 u8 ptype = nfc_llcp_ptype(skb); nfc_llcp_tx_work() local 739 if (ptype == LLCP_PDU_DISC && sk != NULL && nfc_llcp_tx_work() 746 if (ptype == LLCP_PDU_I) nfc_llcp_tx_work() 762 if (ptype == LLCP_PDU_I && copy_skb) nfc_llcp_tx_work() 1029 u8 dsap, ssap, ptype, ns, nr; nfc_llcp_recv_hdlc() local 1031 ptype = nfc_llcp_ptype(skb); nfc_llcp_recv_hdlc() 1053 if (ptype == LLCP_PDU_I) { nfc_llcp_recv_hdlc() 1099 if (ptype == LLCP_PDU_RR) nfc_llcp_recv_hdlc() 1101 else if (ptype == LLCP_PDU_RNR) nfc_llcp_recv_hdlc() 1104 if (nfc_llcp_queue_i_frames(llcp_sock) == 0 && ptype == LLCP_PDU_I) nfc_llcp_recv_hdlc() 1362 u8 ptype; nfc_llcp_recv_agf() local 1383 ptype = nfc_llcp_ptype(skb); nfc_llcp_recv_agf() 1385 if (ptype == LLCP_PDU_SYMM || ptype == LLCP_PDU_AGF) nfc_llcp_recv_agf() 1406 u8 dsap, ssap, ptype; nfc_llcp_rx_skb() local 1408 ptype = nfc_llcp_ptype(skb); nfc_llcp_rx_skb() 1412 pr_debug("ptype 0x%x dsap 0x%x ssap 0x%x\n", ptype, dsap, ssap); nfc_llcp_rx_skb() 1414 if (ptype != LLCP_PDU_SYMM) nfc_llcp_rx_skb() 1418 switch (ptype) { nfc_llcp_rx_skb()
|
H A D | llcp_commands.c | 290 u8 dsap, u8 ssap, u8 ptype) llcp_add_header() 294 pr_debug("ptype 0x%x dsap 0x%x ssap 0x%x\n", ptype, dsap, ssap); llcp_add_header() 296 header[0] = (u8)((dsap << 2) | (ptype >> 2)); llcp_add_header() 297 header[1] = (u8)((ptype << 6) | ssap); llcp_add_header() 289 llcp_add_header(struct sk_buff *pdu, u8 dsap, u8 ssap, u8 ptype) llcp_add_header() argument
|
/linux-4.1.27/net/sched/ |
H A D | act_gact.c | 82 if (p_parm->ptype >= MAX_RAND) tcf_gact_init() 108 gact->tcfg_ptype = p_parm->ptype; tcf_gact_init() 161 .ptype = gact->tcfg_ptype, tcf_gact_dump()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb.c | 218 u8 *ptype) ixgbe_dcb_unpack_prio() 224 ptype[tc] = tc_config[tc].path[direction].prio_type; ixgbe_dcb_unpack_prio() 269 u8 ptype[MAX_TRAFFIC_CLASS]; ixgbe_dcb_hw_config() local 280 ixgbe_dcb_unpack_prio(dcb_config, DCB_TX_CONFIG, ptype); ixgbe_dcb_hw_config() 286 bwgid, ptype); ixgbe_dcb_hw_config() 292 bwgid, ptype, prio_tc); ixgbe_dcb_hw_config() 217 ixgbe_dcb_unpack_prio(struct ixgbe_dcb_config *cfg, int direction, u8 *ptype) ixgbe_dcb_unpack_prio() argument
|
/linux-4.1.27/drivers/isdn/isdnloop/ |
H A D | isdnloop.h | 27 int ptype; member in struct:isdnloop_sdef 78 int ptype; /* Protocol type (1TR6 or Euro) */ member in struct:isdnloop_card
|
H A D | isdnloop.c | 347 card->ptype = ISDN_PTYPE_1TR6; isdnloop_polldchan() 353 card->ptype = ISDN_PTYPE_EURO; isdnloop_polldchan() 547 switch (card->ptype) { isdnloop_unicause() 683 switch (cc->ptype) { isdnloop_try_call() 748 switch (card->ptype) { isdnloop_vstphone() 857 if (card->ptype != ISDN_PTYPE_1TR6) { isdnloop_parse_cmd() 1078 switch (sdef.ptype) { isdnloop_start() 1113 sdef.ptype); isdnloop_start() 1160 while (card->ptype == ISDN_PTYPE_UNKNOWN) isdnloop_command() 1287 if (card->ptype == ISDN_PTYPE_EURO) { isdnloop_command() 1303 if (card->ptype == ISDN_PTYPE_EURO) isdnloop_command() 1460 card->ptype = ISDN_PTYPE_UNKNOWN; isdnloop_initcard()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40evf/ |
H A D | i40e_prototype.h | 68 static inline struct i40e_rx_ptype_decoded decode_rx_desc_ptype(u8 ptype) decode_rx_desc_ptype() argument 70 return i40evf_ptype_lookup[ptype]; decode_rx_desc_ptype()
|
H A D | i40e_common.c | 181 /* The i40evf_ptype_lookup table is used to convert from the 8-bit ptype in the 194 * IF NOT i40evf_ptype_lookup[ptype].known 197 * ELSE IF i40evf_ptype_lookup[ptype].outer_ip == I40E_RX_PTYPE_OUTER_IP
|
H A D | i40e_txrx.c | 849 * @rx_ptype: ptype value of last descriptor in packet 973 * @ptype: the ptype value from the descriptor 977 static inline enum pkt_hash_types i40e_ptype_to_hash(u8 ptype) i40e_ptype_to_hash() argument 979 struct i40e_rx_ptype_decoded decoded = decode_rx_desc_ptype(ptype); i40e_ptype_to_hash()
|
H A D | i40e_type.h | 673 u32 ptype:8; member in struct:i40e_rx_ptype_decoded
|
/linux-4.1.27/net/ethernet/ |
H A D | eth.c | 400 const struct packet_offload *ptype; eth_gro_receive() local 429 ptype = gro_find_receive_by_type(type); eth_gro_receive() 430 if (ptype == NULL) { eth_gro_receive() 437 pp = ptype->callbacks.gro_receive(head, skb); eth_gro_receive() 452 struct packet_offload *ptype; eth_gro_complete() local 459 ptype = gro_find_complete_by_type(type); eth_gro_complete() 460 if (ptype != NULL) eth_gro_complete() 461 err = ptype->callbacks.gro_complete(skb, nhoff + eth_gro_complete()
|
/linux-4.1.27/crypto/ |
H A D | ablkcipher.c | 537 } ptype; crypto_givcipher_default() local 560 ptype.attr.rta_len = sizeof(ptype); crypto_givcipher_default() 561 ptype.attr.rta_type = CRYPTOA_TYPE; crypto_givcipher_default() 562 ptype.data.type = type | CRYPTO_ALG_GENIV; crypto_givcipher_default() 564 ptype.data.mask = mask | CRYPTO_ALG_GENIV; crypto_givcipher_default() 565 tb[0] = &ptype.attr; crypto_givcipher_default()
|
H A D | aead.c | 402 } ptype; crypto_nivaead_default() local 424 ptype.attr.rta_len = sizeof(ptype); crypto_nivaead_default() 425 ptype.attr.rta_type = CRYPTOA_TYPE; crypto_nivaead_default() 426 ptype.data.type = type | CRYPTO_ALG_GENIV; crypto_nivaead_default() 428 ptype.data.mask = mask | CRYPTO_ALG_GENIV; crypto_nivaead_default() 429 tb[0] = &ptype.attr; crypto_nivaead_default()
|
/linux-4.1.27/arch/powerpc/perf/ |
H A D | power6-pmu.c | 141 int pmc, psel, ptype; power6_marked_instr_event() local 152 ptype = direct_event_is_marked[psel]; power6_marked_instr_event() 153 if (pmc == 0 || !(ptype & (1 << (pmc - 1)))) power6_marked_instr_event() 155 ptype >>= 4; power6_marked_instr_event() 156 if (ptype == 0) power6_marked_instr_event() 158 if (ptype == 1) power6_marked_instr_event() 161 bit = ptype ^ (pmc - 1); power6_marked_instr_event()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | uhci-debug.c | 105 char *ptype; uhci_show_urbp() local 118 case PIPE_ISOCHRONOUS: ptype = "ISO"; break; uhci_show_urbp() 119 case PIPE_INTERRUPT: ptype = "INT"; break; uhci_show_urbp() 120 case PIPE_BULK: ptype = "BLK"; break; uhci_show_urbp() 122 case PIPE_CONTROL: ptype = "CTL"; break; uhci_show_urbp() 125 out += sprintf(out, "%s%s", ptype, (urbp->fsbr ? " FSBR" : "")); uhci_show_urbp()
|
/linux-4.1.27/scripts/kconfig/ |
H A D | gconf.c | 709 enum prop_type ptype; on_back_clicked() local 712 ptype = current->prompt ? current->prompt->type : P_UNKNOWN; on_back_clicked() 713 if (ptype != P_MENU) on_back_clicked() 909 enum prop_type ptype; on_treeview2_button_press_event() local 910 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; on_treeview2_button_press_event() 912 if (ptype == P_MENU && view_mode != FULL_VIEW && col == COL_OPTION) { on_treeview2_button_press_event() 1044 enum prop_type ptype; fill_row() local 1063 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; fill_row() 1064 switch (ptype) { fill_row() 1339 enum prop_type ptype; display_tree() local 1349 ptype = prop ? prop->type : P_UNKNOWN; display_tree() 1369 printf("%s", prop_get_type_name(ptype)); display_tree() 1379 if ((view_mode != FULL_VIEW) && (ptype == P_MENU) display_tree()
|
H A D | qconf.cc | 729 enum prop_type ptype; contentsMouseReleaseEvent() local 751 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; contentsMouseReleaseEvent() 752 if (ptype == P_MENU && rootEntry != menu && contentsMouseReleaseEvent() 791 enum prop_type ptype; contentsMouseDoubleClickEvent() local 802 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; contentsMouseDoubleClickEvent() 803 if (ptype == P_MENU && (mode == singleMode || mode == symbolMode)) contentsMouseDoubleClickEvent()
|
H A D | nconf.c | 750 enum prop_type ptype; build_conf() local 751 ptype = menu->prompt ? menu->prompt->type : P_UNKNOWN; build_conf() 752 switch (ptype) { build_conf()
|
/linux-4.1.27/fs/affs/ |
H A D | inode.c | 41 if (affs_checksum_block(sb, bh) || be32_to_cpu(AFFS_HEAD(bh)->ptype) != T_SHORT) { affs_iget() 43 "Checksum or type (ptype=%d) error on inode %d", affs_iget() 44 AFFS_HEAD(bh)->ptype, block); affs_iget() 379 AFFS_HEAD(bh)->ptype = cpu_to_be32(T_SHORT); affs_add_entry()
|
H A D | file.c | 133 AFFS_HEAD(new_bh)->ptype = cpu_to_be32(T_LIST); affs_alloc_extblock() 578 AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA); affs_extent_file_ofs() 728 AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA); affs_write_end_ofs() 762 AFFS_DATA_HEAD(bh)->ptype = cpu_to_be32(T_DATA); affs_write_end_ofs()
|
H A D | super.c | 395 be32_to_cpu(AFFS_ROOT_HEAD(root_bh)->ptype) == T_SHORT && affs_fill_super()
|
/linux-4.1.27/drivers/media/usb/dvb-usb/ |
H A D | usb-urb.c | 17 int ptype = usb_pipetype(urb->pipe); usb_urb_complete() local 22 ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk", usb_urb_complete() 40 switch (ptype) { usb_urb_complete()
|
/linux-4.1.27/drivers/media/usb/dvb-usb-v2/ |
H A D | usb_urb.c | 21 int ptype = usb_pipetype(urb->pipe); usb_urb_complete() local 27 __func__, ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk", usb_urb_complete() 48 switch (ptype) { usb_urb_complete()
|
/linux-4.1.27/net/core/ |
H A D | net-procfs.c | 324 if (!proc_create("ptype", S_IRUGO, net->proc_net, &ptype_seq_fops)) dev_proc_net_init() 333 remove_proc_entry("ptype", net->proc_net); dev_proc_net_init() 345 remove_proc_entry("ptype", net->proc_net); dev_proc_net_exit()
|
H A D | dev.c | 1773 struct packet_type *ptype, *pt_prev = *pt; deliver_ptype_list_skb() local 1775 list_for_each_entry_rcu(ptype, ptype_list, list) { list_for_each_entry_rcu() 1776 if (ptype->type != type) list_for_each_entry_rcu() 1780 pt_prev = ptype; list_for_each_entry_rcu() 1785 static inline bool skb_loop_sk(struct packet_type *ptype, struct sk_buff *skb) skb_loop_sk() argument 1787 if (!ptype->af_packet_priv || !skb->sk) skb_loop_sk() 1790 if (ptype->id_match) skb_loop_sk() 1791 return ptype->id_match(ptype, skb->sk); skb_loop_sk() 1792 else if ((struct sock *)ptype->af_packet_priv == skb->sk) skb_loop_sk() 1805 struct packet_type *ptype; dev_queue_xmit_nit() local 1812 list_for_each_entry_rcu(ptype, ptype_list, list) { list_for_each_entry_rcu() 1816 if (skb_loop_sk(ptype, skb)) list_for_each_entry_rcu() 1821 pt_prev = ptype; list_for_each_entry_rcu() 1848 pt_prev = ptype; list_for_each_entry_rcu() 2437 struct packet_offload *ptype; skb_mac_gso_segment() local 2447 list_for_each_entry_rcu(ptype, &offload_base, list) { skb_mac_gso_segment() 2448 if (ptype->type == type && ptype->callbacks.gso_segment) { skb_mac_gso_segment() 2449 segs = ptype->callbacks.gso_segment(skb, features); skb_mac_gso_segment() 3654 struct packet_type *ptype, *pt_prev; __netif_receive_skb_core() local 3696 list_for_each_entry_rcu(ptype, &ptype_all, list) { __netif_receive_skb_core() 3699 pt_prev = ptype; __netif_receive_skb_core() 3702 list_for_each_entry_rcu(ptype, &skb->dev->ptype_all, list) { __netif_receive_skb_core() 3705 pt_prev = ptype; __netif_receive_skb_core() 3906 struct packet_offload *ptype; napi_gro_complete() local 3919 list_for_each_entry_rcu(ptype, head, list) { list_for_each_entry_rcu() 3920 if (ptype->type != type || !ptype->callbacks.gro_complete) list_for_each_entry_rcu() 3923 err = ptype->callbacks.gro_complete(skb, 0); list_for_each_entry_rcu() 3929 WARN_ON(&ptype->list == head); 4037 struct packet_offload *ptype; dev_gro_receive() local 4053 list_for_each_entry_rcu(ptype, head, list) { list_for_each_entry_rcu() 4054 if (ptype->type != type || !ptype->callbacks.gro_receive) list_for_each_entry_rcu() 4081 pp = ptype->callbacks.gro_receive(&napi->gro_list, skb); list_for_each_entry_rcu() 4086 if (&ptype->list == head) 4144 struct packet_offload *ptype; gro_find_receive_by_type() local 4146 list_for_each_entry_rcu(ptype, offload_head, list) { list_for_each_entry_rcu() 4147 if (ptype->type != type || !ptype->callbacks.gro_receive) list_for_each_entry_rcu() 4149 return ptype; list_for_each_entry_rcu() 4158 struct packet_offload *ptype; gro_find_complete_by_type() local 4160 list_for_each_entry_rcu(ptype, offload_head, list) { list_for_each_entry_rcu() 4161 if (ptype->type != type || !ptype->callbacks.gro_complete) list_for_each_entry_rcu() 4163 return ptype; list_for_each_entry_rcu()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | tilegx.c | 493 type.ptype = UART_TYPE__PTYPE_VAL_MARK; tilegx_set_termios() 495 type.ptype = UART_TYPE__PTYPE_VAL_SPACE; tilegx_set_termios() 497 type.ptype = UART_TYPE__PTYPE_VAL_ODD; tilegx_set_termios() 499 type.ptype = UART_TYPE__PTYPE_VAL_EVEN; tilegx_set_termios() 501 type.ptype = UART_TYPE__PTYPE_VAL_NONE; tilegx_set_termios()
|
/linux-4.1.27/tools/perf/util/ |
H A D | python.c | 38 #define member_def(type, member, ptype, help) \ 39 { #member, ptype, \ 43 #define sample_member_def(name, member, ptype, help) \ 44 { #name, ptype, \ 350 PyTypeObject *ptype; pyrf_event__new() local 356 ptype = pyrf_event__type[event->header.type]; pyrf_event__new() 357 pevent = PyObject_New(struct pyrf_event, ptype); pyrf_event__new()
|
/linux-4.1.27/net/ax25/ |
H A D | ax25_in.c | 188 ax25_address *dev_addr, struct packet_type *ptype) ax25_rcv() 438 struct packet_type *ptype, struct net_device *orig_dev) ax25_kiss_rcv() 454 return ax25_rcv(skb, dev, (ax25_address *)dev->dev_addr, ptype); ax25_kiss_rcv() 187 ax25_rcv(struct sk_buff *skb, struct net_device *dev, ax25_address *dev_addr, struct packet_type *ptype) ax25_rcv() argument 437 ax25_kiss_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) ax25_kiss_rcv() argument
|
/linux-4.1.27/include/net/irda/ |
H A D | irda.h | 113 struct packet_type *ptype, struct net_device *orig_dev);
|
/linux-4.1.27/net/bridge/netfilter/ |
H A D | ebt_arp.c | 34 if (info->bitmask & EBT_ARP_PTYPE && FWINV(info->ptype != ebt_arp_mt()
|
/linux-4.1.27/arch/tile/include/arch/ |
H A D | uart.h | 283 uint_reg_t ptype : 3; member in struct:__anon2795::__anon2796 288 uint_reg_t ptype : 3;
|
/linux-4.1.27/drivers/isdn/act2000/ |
H A D | module.c | 283 card->ptype = a ? ISDN_PTYPE_EURO : ISDN_PTYPE_1TR6; act2000_command() 324 if (card->ptype == ISDN_PTYPE_EURO) act2000_command() 374 if (card->ptype == ISDN_PTYPE_EURO) { act2000_command() 377 if (card->ptype == ISDN_PTYPE_1TR6) { act2000_command() 603 card->ptype = ISDN_PTYPE_EURO; act2000_alloccard()
|
H A D | act2000.h | 154 u_char ptype; /* Protocol type (1TR6 or Euro) */ member in struct:act2000_card
|
H A D | capi.c | 212 m->msg.manufacturer_req_net.nettype = (card->ptype == ISDN_PTYPE_EURO) ? 1 : 0; actcapi_manufacturer_req_net() 215 card->interface.id, (card->ptype == ISDN_PTYPE_EURO) ? "euro" : "1tr6"); actcapi_manufacturer_req_net() 219 ((card->ptype == ISDN_PTYPE_EURO) ? ISDN_FEATURE_P_EURO : ISDN_FEATURE_P_1TR6); actcapi_manufacturer_req_net() 700 if (card->ptype == ISDN_PTYPE_EURO) actcapi_dispatch()
|
/linux-4.1.27/scripts/ |
H A D | get_maintainer.pl | 959 my $ptype = $1; 961 if ($ptype eq "S") { 1018 my $ptype = $1; 1020 if ($ptype eq "L") { 1054 } elsif ($ptype eq "M") { 1071 } elsif ($ptype eq "R") { 1087 } elsif ($ptype eq "T") { 1089 } elsif ($ptype eq "W") { 1091 } elsif ($ptype eq "S") {
|
/linux-4.1.27/drivers/media/usb/au0828/ |
H A D | au0828-dvb.c | 116 int ptype = usb_pipetype(purb->pipe); urb_completion() local 131 if (ptype != PIPE_BULK) { urb_completion() 133 __func__, ptype); urb_completion()
|
/linux-4.1.27/net/x25/ |
H A D | x25_dev.c | 100 struct packet_type *ptype, struct net_device *orig_dev) x25_lapb_receive_frame() 99 x25_lapb_receive_frame(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) x25_lapb_receive_frame() argument
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_prototype.h | 283 static inline struct i40e_rx_ptype_decoded decode_rx_desc_ptype(u8 ptype) decode_rx_desc_ptype() argument 285 return i40e_ptype_lookup[ptype]; decode_rx_desc_ptype()
|
H A D | i40e_fcoe.c | 42 * @ptype: the packet type field from rx descriptor write-back 44 static inline bool i40e_rx_is_fcoe(u16 ptype) i40e_rx_is_fcoe() argument 46 return (ptype >= I40E_RX_PTYPE_L2_FCOE_PAY3) && i40e_rx_is_fcoe() 47 (ptype <= I40E_RX_PTYPE_L2_FCOE_VFT_FCOTHER); i40e_rx_is_fcoe() 700 u16 ptype; i40e_fcoe_handle_offload() local 707 ptype = (qw & I40E_RXD_QW1_PTYPE_MASK) >> I40E_RXD_QW1_PTYPE_SHIFT; i40e_fcoe_handle_offload() 708 if (!i40e_rx_is_fcoe(ptype)) i40e_fcoe_handle_offload()
|
H A D | i40e_txrx.c | 1366 * @rx_ptype: ptype value of last descriptor in packet 1490 * @ptype: the ptype value from the descriptor 1494 static inline enum pkt_hash_types i40e_ptype_to_hash(u8 ptype) i40e_ptype_to_hash() argument 1496 struct i40e_rx_ptype_decoded decoded = decode_rx_desc_ptype(ptype); i40e_ptype_to_hash()
|
H A D | i40e_type.h | 679 u32 ptype:8; member in struct:i40e_rx_ptype_decoded
|
H A D | i40e_common.c | 180 /* The i40e_ptype_lookup table is used to convert from the 8-bit ptype in the 193 * IF NOT i40e_ptype_lookup[ptype].known 196 * ELSE IF i40e_ptype_lookup[ptype].outer_ip == I40E_RX_PTYPE_OUTER_IP
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | paravirt.h | 851 #define _PVSITE(ptype, clobbers, ops, word, algn) \ 858 .byte ptype; \ 893 #define PARA_SITE(ptype, clobbers, ops) _PVSITE(ptype, clobbers, ops, .quad, 8) 908 #define PARA_SITE(ptype, clobbers, ops) _PVSITE(ptype, clobbers, ops, .long, 4)
|
/linux-4.1.27/drivers/isdn/icn/ |
H A D | icn.c | 639 card->ptype = ISDN_PTYPE_1TR6; icn_polldchan() 645 card->ptype = ISDN_PTYPE_EURO; icn_polldchan() 1271 while (card->ptype == ISDN_PTYPE_UNKNOWN) { icn_command() 1384 if (card->ptype == ISDN_PTYPE_EURO) { icn_command() 1400 if (card->ptype == ISDN_PTYPE_EURO) icn_command() 1542 card->ptype = ISDN_PTYPE_UNKNOWN; icn_initcard()
|
H A D | icn.h | 148 int ptype; /* Protocol type (1TR6 or Euro) */ member in struct:icn_card
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
H A D | netcp_ethss.c | 183 u32 ptype; member in struct:xgbe_switch_regs 316 u32 ptype; /* NU */ member in struct:gbenu_switch_regs 502 u32 ptype; member in struct:gbe_switch_regs 516 u16 ptype; member in struct:gbe_switch_regs_ofs 2247 writel(0, GBE_REG_ADDR(gbe_dev, switch_regs, ptype)); gbe_open() 2590 XGBE_SET_REG_OFS(gbe_dev, switch_regs, ptype); set_xgbe_ethss10_priv() 2699 GBE_SET_REG_OFS(gbe_dev, switch_regs, ptype); set_gbe_ethss14_priv() 2768 GBENU_SET_REG_OFS(gbe_dev, switch_regs, ptype); set_gbenu_ethss_priv()
|
H A D | cpsw.c | 195 u32 ptype; member in struct:cpsw_ss_regs 1282 __raw_writel(0, &priv->regs->ptype); cpsw_ndo_open()
|
/linux-4.1.27/net/netfilter/ipvs/ |
H A D | ip_vs_sync.c | 1101 int ptype; ip_vs_proc_sync_conn() local 1106 ptype = *(p++); ip_vs_proc_sync_conn() 1112 switch (ptype & ~IPVS_OPT_F_PARAM) { ip_vs_proc_sync_conn() 1134 if (!(ptype & IPVS_OPT_F_PARAM)) { ip_vs_proc_sync_conn() 1136 ptype & ~IPVS_OPT_F_PARAM); ip_vs_proc_sync_conn()
|
/linux-4.1.27/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma_hw.c | 2801 static int ocrdma_mbx_get_dcbx_config(struct ocrdma_dev *dev, u32 ptype, ocrdma_mbx_get_dcbx_config() argument 2831 req->param_type = ptype; ocrdma_mbx_get_dcbx_config() 2850 static int ocrdma_parse_dcbxcfg_rsp(struct ocrdma_dev *dev, int ptype, ocrdma_parse_dcbxcfg_rsp() argument 2870 (ptype > 0 ? "operational" : "admin"), ocrdma_parse_dcbxcfg_rsp() 2931 int ptype = OCRDMA_PARAMETER_TYPE_OPER; ocrdma_init_service_level() local 2934 status = ocrdma_mbx_get_dcbx_config(dev, ptype, &dcbxcfg); ocrdma_init_service_level() 2937 ptype = OCRDMA_PARAMETER_TYPE_ADMIN; ocrdma_init_service_level() 2941 status = ocrdma_parse_dcbxcfg_rsp(dev, ptype, ocrdma_init_service_level() 2944 ptype = OCRDMA_PARAMETER_TYPE_ADMIN; ocrdma_init_service_level()
|
/linux-4.1.27/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_fcoe.c | 401 * @ptype: context 407 struct packet_type *ptype, struct net_device *olddev) bnx2fc_rcv() 418 interface = container_of(ptype, struct bnx2fc_interface, bnx2fc_rcv() 1000 * @ptype: the &packet_type structure which was used to register this handler. 1006 struct packet_type *ptype, bnx2fc_fip_recv() 1011 interface = container_of(ptype, struct bnx2fc_interface, bnx2fc_fip_recv() 406 bnx2fc_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *olddev) bnx2fc_rcv() argument 1005 bnx2fc_fip_recv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) bnx2fc_fip_recv() argument
|
/linux-4.1.27/drivers/net/can/softing/ |
H A D | softing_fw.c | 105 static int fw_parse(const uint8_t **pmem, uint16_t *ptype, uint32_t *paddr, fw_parse() argument 128 *ptype = le16_to_cpup((void *)&mem[0]); fw_parse()
|
/linux-4.1.27/drivers/net/wan/ |
H A D | lapbether.c | 90 static int lapbeth_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) lapbeth_rcv() argument
|
/linux-4.1.27/net/batman-adv/ |
H A D | main.h | 204 struct packet_type *ptype,
|
H A D | main.c | 359 struct packet_type *ptype, batadv_batman_skb_recv() 368 hard_iface = container_of(ptype, struct batadv_hard_iface, batadv_batman_skb_recv() 358 batadv_batman_skb_recv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) batadv_batman_skb_recv() argument
|
/linux-4.1.27/drivers/scsi/fcoe/ |
H A D | fcoe.c | 513 * @ptype: The packet_type structure which was used to register this handler 520 struct packet_type *ptype, fcoe_fip_recv() 526 fcoe = container_of(ptype, struct fcoe_interface, fip_packet_type); fcoe_fip_recv() 1421 * @ptype: The packet type context 1430 struct packet_type *ptype, struct net_device *olddev) fcoe_rcv() 1441 fcoe = container_of(ptype, struct fcoe_interface, fcoe_packet_type); fcoe_rcv() 519 fcoe_fip_recv(struct sk_buff *skb, struct net_device *netdev, struct packet_type *ptype, struct net_device *orig_dev) fcoe_fip_recv() argument 1429 fcoe_rcv(struct sk_buff *skb, struct net_device *netdev, struct packet_type *ptype, struct net_device *olddev) fcoe_rcv() argument
|
/linux-4.1.27/drivers/net/hamradio/ |
H A D | bpqether.c | 179 static int bpq_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) bpq_rcv() argument
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
H A D | d3.c | 398 enum iwl_mvm_tcp_packet_type ptype) iwl_mvm_build_tcp_packet() 414 switch (ptype) { iwl_mvm_build_tcp_packet() 444 switch (ptype) { iwl_mvm_build_tcp_packet() 477 switch (ptype) { iwl_mvm_build_tcp_packet() 394 iwl_mvm_build_tcp_packet(struct ieee80211_vif *vif, struct cfg80211_wowlan_tcp *tcp, void *_pkt, u8 *mask, __le16 *pseudo_hdr_csum, enum iwl_mvm_tcp_packet_type ptype) iwl_mvm_build_tcp_packet() argument
|
/linux-4.1.27/net/irda/ |
H A D | irlap_frame.c | 1270 * Function irlap_driver_rcv (skb, netdev, ptype) 1286 struct packet_type *ptype, struct net_device *orig_dev) irlap_driver_rcv() 1285 irlap_driver_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) irlap_driver_rcv() argument
|
/linux-4.1.27/net/phonet/ |
H A D | pep.c | 57 static unsigned char *pep_get_sb(struct sk_buff *skb, u8 *ptype, u8 *plen, pep_get_sb() argument 71 *ptype = ph->sb_type; pep_get_sb()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
H A D | niu.c | 3457 int ptype; niu_process_rx_pkt() local 3459 ptype = (val >> RCR_ENTRY_PKT_TYPE_SHIFT); niu_process_rx_pkt() 3460 if ((ptype == RCR_PKT_TYPE_TCP || niu_process_rx_pkt() 3461 ptype == RCR_PKT_TYPE_UDP) && niu_process_rx_pkt() 9458 union niu_parent_id *id, u8 ptype) niu_new_parent() 9486 p->plat_type = ptype; niu_new_parent() 9522 union niu_parent_id *id, u8 ptype) niu_get_parent() 9536 p = niu_new_parent(np, id, ptype); niu_get_parent() 9457 niu_new_parent(struct niu *np, union niu_parent_id *id, u8 ptype) niu_new_parent() argument 9521 niu_get_parent(struct niu *np, union niu_parent_id *id, u8 ptype) niu_get_parent() argument
|
/linux-4.1.27/drivers/net/fddi/skfp/ |
H A D | smt.c | 1574 int ptype ; member in struct:smt_pdef 1862 if (pd->ptype == type) smt_swap_para()
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsi_debug.c | 4098 module_param_named(ptype, scsi_debug_ptype, int, S_IRUGO | S_IWUSR); 4145 MODULE_PARM_DESC(ptype, "SCSI peripheral type(def=0[disk])"); 4351 static DRIVER_ATTR_RW(ptype);
|
/linux-4.1.27/net/packet/ |
H A D | af_packet.c | 1420 static bool match_fanout_group(struct packet_type *ptype, struct sock *sk) match_fanout_group() argument 1422 if (ptype->af_packet_priv == (void *)((struct packet_sock *)sk)->fanout) match_fanout_group()
|