Home
last modified time | relevance | path

Searched refs:portid (Results 1 – 25 of 66) sorted by relevance

123

/drivers/fpga/
A Ddfl-fme-perf.c172 u32 portid);
266 return is_portid_root(portid) || is_portid_port(portid); in is_portid_root_or_port()
297 u32 event, u32 portid) in basic_read_event_counter() argument
314 u32 event, u32 portid) in cache_read_event_counter() argument
350 u32 portid) in is_fabric_event_supported() argument
396 priv->fab_port_id = portid; in fabric_event_init()
415 u32 portid) in fabric_event_destroy() argument
423 u32 portid) in fabric_read_event_counter() argument
454 u32 portid) in vtd_read_event_counter() argument
487 u32 portid) in vtd_sip_read_event_counter() argument
[all …]
/drivers/scsi/csiostor/
A Dcsio_lnode.c123 if (ln->portid == portid) in csio_ln_lookup_by_portid()
723 uint8_t portid; in csio_fcoe_enable_link() local
734 portid = ln->portid; in csio_fcoe_enable_link()
745 portid); in csio_fcoe_enable_link()
768 if (hw->pport[i].portid == portid) in csio_fcoe_enable_link()
885 portid); in csio_handle_link_up()
904 ln->portid = portid; in csio_handle_link_up()
1052 portid); in csio_handle_link_down()
1058 if (fp->portid != portid) { in csio_handle_link_down()
1399 portparams.portid = portid; in csio_get_phy_port_stats()
[all …]
A Dcsio_init.c268 0, hw->pport[0].portid, false, NULL); in csio_create_queues()
278 hw->pport[0].portid, true, NULL); in csio_create_queues()
286 mgmtm->iq_idx, hw->pport[0].portid, NULL); in csio_create_queues()
769 csio_lnodes_block_by_port(struct csio_hw *hw, uint8_t portid) in csio_lnodes_block_by_port() argument
789 if (sln->portid != portid) in csio_lnodes_block_by_port()
810 csio_lnodes_unblock_by_port(struct csio_hw *hw, uint8_t portid) in csio_lnodes_unblock_by_port() argument
830 if (sln->portid != portid) in csio_lnodes_unblock_by_port()
991 ln->portid = hw->pport[i].portid; in csio_probe_one()
1136 ln->portid = hw->pport[i].portid; in csio_pci_resume()
A Dcsio_lnode.h73 uint8_t portid; member
138 uint8_t portid; /* Port ID */ member
A Dcsio_attr.c276 switch (hw->pport[ln->portid].link_speed) { in csio_get_host_speed()
338 csio_get_phy_port_stats(hw, ln->portid, &fcoe_port_stats); in csio_get_stats()
437 ln->portid = pln->portid; in csio_fcoe_alloc_vnp()
A Dcsio_wr.h418 uint32_t portid; /* PCIE Channel */ member
461 #define csio_q_portid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->portid)
A Dcsio_hw.c1364 hw->pport[i].portid = -1; in csio_get_device_params()
1428 hw->pport[i].portid = j++; in csio_get_device_params()
1781 uint8_t portid; in csio_enable_ports() local
1792 portid = hw->pport[i].portid; in csio_enable_ports()
1807 portid); in csio_enable_ports()
1818 csio_mb_port(hw, mbp, CSIO_MB_DEFAULT_TMO, portid, in csio_enable_ports()
1823 portid); in csio_enable_ports()
1832 portid, retval); in csio_enable_ports()
1842 csio_mb_port(hw, mbp, CSIO_MB_DEFAULT_TMO, portid, in csio_enable_ports()
1847 portid); in csio_enable_ports()
[all …]
A Dcsio_wr.c417 uint32_t vec, uint8_t portid, bool async, in csio_wr_iq_create() argument
425 csio_q_portid(hw, iq_idx) = portid; in csio_wr_iq_create()
465 iqp.iqpciech = portid; in csio_wr_iq_create()
558 int iq_idx, uint8_t portid, in csio_wr_eq_create() argument
580 eqp.pciechn = portid; in csio_wr_eq_create()
/drivers/connector/
A Dconnector.c61 int cn_netlink_send_mult(struct cn_msg *msg, u16 len, u32 portid, u32 __group, in cn_netlink_send_mult() argument
74 if (portid || __group) { in cn_netlink_send_mult()
92 if (!portid && !netlink_has_listeners(dev->nls, group)) in cn_netlink_send_mult()
114 return netlink_broadcast_filtered(dev->nls, skb, portid, group, in cn_netlink_send_mult()
117 return netlink_unicast(dev->nls, skb, portid, in cn_netlink_send_mult()
123 int cn_netlink_send(struct cn_msg *msg, u32 portid, u32 __group, in cn_netlink_send() argument
126 return cn_netlink_send_mult(msg, msg->len, portid, __group, gfp_mask, in cn_netlink_send()
/drivers/w1/
A Dw1_netlink.c21 u32 portid; /* Sending process port ID */ member
68 block->portid, 0, in w1_unref_block()
87 cn_netlink_send_mult(block->first_cn, len, block->portid, in w1_reply_make_space()
195 int portid, int error) in w1_netlink_send_error() argument
206 cn_netlink_send(packet, portid, 0, GFP_KERNEL); in w1_netlink_send_error()
424 cn_netlink_send(cn, portid, 0, GFP_KERNEL); in w1_process_command_root()
435 cn_netlink_send(cn, portid, 0, GFP_KERNEL); in w1_process_command_root()
553 w1_netlink_send_error(cn, msg, nsp->portid, -EINVAL); in w1_cn_callback()
613 block->portid = nsp->portid; in w1_cn_callback()
645 err = w1_process_command_root(cn, nsp->portid); in w1_cn_callback()
[all …]
/drivers/infiniband/core/
A Dnldev.c1096 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_get_doit()
1244 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_port_get_doit()
1306 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in nldev_port_get_dumpit()
1355 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_res_get_doit()
1524 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in res_get_common_doit()
1874 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_get_chardev()
1935 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_sys_get_doit()
2164 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_stat_set_doit()
2233 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_stat_del_doit()
2306 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in stat_get_doit_default_counter()
[all …]
/drivers/net/ethernet/netronome/nfp/nfd3/
A Dxsk.c69 if (likely(!meta->portid)) { in nfp_nfd3_xsk_rx_skb()
74 netdev = nfp_app_dev_get(nn->app, meta->portid, NULL); in nfp_nfd3_xsk_rx_skb()
201 if (unlikely(meta.portid)) { in nfp_nfd3_xsk_rx()
204 if (meta.portid != NFP_META_PORT_ID_CTRL) { in nfp_nfd3_xsk_rx()
A Ddp.c776 meta->portid = get_unaligned_be32(data); in nfp_nfd3_parse_meta()
1007 if (xdp_prog && !meta.portid) { in nfp_nfd3_rx()
1050 if (likely(!meta.portid)) { in nfp_nfd3_rx()
1052 } else if (meta.portid == NFP_META_PORT_ID_CTRL) { in nfp_nfd3_rx()
1064 netdev = nfp_app_dev_get(nn->app, meta.portid, in nfp_nfd3_rx()
/drivers/vdpa/
A Dvdpa.c487 u32 portid, u32 seq, int flags) in vdpa_mgmtdev_fill() argument
492 hdr = genlmsg_put(msg, portid, seq, &vdpa_nl_family, flags, VDPA_CMD_MGMTDEV_NEW); in vdpa_mgmtdev_fill()
569 err = vdpa_mgmtdev_fill(mdev, msg, NETLINK_CB(cb->skb).portid, in vdpa_nl_cmd_mgmtdev_get_dumpit()
739 vdpa_dev_fill(struct vdpa_device *vdev, struct sk_buff *msg, u32 portid, u32 seq, in vdpa_dev_fill() argument
749 hdr = genlmsg_put(msg, portid, seq, &vdpa_nl_family, flags, VDPA_CMD_DEV_NEW); in vdpa_dev_fill()
848 err = vdpa_dev_fill(vdev, info->msg, NETLINK_CB(info->cb->skb).portid, in vdpa_dev_dump()
1157 vdpa_dev_config_fill(struct vdpa_device *vdev, struct sk_buff *msg, u32 portid, u32 seq, in vdpa_dev_config_fill() argument
1167 hdr = genlmsg_put(msg, portid, seq, &vdpa_nl_family, flags, in vdpa_dev_config_fill()
1279 u32 portid = info->snd_portid; in vdpa_dev_vendor_stats_fill() local
1283 hdr = genlmsg_put(msg, portid, seq, &vdpa_nl_family, flags, in vdpa_dev_vendor_stats_fill()
[all …]
/drivers/net/team/
A Dteam_core.c2313 struct team *team, u32 portid);
2317 return genlmsg_unicast(dev_net(team->dev), skb, portid); in team_nl_send_unicast()
2402 struct team *team, u32 portid, in __send_and_alloc_skb() argument
2408 err = send_func(*pskb, team, portid); in __send_and_alloc_skb()
2435 err = __send_and_alloc_skb(&skb, team, portid, send_func); in team_nl_send_options_get()
2476 err = __send_and_alloc_skb(&skb, team, portid, send_func); in team_nl_send_options_get()
2482 return send_func(skb, team, portid); in team_nl_send_options_get()
2723 err = __send_and_alloc_skb(&skb, team, portid, send_func); in team_nl_send_port_list_get()
2774 err = __send_and_alloc_skb(&skb, team, portid, send_func); in team_nl_send_port_list_get()
2780 return send_func(skb, team, portid); in team_nl_send_port_list_get()
[all …]
/drivers/iommu/
A Dmtk_iommu_v1.c246 unsigned int larbid, portid; in mtk_iommu_v1_config() local
252 portid = mt2701_m4u_to_port(fwspec->ids[i]); in mtk_iommu_v1_config()
256 str_enable_disable(enable), portid); in mtk_iommu_v1_config()
259 larb_mmu->mmu |= MTK_SMI_MMU_EN(portid); in mtk_iommu_v1_config()
261 larb_mmu->mmu &= ~MTK_SMI_MMU_EN(portid); in mtk_iommu_v1_config()
A Dmtk_iommu.c584 unsigned int larbid, portid; in mtk_iommu_config() local
592 portid = MTK_M4U_TO_PORT(fwspec->ids[i]); in mtk_iommu_config()
593 portid_msk |= BIT(portid); in mtk_iommu_config()
602 for_each_set_bit(portid, &portid_msk, 32) in mtk_iommu_config()
603 larb_mmu->bank[portid] = upper_32_bits(region->iova_base); in mtk_iommu_config()
626 portid_msk |= BIT(portid + 1); in mtk_iommu_config()
/drivers/ata/
A Dahci.h388 unsigned int portid) in ahci_ignore_port() argument
390 if (portid >= hpriv->nports) in ahci_ignore_port()
395 return !(hpriv->mask_port_map & (1 << portid)); in ahci_ignore_port()
/drivers/scsi/qla2xxx/
A Dqla_edif.c761 port_id_t portid = {0}; in qla_edif_app_authok() local
769 portid.b.area = appplogiok.u.d_id.b.area; in qla_edif_app_authok()
770 portid.b.al_pa = appplogiok.u.d_id.b.al_pa; in qla_edif_app_authok()
787 portid.b24); in qla_edif_app_authok()
874 port_id_t portid = {0}; in qla_edif_app_authfail() local
902 portid.b24); in qla_edif_app_authfail()
1557 port_id_t portid; in qla24xx_sadb_update() local
1583 portid.b.area = sa_frame.port_id.b.area; in qla24xx_sadb_update()
1584 portid.b.al_pa = sa_frame.port_id.b.al_pa; in qla24xx_sadb_update()
1930 __func__, portid.b24, in qla_enode_clear()
[all …]
/drivers/nvme/target/
A Dconfigfs.c58 le16_to_cpu(p->disc_addr.portid), caller); in nvmet_is_port_enabled()
107 __le16 portid = to_nvmet_port(item)->disc_addr.portid; in nvmet_addr_portid_show() local
109 return snprintf(page, PAGE_SIZE, "%d\n", le16_to_cpu(portid)); in nvmet_addr_portid_show()
116 u16 portid = 0; in nvmet_addr_portid_store() local
118 if (kstrtou16(page, 0, &portid)) { in nvmet_addr_portid_store()
126 port->disc_addr.portid = cpu_to_le16(portid); in nvmet_addr_portid_store()
2018 u16 portid; in nvmet_ports_make() local
2021 if (kstrtou16(name, 0, &portid)) in nvmet_ports_make()
2059 port->disc_addr.portid = cpu_to_le16(portid); in nvmet_ports_make()
A Dpci-epf.c221 __le16 portid; member
1222 nvmet_pci_epf_find_port(struct nvmet_pci_epf_ctrl *ctrl, __le16 portid) in nvmet_pci_epf_find_port() argument
1228 if (p->disc_addr.portid == portid) { in nvmet_pci_epf_find_port()
2046 ctrl->port = nvmet_pci_epf_find_port(ctrl, nvme_epf->portid); in nvmet_pci_epf_create_ctrl()
2486 return sysfs_emit(page, "%u\n", le16_to_cpu(nvme_epf->portid)); in nvmet_pci_epf_portid_show()
2494 u16 portid; in nvmet_pci_epf_portid_store() local
2503 if (kstrtou16(page, 0, &portid)) in nvmet_pci_epf_portid_store()
2506 nvme_epf->portid = cpu_to_le16(portid); in nvmet_pci_epf_portid_store()
2511 CONFIGFS_ATTR(nvmet_pci_epf_, portid);
A Ddiscovery.c114 e->portid = port->disc_addr.portid; in nvmet_format_discovery_entry()
/drivers/net/ethernet/fungible/funcore/
A Dfun_hci.h795 __be32 portid; /* port flow id */ member
803 .id = cpu_to_be32(_id), .portid = cpu_to_be32(_portid), \
817 __be32 portid; /* port flow id */ member
825 .id = cpu_to_be32(_id), .portid = cpu_to_be32(_portid), \
/drivers/net/vxlan/
A Dvxlan_mdb.c289 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in vxlan_mdb_dump()
1524 u32 portid, u32 seq) in vxlan_mdb_get_reply_fill() argument
1532 nlh = nlmsg_put(skb, portid, seq, RTM_NEWMDB, sizeof(*bpm), 0); in vxlan_mdb_get_reply_fill()
1568 int vxlan_mdb_get(struct net_device *dev, struct nlattr *tb[], u32 portid, in vxlan_mdb_get() argument
1593 err = vxlan_mdb_get_reply_fill(vxlan, skb, mdb_entry, portid, seq); in vxlan_mdb_get()
1599 return rtnl_unicast(skb, dev_net(dev), portid); in vxlan_mdb_get()
/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
A Dtrx.h79 u32 portid:1; member

Completed in 119 milliseconds

123