Home
last modified time | relevance | path

Searched refs:cnf (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.1.9/drivers/mfd/
Dtmio_core.c29 int tmio_core_mmc_enable(void __iomem *cnf, int shift, unsigned long base) in tmio_core_mmc_enable() argument
32 sd_config_write16(cnf, shift, CNF_CMD, SDCREN); in tmio_core_mmc_enable()
33 sd_config_write32(cnf, shift, CNF_CTL_BASE, base & 0xfffe); in tmio_core_mmc_enable()
36 sd_config_write8(cnf, shift, CNF_PWR_CTL_3, 0x01); in tmio_core_mmc_enable()
39 sd_config_write8(cnf, shift, CNF_STOP_CLK_CTL, 0x1f); in tmio_core_mmc_enable()
42 sd_config_write8(cnf, shift, CNF_PWR_CTL_2, 0x00); in tmio_core_mmc_enable()
48 int tmio_core_mmc_resume(void __iomem *cnf, int shift, unsigned long base) in tmio_core_mmc_resume() argument
52 sd_config_write16(cnf, shift, CNF_CMD, SDCREN); in tmio_core_mmc_resume()
53 sd_config_write32(cnf, shift, CNF_CTL_BASE, base & 0xfffe); in tmio_core_mmc_resume()
59 void tmio_core_mmc_pwr(void __iomem *cnf, int shift, int state) in tmio_core_mmc_pwr() argument
[all …]
/linux-6.1.9/tools/testing/selftests/net/
Dioam6_parser.c203 const struct ioam_config cnf) in check_ioam6_data() argument
212 if (cnf.hlim != (raw32 >> 24) || cnf.id != (raw32 & 0xffffff)) in check_ioam6_data()
219 if (cnf.ingr_id != (raw32 >> 16) || in check_ioam6_data()
220 cnf.egr_id != (raw32 & 0xffff)) in check_ioam6_data()
238 if (__be32_to_cpu(*((__u32 *)*p)) != cnf.ns_data) in check_ioam6_data()
254 if (cnf.hlim != (raw64 >> 56) || in check_ioam6_data()
255 cnf.wide != (raw64 & 0xffffffffffffff)) in check_ioam6_data()
261 if (__be32_to_cpu(*((__u32 *)*p)) != cnf.ingr_wide) in check_ioam6_data()
265 if (__be32_to_cpu(*((__u32 *)*p)) != cnf.egr_wide) in check_ioam6_data()
271 if (__be64_to_cpu(*((__u64 *)*p)) != cnf.ns_wide) in check_ioam6_data()
[all …]
/linux-6.1.9/net/ipv6/
Daddrconf.c386 memcpy(&ndev->cnf, dev_net(dev)->ipv6.devconf_dflt, sizeof(ndev->cnf)); in ipv6_add_dev()
388 if (ndev->cnf.stable_secret.initialized) in ipv6_add_dev()
389 ndev->cnf.addr_gen_mode = IN6_ADDR_GEN_MODE_STABLE_PRIVACY; in ipv6_add_dev()
391 ndev->cnf.mtu6 = dev->mtu; in ipv6_add_dev()
398 if (ndev->cnf.forwarding) in ipv6_add_dev()
423 ndev->cnf.accept_dad = -1; in ipv6_add_dev()
428 ndev->cnf.rtr_solicits = 0; in ipv6_add_dev()
439 ndev->cnf.use_tempaddr = -1; in ipv6_add_dev()
468 if (ndev->cnf.forwarding && (dev->flags & IFF_MULTICAST)) in ipv6_add_dev()
681 devconf = &in6_dev->cnf; in inet6_netconf_get_devconf()
[all …]
Dndisc.c405 if (!idev || idev->cnf.disable_ipv6) { in ndisc_allow_add()
453 tclass = idev ? idev->cnf.ndisc_tclass : 0; in ip6_nd_hdr()
537 inc_opt |= ifp->idev->cnf.force_tllao; in ndisc_send_na()
593 /*router=*/ !!idev->cnf.forwarding, in ndisc_send_unsol_na()
908 (idev->cnf.forwarding && in ndisc_recv_ns()
909 (net->ipv6.devconf_all->proxy_ndp || idev->cnf.proxy_ndp) && in ndisc_recv_ns()
932 is_router = idev->cnf.forwarding; in ndisc_recv_ns()
974 switch (idev->cnf.accept_untracked_na) { in accept_untracked_na()
1026 idev->cnf.drop_unsolicited_na) in ndisc_recv_na()
1083 if (!neigh && lladdr && idev && idev->cnf.forwarding) { in ndisc_recv_na()
[all …]
Dseg6_hmac.c252 if (idev->cnf.seg6_require_hmac > 0 && !tlv) in seg6_hmac_validate_skb()
256 if (idev->cnf.seg6_require_hmac < 0) in seg6_hmac_validate_skb()
260 if (idev->cnf.seg6_require_hmac == 0 && !tlv) in seg6_hmac_validate_skb()
Dexthdrs.c383 if (accept_seg6 > idev->cnf.seg6_enabled) in ipv6_srh_rcv()
384 accept_seg6 = idev->cnf.seg6_enabled; in ipv6_srh_rcv()
505 if (accept_rpl_seg > idev->cnf.rpl_seg_enabled) in ipv6_rpl_srh_rcv()
506 accept_rpl_seg = idev->cnf.rpl_seg_enabled; in ipv6_rpl_srh_rcv()
692 if (idev && accept_source_route > idev->cnf.accept_source_route) in ipv6_rthdr_rcv()
693 accept_source_route = idev->cnf.accept_source_route; in ipv6_rthdr_rcv()
957 if (!__in6_dev_get(skb->dev)->cnf.ioam6_enabled) in ipv6_hop_ioam()
Dip6_input.c170 !idev || unlikely(idev->cnf.disable_ipv6)) { in ip6_rcv_core()
172 if (idev && unlikely(idev->cnf.disable_ipv6)) in ip6_rcv_core()
238 idev->cnf.drop_unicast_in_l2_multicast) { in ip6_rcv_core()
Doutput_core.c120 hoplimit = idev->cnf.hop_limit; in ip6_dst_hoplimit()
Dioam6.c666 raw16 = (__force u16)__in6_dev_get(skb->dev)->cnf.ioam6_id; in __ioam6_fill_trace_data()
674 raw16 = (__force u16)__in6_dev_get(skb_dst(skb)->dev)->cnf.ioam6_id; in __ioam6_fill_trace_data()
761 raw32 = __in6_dev_get(skb->dev)->cnf.ioam6_id_wide; in __ioam6_fill_trace_data()
769 raw32 = __in6_dev_get(skb_dst(skb)->dev)->cnf.ioam6_id_wide; in __ioam6_fill_trace_data()
Droute.c647 neigh->updated + idev->cnf.rtr_probe_interval)) { in rt6_probe()
654 idev->cnf.rtr_probe_interval)) { in rt6_probe()
1589 mtu = idev->cnf.mtu6; in fib6_mtu()
2004 if (dst_mtu(&rt->dst) == idev->cnf.mtu6) in rt6_mtu_change_route_allowed()
3241 if (idev && idev->cnf.mtu6 > mtu) in ip6_mtu_from_fib6()
3242 mtu = idev->cnf.mtu6; in ip6_mtu_from_fib6()
3592 if (idev->cnf.disable_ipv6) { in fib6_nh_init()
4145 if (in6_dev->cnf.forwarding || !in6_dev->cnf.accept_redirects) in rt6_do_redirect()
4398 (!idev || idev->cnf.accept_ra != 2) && in __rt6_purge_dflt_routers()
4577 idev->cnf.disable_policy)) in addrconf_f6i_alloc()
[all …]
Dip6mr.c743 atomic_dec(&in6_dev->cnf.mc_forwarding); in mif6_delete()
746 dev->ifindex, &in6_dev->cnf); in mif6_delete()
911 atomic_inc(&in6_dev->cnf.mc_forwarding); in mif6_add()
914 dev->ifindex, &in6_dev->cnf); in mif6_add()
Danycast.c123 ishost = !idev->cnf.forwarding; in ipv6_sock_ac_join()
/linux-6.1.9/include/linux/mfd/
Dtmio.h87 int tmio_core_mmc_enable(void __iomem *cnf, int shift, unsigned long base);
88 int tmio_core_mmc_resume(void __iomem *cnf, int shift, unsigned long base);
89 void tmio_core_mmc_pwr(void __iomem *cnf, int shift, int state);
90 void tmio_core_mmc_clk_div(void __iomem *cnf, int shift, int state);
/linux-6.1.9/include/linux/
Dinetdevice.h51 struct ipv4_devconf cnf; member
55 #define IPV4_DEVCONF(cnf, attr) ((cnf).data[IPV4_DEVCONF_ ## attr - 1]) argument
62 return in_dev->cnf.data[index]; in ipv4_devconf_get()
69 set_bit(index, in_dev->cnf.state); in ipv4_devconf_set()
70 in_dev->cnf.data[index] = val; in ipv4_devconf_set()
75 bitmap_fill(in_dev->cnf.state, IPV4_DEVCONF_MAX); in ipv4_devconf_setall()
/linux-6.1.9/net/ipv4/
Ddevinet.c265 memcpy(&in_dev->cnf, dev_net(dev)->ipv4.devconf_dflt, in inetdev_init()
266 sizeof(in_dev->cnf)); in inetdev_init()
267 in_dev->cnf.sysctl = NULL; in inetdev_init()
272 if (IPV4_DEVCONF(in_dev->cnf, FORWARDING)) in inetdev_init()
1950 ((u32 *) nla_data(nla))[i] = in_dev->cnf.data[i]; in inet_fill_link_af()
2203 devconf = &in_dev->cnf; in inet_netconf_get_devconf()
2270 &in_dev->cnf, in inet_netconf_dump_devconf()
2325 if (in_dev && !test_bit(i, in_dev->cnf.state)) in devinet_copy_dflt_conf()
2326 in_dev->cnf.data[i] = net->ipv4.devconf_dflt->data[i]; in devinet_copy_dflt_conf()
2359 dev->ifindex, &in_dev->cnf); in inet_forward_change()
[all …]
Dipmr.c436 IPV4_DEVCONF(in_dev->cnf, RP_FILTER) = 0; in ipmr_init_vif_indev()
691 IPV4_DEVCONF(in_dev->cnf, MC_FORWARDING)--; in vif_delete()
694 dev->ifindex, &in_dev->cnf); in vif_delete()
876 IPV4_DEVCONF(in_dev->cnf, MC_FORWARDING)++; in vif_add()
878 dev->ifindex, &in_dev->cnf); in vif_add()
/linux-6.1.9/drivers/net/wireless/silabs/wfx/
Dtraces.h336 TP_PROTO(int ind, int req, int cnf, int busy, bool release),
337 TP_ARGS(ind, req, cnf, busy, release),
341 __field(int, cnf)
348 __entry->cnf = cnf;
355 __entry->cnf,
360 #define _trace_bh_stats(ind, req, cnf, busy, release)\ argument
361 trace_bh_stats(ind, req, cnf, busy, release)
/linux-6.1.9/include/sound/
Dsimple_card_utils.h246 struct snd_soc_codec_conf *cnf; in asoc_simple_debug_info() local
266 for_each_prop_codec_conf(props, j, cnf) in asoc_simple_debug_info()
267 if (cnf->name_prefix) in asoc_simple_debug_info()
268 dev_dbg(dev, "name prefix = %s\n", cnf->name_prefix); in asoc_simple_debug_info()
/linux-6.1.9/drivers/gpio/
Dgpio-tegra.c75 u32 cnf[4]; member
216 u32 cnf, oe; in tegra_gpio_get_direction() local
218 cnf = tegra_gpio_readl(tgi, GPIO_CNF(tgi, offset)); in tegra_gpio_get_direction()
219 if (!(cnf & pin_mask)) in tegra_gpio_get_direction()
476 tegra_gpio_writel(tgi, bank->cnf[p], in tegra_gpio_resume()
511 bank->cnf[p] = tegra_gpio_readl(tgi, in tegra_gpio_suspend()
/linux-6.1.9/arch/parisc/kernel/
Dcache.c256 #define CAFL_STRIDE(cnf) (cnf.cc_line << (3 + cnf.cc_block + cnf.cc_shift)) in parisc_cache_init() argument
/linux-6.1.9/include/net/
Dif_inet6.h215 struct ipv6_devconf cnf; member
Dipv6.h508 return idev->cnf.forwarding ? idev->cnf.accept_ra == 2 : in ipv6_accept_ra()
509 idev->cnf.accept_ra; in ipv6_accept_ra()
Dip6_route.h335 mtu = idev->cnf.mtu6; in ip6_dst_mtu_maybe_forward()
Daddrconf.h411 return !!idev->cnf.ignore_routes_with_linkdown; in ip6_ignore_linkdown()
/linux-6.1.9/drivers/net/wireguard/
Ddevice.c47 dev_v6->cnf.addr_gen_mode = IN6_ADDR_GEN_MODE_NONE; in wg_open()

12