Home
last modified time | relevance | path

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

/linux/drivers/accel/ethosu/
H A Dethosu_gem.c145 struct feat_matrix ifm; member
237 bool ifm, bool ifm2, bool weight, bool scale) in calc_sizes() argument
241 if (ifm) { in calc_sizes()
242 if (st->ifm.stride_kernel == U16_MAX) in calc_sizes()
244 u32 stride_y = ((st->ifm.stride_kernel >> 8) & 0x2) + in calc_sizes()
245 ((st->ifm.stride_kernel >> 1) & 0x1) + 1; in calc_sizes()
246 u32 stride_x = ((st->ifm.stride_kernel >> 5) & 0x2) + in calc_sizes()
247 (st->ifm.stride_kernel & 0x1) + 1; in calc_sizes()
249 st->ifm.height[2] - (st->ifm.pad_top + st->ifm.pad_bottom); in calc_sizes()
251 st->ifm.width - (st->ifm.pad_left + st->ifm.pad_right); in calc_sizes()
[all …]
/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 …]
/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 …]
/linux/net/phonet/
H A Dpn_netlink.c58 struct ifaddrmsg *ifm; in addr_doit() local
68 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in addr_doit()
73 ifm = nlmsg_data(nlh); in addr_doit()
83 dev = dev_get_by_index_rcu(net, ifm->ifa_index); in addr_doit()
97 phonet_address_notify(net, nlh->nlmsg_type, ifm->ifa_index, pnaddr); in addr_doit()
105 struct ifaddrmsg *ifm; in fill_addr() local
108 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*ifm), 0); in fill_addr()
112 ifm = nlmsg_data(nlh); in fill_addr()
113 ifm->ifa_family = AF_PHONET; in fill_addr()
114 ifm->ifa_prefixlen = 0; in fill_addr()
[all …]
/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";
/linux/net/core/
H A Drtnetlink.c1101 const struct ifinfomsg *ifm) in rtnl_dev_combine_flags() argument
1103 unsigned int flags = ifm->ifi_flags; in rtnl_dev_combine_flags()
1106 if (ifm->ifi_change) in rtnl_dev_combine_flags()
1107 flags = (flags & ifm->ifi_change) | in rtnl_dev_combine_flags()
1108 (rtnl_dev_get_flags(dev) & ~ifm->ifi_change); in rtnl_dev_combine_flags()
2057 struct ifinfomsg *ifm; in rtnl_fill_ifinfo() local
2062 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*ifm), flags); in rtnl_fill_ifinfo()
2066 ifm = nlmsg_data(nlh); in rtnl_fill_ifinfo()
2067 ifm->ifi_family = AF_UNSPEC; in rtnl_fill_ifinfo()
2068 ifm->__ifi_pad = 0; in rtnl_fill_ifinfo()
[all …]
/linux/net/mctp/
H A Ddevice.c191 struct ifaddrmsg *ifm; in mctp_rtm_newaddr() local
196 rc = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_mctp_policy, in mctp_rtm_newaddr()
201 ifm = nlmsg_data(nlh); in mctp_rtm_newaddr()
211 dev = __dev_get_by_index(net, ifm->ifa_index); in mctp_rtm_newaddr()
254 struct ifaddrmsg *ifm; in mctp_rtm_deladdr() local
259 rc = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_mctp_policy, in mctp_rtm_deladdr()
264 ifm = nlmsg_data(nlh); in mctp_rtm_deladdr()
274 dev = __dev_get_by_index(net, ifm->ifa_index); in mctp_rtm_deladdr()
/linux/net/ipv4/
H A Ddevinet.c659 struct ifaddrmsg *ifm; in inet_rtm_deladdr() local
663 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in inet_rtm_deladdr()
668 ifm = nlmsg_data(nlh); in inet_rtm_deladdr()
672 in_dev = inetdev_by_index(net, ifm->ifa_index); in inet_rtm_deladdr()
690 (ifm->ifa_prefixlen != ifa->ifa_prefixlen || in inet_rtm_deladdr()
848 struct ifaddrmsg *ifm = nlmsg_data(nlh); in inet_validate_rtm() local
851 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in inet_validate_rtm()
856 if (ifm->ifa_prefixlen > 32) { in inet_validate_rtm()
886 struct ifaddrmsg *ifm = nlmsg_data(nlh); in inet_rtm_to_ifa() local
892 dev = __dev_get_by_index(net, ifm->ifa_index); in inet_rtm_to_ifa()
[all …]
H A Digmp.c1441 struct ifaddrmsg *ifm; in inet_fill_ifmcaddr() local
1449 ifm = nlmsg_data(nlh); in inet_fill_ifmcaddr()
1450 ifm->ifa_family = AF_INET; in inet_fill_ifmcaddr()
1451 ifm->ifa_prefixlen = 32; in inet_fill_ifmcaddr()
1452 ifm->ifa_flags = IFA_F_PERMANENT; in inet_fill_ifmcaddr()
1453 ifm->ifa_scope = RT_SCOPE_UNIVERSE; in inet_fill_ifmcaddr()
1454 ifm->ifa_index = dev->ifindex; in inet_fill_ifmcaddr()
/linux/net/ipv6/
H A Daddrconf.c4782 struct ifaddrmsg *ifm; in inet6_rtm_deladdr() local
4788 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in inet6_rtm_deladdr()
4793 ifm = nlmsg_data(nlh); in inet6_rtm_deladdr()
4798 ifa_flags = nla_get_u32_default(tb[IFA_FLAGS], ifm->ifa_flags); in inet6_rtm_deladdr()
4804 err = inet6_addr_del(net, ifm->ifa_index, ifa_flags, pfx, in inet6_rtm_deladdr()
4805 ifm->ifa_prefixlen, extack); in inet6_rtm_deladdr()
4963 struct ifaddrmsg *ifm; in inet6_rtm_newaddr() local
4969 err = nlmsg_parse_deprecated(nlh, sizeof(*ifm), tb, IFA_MAX, in inet6_rtm_newaddr()
4976 ifm = nlmsg_data(nlh); in inet6_rtm_newaddr()
4982 cfg.plen = ifm in inet6_rtm_newaddr()
5087 struct ifaddrmsg *ifm; put_ifaddrmsg() local
5349 struct ifaddrmsg *ifm; inet6_valid_dump_ifaddr_req() local
5487 struct ifaddrmsg *ifm; inet6_rtm_valid_getaddr_req() local
5540 struct ifaddrmsg *ifm; inet6_rtm_getaddr() local
6117 struct ifinfomsg *ifm; inet6_valid_dump_ifinfo() local
[all...]
/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()
/linux/arch/powerpc/platforms/512x/
H A DKconfig38 bool "ifm PDM360NG board"
/linux/include/net/
H A Drtnetlink.h253 int rtnl_configure_link(struct net_device *dev, const struct ifinfomsg *ifm,
/linux/tools/bpf/bpftool/
H A Dnet.c351 struct ifinfomsg ifm; in netlink_get_link() member
356 .ifm.ifi_family = AF_PACKET, in netlink_get_link()