Home
last modified time | relevance | path

Searched refs:dport (Results 1 – 23 of 23) sorted by relevance

/drivers/tty/serial/
Ddz.c77 struct dz_port dport[DZ_NB_PORT]; member
99 static u16 dz_in(struct dz_port *dport, unsigned offset) in dz_in() argument
101 void __iomem *addr = dport->port.membase + offset; in dz_in()
106 static void dz_out(struct dz_port *dport, unsigned offset, u16 value) in dz_out() argument
108 void __iomem *addr = dport->port.membase + offset; in dz_out()
125 struct dz_port *dport = to_dport(uport); in dz_stop_tx() local
126 u16 tmp, mask = 1 << dport->port.line; in dz_stop_tx()
128 tmp = dz_in(dport, DZ_TCR); /* read the TX flag */ in dz_stop_tx()
130 dz_out(dport, DZ_TCR, tmp); in dz_stop_tx()
135 struct dz_port *dport = to_dport(uport); in dz_start_tx() local
[all …]
/drivers/tty/
Dmips_ejtag_fdc.c418 struct mips_ejtag_fdc_tty_port *dport; in mips_ejtag_fdc_put_chan() local
425 dport = &priv->ports[chan]; in mips_ejtag_fdc_put_chan()
426 spin_lock(&dport->xmit_lock); in mips_ejtag_fdc_put_chan()
427 if (dport->xmit_cnt) { in mips_ejtag_fdc_put_chan()
428 ptrs[0] = dport->port.xmit_buf + dport->xmit_tail; in mips_ejtag_fdc_put_chan()
430 priv->xmit_size - dport->xmit_tail, in mips_ejtag_fdc_put_chan()
431 dport->xmit_cnt); in mips_ejtag_fdc_put_chan()
432 ptrs[1] = dport->port.xmit_buf; in mips_ejtag_fdc_put_chan()
433 sizes[1] = dport->xmit_cnt - sizes[0]; in mips_ejtag_fdc_put_chan()
449 dport->xmit_cnt -= word.bytes; in mips_ejtag_fdc_put_chan()
[all …]
/drivers/scsi/bfa/
Dbfa_svc.c5664 static void bfa_dport_sm_disabled(struct bfa_dport_s *dport,
5666 static void bfa_dport_sm_enabling_qwait(struct bfa_dport_s *dport,
5668 static void bfa_dport_sm_enabling(struct bfa_dport_s *dport,
5670 static void bfa_dport_sm_enabled(struct bfa_dport_s *dport,
5672 static void bfa_dport_sm_disabling_qwait(struct bfa_dport_s *dport,
5674 static void bfa_dport_sm_disabling(struct bfa_dport_s *dport,
5676 static void bfa_dport_sm_starting_qwait(struct bfa_dport_s *dport,
5678 static void bfa_dport_sm_starting(struct bfa_dport_s *dport,
5680 static void bfa_dport_sm_dynamic_disabling(struct bfa_dport_s *dport,
5682 static void bfa_dport_sm_dynamic_disabling_qwait(struct bfa_dport_s *dport,
[all …]
Dbfa_svc.h731 struct bfa_dport_s dport; member
/drivers/infiniband/hw/usnic/
Dusnic_fwd.h112 uint32_t daddr, uint16_t dport) in usnic_fwd_init_udp_filter() argument
123 if (dport) { in usnic_fwd_init_udp_filter()
125 filter->u.ipv4.dst_port = dport; in usnic_fwd_init_udp_filter()
/drivers/net/ethernet/mscc/
Docelot_vcap.h153 struct ocelot_vcap_udp_tcp dport; /* UDP/TCP: Destination port */ member
173 struct ocelot_vcap_udp_tcp dport; member
Docelot_vcap.c488 struct ocelot_vcap_udp_tcp *sport, *dport; in is2_entry_set() local
504 dport = &ipv4->dport; in is2_entry_set()
534 dport = &ipv6->dport; in is2_entry_set()
572 VCAP_IS2_HK_L4_DPORT, dport); in is2_entry_set()
718 struct ocelot_vcap_udp_tcp *dport = &ipv4->dport; in is1_entry_set() local
751 dport); in is1_entry_set()
Docelot_flower.c610 filter->key.ipv4.dport.value = ntohs(match.key->dst); in ocelot_flower_parse_key()
611 filter->key.ipv4.dport.mask = ntohs(match.mask->dst); in ocelot_flower_parse_key()
/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_selftests.c44 int dport; member
151 thdr->dest = htons(attr->dport); in stmmac_test_get_udp_skb()
156 uhdr->dest = htons(attr->dport); in stmmac_test_get_udp_skb()
291 if (thdr->dest != htons(tpriv->packet->dport)) in stmmac_test_loopback_validate()
300 if (uhdr->dest != htons(tpriv->packet->dport)) in stmmac_test_loopback_validate()
830 attr.dport = 0x123; in stmmac_test_rss()
879 if (uhdr->dest != htons(tpriv->packet->dport)) in stmmac_test_vlan_validate()
931 attr.dport = 9; in __stmmac_test_vlanfilt()
1025 attr.dport = 9; in __stmmac_test_dvlanfilt()
1524 attr.dport = dst; in __stmmac_test_l4filt()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c267 actions->nat.l4.ports.dport = htons(val); in bnxt_tc_parse_pedit()
270 actions->nat.l4.ports.dport); in bnxt_tc_parse_pedit()
447 flow->l4_key.ports.dport = match.key->dst; in bnxt_tc_parse_flow()
448 flow->l4_mask.ports.dport = match.mask->dst; in bnxt_tc_parse_flow()
631 if (actions->nat.l4.ports.dport) in bnxt_hwrm_cfa_flow_alloc()
633 actions->nat.l4.ports.dport; in bnxt_hwrm_cfa_flow_alloc()
659 if (actions->nat.l4.ports.dport) in bnxt_hwrm_cfa_flow_alloc()
661 actions->nat.l4.ports.dport; in bnxt_hwrm_cfa_flow_alloc()
725 req.l4_dst_port = flow->l4_key.ports.dport; in bnxt_hwrm_cfa_flow_alloc()
726 req.l4_dst_port_mask = flow->l4_mask.ports.dport; in bnxt_hwrm_cfa_flow_alloc()
Dbnxt_tc.h49 __be16 dport; member
/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_ioctl.h160 uint16_t dport; member
Dcommon.h416 u16 dport; member
Dt3_hw.c3003 key[1] = (tp->sip >> 16) | (tp->dport << 16); in t3_config_trace_filter()
/drivers/net/vxlan/
Dvxlan_core.c2393 __be32 daddr, __be32 *saddr, __be16 dport, __be16 sport, in vxlan_get_route() argument
2419 fl4.fl4_dport = dport; in vxlan_get_route()
2448 __be16 dport, __be16 sport, in vxlan6_get_route() argument
2474 fl6.fl6_dport = dport; in vxlan6_get_route()
3178 __be16 sport, dport; in vxlan_fill_metadata_dst() local
3182 dport = info->key.tp_dst ? : vxlan->cfg.dst_port; in vxlan_fill_metadata_dst()
3190 &info->key.u.ipv4.src, dport, sport, in vxlan_fill_metadata_dst()
3202 &info->key.u.ipv6.src, dport, sport, in vxlan_fill_metadata_dst()
3212 info->key.tp_dst = dport; in vxlan_fill_metadata_dst()
/drivers/net/
Dgeneve.c775 __be16 dport, __be16 sport, in geneve_get_v4_rt() argument
792 fl4->fl4_dport = dport; in geneve_get_v4_rt()
831 __be16 dport, __be16 sport) in geneve_get_v6_dst() argument
847 fl6->fl6_dport = dport; in geneve_get_v6_dst()
/drivers/infiniband/core/
Dud_header.c172 { STRUCT_FIELD(udp, dport),
Dcma.c3014 u16 dport, sport; in cma_get_roce_udp_flow_label() local
3020 dport = be16_to_cpu(cma_port(cma_dst_addr(id_priv))); in cma_get_roce_udp_flow_label()
3022 hash = (u32)sport * 31 + dport; in cma_get_roce_udp_flow_label()
3547 __be16 dport = cma_port(daddr); in cma_port_is_unique() local
3562 (dport != cur_dport)) in cma_port_is_unique()
/drivers/infiniband/hw/qedr/
Dqedr_roce_cm.c485 udh->udp.dport = htons(ROCE_V2_UDP_DPORT); in qedr_gsi_build_header()
/drivers/scsi/cxgbi/
Dlibcxgbi.c590 __be16 sport, __be16 dport, u8 tos, in find_route_ipv4() argument
596 dport, sport, IPPROTO_TCP, tos, ifindex); in find_route_ipv4()
/drivers/net/ethernet/sun/
Dniu.c7347 u16 sport, dport, spm, dpm; in niu_get_tcamkey_from_ip4fs() local
7375 dport = be16_to_cpu(fsp->h_u.tcp_ip4_spec.pdst); in niu_get_tcamkey_from_ip4fs()
7378 tp->key[2] |= (((u64)sport << 16) | dport); in niu_get_tcamkey_from_ip4fs()
/drivers/infiniband/hw/bnxt_re/
Dib_verbs.c2215 qp->qp1_hdr.udp.dport = htons(ROCE_V2_UDP_DPORT); in bnxt_re_build_qp1_send_v2()
/drivers/infiniband/hw/mlx4/
Dqp.c3101 sqp->ud_header.udp.dport = htons(ROCE_V2_UDP_DPORT); in build_mlx_header()