/drivers/fpga/ |
D | dfl-fme-perf.c | 170 int (*event_init)(struct fme_perf_priv *priv, u32 event, u32 portid); 172 u32 portid); 173 u64 (*read_counter)(struct fme_perf_priv *priv, u32 event, u32 portid); 219 PMU_FORMAT_ATTR(portid, "config:16-23"); 254 static bool is_portid_root(u32 portid) in is_portid_root() argument 256 return portid == FME_PORTID_ROOT; in is_portid_root() 259 static bool is_portid_port(u32 portid) in is_portid_port() argument 261 return portid < PERF_MAX_PORT_NUM; in is_portid_port() 264 static bool is_portid_root_or_port(u32 portid) in is_portid_root_or_port() argument 266 return is_portid_root(portid) || is_portid_port(portid); in is_portid_root_or_port() [all …]
|
/drivers/scsi/csiostor/ |
D | csio_lnode.c | 115 csio_ln_lookup_by_portid(struct csio_hw *hw, uint8_t portid) in csio_ln_lookup_by_portid() argument 123 if (ln->portid == portid) in csio_ln_lookup_by_portid() 352 if (hw->pport[ln->portid].link_speed == FW_PORT_CAP_SPEED_1G) in csio_ln_fdmi_rhba_cbfn() 354 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP_SPEED_10G) in csio_ln_fdmi_rhba_cbfn() 356 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_25G) in csio_ln_fdmi_rhba_cbfn() 358 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_40G) in csio_ln_fdmi_rhba_cbfn() 360 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_50G) in csio_ln_fdmi_rhba_cbfn() 362 else if (hw->pport[ln->portid].link_speed == FW_PORT_CAP32_SPEED_100G) in csio_ln_fdmi_rhba_cbfn() 723 uint8_t portid; in csio_fcoe_enable_link() local 734 portid = ln->portid; in csio_fcoe_enable_link() [all …]
|
D | csio_init.c | 269 0, hw->pport[0].portid, false, NULL); in csio_create_queues() 279 hw->pport[0].portid, true, NULL); in csio_create_queues() 287 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()
|
D | csio_lnode.h | 86 uint8_t portid; member 151 uint8_t portid; /* Port ID */ member
|
D | csio_attr.c | 276 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()
|
D | csio_wr.h | 418 uint32_t portid; /* PCIE Channel */ member 461 #define csio_q_portid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->portid)
|
D | csio_hw.c | 1364 hw->pport[i].portid = -1; in csio_get_device_params() 1428 hw->pport[i].portid = j++; in csio_get_device_params() 1429 csio_dbg(hw, "Found Port:%d\n", hw->pport[i].portid); 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() [all …]
|
D | csio_wr.c | 417 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/ |
D | connector.c | 61 int cn_netlink_send_mult(struct cn_msg *msg, u16 len, u32 portid, u32 __group, in cn_netlink_send_mult() argument 73 if (portid || __group) { in cn_netlink_send_mult() 91 if (!portid && !netlink_has_listeners(dev->nls, group)) in cn_netlink_send_mult() 113 return netlink_broadcast(dev->nls, skb, portid, group, in cn_netlink_send_mult() 115 return netlink_unicast(dev->nls, skb, portid, in cn_netlink_send_mult() 121 int cn_netlink_send(struct cn_msg *msg, u32 portid, u32 __group, in cn_netlink_send() argument 124 return cn_netlink_send_mult(msg, msg->len, portid, __group, gfp_mask); in cn_netlink_send()
|
/drivers/w1/ |
D | w1_netlink.c | 21 u32 portid; /* Sending process port ID */ member 68 block->portid, 0, GFP_KERNEL); in w1_unref_block() 86 cn_netlink_send_mult(block->first_cn, len, block->portid, 0, GFP_KERNEL); in w1_reply_make_space() 193 int portid, int error) in w1_netlink_send_error() argument 204 cn_netlink_send(&packet.cn, portid, 0, GFP_KERNEL); in w1_netlink_send_error() 397 static int w1_process_command_root(struct cn_msg *req_cn, u32 portid) in w1_process_command_root() argument 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() 609 w1_netlink_send_error(cn, msg, nsp->portid, -ENOMEM); in w1_cn_callback() [all …]
|
/drivers/infiniband/core/ |
D | nldev.c | 1043 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_get_doit() 1054 return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); in nldev_get_doit() 1127 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in _nldev_get_dumpit() 1187 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_port_get_doit() 1198 return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); in nldev_port_get_doit() 1245 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, in nldev_port_get_dumpit() 1290 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in nldev_res_get_doit() 1300 return rdma_nl_unicast(sock_net(skb->sk), msg, NETLINK_CB(skb).portid); in nldev_res_get_doit() 1320 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in _nldev_res_get_dumpit() 1454 nlh = nlmsg_put(msg, NETLINK_CB(skb).portid, nlh->nlmsg_seq, in res_get_common_doit() [all …]
|
/drivers/vdpa/ |
D | vdpa.c | 464 u32 portid, u32 seq, int flags) in vdpa_mgmtdev_fill() argument 471 hdr = genlmsg_put(msg, portid, seq, &vdpa_nl_family, flags, VDPA_CMD_MGMTDEV_NEW); in vdpa_mgmtdev_fill() 553 err = vdpa_mgmtdev_fill(mdev, msg, NETLINK_CB(cb->skb).portid, in vdpa_nl_cmd_mgmtdev_get_dumpit() 673 vdpa_dev_fill(struct vdpa_device *vdev, struct sk_buff *msg, u32 portid, u32 seq, in vdpa_dev_fill() argument 683 hdr = genlmsg_put(msg, portid, seq, &vdpa_nl_family, flags, VDPA_CMD_DEV_NEW); in vdpa_dev_fill() 782 err = vdpa_dev_fill(vdev, info->msg, NETLINK_CB(info->cb->skb).portid, in vdpa_dev_dump() 872 vdpa_dev_config_fill(struct vdpa_device *vdev, struct sk_buff *msg, u32 portid, u32 seq, in vdpa_dev_config_fill() argument 882 hdr = genlmsg_put(msg, portid, seq, &vdpa_nl_family, flags, in vdpa_dev_config_fill() 992 u32 portid = info->snd_portid; in vdpa_dev_vendor_stats_fill() local 996 hdr = genlmsg_put(msg, portid, seq, &vdpa_nl_family, flags, in vdpa_dev_vendor_stats_fill() [all …]
|
/drivers/net/ethernet/netronome/nfp/nfd3/ |
D | xsk.c | 69 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()
|
D | dp.c | 752 meta->portid = get_unaligned_be32(data); in nfp_nfd3_parse_meta() 975 if (xdp_prog && !meta.portid) { in nfp_nfd3_rx() 1018 if (likely(!meta.portid)) { in nfp_nfd3_rx() 1020 } else if (meta.portid == NFP_META_PORT_ID_CTRL) { in nfp_nfd3_rx() 1032 netdev = nfp_app_dev_get(nn->app, meta.portid, in nfp_nfd3_rx()
|
/drivers/nvme/target/ |
D | configfs.c | 54 le16_to_cpu(p->disc_addr.portid), caller); in nvmet_is_port_enabled() 103 __le16 portid = to_nvmet_port(item)->disc_addr.portid; in nvmet_addr_portid_show() local 105 return snprintf(page, PAGE_SIZE, "%d\n", le16_to_cpu(portid)); in nvmet_addr_portid_show() 112 u16 portid = 0; in nvmet_addr_portid_store() local 114 if (kstrtou16(page, 0, &portid)) { in nvmet_addr_portid_store() 122 port->disc_addr.portid = cpu_to_le16(portid); in nvmet_addr_portid_store() 1648 u16 portid; in nvmet_ports_make() local 1651 if (kstrtou16(name, 0, &portid)) in nvmet_ports_make() 1679 port->disc_addr.portid = cpu_to_le16(portid); in nvmet_ports_make()
|
D | discovery.c | 114 e->portid = port->disc_addr.portid; in nvmet_format_discovery_entry()
|
/drivers/net/team/ |
D | team.c | 2353 struct team *team, u32 portid); 2355 static int team_nl_send_unicast(struct sk_buff *skb, struct team *team, u32 portid) in team_nl_send_unicast() argument 2357 return genlmsg_unicast(dev_net(team->dev), skb, portid); in team_nl_send_unicast() 2442 struct team *team, u32 portid, in __send_and_alloc_skb() argument 2448 err = send_func(*pskb, team, portid); in __send_and_alloc_skb() 2458 static int team_nl_send_options_get(struct team *team, u32 portid, u32 seq, in team_nl_send_options_get() argument 2475 err = __send_and_alloc_skb(&skb, team, portid, send_func); in team_nl_send_options_get() 2479 hdr = genlmsg_put(skb, portid, seq, &team_nl_family, flags | NLM_F_MULTI, in team_nl_send_options_get() 2514 nlh = nlmsg_put(skb, portid, seq, NLMSG_DONE, 0, flags | NLM_F_MULTI); in team_nl_send_options_get() 2516 err = __send_and_alloc_skb(&skb, team, portid, send_func); in team_nl_send_options_get() [all …]
|
/drivers/iommu/ |
D | mtk_iommu_v1.c | 236 unsigned int larbid, portid; in mtk_iommu_v1_config() local 242 portid = mt2701_m4u_to_port(fwspec->ids[i]); in mtk_iommu_v1_config() 246 enable ? "enable" : "disable", portid); in mtk_iommu_v1_config() 249 larb_mmu->mmu |= MTK_SMI_MMU_EN(portid); in mtk_iommu_v1_config() 251 larb_mmu->mmu &= ~MTK_SMI_MMU_EN(portid); in mtk_iommu_v1_config()
|
D | mtk_iommu.c | 533 unsigned int larbid, portid; in mtk_iommu_config() local 541 portid = MTK_M4U_TO_PORT(fwspec->ids[i]); in mtk_iommu_config() 547 larb_mmu->bank[portid] = upper_32_bits(region->iova_base); in mtk_iommu_config() 551 portid, regionid, larb_mmu->bank[portid]); in mtk_iommu_config() 554 larb_mmu->mmu |= MTK_SMI_MMU_EN(portid); in mtk_iommu_config() 556 larb_mmu->mmu &= ~MTK_SMI_MMU_EN(portid); in mtk_iommu_config() 558 peri_mmuen_msk = BIT(portid); in mtk_iommu_config() 561 peri_mmuen_msk |= BIT(portid + 1); in mtk_iommu_config()
|
/drivers/scsi/qla2xxx/ |
D | qla_edif.c | 718 port_id_t portid = {0}; in qla_edif_app_authok() local 725 portid.b.domain = appplogiok.u.d_id.b.domain; in qla_edif_app_authok() 726 portid.b.area = appplogiok.u.d_id.b.area; in qla_edif_app_authok() 727 portid.b.al_pa = appplogiok.u.d_id.b.al_pa; in qla_edif_app_authok() 740 fcport = qla2x00_find_fcport_by_pid(vha, &portid); in qla_edif_app_authok() 744 portid.b24); in qla_edif_app_authok() 831 port_id_t portid = {0}; in qla_edif_app_authfail() local 840 portid.b.domain = appplogifail.u.d_id.b.domain; in qla_edif_app_authfail() 841 portid.b.area = appplogifail.u.d_id.b.area; in qla_edif_app_authfail() 842 portid.b.al_pa = appplogifail.u.d_id.b.al_pa; in qla_edif_app_authfail() [all …]
|
/drivers/net/wireless/ |
D | mac80211_hwsim.c | 310 static inline void hwsim_net_set_wmediumd(struct net *net, u32 portid) in hwsim_net_set_wmediumd() argument 314 hwsim_net->wmediumd = portid; in hwsim_net_set_wmediumd() 659 u32 portid; member 1277 struct sk_buff *skb, int portid) in hwsim_unicast_netgroup() argument 1286 res = genlmsg_unicast(net, skb, portid); in hwsim_unicast_netgroup() 4319 data->portid = info->snd_portid; in mac80211_hwsim_new_radio() 4691 u32 portid, u32 seq, in mac80211_hwsim_get_radio() argument 4698 hdr = genlmsg_put(skb, portid, seq, &hwsim_genl_family, flags, in mac80211_hwsim_get_radio() 4775 static void hwsim_register_wmediumd(struct net *net, u32 portid) in hwsim_register_wmediumd() argument 4779 hwsim_net_set_wmediumd(net, portid); in hwsim_register_wmediumd() [all …]
|
/drivers/net/ethernet/fungible/funcore/ |
D | fun_hci.h | 795 __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/staging/gdm724x/ |
D | netlink_k.c | 114 NETLINK_CB(skb).portid = 0; in netlink_send()
|
/drivers/net/ieee802154/ |
D | mac802154_hwsim.c | 267 u32 portid, u32 seq, in hwsim_get_radio() argument 273 hdr = genlmsg_put(skb, portid, seq, &hwsim_genl_family, flags, in hwsim_get_radio() 347 res = hwsim_get_radio(skb, phy, NETLINK_CB(cb->skb).portid, in hwsim_dump_radio_nl()
|
/drivers/net/ethernet/netronome/nfp/nfdk/ |
D | dp.c | 748 meta->portid = get_unaligned_be32(data); in nfp_nfdk_parse_meta() 1089 if (xdp_prog && !meta.portid) { in nfp_nfdk_rx() 1132 if (likely(!meta.portid)) { in nfp_nfdk_rx() 1134 } else if (meta.portid == NFP_META_PORT_ID_CTRL) { in nfp_nfdk_rx() 1146 netdev = nfp_app_dev_get(nn->app, meta.portid, in nfp_nfdk_rx()
|