Searched refs:ptype (Results 1 - 25 of 34) sorted by relevance

12

/drivers/staging/lustre/lustre/libcfs/linux/
H A Dlinux-tracefile.c242 char *prefix = "Lustre", *ptype = NULL; local
246 ptype = KERN_EMERG;
249 ptype = KERN_ERR;
252 ptype = KERN_WARNING;
255 ptype = KERN_INFO;
259 printk("%s%s: %.*s", ptype, prefix, len, buf);
261 printk("%s%s: %d:%d:(%s:%d:%s()) %.*s", ptype, prefix,
/drivers/isdn/isdnloop/
H A Disdnloop.h27 int ptype; member in struct:isdnloop_sdef
78 int ptype; /* Protocol type (1TR6 or Euro) */ member in struct:isdnloop_card
H A Disdnloop.c346 card->ptype = ISDN_PTYPE_1TR6;
352 card->ptype = ISDN_PTYPE_EURO;
549 switch (card->ptype) {
687 switch (cc->ptype) {
752 switch (card->ptype) {
861 if (card->ptype != ISDN_PTYPE_1TR6) {
1082 switch (sdef.ptype) {
1117 sdef.ptype);
1164 while (card->ptype == ISDN_PTYPE_UNKNOWN)
1291 if (card->ptype
[all...]
/drivers/net/ethernet/intel/i40evf/
H A Di40e_prototype.h69 static inline struct i40e_rx_ptype_decoded decode_rx_desc_ptype(u8 ptype) argument
71 return i40evf_ptype_lookup[ptype];
/drivers/staging/ozwpan/
H A Dozproto.c34 struct packet_type ptype; member in struct:oz_binding
465 dev_remove_pack(&b->ptype);
466 if (b->ptype.dev)
467 dev_put(b->ptype.dev);
680 binding->ptype.type = htons(OZ_ETHERTYPE);
681 binding->ptype.func = oz_pkt_recv;
685 binding->ptype.dev = dev_get_by_name(&init_net, net_dev);
686 if (binding->ptype.dev == NULL) {
692 dev_add_pack(&binding->ptype);
741 dev_remove_pack(&binding->ptype);
[all...]
/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb.c218 u8 *ptype)
224 ptype[tc] = tc_config[tc].path[direction].prio_type;
269 u8 ptype[MAX_TRAFFIC_CLASS]; local
280 ixgbe_dcb_unpack_prio(dcb_config, DCB_TX_CONFIG, ptype);
286 bwgid, ptype);
290 bwgid, ptype, prio_tc);
217 ixgbe_dcb_unpack_prio(struct ixgbe_dcb_config *cfg, int direction, u8 *ptype) argument
/drivers/media/usb/dvb-usb/
H A Dusb-urb.c17 int ptype = usb_pipetype(urb->pipe); local
22 ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk",
40 switch (ptype) {
/drivers/usb/host/
H A Duhci-debug.c105 char *ptype; local
118 case PIPE_ISOCHRONOUS: ptype = "ISO"; break;
119 case PIPE_INTERRUPT: ptype = "INT"; break;
120 case PIPE_BULK: ptype = "BLK"; break;
122 case PIPE_CONTROL: ptype = "CTL"; break;
125 out += sprintf(out, "%s%s", ptype, (urbp->fsbr ? " FSBR" : ""));
/drivers/isdn/act2000/
H A Dmodule.c283 card->ptype = a ? ISDN_PTYPE_EURO : ISDN_PTYPE_1TR6;
324 if (card->ptype == ISDN_PTYPE_EURO)
374 if (card->ptype == ISDN_PTYPE_EURO) {
377 if (card->ptype == ISDN_PTYPE_1TR6) {
603 card->ptype = ISDN_PTYPE_EURO;
H A Dact2000.h154 u_char ptype; /* Protocol type (1TR6 or Euro) */ member in struct:act2000_card
H A Dcapi.c212 m->msg.manufacturer_req_net.nettype = (card->ptype == ISDN_PTYPE_EURO) ? 1 : 0;
215 card->interface.id, (card->ptype == ISDN_PTYPE_EURO) ? "euro" : "1tr6");
219 ((card->ptype == ISDN_PTYPE_EURO) ? ISDN_FEATURE_P_EURO : ISDN_FEATURE_P_1TR6);
700 if (card->ptype == ISDN_PTYPE_EURO)
/drivers/tty/serial/
H A Dtilegx.c493 type.ptype = UART_TYPE__PTYPE_VAL_MARK;
495 type.ptype = UART_TYPE__PTYPE_VAL_SPACE;
497 type.ptype = UART_TYPE__PTYPE_VAL_ODD;
499 type.ptype = UART_TYPE__PTYPE_VAL_EVEN;
501 type.ptype = UART_TYPE__PTYPE_VAL_NONE;
/drivers/media/usb/dvb-usb-v2/
H A Dusb_urb.c21 int ptype = usb_pipetype(urb->pipe); local
27 __func__, ptype == PIPE_ISOCHRONOUS ? "isoc" : "bulk",
48 switch (ptype) {
/drivers/net/ethernet/intel/i40e/
H A Di40e_fcoe.c43 * @ptype: the packet type field from rx descriptor write-back
45 static inline bool i40e_rx_is_fip(u16 ptype) argument
47 return ptype == I40E_RX_PTYPE_L2_FIP_PAY2;
52 * @ptype: the packet type field from rx descriptor write-back
54 static inline bool i40e_rx_is_fcoe(u16 ptype) argument
56 return (ptype >= I40E_RX_PTYPE_L2_FCOE_PAY3) &&
57 (ptype <= I40E_RX_PTYPE_L2_FCOE_VFT_FCOTHER);
705 u16 ptype; local
712 ptype = (qw & I40E_RXD_QW1_PTYPE_MASK) >> I40E_RXD_QW1_PTYPE_SHIFT;
713 if (!i40e_rx_is_fcoe(ptype))
[all...]
H A Di40e_prototype.h265 static inline struct i40e_rx_ptype_decoded decode_rx_desc_ptype(u8 ptype) argument
267 return i40e_ptype_lookup[ptype];
/drivers/media/usb/au0828/
H A Dau0828-dvb.c114 int ptype = usb_pipetype(purb->pipe); local
129 if (ptype != PIPE_BULK) {
131 __func__, ptype);
/drivers/isdn/icn/
H A Dicn.h148 int ptype; /* Protocol type (1TR6 or Euro) */ member in struct:icn_card
H A Dicn.c639 card->ptype = ISDN_PTYPE_1TR6;
645 card->ptype = ISDN_PTYPE_EURO;
1271 while (card->ptype == ISDN_PTYPE_UNKNOWN) {
1384 if (card->ptype == ISDN_PTYPE_EURO) {
1400 if (card->ptype == ISDN_PTYPE_EURO)
1542 card->ptype = ISDN_PTYPE_UNKNOWN;
/drivers/net/can/softing/
H A Dsofting_fw.c105 static int fw_parse(const uint8_t **pmem, uint16_t *ptype, uint32_t *paddr, argument
128 *ptype = le16_to_cpup((void *)&mem[0]);
/drivers/net/wan/
H A Dlapbether.c90 static int lapbeth_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) argument
/drivers/infiniband/hw/ocrdma/
H A Docrdma_hw.c2631 static int ocrdma_mbx_get_dcbx_config(struct ocrdma_dev *dev, u32 ptype, argument
2661 req->param_type = ptype;
2680 static int ocrdma_parse_dcbxcfg_rsp(struct ocrdma_dev *dev, int ptype, argument
2700 (ptype > 0 ? "operational" : "admin"),
2761 int ptype = OCRDMA_PARAMETER_TYPE_OPER; local
2764 status = ocrdma_mbx_get_dcbx_config(dev, ptype, &dcbxcfg);
2767 ptype = OCRDMA_PARAMETER_TYPE_ADMIN;
2771 status = ocrdma_parse_dcbxcfg_rsp(dev, ptype,
2774 ptype = OCRDMA_PARAMETER_TYPE_ADMIN;
/drivers/net/hamradio/
H A Dbpqether.c179 static int bpq_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) argument
/drivers/net/wireless/iwlwifi/mvm/
H A Dd3.c398 enum iwl_mvm_tcp_packet_type ptype)
414 switch (ptype) {
444 switch (ptype) {
477 switch (ptype) {
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) argument
/drivers/net/
H A Dvxlan.c554 const struct packet_offload *ptype; local
595 ptype = gro_find_receive_by_type(type);
596 if (ptype == NULL) {
603 pp = ptype->callbacks.gro_receive(head, skb);
616 struct packet_offload *ptype; local
627 ptype = gro_find_complete_by_type(type);
628 if (ptype != NULL)
629 err = ptype->callbacks.gro_complete(skb, nhoff + vxlan_len);
/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c401 * @ptype: context
407 struct packet_type *ptype, struct net_device *olddev)
418 interface = container_of(ptype, struct bnx2fc_interface,
1000 * @ptype: the &packet_type structure which was used to register this handler.
1006 struct packet_type *ptype,
1011 interface = container_of(ptype, struct bnx2fc_interface,
406 bnx2fc_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *olddev) argument
1005 bnx2fc_fip_recv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptype, struct net_device *orig_dev) argument

Completed in 561 milliseconds

12