Home
last modified time | relevance | path

Searched refs:vtag (Results 1 – 17 of 17) sorted by relevance

/drivers/misc/mei/
Dinterrupt.c126 struct mei_ext_hdr *vtag = NULL; in mei_cl_irq_read_msg() local
132 vtag = ext; in mei_cl_irq_read_msg()
144 if (!vtag) { in mei_cl_irq_read_msg()
150 cl_dbg(dev, cl, "vtag: %d\n", vtag->ext_payload[0]); in mei_cl_irq_read_msg()
151 if (cb->vtag && cb->vtag != vtag->ext_payload[0]) { in mei_cl_irq_read_msg()
153 cb->vtag, vtag->ext_payload[0]); in mei_cl_irq_read_msg()
157 cb->vtag = vtag->ext_payload[0]; in mei_cl_irq_read_msg()
Dmain.c297 return cl_vtag->vtag; in mei_cl_vtag_by_fp()
378 cb->vtag = mei_cl_vtag_by_fp(cl, file); in mei_write()
508 u8 vtag) in mei_ioctl_connect_vtag() argument
518 dev_dbg(dev->dev, "FW Client %pUl vtag %d\n", in_client_uuid, vtag); in mei_ioctl_connect_vtag()
522 if (mei_cl_vtag_by_fp(cl, file) != vtag) { in mei_ioctl_connect_vtag()
529 if (!IS_ERR(mei_cl_fp_by_vtag(cl, vtag))) { in mei_ioctl_connect_vtag()
545 if (!IS_ERR(mei_cl_fp_by_vtag(pos, vtag))) in mei_ioctl_connect_vtag()
557 cl_vtag = mei_cl_vtag_alloc(file, vtag); in mei_ioctl_connect_vtag()
649 u8 vtag; in mei_ioctl() local
677 vtag = 0; in mei_ioctl()
[all …]
Dclient.c402 cb->vtag = 0; in mei_io_cb_init()
1290 struct mei_cl_vtag *mei_cl_vtag_alloc(struct file *fp, u8 vtag) in mei_cl_vtag_alloc() argument
1299 cl_vtag->vtag = vtag; in mei_cl_vtag_alloc()
1315 const struct file *mei_cl_fp_by_vtag(const struct mei_cl *cl, u8 vtag) in mei_cl_fp_by_vtag() argument
1320 if (vtag_l->vtag == vtag) in mei_cl_fp_by_vtag()
1332 static void mei_cl_reset_read_by_vtag(const struct mei_cl *cl, u8 vtag) in mei_cl_reset_read_by_vtag() argument
1337 if (vtag_l->vtag == vtag) { in mei_cl_reset_read_by_vtag()
1401 fp = mei_cl_fp_by_vtag(cl, cb->vtag); in mei_cl_add_rd_completed()
1408 mei_cl_reset_read_by_vtag(cl, cb->vtag); in mei_cl_add_rd_completed()
1725 static inline u8 mei_ext_hdr_set_vtag(struct mei_ext_hdr *ext, u8 vtag) in mei_ext_hdr_set_vtag() argument
[all …]
Dclient.h149 struct mei_cl_vtag *mei_cl_vtag_alloc(struct file *fp, u8 vtag);
150 const struct file *mei_cl_fp_by_vtag(const struct mei_cl *cl, u8 vtag);
Dmei_dev.h189 u8 vtag; member
207 u8 vtag; member
Dbus.c891 static DEVICE_ATTR_RO(vtag);
/drivers/net/ethernet/tehuti/
Dtehuti.h323 #define TXD_W1_VAL(bc, checksum, vtag, lgsnd, vlan_id) \ argument
324 ((bc) | ((checksum)<<5) | ((vtag)<<8) | \
/drivers/net/ethernet/amd/
Damd8111e.c693 short vtag; in amd8111e_rx_poll() local
721 vtag = status & TT_MASK; in amd8111e_rx_poll()
723 if (vtag != 0) in amd8111e_rx_poll()
758 if (vtag == TT_VLAN_TAGGED){ in amd8111e_rx_poll()
/drivers/net/ethernet/atheros/atl1e/
Datl1e.h220 u16 vtag; member
Datl1e_main.c1462 u16 vlan_tag = (prrs->vtag >> 4) | in atl1e_clean_rx_irq()
1463 ((prrs->vtag & 7) << 13) | in atl1e_clean_rx_irq()
1464 ((prrs->vtag & 8) << 9); in atl1e_clean_rx_irq()
1467 prrs->vtag); in atl1e_clean_rx_irq()
/drivers/net/ethernet/atheros/atlx/
Datl2.h304 unsigned short vtag; /* vlan tag */ member
Datl2.c430 u16 vlan_tag = (rxd->status.vtag>>4) | in atl2_intr_rx()
431 ((rxd->status.vtag&7) << 13) | in atl2_intr_rx()
432 ((rxd->status.vtag&8) << 9); in atl2_intr_rx()
/drivers/infiniband/hw/i40iw/
Di40iw_cm.c391 u16 vtag; in i40iw_form_cm_frame() local
438 vtag = (cm_node->user_pri << VLAN_PRIO_SHIFT) | cm_node->vlan_id; in i40iw_form_cm_frame()
439 ((struct vlan_ethhdr *)ethh)->h_vlan_TCI = htons(vtag); in i40iw_form_cm_frame()
468 vtag = (cm_node->user_pri << VLAN_PRIO_SHIFT) | cm_node->vlan_id; in i40iw_form_cm_frame()
469 ((struct vlan_ethhdr *)ethh)->h_vlan_TCI = htons(vtag); in i40iw_form_cm_frame()
3135 u16 vtag; in i40iw_receive_ilq() local
3149 vtag = ntohs(ethh->h_vlan_TCI); in i40iw_receive_ilq()
3150 cm_info.user_pri = (vtag & VLAN_PRIO_MASK) >> VLAN_PRIO_SHIFT; in i40iw_receive_ilq()
3151 cm_info.vlan_id = vtag & VLAN_VID_MASK; in i40iw_receive_ilq()
/drivers/net/ethernet/ti/
Dcpsw_priv.c234 u16 vtag, vid, prio, pkt_type; in cpsw_rx_vlan_encap() local
260 vtag = (prio << VLAN_PRIO_SHIFT) | vid; in cpsw_rx_vlan_encap()
261 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vtag); in cpsw_rx_vlan_encap()
/drivers/net/ethernet/cavium/liquidio/
Dlio_core.c583 u16 vtag = 0; in liquidio_push_packet() local
689 vtag = (priority << VLAN_PRIO_SHIFT) | vid; in liquidio_push_packet()
690 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vtag); in liquidio_push_packet()
/drivers/net/ethernet/mediatek/
Dmtk_star_emac.c197 u32 vtag; member
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.c1659 u16 vtag = tpa_info->metadata & RX_CMP_FLAGS2_METADATA_TCI_MASK; in bnxt_tpa_end() local
1662 __vlan_hwaccel_put_tag(skb, vlan_proto, vtag); in bnxt_tpa_end()
1890 u16 vtag = meta_data & RX_CMP_FLAGS2_METADATA_TCI_MASK; in bnxt_rx_pkt() local
1895 __vlan_hwaccel_put_tag(skb, vlan_proto, vtag); in bnxt_rx_pkt()