Home
last modified time | relevance | path

Searched full:portid (Results 1 – 25 of 258) sorted by relevance

1234567891011

/linux/Documentation/ABI/testing/
H A Dsysfs-bus-event_source-devices-dfl_fme15 portid = "config:16-23" - event source
19 fab_mmio_read = "event=0x06,evtype=0x02,portid=0xff"
22 0x06 local event id for overall monitoring (portid=0xff).
45 clock = "event=0x00,evtype=0x00,portid=0xff"
49 cache_read_hit = "event=0x00,evtype=0x01,portid=0xff"
50 cache_read_miss = "event=0x01,evtype=0x01,portid=0xff"
51 cache_write_hit = "event=0x02,evtype=0x01,portid=0xff"
52 cache_write_miss = "event=0x03,evtype=0x01,portid=0xff"
53 cache_hold_request = "event=0x05,evtype=0x01,portid=0xff"
55 "event=0x06,evtype=0x01,portid=0xff"
[all …]
/linux/drivers/fpga/
H A Ddfl-fme-perf.c170 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 …]
/linux/arch/sparc/kernel/
H A Dsbus.c279 int reported, portid; in sysio_ue_handler() local
294 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sysio_ue_handler()
298 portid, in sysio_ue_handler()
306 portid, in sysio_ue_handler()
310 printk("SYSIO[%x]: AFAR[%016lx]\n", portid, afar); in sysio_ue_handler()
311 printk("SYSIO[%x]: Secondary UE errors [", portid); in sysio_ue_handler()
353 int reported, portid; in sysio_ce_handler() local
368 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sysio_ce_handler()
371 portid, in sysio_ce_handler()
383 portid, in sysio_ce_handler()
[all …]
H A Dchmc.c91 int portid; member
174 u32 portid; member
378 dp->base_addr = (p->portid * (64UL * 1024 * 1024 * 1024)); in jbusmc_construct_one_dimm_group()
429 prop = of_get_property(op->dev.of_node, "portid", &len); in jbusmc_probe()
431 printk(KERN_ERR PFX "Cannot find portid.\n"); in jbusmc_probe()
435 p->portid = *prop; in jbusmc_probe()
599 if (p->portid == this_cpu) { in chmc_read_mcreg()
618 if (p->portid == smp_processor_id()) {
636 bp->bank_id = (CHMCTRL_NBANKS * p->portid) + which_bank; in chmc_interpret_one_decode_reg()
699 int len, portid; in chmc_probe() local
[all …]
H A Dpci_fire.c250 upa_writeq(pbm->portid << 6, pbm->pbm_regs + IMONDO_DATA0); in pci_fire_msiq_alloc()
296 fixup = ((pbm->portid << 6) | devino) - int_ctrlr; in pci_fire_msiq_build_irq()
415 struct platform_device *op, u32 portid) in pci_fire_pbm_init() argument
428 pbm->portid = portid; in pci_fire_pbm_init()
465 u32 portid; in fire_probe() local
468 portid = of_getintprop_default(dp, "portid", 0xff); in fire_probe()
485 err = pci_fire_pbm_init(pbm, op, portid); in fire_probe()
/linux/arch/powerpc/boot/dts/fsl/
H A Dt4240si-pre.dtsi95 fsl,portid-mapping = <0x80000000>;
102 fsl,portid-mapping = <0x80000000>;
109 fsl,portid-mapping = <0x80000000>;
116 fsl,portid-mapping = <0x80000000>;
123 fsl,portid-mapping = <0x40000000>;
130 fsl,portid-mapping = <0x40000000>;
137 fsl,portid-mapping = <0x40000000>;
144 fsl,portid-mapping = <0x40000000>;
151 fsl,portid-mapping = <0x20000000>;
158 fsl,portid-mapping = <0x20000000>;
[all …]
H A Dp4080si-pre.dtsi99 fsl,portid-mapping = <0x80000000>;
109 fsl,portid-mapping = <0x40000000>;
119 fsl,portid-mapping = <0x20000000>;
129 fsl,portid-mapping = <0x10000000>;
139 fsl,portid-mapping = <0x08000000>;
149 fsl,portid-mapping = <0x04000000>;
159 fsl,portid-mapping = <0x02000000>;
169 fsl,portid-mapping = <0x01000000>;
H A Db4860si-pre.dtsi80 fsl,portid-mapping = <0x80000000>;
87 fsl,portid-mapping = <0x80000000>;
94 fsl,portid-mapping = <0x80000000>;
101 fsl,portid-mapping = <0x80000000>;
H A Dt208xsi-pre.dtsi86 fsl,portid-mapping = <0x80000000>;
93 fsl,portid-mapping = <0x80000000>;
100 fsl,portid-mapping = <0x80000000>;
107 fsl,portid-mapping = <0x80000000>;
/linux/net/batman-adv/
H A Dbat_v.c121 * @portid: Port making netlink request
128 batadv_v_neigh_dump_neigh(struct sk_buff *msg, u32 portid, u32 seq, in batadv_v_neigh_dump_neigh() argument
139 hdr = genlmsg_put(msg, portid, seq, &batadv_netlink_family, NLM_F_MULTI, in batadv_v_neigh_dump_neigh()
167 * @portid: Port making netlink request
178 batadv_v_neigh_dump_hardif(struct sk_buff *msg, u32 portid, u32 seq, in batadv_v_neigh_dump_hardif() argument
191 if (batadv_v_neigh_dump_neigh(msg, portid, seq, hardif_neigh)) { in batadv_v_neigh_dump_hardif()
219 int portid = NETLINK_CB(cb->skb).portid; in batadv_v_neigh_dump() local
224 if (batadv_v_neigh_dump_hardif(msg, portid, in batadv_v_neigh_dump()
235 if (batadv_v_neigh_dump_hardif(msg, portid, in batadv_v_neigh_dump()
253 * @portid: Port making netlink request
[all …]
H A Dbat_algo.c154 * @portid: Port to reply to
160 static int batadv_algo_dump_entry(struct sk_buff *msg, u32 portid, u32 seq, in batadv_algo_dump_entry() argument
165 hdr = genlmsg_put(msg, portid, seq, &batadv_netlink_family, in batadv_algo_dump_entry()
191 int portid = NETLINK_CB(cb->skb).portid; in batadv_algo_dump() local
200 if (batadv_algo_dump_entry(msg, portid, cb->nlh->nlmsg_seq, in batadv_algo_dump()
/linux/drivers/scsi/csiostor/
H A Dcsio_lnode.c108 * csio_ln_match_by_portid - lookup lnode using given portid.
110 * @portid: port-id.
112 * If found, returns lnode matching given portid otherwise returns NULL.
115 csio_ln_lookup_by_portid(struct csio_hw *hw, uint8_t portid) in csio_ln_lookup_by_portid() argument
120 /* Match siblings lnode with portid */ in csio_ln_lookup_by_portid()
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()
[all …]
/linux/net/netlink/
H A Daf_netlink.c177 NETLINK_CB(new).portid = NETLINK_CB(skb).portid; in netlink_to_full_skb()
467 u32 portid; member
472 (offsetof(struct netlink_compare_arg, portid) + sizeof(u32))
480 return nlk->portid != x->portid || in netlink_compare()
485 struct net *net, u32 portid) in netlink_compare_arg_init() argument
489 arg->portid = portid; in netlink_compare_arg_init()
492 static struct sock *__netlink_lookup(struct netlink_table *table, u32 portid, in __netlink_lookup() argument
512 netlink_lookup(struct net * net,int protocol,u32 portid) netlink_lookup() argument
552 netlink_insert(struct sock * sk,u32 portid) netlink_insert() argument
807 s32 portid = task_tgid_vnr(current); netlink_autobind() local
1138 netlink_getsockbyportid(struct sock * ssk,u32 portid) netlink_getsockbyportid() argument
1330 netlink_unicast(struct sock * ssk,struct sk_buff * skb,u32 portid,int nonblock) netlink_unicast() argument
1412 u32 portid; global() member
1505 netlink_broadcast_filtered(struct sock * ssk,struct sk_buff * skb,u32 portid,u32 group,gfp_t allocation,netlink_filter_fn filter,void * filter_data) netlink_broadcast_filtered() argument
1556 netlink_broadcast(struct sock * ssk,struct sk_buff * skb,u32 portid,u32 group,gfp_t allocation) netlink_broadcast() argument
1566 u32 portid; global() member
1607 netlink_set_err(struct sock * ssk,u32 portid,u32 group,int code) netlink_set_err() argument
2141 __nlmsg_put(struct sk_buff * skb,u32 portid,u32 seq,int type,int len,int flags) __nlmsg_put() argument
2580 nlmsg_notify(struct sock * sk,struct sk_buff * skb,u32 portid,unsigned int group,int report,gfp_t flags) nlmsg_notify() argument
[all...]
H A Ddiag.c46 u32 portid, u32 seq, u32 flags, int sk_ino) in sk_diag_fill() argument
52 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
64 rep->ndiag_portid = nlk->portid; in sk_diag_fill()
138 NETLINK_CB(cb->skb).portid, in __netlink_diag_dump()
168 NETLINK_CB(cb->skb).portid, in __netlink_diag_dump()
/linux/include/linux/netfilter/
H A Dnfnetlink.h55 int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid,
57 int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error);
58 int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u32 portid);
59 void nfnetlink_broadcast(struct net *net, struct sk_buff *skb, __u32 portid,
78 static inline struct nlmsghdr *nfnl_msg_put(struct sk_buff *skb, u32 portid, in nfnl_msg_put() argument
85 nlh = nlmsg_put(skb, portid, seq, type, sizeof(struct nfgenmsg), flags); in nfnl_msg_put()
/linux/net/devlink/
H A Dsb.c169 enum devlink_command cmd, u32 portid, in devlink_nl_sb_fill() argument
174 hdr = genlmsg_put(msg, portid, seq, &devlink_nl_family, flags, cmd); in devlink_nl_sb_fill()
247 NETLINK_CB(cb->skb).portid, in devlink_nl_sb_get_dump_one()
267 u32 portid, u32 seq, int flags) in devlink_nl_sb_pool_fill() argument
278 hdr = genlmsg_put(msg, portid, seq, &devlink_nl_family, flags, cmd); in devlink_nl_sb_pool_fill()
345 u32 portid, u32 seq, int flags) in __sb_pool_get_dumpit() argument
360 portid, seq, flags); in __sb_pool_get_dumpit()
383 NETLINK_CB(cb->skb).portid, in devlink_nl_sb_pool_get_dump_one()
453 u32 portid, u32 seq, int flags) in devlink_nl_sb_port_pool_fill() argument
465 hdr = genlmsg_put(msg, portid, seq, &devlink_nl_family, flags, cmd); in devlink_nl_sb_port_pool_fill()
[all …]
/linux/include/linux/
H A Dconnector.h82 * @portid: destination port.
86 * If @portid and @group is zero, then appropriate group will
101 int cn_netlink_send_mult(struct cn_msg *msg, u16 len, u32 portid,
110 * @portid: destination port.
114 * If @portid and @group is zero, then appropriate group will
127 int cn_netlink_send(struct cn_msg *msg, u32 portid, u32 group, gfp_t gfp_mask);
/linux/net/sched/
H A Dsch_api.c899 u32 portid, u32 seq, u16 flags, int event, in tc_fill_qdisc() argument
913 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc()
997 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_get_notify() local
1004 if (tc_fill_qdisc(skb, q, clid, portid, n->nlmsg_seq, 0, in qdisc_get_notify()
1010 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in qdisc_get_notify()
1024 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify() local
1034 if (tc_fill_qdisc(skb, old, clid, portid, n->nlmsg_seq, in qdisc_notify()
1039 if (tc_fill_qdisc(skb, new, clid, portid, n->nlmsg_seq, in qdisc_notify()
1045 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in qdisc_notify()
1840 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
[all …]
H A Dact_api.c1646 u32 portid, u32 seq, u16 flags, int event, int bind, in tca_get_fill()
1654 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*t), flags); in tca_get_fill()
1685 tcf_get_notify(struct net *net, u32 portid, struct nlmsghdr *n, in tcf_get_notify()
1694 if (tca_get_fill(skb, actions, portid, n->nlmsg_seq, 0, event, in tcf_get_notify()
1701 return rtnl_unicast(skb, net, portid); in tcf_action_get_1() argument
1705 struct nlmsghdr *n, u32 portid, in tcf_action_get_1()
1749 struct nlmsghdr *n, u32 portid, in tca_action_flush()
1782 nlh = nlmsg_put(skb, portid, n->nlmsg_seq, RTM_DELACTION, in tca_action_flush()
1810 err = rtnetlink_send(skb, net, portid, RTNLGRP_TC, in tca_action_flush()
1959 u32 portid, size_ in tcf_del_notify_msg()
1642 tca_get_fill(struct sk_buff * skb,struct tc_action * actions[],u32 portid,u32 seq,u16 flags,int event,int bind,int ref,struct netlink_ext_ack * extack) tca_get_fill() argument
1681 tcf_get_notify(struct net * net,u32 portid,struct nlmsghdr * n,struct tc_action * actions[],int event,struct netlink_ext_ack * extack) tcf_get_notify() argument
1745 tca_action_flush(struct net * net,struct nlattr * nla,struct nlmsghdr * n,u32 portid,struct netlink_ext_ack * extack) tca_action_flush() argument
1955 tcf_del_notify_msg(struct net * net,struct nlmsghdr * n,struct tc_action * actions[],u32 portid,size_t attr_size,struct netlink_ext_ack * extack) tcf_del_notify_msg() argument
1975 tcf_del_notify(struct net * net,struct nlmsghdr * n,struct tc_action * actions[],u32 portid,size_t attr_size,struct netlink_ext_ack * extack) tcf_del_notify() argument
2004 tca_action_gd(struct net * net,struct nlattr * nla,struct nlmsghdr * n,u32 portid,int event,struct netlink_ext_ack * extack) tca_action_gd() argument
2052 tcf_add_notify_msg(struct net * net,struct nlmsghdr * n,struct tc_action * actions[],u32 portid,size_t attr_size,struct netlink_ext_ack * extack) tcf_add_notify_msg() argument
2072 tcf_add_notify(struct net * net,struct nlmsghdr * n,struct tc_action * actions[],u32 portid,size_t attr_size,struct netlink_ext_ack * extack) tcf_add_notify() argument
2091 tcf_action_add(struct net * net,struct nlattr * nla,struct nlmsghdr * n,u32 portid,u32 flags,struct netlink_ext_ack * extack) tcf_action_add() argument
2128 u32 portid = NETLINK_CB(skb).portid; tc_ctl_action() local
[all...]
/linux/drivers/connector/
H A Dconnector.c58 * The message is sent to, the portid if given, the group if given, both if
61 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()
/linux/drivers/w1/
H 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()
188 * @portid: where to send it
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()
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()
[all …]
/linux/net/mctp/
H A Ddevice.c62 int msg_type, u32 portid, u32 seq, int flag) in mctp_fill_addrinfo() argument
67 nlh = nlmsg_put(skb, portid, seq, in mctp_fill_addrinfo()
98 u32 portid, seq; in mctp_dump_dev_addrinfo() local
101 portid = NETLINK_CB(cb->skb).portid; in mctp_dump_dev_addrinfo()
105 RTM_NEWADDR, portid, seq, NLM_F_MULTI); in mctp_dump_dev_addrinfo()
154 u32 portid = NETLINK_CB(req_skb).portid; in mctp_addr_notify() local
164 portid, req_nlh->nlmsg_seq, 0); in mctp_addr_notify()
170 rtnl_notify(skb, net, portid, RTNLGRP_MCTP_IFADDR, req_nlh, GFP_KERNEL); in mctp_addr_notify()
/linux/net/netfilter/
H A Dnfnetlink_cttimeout.c184 ctnl_timeout_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, in ctnl_timeout_fill_info() argument
188 unsigned int flags = portid ? NLM_F_MULTI : 0; in ctnl_timeout_fill_info()
194 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in ctnl_timeout_fill_info()
249 if (ctnl_timeout_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnl_timeout_dump()
295 ret = ctnl_timeout_fill_info(skb2, NETLINK_CB(skb).portid, in cttimeout_get_timeout()
304 ret = nfnetlink_unicast(skb2, info->net, NETLINK_CB(skb).portid); in cttimeout_get_timeout()
393 cttimeout_default_fill_info(struct net *net, struct sk_buff *skb, u32 portid, in cttimeout_default_fill_info() argument
399 unsigned int flags = portid ? NLM_F_MULTI : 0; in cttimeout_default_fill_info()
404 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in cttimeout_default_fill_info()
493 NETLINK_CB(skb).portid, in cttimeout_default_get()
[all …]
H A Dnf_conntrack_netlink.c588 ctnetlink_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, in ctnetlink_fill_info() argument
596 if (portid) in ctnetlink_fill_info()
599 nlh = nfnl_msg_put(skb, portid, seq, event, flags, nf_ct_l3num(ct), in ctnetlink_fill_info()
778 nlh = nfnl_msg_put(skb, item->portid, 0, type, flags, nf_ct_l3num(ct), in ctnetlink_conntrack_event()
866 err = nfnetlink_send(skb, net, item->portid, group, item->report, in ctnetlink_conntrack_event()
1273 ctnetlink_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnetlink_dump_table()
1596 u32 portid, int report, u8 family) in ctnetlink_flush_conntrack() argument
1601 .portid = portid, in ctnetlink_flush_conntrack()
1644 NETLINK_CB(skb).portid, in ctnetlink_del_conntrack()
2515 ctnetlink_ct_stat_cpu_fill_info(struct sk_buff * skb,u32 portid,u32 seq,__u16 cpu,const struct ip_conntrack_stat * st) ctnetlink_ct_stat_cpu_fill_info() argument
2595 ctnetlink_stat_ct_fill_info(struct sk_buff * skb,u32 portid,u32 seq,u32 type,struct net * net) ctnetlink_stat_ct_fill_info() argument
2888 ctnetlink_glue_attach_expect(const struct nlattr * attr,struct nf_conn * ct,u32 portid,u32 report) ctnetlink_glue_attach_expect() argument
3099 ctnetlink_exp_fill_info(struct sk_buff * skb,u32 portid,u32 seq,int event,const struct nf_conntrack_expect * exp) ctnetlink_exp_fill_info() argument
3591 ctnetlink_create_expect(struct net * net,const struct nf_conntrack_zone * zone,const struct nlattr * const cda[],u_int8_t u3,u32 portid,int report) ctnetlink_create_expect() argument
3708 ctnetlink_exp_stat_fill_info(struct sk_buff * skb,u32 portid,u32 seq,int cpu,const struct ip_conntrack_stat * st) ctnetlink_exp_stat_fill_info() argument
[all...]
/linux/net/phonet/
H A Dpn_netlink.c23 u32 portid, u32 seq, int event);
103 u32 portid, u32 seq, int event) in fill_addr() argument
108 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), 0); in fill_addr()
156 addr << 2, NETLINK_CB(cb->skb).portid, in getaddr_dumpit()
174 u32 portid, u32 seq, int event) in fill_route() argument
179 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), 0); in fill_route()
307 NETLINK_CB(cb->skb).portid, in route_dumpit()

1234567891011