Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/misc/
Difm-csi.txt4 - compatible: "ifm,o2d-csi"
10 - ifm,csi-clk-handle: the phandle to a node in the DT describing the sensor
12 - ifm,csi-addr-bus-width: address bus width (valid values are 16, 24, 25)
13 - ifm,csi-data-bus-width: data bus width (valid values are 8 and 16)
14 - ifm,csi-wait-cycles: sensor bus wait cycles
17 - ifm,csi-byte-swap: if this property is present, the byte swapping on
23 compatible = "ifm,o2d-csi";
27 ifm,csi-clk-handle = <&timer7>;
32 ifm,csi-addr-bus-width = <24>;
33 ifm,csi-data-bus-width = <8>;
[all …]
/kernel/linux/linux-5.10/scripts/coccinelle/null/
Dderef_null.cocci42 @ifm@
53 expression subE <= ifm.E;
54 expression *ifm.E;
60 position ifm.p1;
94 p1 << ifm.p1;
95 x << ifm.E;
104 p1 << ifm.p1;
105 x << ifm.E;
114 expression subE <= ifm.E;
115 expression *ifm.E;
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/dts/
Do2d.dtsi19 model = "ifm,o2d";
20 compatible = "ifm,o2d";
104 compatible = "ifm,o2d-csi";
106 ifm,csi-clk-handle = <&gpt7>;
113 ifm,csi-addr-bus-width = <24>;
114 ifm,csi-data-bus-width = <8>;
115 ifm,csi-wait-cycles = <0>;
Do2i.dts12 model = "ifm,o2i";
13 compatible = "ifm,o2d";
Do2mnt.dts12 model = "ifm,o2mnt";
13 compatible = "ifm,o2d";
Do2dnt2.dts12 model = "ifm,o2dnt2";
13 compatible = "ifm,o2d";
Do3dnt.dts12 model = "ifm,o3dnt";
13 compatible = "ifm,o2d";
Do2d.dts12 model = "ifm,o2d";
13 compatible = "ifm,o2d";
Do2d300.dts12 model = "ifm,o2d300";
13 compatible = "ifm,o2d";
Dac14xx.dts13 compatible = "ifm,ac14xx", "fsl,mpc5121";
85 compatible = "ifm,ac14xx-fram", "linux,uio-pdrv-genirq";
95 compatible = "ifm,ac14xx-asi-fpga";
118 compatible = "ifm,netx";
126 compatible = "ifm,safety";
Dpdm360ng.dts16 compatible = "ifm,pdm360ng", "fsl,mpc5121";
/kernel/linux/linux-5.10/net/phonet/
Dpn_netlink.c57 struct ifaddrmsg *ifm; in addr_doit() local
69 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in addr_doit()
74 ifm = nlmsg_data(nlh); in addr_doit()
82 dev = __dev_get_by_index(net, ifm->ifa_index); in addr_doit()
98 struct ifaddrmsg *ifm; in fill_addr() local
101 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), 0); in fill_addr()
105 ifm = nlmsg_data(nlh); in fill_addr()
106 ifm->ifa_family = AF_PHONET; in fill_addr()
107 ifm->ifa_prefixlen = 0; in fill_addr()
108 ifm->ifa_flags = IFA_F_PERMANENT; in fill_addr()
[all …]
/kernel/linux/linux-5.10/net/core/
Drtnetlink.c866 const struct ifinfomsg *ifm) in rtnl_dev_combine_flags() argument
868 unsigned int flags = ifm->ifi_flags; in rtnl_dev_combine_flags()
871 if (ifm->ifi_change) in rtnl_dev_combine_flags()
872 flags = (flags & ifm->ifi_change) | in rtnl_dev_combine_flags()
873 (rtnl_dev_get_flags(dev) & ~ifm->ifi_change); in rtnl_dev_combine_flags()
1706 struct ifinfomsg *ifm; in rtnl_fill_ifinfo() local
1710 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ifm), flags); in rtnl_fill_ifinfo()
1714 ifm = nlmsg_data(nlh); in rtnl_fill_ifinfo()
1715 ifm->ifi_family = AF_UNSPEC; in rtnl_fill_ifinfo()
1716 ifm->__ifi_pad = 0; in rtnl_fill_ifinfo()
[all …]
/kernel/linux/linux-5.10/net/decnet/
Ddn_dev.c572 struct ifaddrmsg *ifm; in dn_nl_deladdr() local
583 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in dn_nl_deladdr()
589 ifm = nlmsg_data(nlh); in dn_nl_deladdr()
590 if ((dn_db = dn_dev_by_index(ifm->ifa_index)) == NULL) in dn_nl_deladdr()
619 struct ifaddrmsg *ifm; in dn_nl_newaddr() local
629 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in dn_nl_newaddr()
637 ifm = nlmsg_data(nlh); in dn_nl_newaddr()
638 if ((dev = __dev_get_by_index(&init_net, ifm->ifa_index)) == NULL) in dn_nl_newaddr()
656 ifm->ifa_flags; in dn_nl_newaddr()
657 ifa->ifa_scope = ifm->ifa_scope; in dn_nl_newaddr()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Ddevinet.c651 struct ifaddrmsg *ifm; in inet_rtm_deladdr() local
658 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in inet_rtm_deladdr()
663 ifm = nlmsg_data(nlh); in inet_rtm_deladdr()
664 in_dev = inetdev_by_index(net, ifm->ifa_index); in inet_rtm_deladdr()
680 (ifm->ifa_prefixlen != ifa->ifa_prefixlen || in inet_rtm_deladdr()
829 struct ifaddrmsg *ifm; in rtm_to_ifaddr() local
834 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in rtm_to_ifaddr()
839 ifm = nlmsg_data(nlh); in rtm_to_ifaddr()
841 if (ifm->ifa_prefixlen > 32 || !tb[IFA_LOCAL]) in rtm_to_ifaddr()
844 dev = __dev_get_by_index(net, ifm->ifa_index); in rtm_to_ifaddr()
[all …]
Dipmr.c2786 struct ifinfomsg *ifm; in ipmr_valid_dumplink() local
2788 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in ipmr_valid_dumplink()
2793 if (nlmsg_attrlen(nlh, sizeof(*ifm))) { in ipmr_valid_dumplink()
2798 ifm = nlmsg_data(nlh); in ipmr_valid_dumplink()
2799 if (ifm->__ifi_pad || ifm->ifi_type || ifm->ifi_flags || in ipmr_valid_dumplink()
2800 ifm->ifi_change || ifm->ifi_index) { in ipmr_valid_dumplink()
/kernel/linux/linux-5.10/net/ipv6/
Daddrconf.c4628 struct ifaddrmsg *ifm; in inet6_rtm_deladdr() local
4634 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in inet6_rtm_deladdr()
4639 ifm = nlmsg_data(nlh); in inet6_rtm_deladdr()
4644 ifa_flags = tb[IFA_FLAGS] ? nla_get_u32(tb[IFA_FLAGS]) : ifm->ifa_flags; in inet6_rtm_deladdr()
4649 return inet6_addr_del(net, ifm->ifa_index, ifa_flags, pfx, in inet6_rtm_deladdr()
4650 ifm->ifa_prefixlen); in inet6_rtm_deladdr()
4812 struct ifaddrmsg *ifm; in inet6_rtm_newaddr() local
4821 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in inet6_rtm_newaddr()
4828 ifm = nlmsg_data(nlh); in inet6_rtm_newaddr()
4834 cfg.plen = ifm->ifa_prefixlen; in inet6_rtm_newaddr()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/pmu/ebb/
Debb.h49 void event_bhrb_init(struct event *e, unsigned ifm);
Debb.c336 void event_bhrb_init(struct event *e, unsigned ifm) in event_bhrb_init() argument
338 e->attr.config |= (1ull << 62) | ((u64)ifm << 60); in event_bhrb_init()
/kernel/linux/linux-5.10/arch/powerpc/platforms/512x/
DKconfig38 bool "ifm PDM360NG board"
/kernel/linux/linux-5.10/tools/lib/bpf/
Dnetlink.c357 struct ifinfomsg ifm; in libbpf_nl_get_link() member
362 .ifm.ifi_family = AF_PACKET, in libbpf_nl_get_link()
/kernel/linux/linux-5.10/include/net/
Drtnetlink.h167 int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm);
/kernel/linux/linux-5.10/tools/bpf/bpftool/
Dnet.c335 struct ifinfomsg ifm; in netlink_get_link() member
340 .ifm.ifi_family = AF_PACKET, in netlink_get_link()