Home
last modified time | relevance | path

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

/openbmc/linux/Documentation/devicetree/bindings/misc/
H A 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 …]
/openbmc/linux/scripts/coccinelle/null/
H A 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 …]
/openbmc/linux/arch/powerpc/boot/dts/
H A Do2d.dtsi19 model = "ifm,o2d";
20 compatible = "ifm,o2d";
98 compatible = "ifm,o2d-csi";
100 ifm,csi-clk-handle = <&gpt7>;
107 ifm,csi-addr-bus-width = <24>;
108 ifm,csi-data-bus-width = <8>;
109 ifm,csi-wait-cycles = <0>;
H A Do2i.dts12 model = "ifm,o2i";
13 compatible = "ifm,o2d";
H A Do2mnt.dts12 model = "ifm,o2mnt";
13 compatible = "ifm,o2d";
H A Do2dnt2.dts12 model = "ifm,o2dnt2";
13 compatible = "ifm,o2d";
H A Do2d.dts12 model = "ifm,o2d";
13 compatible = "ifm,o2d";
H A Do3dnt.dts12 model = "ifm,o3dnt";
13 compatible = "ifm,o2d";
H A Do2d300.dts12 model = "ifm,o2d300";
13 compatible = "ifm,o2d";
H A 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";
H A Dpdm360ng.dts16 compatible = "ifm,pdm360ng", "fsl,mpc5121";
/openbmc/linux/net/phonet/
H A 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 …]
/openbmc/linux/net/core/
H A Drtnetlink.c927 const struct ifinfomsg *ifm) in rtnl_dev_combine_flags() argument
929 unsigned int flags = ifm->ifi_flags; in rtnl_dev_combine_flags()
932 if (ifm->ifi_change) in rtnl_dev_combine_flags()
933 flags = (flags & ifm->ifi_change) | in rtnl_dev_combine_flags()
934 (rtnl_dev_get_flags(dev) & ~ifm->ifi_change); in rtnl_dev_combine_flags()
1813 struct ifinfomsg *ifm; in rtnl_fill_ifinfo() local
1818 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ifm), flags); in rtnl_fill_ifinfo()
1822 ifm = nlmsg_data(nlh); in rtnl_fill_ifinfo()
1823 ifm->ifi_family = AF_UNSPEC; in rtnl_fill_ifinfo()
1824 ifm->__ifi_pad = 0; in rtnl_fill_ifinfo()
[all …]
/openbmc/linux/net/mctp/
H A Ddevice.c198 struct ifaddrmsg *ifm; in mctp_rtm_newaddr() local
203 rc = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_mctp_policy, in mctp_rtm_newaddr()
208 ifm = nlmsg_data(nlh); in mctp_rtm_newaddr()
218 dev = __dev_get_by_index(net, ifm->ifa_index); in mctp_rtm_newaddr()
261 struct ifaddrmsg *ifm; in mctp_rtm_deladdr() local
266 rc = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_mctp_policy, in mctp_rtm_deladdr()
271 ifm = nlmsg_data(nlh); in mctp_rtm_deladdr()
281 dev = __dev_get_by_index(net, ifm->ifa_index); in mctp_rtm_deladdr()
/openbmc/linux/net/ipv4/
H A Ddevinet.c665 struct ifaddrmsg *ifm; in inet_rtm_deladdr() local
671 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in inet_rtm_deladdr()
676 ifm = nlmsg_data(nlh); in inet_rtm_deladdr()
677 in_dev = inetdev_by_index(net, ifm->ifa_index); in inet_rtm_deladdr()
694 (ifm->ifa_prefixlen != ifa->ifa_prefixlen || in inet_rtm_deladdr()
844 struct ifaddrmsg *ifm; in rtm_to_ifaddr() local
849 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in rtm_to_ifaddr()
854 ifm = nlmsg_data(nlh); in rtm_to_ifaddr()
857 if (ifm->ifa_prefixlen > 32) { in rtm_to_ifaddr()
867 dev = __dev_get_by_index(net, ifm->ifa_index); in rtm_to_ifaddr()
[all …]
H A Dipmr.c2821 struct ifinfomsg *ifm; in ipmr_valid_dumplink() local
2823 if (nlh->nlmsg_len < nlmsg_msg_size(sizeof(*ifm))) { in ipmr_valid_dumplink()
2828 if (nlmsg_attrlen(nlh, sizeof(*ifm))) { in ipmr_valid_dumplink()
2833 ifm = nlmsg_data(nlh); in ipmr_valid_dumplink()
2834 if (ifm->__ifi_pad || ifm->ifi_type || ifm->ifi_flags || in ipmr_valid_dumplink()
2835 ifm->ifi_change || ifm->ifi_index) { in ipmr_valid_dumplink()
/openbmc/linux/tools/testing/selftests/net/
H A Dtun.c71 struct ifinfomsg ifm; in tun_delete() member
84 req.nh.nlmsg_len = NLMSG_ALIGN(NLMSG_LENGTH(sizeof(req.ifm))); in tun_delete()
88 req.ifm.ifi_family = AF_UNSPEC; in tun_delete()
/openbmc/linux/net/ipv6/
H A Daddrconf.c4747 struct ifaddrmsg *ifm; in inet6_rtm_deladdr() local
4753 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in inet6_rtm_deladdr()
4758 ifm = nlmsg_data(nlh); in inet6_rtm_deladdr()
4763 ifa_flags = tb[IFA_FLAGS] ? nla_get_u32(tb[IFA_FLAGS]) : ifm->ifa_flags; in inet6_rtm_deladdr()
4768 return inet6_addr_del(net, ifm->ifa_index, ifa_flags, pfx, in inet6_rtm_deladdr()
4769 ifm->ifa_prefixlen, extack); in inet6_rtm_deladdr()
4931 struct ifaddrmsg *ifm; in inet6_rtm_newaddr() local
4940 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in inet6_rtm_newaddr()
4947 ifm = nlmsg_data(nlh); in inet6_rtm_newaddr()
4953 cfg.plen = ifm->ifa_prefixlen; in inet6_rtm_newaddr()
[all …]
/openbmc/qemu/target/ppc/
H A Dpower8-pmu.c87 target_long ifm; in hreg_bhrb_filter_update() local
95 ifm = (env->spr[SPR_POWER_MMCRA] & MMCRA_IFM_MASK) >> MMCRA_IFM_SHIFT; in hreg_bhrb_filter_update()
96 switch (ifm) { in hreg_bhrb_filter_update()
/openbmc/linux/tools/testing/selftests/powerpc/pmu/ebb/
H A Debb.h49 void event_bhrb_init(struct event *e, unsigned ifm);
H A 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()
/openbmc/linux/arch/powerpc/platforms/512x/
H A DKconfig38 bool "ifm PDM360NG board"
/openbmc/linux/include/net/
H A Drtnetlink.h208 int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm,
/openbmc/linux/tools/bpf/bpftool/
H A Dnet.c342 struct ifinfomsg ifm; in netlink_get_link() member
347 .ifm.ifi_family = AF_PACKET, in netlink_get_link()