Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/net/ipv6/
Daddrconf.c382 memcpy(&ndev->cnf, dev_net(dev)->ipv6.devconf_dflt, sizeof(ndev->cnf)); in ipv6_add_dev()
384 if (ndev->cnf.stable_secret.initialized) in ipv6_add_dev()
385 ndev->cnf.addr_gen_mode = IN6_ADDR_GEN_MODE_STABLE_PRIVACY; in ipv6_add_dev()
387 ndev->cnf.mtu6 = dev->mtu; in ipv6_add_dev()
393 if (ndev->cnf.forwarding) in ipv6_add_dev()
417 ndev->cnf.accept_dad = -1; in ipv6_add_dev()
422 ndev->cnf.rtr_solicits = 0; in ipv6_add_dev()
433 ndev->cnf.use_tempaddr = -1; in ipv6_add_dev()
459 if (ndev->cnf.forwarding && (dev->flags & IFF_MULTICAST)) in ipv6_add_dev()
672 devconf = &in6_dev->cnf; in inet6_netconf_get_devconf()
[all …]
Dndisc.c404 if (!idev || idev->cnf.disable_ipv6) { in ndisc_allow_add()
452 tclass = idev ? idev->cnf.ndisc_tclass : 0; in ip6_nd_hdr()
536 inc_opt |= ifp->idev->cnf.force_tllao; in ndisc_send_na()
592 /*router=*/ !!idev->cnf.forwarding, in ndisc_send_unsol_na()
892 (idev->cnf.forwarding && in ndisc_recv_ns()
893 (net->ipv6.devconf_all->proxy_ndp || idev->cnf.proxy_ndp) && in ndisc_recv_ns()
916 is_router = idev->cnf.forwarding; in ndisc_recv_ns()
989 idev->cnf.drop_unsolicited_na) in ndisc_recv_na()
1088 if (!idev->cnf.forwarding) in ndisc_recv_rs()
1264 if (!in6_dev->cnf.accept_ra_defrtr) { in ndisc_router_discovery()
[all …]
Dseg6_hmac.c253 if (idev->cnf.seg6_require_hmac > 0 && !tlv) in seg6_hmac_validate_skb()
257 if (idev->cnf.seg6_require_hmac < 0) in seg6_hmac_validate_skb()
261 if (idev->cnf.seg6_require_hmac == 0 && !tlv) in seg6_hmac_validate_skb()
Dexthdrs.c366 if (accept_seg6 > idev->cnf.seg6_enabled) in ipv6_srh_rcv()
367 accept_seg6 = idev->cnf.seg6_enabled; in ipv6_srh_rcv()
488 if (accept_rpl_seg > idev->cnf.rpl_seg_enabled) in ipv6_rpl_srh_rcv()
489 accept_rpl_seg = idev->cnf.rpl_seg_enabled; in ipv6_rpl_srh_rcv()
678 if (idev && accept_source_route > idev->cnf.accept_source_route) in ipv6_rthdr_rcv()
679 accept_source_route = idev->cnf.accept_source_route; in ipv6_rthdr_rcv()
Doutput_core.c120 hoplimit = idev->cnf.hop_limit; in ip6_dst_hoplimit()
Dip6_input.c164 !idev || unlikely(idev->cnf.disable_ipv6)) { in ip6_rcv_core()
228 idev->cnf.drop_unicast_in_l2_multicast) in ip6_rcv_core()
Droute.c642 neigh->updated + idev->cnf.rtr_probe_interval)) { in rt6_probe()
649 idev->cnf.rtr_probe_interval)) { in rt6_probe()
1587 mtu = idev->cnf.mtu6; in fib6_mtu()
2002 if (dst_mtu(&rt->dst) == idev->cnf.mtu6) in rt6_mtu_change_route_allowed()
3099 mtu = idev->cnf.mtu6; in ip6_mtu()
3140 if (idev && idev->cnf.mtu6 > mtu) in ip6_mtu_from_fib6()
3141 mtu = idev->cnf.mtu6; in ip6_mtu_from_fib6()
3491 if (idev->cnf.disable_ipv6) { in fib6_nh_init()
4059 if (in6_dev->cnf.forwarding || !in6_dev->cnf.accept_redirects) in rt6_do_redirect()
4311 (!idev || idev->cnf.accept_ra != 2) && in __rt6_purge_dflt_routers()
[all …]
Dip6mr.c741 in6_dev->cnf.mc_forwarding--; in mif6_delete()
744 dev->ifindex, &in6_dev->cnf); in mif6_delete()
909 in6_dev->cnf.mc_forwarding++; in mif6_add()
912 dev->ifindex, &in6_dev->cnf); in mif6_add()
Danycast.c123 ishost = !idev->cnf.forwarding; in ipv6_sock_ac_join()
Dmcast.c126 iv = idev->cnf.mldv1_unsolicited_report_interval; in unsolicited_report_interval()
128 iv = idev->cnf.mldv2_unsolicited_report_interval; in unsolicited_report_interval()
1172 return idev->cnf.force_mld_version; in mld_force_mld_version()
2607 if (idev->cnf.forwarding) in ipv6_mc_destroy_dev()
Dip6_output.c237 if (unlikely(idev->cnf.disable_ipv6)) { in ip6_output()
511 !idev->cnf.disable_policy && in ip6_forward()
/kernel/linux/linux-5.10/include/linux/mfd/
Dtmio.h82 int tmio_core_mmc_enable(void __iomem *cnf, int shift, unsigned long base);
83 int tmio_core_mmc_resume(void __iomem *cnf, int shift, unsigned long base);
84 void tmio_core_mmc_pwr(void __iomem *cnf, int shift, int state);
85 void tmio_core_mmc_clk_div(void __iomem *cnf, int shift, int state);
/kernel/linux/linux-5.10/include/linux/
Dinetdevice.h49 struct ipv4_devconf cnf; member
53 #define IPV4_DEVCONF(cnf, attr) ((cnf).data[IPV4_DEVCONF_ ## attr - 1]) argument
60 return in_dev->cnf.data[index]; in ipv4_devconf_get()
67 set_bit(index, in_dev->cnf.state); in ipv4_devconf_set()
68 in_dev->cnf.data[index] = val; in ipv4_devconf_set()
73 bitmap_fill(in_dev->cnf.state, IPV4_DEVCONF_MAX); in ipv4_devconf_setall()
/kernel/linux/linux-5.10/net/ipv4/
Ddevinet.c262 memcpy(&in_dev->cnf, dev_net(dev)->ipv4.devconf_dflt, in inetdev_init()
263 sizeof(in_dev->cnf)); in inetdev_init()
264 in_dev->cnf.sysctl = NULL; in inetdev_init()
269 if (IPV4_DEVCONF(in_dev->cnf, FORWARDING)) in inetdev_init()
1944 ((u32 *) nla_data(nla))[i] = in_dev->cnf.data[i]; in inet_fill_link_af()
2195 devconf = &in_dev->cnf; in inet_netconf_get_devconf()
2262 &in_dev->cnf, in inet_netconf_dump_devconf()
2317 if (in_dev && !test_bit(i, in_dev->cnf.state)) in devinet_copy_dflt_conf()
2318 in_dev->cnf.data[i] = net->ipv4.devconf_dflt->data[i]; in devinet_copy_dflt_conf()
2351 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()
689 IPV4_DEVCONF(in_dev->cnf, MC_FORWARDING)--; in vif_delete()
692 dev->ifindex, &in_dev->cnf); in vif_delete()
874 IPV4_DEVCONF(in_dev->cnf, MC_FORWARDING)++; in vif_add()
876 dev->ifindex, &in_dev->cnf); in vif_add()
/kernel/linux/linux-5.10/drivers/staging/wfx/
Dtraces.h339 TP_PROTO(int ind, int req, int cnf, int busy, bool release),
340 TP_ARGS(ind, req, cnf, busy, release),
344 __field(int, cnf)
351 __entry->cnf = cnf;
358 __entry->cnf,
363 #define _trace_bh_stats(ind, req, cnf, busy, release)\ argument
364 trace_bh_stats(ind, req, cnf, busy, release)
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-tegra.c67 u32 cnf[4]; member
210 u32 cnf, oe; in tegra_gpio_get_direction() local
212 cnf = tegra_gpio_readl(tgi, GPIO_CNF(tgi, offset)); in tegra_gpio_get_direction()
213 if (!(cnf & pin_mask)) in tegra_gpio_get_direction()
428 tegra_gpio_writel(tgi, bank->cnf[p], in tegra_gpio_resume()
463 bank->cnf[p] = tegra_gpio_readl(tgi, in tegra_gpio_suspend()
/kernel/linux/linux-5.10/arch/parisc/kernel/
Dcache.c244 #define CAFL_STRIDE(cnf) (cnf.cc_line << (3 + cnf.cc_block + cnf.cc_shift)) in parisc_cache_init() argument
/kernel/linux/linux-5.10/include/net/
Dif_inet6.h198 struct ipv6_devconf cnf; member
Dipv6.h450 return idev->cnf.forwarding ? idev->cnf.accept_ra == 2 : in ipv6_accept_ra()
451 idev->cnf.accept_ra; in ipv6_accept_ra()
Dip6_route.h333 mtu = idev->cnf.mtu6; in ip6_dst_mtu_forward()
Daddrconf.h408 return !!idev->cnf.ignore_routes_with_linkdown; in ip6_ignore_linkdown()
/kernel/linux/linux-5.10/drivers/net/wireguard/
Ddevice.c46 dev_v6->cnf.addr_gen_mode = IN6_ADDR_GEN_MODE_NONE; in wg_open()
/kernel/linux/linux-5.10/drivers/net/usb/
Dcdc_mbim.c340 is_router = !!in6_dev->cnf.forwarding; in do_neigh_solicit()

12