Home
last modified time | relevance | path

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

12

/Linux-v5.15/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-v5.15/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()
257 if (cnf.hlim != (raw64 >> 56) || in check_ioam6_data()
258 cnf.wide != (raw64 & 0xffffffffffffff)) in check_ioam6_data()
264 if (__be32_to_cpu(*((__u32 *)*p)) != cnf.ingr_wide) in check_ioam6_data()
268 if (__be32_to_cpu(*((__u32 *)*p)) != cnf.egr_wide) in check_ioam6_data()
274 if (__be64_to_cpu(*((__u64 *)*p)) != cnf.ns_wide) in check_ioam6_data()
[all …]
/Linux-v5.15/net/ipv6/
Daddrconf.c391 memcpy(&ndev->cnf, dev_net(dev)->ipv6.devconf_dflt, sizeof(ndev->cnf)); in ipv6_add_dev()
393 if (ndev->cnf.stable_secret.initialized) in ipv6_add_dev()
394 ndev->cnf.addr_gen_mode = IN6_ADDR_GEN_MODE_STABLE_PRIVACY; in ipv6_add_dev()
396 ndev->cnf.mtu6 = dev->mtu; in ipv6_add_dev()
403 if (ndev->cnf.forwarding) in ipv6_add_dev()
427 ndev->cnf.accept_dad = -1; in ipv6_add_dev()
432 ndev->cnf.rtr_solicits = 0; in ipv6_add_dev()
443 ndev->cnf.use_tempaddr = -1; in ipv6_add_dev()
469 if (ndev->cnf.forwarding && (dev->flags & IFF_MULTICAST)) in ipv6_add_dev()
682 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()
1265 if (!in6_dev->cnf.accept_ra_defrtr) { in ndisc_router_discovery()
[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.c377 if (accept_seg6 > idev->cnf.seg6_enabled) in ipv6_srh_rcv()
378 accept_seg6 = idev->cnf.seg6_enabled; in ipv6_srh_rcv()
500 if (accept_rpl_seg > idev->cnf.rpl_seg_enabled) in ipv6_rpl_srh_rcv()
501 accept_rpl_seg = idev->cnf.rpl_seg_enabled; in ipv6_rpl_srh_rcv()
690 if (idev && accept_source_route > idev->cnf.accept_source_route) in ipv6_rthdr_rcv()
691 accept_source_route = idev->cnf.accept_source_route; in ipv6_rthdr_rcv()
955 if (!__in6_dev_get(skb->dev)->cnf.ioam6_enabled) in ipv6_hop_ioam()
Doutput_core.c120 hoplimit = idev->cnf.hop_limit; in ip6_dst_hoplimit()
Dioam6.c662 raw16 = (__force u16)__in6_dev_get(skb->dev)->cnf.ioam6_id; in __ioam6_fill_trace_data()
670 raw16 = (__force u16)__in6_dev_get(skb_dst(skb)->dev)->cnf.ioam6_id; in __ioam6_fill_trace_data()
747 raw32 = __in6_dev_get(skb->dev)->cnf.ioam6_id_wide; in __ioam6_fill_trace_data()
755 raw32 = __in6_dev_get(skb_dst(skb)->dev)->cnf.ioam6_id_wide; in __ioam6_fill_trace_data()
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.c644 neigh->updated + idev->cnf.rtr_probe_interval)) { in rt6_probe()
651 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()
3251 if (idev && idev->cnf.mtu6 > mtu) in ip6_mtu_from_fib6()
3252 mtu = idev->cnf.mtu6; in ip6_mtu_from_fib6()
3602 if (idev->cnf.disable_ipv6) { in fib6_nh_init()
4150 if (in6_dev->cnf.forwarding || !in6_dev->cnf.accept_redirects) in rt6_do_redirect()
4403 (!idev || idev->cnf.accept_ra != 2) && in __rt6_purge_dflt_routers()
4919 (mtu < arg->mtu && mtu == idev->cnf.mtu6)) in fib6_nh_mtu_change()
Dip6mr.c740 in6_dev->cnf.mc_forwarding--; in mif6_delete()
743 dev->ifindex, &in6_dev->cnf); in mif6_delete()
908 in6_dev->cnf.mc_forwarding++; in mif6_add()
911 dev->ifindex, &in6_dev->cnf); in mif6_add()
Danycast.c123 ishost = !idev->cnf.forwarding; in ipv6_sock_ac_join()
/Linux-v5.15/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-v5.15/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()
/Linux-v5.15/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()
1943 ((u32 *) nla_data(nla))[i] = in_dev->cnf.data[i]; in inet_fill_link_af()
2196 devconf = &in_dev->cnf; in inet_netconf_get_devconf()
2263 &in_dev->cnf, in inet_netconf_dump_devconf()
2318 if (in_dev && !test_bit(i, in_dev->cnf.state)) in devinet_copy_dflt_conf()
2319 in_dev->cnf.data[i] = net->ipv4.devconf_dflt->data[i]; in devinet_copy_dflt_conf()
2352 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()
/Linux-v5.15/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)
/Linux-v5.15/include/sound/
Dsimple_card_utils.h231 struct snd_soc_codec_conf *cnf; in asoc_simple_debug_info() local
251 for_each_prop_codec_conf(props, j, cnf) in asoc_simple_debug_info()
252 if (cnf->name_prefix) in asoc_simple_debug_info()
253 dev_dbg(dev, "name prefix = %s\n", cnf->name_prefix); in asoc_simple_debug_info()
/Linux-v5.15/arch/parisc/kernel/
Dcache.c244 #define CAFL_STRIDE(cnf) (cnf.cc_line << (3 + cnf.cc_block + cnf.cc_shift)) in parisc_cache_init() argument
/Linux-v5.15/drivers/gpio/
Dgpio-tegra.c74 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()
477 tegra_gpio_writel(tgi, bank->cnf[p], in tegra_gpio_resume()
512 bank->cnf[p] = tegra_gpio_readl(tgi, in tegra_gpio_suspend()
/Linux-v5.15/include/net/
Dif_inet6.h204 struct ipv6_devconf cnf; member
Dipv6.h451 return idev->cnf.forwarding ? idev->cnf.accept_ra == 2 : in ipv6_accept_ra()
452 idev->cnf.accept_ra; in ipv6_accept_ra()
Dip6_route.h335 mtu = idev->cnf.mtu6; in ip6_dst_mtu_maybe_forward()
Daddrconf.h406 return !!idev->cnf.ignore_routes_with_linkdown; in ip6_ignore_linkdown()
/Linux-v5.15/drivers/net/wireguard/
Ddevice.c46 dev_v6->cnf.addr_gen_mode = IN6_ADDR_GEN_MODE_NONE; in wg_open()

12