Home
last modified time | relevance | path

Searched +full:3 +full:ns (Results 1 – 25 of 1119) sorted by relevance

12345678910>>...45

/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Domap-zoom-common.dtsi9 ranges = <3 0 0x10000000 0x1000000>, /* CS3: 16MB for UART */
17 serial@3,0 {
19 reg = <3 0 8>; /* CS3, offset 0, IO size 8 */
32 gpmc,cs-on-ns = <5>;
33 gpmc,cs-rd-off-ns = <155>;
34 gpmc,cs-wr-off-ns = <155>;
35 gpmc,adv-on-ns = <15>;
36 gpmc,adv-rd-off-ns = <40>;
37 gpmc,adv-wr-off-ns = <40>;
38 gpmc,oe-on-ns = <45>;
[all …]
H A Domap3-devkit8000-common.dtsi27 gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>; /* 163 -> LED2 */
196 MATRIX_KEY(3, 1, KEY_F5)
200 MATRIX_KEY(3, 2, KEY_F6)
201 MATRIX_KEY(0, 3, KEY_F7)
202 MATRIX_KEY(1, 3, KEY_0)
203 MATRIX_KEY(2, 3, KEY_F8)
233 gpmc,cs-on-ns = <0>;
234 gpmc,cs-rd-off-ns = <44>;
235 gpmc,cs-wr-off-ns = <44>;
236 gpmc,adv-on-ns = <6>;
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H A Dtest_xdp_redirect_multi.sh29 NUM=3
35 declare -a NS
36 NS[0]="ns0-$(mktemp -u XXXXXX)"
37 NS[1]="ns1-$(mktemp -u XXXXXX)"
38 NS[2]="ns2-$(mktemp -u XXXXXX)"
39 NS[3]="ns3-$(mktemp -u XXXXXX)"
56 ip netns del ${NS[$i]} 2> /dev/null
85 ip netns add ${NS[0]}
87 ip netns add ${NS[$i]}
88 ip -n ${NS[$i]} link add veth0 type veth peer name veth$i netns ${NS[0]}
[all …]
/openbmc/linux/tools/testing/selftests/net/
H A Dxfrm_policy.sh32 local ns=$1
34 local remote=$3
39 …ip -net $ns xfrm policy add src $lnet dst $rnet dir out tmpl src $me dst $remote proto esp mode tu…
41 …ip -net $ns xfrm policy add src $rnet dst $lnet dir fwd tmpl src $remote dst $me proto esp mode tu…
45 local ns=$1
47 local remote=$3
53 …ip -net $ns xfrm state add src $remote dst $me proto esp spi $spi_in enc aes $KEY_AES auth sha1 …
54 …ip -net $ns xfrm state add src $me dst $remote proto esp spi $spi_out enc aes $KEY_AES auth sha1 …
56 do_esp_policy $ns $me $remote $lnet $rnet
73 local ns=$1
[all …]
H A Dudpgro_fwd.sh7 readonly BASE="ns-$(mktemp -u XXXXXX)"
24 local ns
28 for ns in $NS_SRC $NS_DST; do
29 ip netns del $ns 2>/dev/null
37 local ns
39 for ns in $NS_SRC $NS_DST; do
40 ip netns add $ns
41 ip -n $ns link set dev lo up
44 ip netns exec $ns sysctl -qw net.ipv6.conf.default.router_solicitations=0
45 ip netns exec $ns sysctl -qw net.ipv6.conf.all.router_solicitations=0
[all …]
H A Dcmsg_time.sh4 NS=ns
12 ip netns del $NS
18 ip netns add $NS
20 ip netns exec $NS sysctl -w net.ipv4.ping_group_range='0 2147483647' > /dev/null
23 ip -netns $NS link add type dummy
24 ip -netns $NS link set dev dummy0 up
25 ip -netns $NS addr add $IP4 dev dummy0
26 ip -netns $NS addr add $IP6 dev dummy0
29 ip netns exec $NS tc qdisc replace dev dummy0 root fq
40 elif [ "$2" != "$3" ]; then
[all …]
H A Dveth.sh5 readonly STATS="$(mktemp -p /tmp ns-XXXXXX)"
21 local ns
27 for ns in $NS_SRC $NS_DST; do
28 ip netns del $ns 2>/dev/null
35 local ns
37 for ns in $NS_SRC $NS_DST; do
38 ip netns add $ns
39 ip -n $ns link set dev lo up
44 for ns in $SRC $DST; do
45 ip link set dev veth$ns netns $BASE$ns up
[all …]
H A Dtraceroute.sh16 local msg="$3"
36 local ns
41 ns="$1"
49 out=$(eval ip netns exec ${ns} ${cmd} 2>&1)
65 local ns=$1
67 local addr6=$3
72 ip netns add ${ns}
74 ip netns exec ${ns} ip link set lo up
76 ip netns exec ${ns} ip addr add dev lo ${addr}
79 ip netns exec ${ns} ip -6 addr add dev lo ${addr6}
[all …]
H A Dlib.sh21 local start_time="$(date -u +%s%3N)"
30 local current_time="$(date -u +%s%3N)"
40 local ns=""
43 for ns in "$@"; do
44 [ -z "${ns}" ] && continue
45 ip netns pids "${ns}" 2> /dev/null | xargs -r kill || true
46 ip netns delete "${ns}" &> /dev/null || true
47 if ! busywait $BUSYWAIT_TIMEOUT ip netns list \| grep -vq "^$ns$" &> /dev/null; then
48 echo "Warn: Failed to remove namespace $ns"
65 local ns=""
[all …]
H A Dtest_bridge_neigh_suppress.sh7 # ARP/NS messages from the first host are suppressed on the VXLAN port when
69 local msg="$3"
122 local ns=$1; shift
129 pkts=$(tc -n $ns -j -s filter show $id \
140 local ns=$1; shift
142 ip netns exec $ns sysctl -qw net.ipv6.conf.all.keep_addr_on_down=1
143 ip netns exec $ns sysctl -qw net.ipv6.conf.default.ignore_routes_with_linkdown=1
144 ip netns exec $ns sysctl -qw net.ipv6.conf.all.accept_dad=0
145 ip netns exec $ns sysctl -qw net.ipv6.conf.default.accept_dad=0
150 local ns
[all …]
H A Dvrf-xfrm-tests.sh42 local msg="$3"
88 local ns=$1
90 local table=$3
92 if [ -n "${ns}" ]; then
93 ns="-netns ${ns}"
96 ip ${ns} link add ${vrf} type vrf table ${table}
97 ip ${ns} link set ${vrf} up
98 ip ${ns} route add vrf ${vrf} unreachable default metric 8192
99 ip ${ns} -6 route add vrf ${vrf} unreachable default metric 8192
101 ip ${ns} addr add 127.0.0.1/8 dev ${vrf}
[all …]
H A Dfib_nexthop_multiprefix.sh27 local msg="$3"
73 local ns=${1}
75 ip netns del ${ns} 2>/dev/null
77 ip netns add ${ns}
78 ip -netns ${ns} addr add 127.0.0.1/8 dev lo
79 ip -netns ${ns} link set lo up
81 ip netns exec ${ns} sysctl -q -w net.ipv6.conf.all.keep_addr_on_down=1
82 case ${ns} in
84 ip netns exec $ns sysctl -q -w net.ipv6.conf.all.forwarding=0
87 ip netns exec $ns sysctl -q -w net.ipv4.ip_forward=1
[all …]
/openbmc/u-boot/drivers/ddr/fsl/
H A Dddr3_dimm_params.c23 * where: sdram capacity = spd byte4[3:0]
28 * bit[3:0] size(bit) size(byte)
64 nbit_primary_bus_width = (spd->bus_width & 0x7) + 3; in compute_ranksize()
68 bsize = 1ULL << (nbit_sdram_cap_bsize - 3 in compute_ranksize()
119 pdimm->n_ranks = ((spd->organization >> 3) & 0x7) + 1; in ddr_compute_dimm_parameters()
122 pdimm->primary_sdram_width = 1 << (3 + (spd->bus_width & 0x7)); in ddr_compute_dimm_parameters()
123 if ((spd->bus_width >> 3) & 0x3) in ddr_compute_dimm_parameters()
168 pdimm->n_row_addr = ((spd->addressing >> 3) & 0x7) + 12; in ddr_compute_dimm_parameters()
190 * The unit in the SPD spec is ns, in ddr_compute_dimm_parameters()
192 * eg: MTB = 0.125ns (125ps) in ddr_compute_dimm_parameters()
[all …]
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dfib_offload_lib.sh7 local ns=$1; shift
13 ip -n $ns -j -p -$family route show $route \
29 local ns=$1; shift
34 busywait 5000 __fib_trap_check $ns $family "$route" $should_fail
39 local ns=$1; shift
43 fib_trap_check $ns 4 "$route" $should_fail
48 local ns=$1; shift
52 fib_trap_check $ns 6 "$route" $should_fail
57 local ns=$1; shift
62 for i in $(seq 1 3); do
[all …]
/openbmc/linux/tools/testing/selftests/netfilter/
H A Dnft_zones_many.sh7 ns="ns-$sfx"
18 ip netns del $ns
31 checktool "ip netns add $ns" "create net namespace"
40 ip -net "$ns" link set lo up
45 ip netns exec $ns sysctl -q net.netfilter.nf_conntrack_udp_timeout=3600
46 ip netns exec $ns nft -f /dev/stdin<<EOF
69 ) | ip netns exec $ns nft -f /dev/stdin
73 local outerstart=$(date +%s%3N)
77 local start=$(date +%s%3N)
81 …dd if=/dev/zero of=/dev/stdout bs=8k count=1000 2>/dev/null | ip netns exec "$ns" socat STDIN UDP:…
[all …]
/openbmc/u-boot/drivers/spi/
H A Datcspi200_spi.c29 u32 reserve1[3];
40 #define TRAMODE_WR (3<<TRAMODE_OFFSET)
58 #define RXDMAEN (1<<3)
93 static int __atcspi200_spi_set_speed(struct nds_spi_slave *ns) in __atcspi200_spi_set_speed() argument
97 tm = ns->regs->timing; in __atcspi200_spi_set_speed()
100 if(ns->freq >= ns->clock) in __atcspi200_spi_set_speed()
104 if (ns->freq >= ns->clock / (2 * (div + 1))) in __atcspi200_spi_set_speed()
110 ns->regs->timing = tm; in __atcspi200_spi_set_speed()
116 static int __atcspi200_spi_claim_bus(struct nds_spi_slave *ns) in __atcspi200_spi_claim_bus() argument
119 ns->regs->ctrl |= (TXFRST|RXFRST|SPIRST); in __atcspi200_spi_claim_bus()
[all …]
/openbmc/u-boot/board/armadeus/apf27/
H A Dapf27.h27 * ACFG_CLK_FREQ (2/3 MPLL clock or ext 266 MHZ)
33 #define ACFG_CLK_FREQ (CONFIG_MPLL_FREQ*2/3) /* 266 MHz */
54 #define CONFIG_CLK0_DIV 3 /* Divide CLK0 by 4 */
74 #define ACFG_SDRAM_REFRESH 3 /* 0=OFF 1=2048
75 * 2=4096 3=8192 refresh
77 #define ACFG_SDRAM_EXIT_PWD 25 /* ns exit power
83 #define ACFG_SDRAM_ROW_PRECHARGE_DELAY 18 /* ns */
87 #define ACFG_SDRAM_TWR_DELAY 1 /* LPDDR: 0=2ck 1=3ck
90 #define ACFG_SDRAM_RAS_DELAY 42 /* ns ACTIVE-to-PRECHARGE delay */
91 #define ACFG_SDRAM_RRD_DELAY 12 /* ns ACTIVE-to-ACTIVE delay */
[all …]
/openbmc/linux/ipc/
H A Dipc_sysctl.c23 struct ipc_namespace *ns = in proc_ipc_dointvec_minmax_orphans() local
31 if (ns->shm_rmid_forced) in proc_ipc_dointvec_minmax_orphans()
32 shm_destroy_orphaned(ns); in proc_ipc_dointvec_minmax_orphans()
54 struct ipc_namespace *ns = in proc_ipc_sem_dointvec() local
58 semmni = ns->sem_ctls[3]; in proc_ipc_sem_dointvec()
62 ret = sem_check_semmni(ns); in proc_ipc_sem_dointvec()
68 ns->sem_ctls[3] = semmni; in proc_ipc_sem_dointvec()
197 struct ipc_namespace *ns = in ipc_set_ownership() local
200 kuid_t ns_root_uid = make_kuid(ns->user_ns, 0); in ipc_set_ownership()
201 kgid_t ns_root_gid = make_kgid(ns->user_ns, 0); in ipc_set_ownership()
[all …]
/openbmc/linux/Documentation/arch/m68k/
H A Dbuddha-driver.rst54 $b00-$bff IDE-Select 3 (Port 1, Register set 1)
59 $d00-$dff IDE-Select 5 (Port 3, Register set 1,
124 A6=1 (for example $840 for port 0, register set 0), a 780ns
142 about 30ns to the clocks on the Zorro bus, that's why the
143 values are no multiple of 71. One clock-cycle is 71ns long
147 497ns Select (7 clock cycles) , IOR/IOW after 172ns (2 clock cycles)
152 639ns Select (9 clock cycles), IOR/IOW after 243ns (3 clock cycles)
155 781ns Select (11 clock cycles), IOR/IOW after 314ns (4 clock cycles)
157 value 3
158 355ns Select (5 clock cycles), IOR/IOW after 101ns (1 clock cycle)
[all …]
/openbmc/u-boot/board/xes/xpedite537x/
H A Dddr.c32 * 3.) CLK_ADJUST (Clock and Addr/Cmd alignment control)
46 * Minimum chip delay (Ch 0): 1.372ns
47 * Maximum chip delay (Ch 0): 2.914ns
48 * Minimum chip delay (Ch 1): 1.220ns
49 * Maximum chip delay (Ch 1): 2.595ns
51 * CLK adjust = 5 (from simulations) = 5/8* 3.33ns = 2080ps
57 * = 3.808ns
63 * = 6.240ns
69 * = 3.288ns
75 * = 5.536ns
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-s32v234/
H A Dlpddr2.h39 …CFG0_VALUE 0x464F61A5 /* tRFCab=70 (=130ns),tXSR=80 (=tRFCab+10ns),tXP=4 (=7.5ns),tXPDLL=n/a,tF…
40 …E 0x00180E63 /* tRCD=n/a,tRPpb=n/a,tRC=n/a ,tRAS=25 (=47ns),tRPA=n/a,tWR=8 (=15.0ns),tMRD=3,tWL…
41 #define MMDC_MDCFG2_VALUE 0x000000DD /* tDLLK=n/a,tRTP=4 (=7.5ns),tWTR=4 (=7.5ns),tRRD=6 (=10ns)…
42 …LUE 0x001F099B /* RC_LP=tRAS+tRPab=32 (>60ns), tRCD_LP=10 (18ns) , tRPpb_LP=10 (18ns), tRPab_LP…
44 #define MMDC_MDMISC_VALUE 0x00001688 /* WALAT=0, BI bank interleave on, LPDDR2_S2=0, MIF3=3, RAL…
48 …C_MPZQLP2CTL_VALUE 0x1B5F0109 /* ZQ_LP2_HW_ZQCS=0x1B (90ns spec), ZQ_LP2_HW_ZQCL=0x5F (160ns spe…
49 …RATOR_EN_TIMER=0x14, TZQ_CS=n/a, TZQ_OPER=n/a, TZQ_INIT=n/a, ZQ_HW_FOR=1, ZQ_HW_PER=0, ZQ_MODE=3 */
/openbmc/linux/drivers/net/netdevsim/
H A Dipsec.c16 struct netdevsim *ns = filp->private_data; in nsim_dbg_netdev_ops_read() local
17 struct nsim_ipsec *ipsec = &ns->ipsec; in nsim_dbg_netdev_ops_read()
24 * (num SAs * 3 lines each * ~60 bytes per line) + one more line in nsim_dbg_netdev_ops_read()
49 i, (sap->rx ? 'r' : 't'), &sap->ipaddr[3]); in nsim_dbg_netdev_ops_read()
57 sap->key[2], sap->key[3]); in nsim_dbg_netdev_ops_read()
137 struct netdevsim *ns; in nsim_ipsec_add_sa() local
143 ns = netdev_priv(dev); in nsim_ipsec_add_sa()
144 ipsec = &ns->ipsec; in nsim_ipsec_add_sa()
189 memcpy(&sa.ipaddr[3], &xs->id.daddr.a4, 4); in nsim_ipsec_add_sa()
205 struct netdevsim *ns = netdev_priv(xs->xso.real_dev); in nsim_ipsec_del_sa() local
[all …]
/openbmc/linux/tools/testing/selftests/net/mptcp/
H A Ddiag.sh8 ns="ns1-$rndh"
21 ip netns pids "${ns}" | xargs --no-run-if-empty kill -SIGUSR1 &>/dev/null
24 [ -z "$(ip netns pids "${ns}")" ] && break
31 ip netns pids "${ns}" | xargs --no-run-if-empty kill -SIGKILL &>/dev/null
33 ip netns del $ns
51 ip netns exec $ns cat /proc/net/protocols | awk '$1~/^MPTCP$/{print $3}'
58 local msg="$3"
86 __chk_nr "ss -inmHMN $ns | $condition" "$@"
107 nr=$(ss -inmHMN $ns | $condition)
144 local msg="$3"
[all …]
/openbmc/linux/security/keys/
H A Dpersistent.c13 unsigned persistent_keyring_expiry = 3 * 24 * 3600; /* Expire after 3 days of non-use */
20 static int key_create_persistent_register(struct user_namespace *ns) in key_create_persistent_register() argument
31 ns->persistent_keyring_register = reg; in key_create_persistent_register()
40 static key_ref_t key_create_persistent(struct user_namespace *ns, kuid_t uid, in key_create_persistent() argument
46 if (!ns->persistent_keyring_register) { in key_create_persistent()
47 long err = key_create_persistent_register(ns); in key_create_persistent()
51 reg_ref = make_key_ref(ns->persistent_keyring_register, true); in key_create_persistent()
62 ns->persistent_keyring_register); in key_create_persistent()
73 static long key_get_persistent(struct user_namespace *ns, kuid_t uid, in key_get_persistent() argument
86 index_key.desc_len = sprintf(buf, "_persistent.%u", from_kuid(ns, uid)); in key_get_persistent()
[all …]
/openbmc/linux/drivers/pwm/
H A Dpwm-ab8500.c51 * q = (32 - FreqPWMOutx[3:0]) / AB8500_PWM_CLKRATE in ab8500_pwm_apply()
54 * FreqPWMOutx[3:0] | output frequency | output frequency | 1024q = period in ab8500_pwm_apply()
57 * b0000 | 293 Hz | 292.968750 Hz | 3413333.33 ns in ab8500_pwm_apply()
58 * b0001 | 302 Hz | 302.419355 Hz | 3306666.66 ns in ab8500_pwm_apply()
59 * b0010 | 312 Hz | 312.500000 Hz | 3200000 ns in ab8500_pwm_apply()
60 * b0011 | 323 Hz | 323.275862 Hz | 3093333.33 ns in ab8500_pwm_apply()
61 * b0100 | 334 Hz | 334.821429 Hz | 2986666.66 ns in ab8500_pwm_apply()
62 * b0101 | 347 Hz | 347.222222 Hz | 2880000 ns in ab8500_pwm_apply()
63 * b0110 | 360 Hz | 360.576923 Hz | 2773333.33 ns in ab8500_pwm_apply()
64 * b0111 | 375 Hz | 375.000000 Hz | 2666666.66 ns in ab8500_pwm_apply()
[all …]

12345678910>>...45