Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-5.10/Documentation/ABI/testing/
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 …]
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsbus.c278 int reported, portid; in sysio_ue_handler() local
293 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sysio_ue_handler()
297 portid, in sysio_ue_handler()
305 portid, in sysio_ue_handler()
309 printk("SYSIO[%x]: AFAR[%016lx]\n", portid, afar); in sysio_ue_handler()
310 printk("SYSIO[%x]: Secondary UE errors [", portid); in sysio_ue_handler()
352 int reported, portid; in sysio_ce_handler() local
367 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sysio_ce_handler()
370 portid, in sysio_ce_handler()
382 portid, in sysio_ce_handler()
[all …]
Dchmc.c90 int portid; member
173 u32 portid; member
377 dp->base_addr = (p->portid * (64UL * 1024 * 1024 * 1024)); in jbusmc_construct_one_dimm_group()
434 p->portid = *prop; in jbusmc_probe()
598 if (p->portid == this_cpu) { in chmc_read_mcreg()
617 if (p->portid == smp_processor_id()) {
635 bp->bank_id = (CHMCTRL_NBANKS * p->portid) + which_bank; in chmc_interpret_one_decode_reg()
698 int len, portid; in chmc_probe() local
708 portid = of_getintprop_default(dp, "portid", -1); in chmc_probe()
709 if (portid == -1) in chmc_probe()
[all …]
Dpci_fire.c249 upa_writeq(pbm->portid << 6, pbm->pbm_regs + IMONDO_DATA0); in pci_fire_msiq_alloc()
295 fixup = ((pbm->portid << 6) | devino) - int_ctrlr; in pci_fire_msiq_build_irq()
414 struct platform_device *op, u32 portid) in pci_fire_pbm_init() argument
427 pbm->portid = portid; in pci_fire_pbm_init()
464 u32 portid; in fire_probe() local
467 portid = of_getintprop_default(dp, "portid", 0xff); in fire_probe()
484 err = pci_fire_pbm_init(pbm, op, portid); in fire_probe()
/kernel/linux/linux-5.10/drivers/fpga/
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 …]
/kernel/linux/linux-5.10/include/net/netfilter/
Dnf_conntrack_ecache.h28 u32 portid; /* netlink portid of destroyer */ member
71 u32 portid; member
86 u32 portid, int report);
96 u32 portid, in nf_conntrack_eventmask_report() argument
124 u32 portid, int report) in nf_conntrack_event_report() argument
132 return nf_conntrack_eventmask_report(1 << event, ct, portid, report); in nf_conntrack_event_report()
157 u32 portid; member
172 u32 portid, int report);
184 u32 portid, in nf_ct_expect_event_report() argument
Dnf_conntrack_expect.h106 u32 portid, int report);
119 void *data, u32 portid, int report);
130 u32 portid, int report, unsigned int flags);
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_ecache.c134 u32 portid, int report) in nf_conntrack_eventmask_report() argument
153 .portid = e->portid ? e->portid : portid, in nf_conntrack_eventmask_report()
157 unsigned long missed = e->portid ? 0 : e->missed; in nf_conntrack_eventmask_report()
171 if (e->portid == 0 && portid != 0) in nf_conntrack_eventmask_report()
172 e->portid = portid; in nf_conntrack_eventmask_report()
223 item.portid = 0; in nf_ct_deliver_cached_events()
245 u32 portid, int report) in nf_ct_expect_event_report() argument
264 .portid = portid, in nf_ct_expect_event_report()
Dnfnetlink_cttimeout.c159 ctnl_timeout_fill_info(struct sk_buff *skb, u32 portid, u32 seq, u32 type, in ctnl_timeout_fill_info() argument
163 unsigned int flags = portid ? NLM_F_MULTI : 0; in ctnl_timeout_fill_info()
169 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in ctnl_timeout_fill_info()
222 if (ctnl_timeout_fill_info(skb, NETLINK_CB(cb->skb).portid, in ctnl_timeout_dump()
269 ret = ctnl_timeout_fill_info(skb2, NETLINK_CB(skb).portid, in cttimeout_get_timeout()
277 ret = netlink_unicast(ctnl, skb2, NETLINK_CB(skb).portid, in cttimeout_get_timeout()
374 cttimeout_default_fill_info(struct net *net, struct sk_buff *skb, u32 portid, in cttimeout_default_fill_info() argument
380 unsigned int flags = portid ? NLM_F_MULTI : 0; in cttimeout_default_fill_info()
385 nlh = nfnl_msg_put(skb, portid, seq, event, flags, AF_UNSPEC, in cttimeout_default_fill_info()
483 ret = cttimeout_default_fill_info(net, skb2, NETLINK_CB(skb).portid, in cttimeout_default_get()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/fsl/
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 …]
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>;
/kernel/linux/linux-5.10/include/net/
Dgenetlink.h186 void *genlmsg_put(struct sk_buff *skb, u32 portid, u32 seq,
305 u32 portid, unsigned int group, gfp_t flags) in genlmsg_multicast_netns() argument
310 return nlmsg_multicast(net->genl_sock, skb, portid, group, flags); in genlmsg_multicast_netns()
322 struct sk_buff *skb, u32 portid, in genlmsg_multicast() argument
326 portid, group, flags); in genlmsg_multicast()
340 struct sk_buff *skb, u32 portid,
348 static inline int genlmsg_unicast(struct net *net, struct sk_buff *skb, u32 portid) in genlmsg_unicast() argument
350 return nlmsg_unicast(net->genl_sock, skb, portid); in genlmsg_unicast()
424 struct net *net, u32 portid, in genl_set_err() argument
430 return netlink_set_err(net->genl_sock, portid, group, code); in genl_set_err()
/kernel/linux/linux-5.10/drivers/scsi/csiostor/
Dcsio_lnode.c115 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 …]
/kernel/linux/linux-5.10/net/batman-adv/
Dbat_v.c218 batadv_v_neigh_dump_neigh(struct sk_buff *msg, u32 portid, u32 seq, in batadv_v_neigh_dump_neigh() argument
229 hdr = genlmsg_put(msg, portid, seq, &batadv_netlink_family, NLM_F_MULTI, in batadv_v_neigh_dump_neigh()
266 batadv_v_neigh_dump_hardif(struct sk_buff *msg, u32 portid, u32 seq, in batadv_v_neigh_dump_hardif() argument
279 if (batadv_v_neigh_dump_neigh(msg, portid, seq, hardif_neigh)) { in batadv_v_neigh_dump_hardif()
306 int portid = NETLINK_CB(cb->skb).portid; in batadv_v_neigh_dump() local
311 if (batadv_v_neigh_dump_hardif(msg, portid, in batadv_v_neigh_dump()
325 if (batadv_v_neigh_dump_hardif(msg, portid, in batadv_v_neigh_dump()
423 batadv_v_orig_dump_subentry(struct sk_buff *msg, u32 portid, u32 seq, in batadv_v_orig_dump_subentry() argument
449 hdr = genlmsg_put(msg, portid, seq, &batadv_netlink_family, NLM_F_MULTI, in batadv_v_orig_dump_subentry()
490 batadv_v_orig_dump_entry(struct sk_buff *msg, u32 portid, u32 seq, in batadv_v_orig_dump_entry() argument
[all …]
Dbat_algo.c177 static int batadv_algo_dump_entry(struct sk_buff *msg, u32 portid, u32 seq, in batadv_algo_dump_entry() argument
182 hdr = genlmsg_put(msg, portid, seq, &batadv_netlink_family, in batadv_algo_dump_entry()
208 int portid = NETLINK_CB(cb->skb).portid; in batadv_algo_dump() local
217 if (batadv_algo_dump_entry(msg, portid, cb->nlh->nlmsg_seq, in batadv_algo_dump()
/kernel/linux/linux-5.10/net/netlink/
Daf_netlink.c167 NETLINK_CB(new).portid = NETLINK_CB(skb).portid; in netlink_to_full_skb()
477 u32 portid; member
482 (offsetof(struct netlink_compare_arg, portid) + sizeof(u32))
490 return nlk->portid != x->portid || in netlink_compare()
495 struct net *net, u32 portid) in netlink_compare_arg_init() argument
499 arg->portid = portid; in netlink_compare_arg_init()
502 static struct sock *__netlink_lookup(struct netlink_table *table, u32 portid, in __netlink_lookup() argument
507 netlink_compare_arg_init(&arg, net, portid); in __netlink_lookup()
516 netlink_compare_arg_init(&arg, sock_net(sk), nlk_sk(sk)->portid); in __netlink_insert()
522 static struct sock *netlink_lookup(struct net *net, int protocol, u32 portid) in netlink_lookup() argument
[all …]
/kernel/linux/linux-5.10/include/linux/netfilter/
Dnfnetlink.h49 int nfnetlink_send(struct sk_buff *skb, struct net *net, u32 portid,
51 int nfnetlink_set_err(struct net *net, u32 portid, u32 group, int error);
52 int nfnetlink_unicast(struct sk_buff *skb, struct net *net, u32 portid);
70 static inline struct nlmsghdr *nfnl_msg_put(struct sk_buff *skb, u32 portid, in nfnl_msg_put() argument
77 nlh = nlmsg_put(skb, portid, seq, type, sizeof(struct nfgenmsg), flags); in nfnl_msg_put()
/kernel/linux/linux-5.10/drivers/connector/
Dconnector.c61 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()
/kernel/linux/linux-5.10/include/linux/
Dnetlink.h25 __u32 portid; member
154 int netlink_unicast(struct sock *ssk, struct sk_buff *skb, __u32 portid, int nonblock);
155 int netlink_broadcast(struct sock *ssk, struct sk_buff *skb, __u32 portid,
158 __u32 portid, __u32 group, gfp_t allocation,
161 int netlink_set_err(struct sock *ssk, __u32 portid, __u32 group, int code);
230 u32 portid; member
235 __nlmsg_put(struct sk_buff *skb, u32 portid, u32 seq, int type, int len, int flags);
/kernel/linux/linux-5.10/drivers/w1/
Dw1_netlink.c21 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 …]
/kernel/linux/linux-5.10/net/sched/
Dact_api.c1188 u32 portid, u32 seq, u16 flags, int event, int bind, in tca_get_fill() argument
1196 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*t), flags); in tca_get_fill()
1222 tcf_get_notify(struct net *net, u32 portid, struct nlmsghdr *n, in tcf_get_notify() argument
1231 if (tca_get_fill(skb, actions, portid, n->nlmsg_seq, 0, event, in tcf_get_notify()
1238 return rtnl_unicast(skb, net, portid); in tcf_get_notify()
1242 struct nlmsghdr *n, u32 portid, in tcf_action_get_1() argument
1286 struct nlmsghdr *n, u32 portid, in tca_action_flush() argument
1319 nlh = nlmsg_put(skb, portid, n->nlmsg_seq, RTM_DELACTION, in tca_action_flush()
1347 err = rtnetlink_send(skb, net, portid, RTNLGRP_TC, in tca_action_flush()
1394 u32 portid, size_t attr_size, struct netlink_ext_ack *extack) in tcf_del_notify() argument
[all …]
Dsch_api.c885 u32 portid, u32 seq, u16 flags, int event) in tc_fill_qdisc() argument
898 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc()
978 u32 portid = oskb ? NETLINK_CB(oskb).portid : 0; in qdisc_notify() local
985 if (tc_fill_qdisc(skb, old, clid, portid, n->nlmsg_seq, in qdisc_notify()
990 if (tc_fill_qdisc(skb, new, clid, portid, n->nlmsg_seq, in qdisc_notify()
996 return rtnetlink_send(skb, net, portid, RTNLGRP_TC, in qdisc_notify()
1727 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1749 tc_fill_qdisc(skb, q, q->parent, NETLINK_CB(cb->skb).portid, in tc_dump_qdisc_root()
1825 u32 portid, u32 seq, u16 flags, int event) in tc_fill_tclass() argument
1834 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_tclass()
[all …]
/kernel/linux/linux-5.10/net/phonet/
Dpn_netlink.c23 u32 portid, u32 seq, int event);
96 u32 portid, u32 seq, int event) in fill_addr() argument
101 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), 0); in fill_addr()
144 NETLINK_CB(cb->skb).portid, in getaddr_dumpit()
161 u32 portid, u32 seq, int event) in fill_route() argument
166 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*rtm), 0); in fill_route()
275 if (fill_route(skb, dev, addr << 2, NETLINK_CB(cb->skb).portid, in route_dumpit()
/kernel/linux/linux-5.10/net/unix/
Ddiag.c125 u32 portid, u32 seq, u32 flags, int sk_ino) in sk_diag_fill() argument
130 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
184 u32 portid, u32 seq, u32 flags) in sk_diag_dump() argument
195 return sk_diag_fill(sk, skb, req, user_ns, portid, seq, flags, sk_ino); in sk_diag_dump()
224 NETLINK_CB(cb->skb).portid, in unix_diag_dump()
292 NETLINK_CB(in_skb).portid, in unix_diag_get_exact()
302 err = netlink_unicast(net->diag_nlsk, rep, NETLINK_CB(in_skb).portid, in unix_diag_get_exact()
/kernel/linux/linux-5.10/net/vmw_vsock/
Ddiag.c15 u32 portid, u32 seq, u32 flags) in sk_diag_fill() argument
21 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill()
86 NETLINK_CB(cb->skb).portid, in vsock_diag_dump()
120 NETLINK_CB(cb->skb).portid, in vsock_diag_dump()

123456789