/openbmc/u-boot/drivers/ddr/fsl/ |
H A D | ddr3_dimm_params.c | 8 * JEDEC standard No.21-C 4_01_02_11R18.pdf 33 * 0100 4Gb 512MB 46 * 000 4bits 63 if ((spd->bus_width & 0x7) < 4) in compute_ranksize() 65 if ((spd->organization & 0x7) < 4) in compute_ranksize() 143 pdimm->rcw[i+1] = (rcw >> 4) & 0x0F; in ddr_compute_dimm_parameters() 170 pdimm->n_banks_per_sdram_device = 8 << ((spd->density_banks >> 4) & 0x7); 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() 203 ((spd->ftb_div & 0xf0) >> 4) * 10 / (spd->ftb_div & 0x0f); in ddr_compute_dimm_parameters() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | udpgro_fwd.sh | 7 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 D | xfrm_policy.sh | 21 # Kselftest framework requirement - SKIP code is 4. 22 ksft_skip=4 32 local ns=$1 35 local lnet=$4 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 48 local lnet=$4 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 … [all …]
|
H A D | vrf-xfrm-tests.sh | 6 # Kselftest framework requirement - SKIP code is 4. 7 ksft_skip=4 88 local ns=$1 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 D | cmsg_time.sh | 4 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 38 echo " Case $4 returned $1, expected 0" [all …]
|
H A D | cmsg_so_mark.sh | 4 NS=ns 13 ip netns del $NS 19 ip netns add $NS 21 ip netns exec $NS sysctl -w net.ipv4.ping_group_range='0 2147483647' > /dev/null 24 ip -netns $NS link add type dummy 25 ip -netns $NS link set dev dummy0 up 26 ip -netns $NS addr add $IP4 dev dummy0 27 ip -netns $NS addr add $IP6 dev dummy0 29 ip -netns $NS rule add fwmark $MARK lookup 300 30 ip -6 -netns $NS rule add fwmark $MARK lookup 300 [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_xdp_redirect_multi.sh | 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 60 # Kselftest framework requirement - SKIP code is 4. 66 exit 4 72 exit 4 85 ip netns add ${NS[0]} [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-overo-tobiduo-common.dtsi | 21 smsc2: ethernet@4,0 { 26 gpmc,cs-on-ns = <0>; 27 gpmc,cs-rd-off-ns = <42>; 28 gpmc,cs-wr-off-ns = <36>; 29 gpmc,adv-on-ns = <6>; 30 gpmc,adv-rd-off-ns = <12>; 31 gpmc,adv-wr-off-ns = <12>; 32 gpmc,oe-on-ns = <0>; 33 gpmc,oe-off-ns = <42>; 34 gpmc,we-on-ns = <0>; [all …]
|
H A D | omap3430-sdp.dts | 36 * Else, use 4 bit mode 63 gpmc,cs-on-ns = <0>; 64 gpmc,cs-rd-off-ns = <186>; 65 gpmc,cs-wr-off-ns = <186>; 66 gpmc,adv-on-ns = <12>; 67 gpmc,adv-rd-off-ns = <48>; 68 gpmc,adv-wr-off-ns = <48>; 69 gpmc,oe-on-ns = <54>; 70 gpmc,oe-off-ns = <168>; 71 gpmc,we-on-ns = <54>; [all …]
|
H A D | omap3-sb-t35.dtsi | 100 ranges = <4 0 0x2d000000 0x01000000>; 102 smsc2: ethernet@4,0 { 108 reg = <4 0 0xff>; 113 gpmc,cs-on-ns = <5>; 114 gpmc,cs-rd-off-ns = <150>; 115 gpmc,cs-wr-off-ns = <150>; 116 gpmc,adv-on-ns = <0>; 117 gpmc,adv-rd-off-ns = <15>; 118 gpmc,adv-wr-off-ns = <40>; 119 gpmc,oe-on-ns = <45>; [all …]
|
H A D | am335x-chilisom.dtsi | 79 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ 88 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ 102 ldo2_reg: regulator@4 { 146 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 156 gpmc,cs-on-ns = <0>; 157 gpmc,cs-rd-off-ns = <44>; 158 gpmc,cs-wr-off-ns = <44>; 159 gpmc,adv-on-ns = <6>; 160 gpmc,adv-rd-off-ns = <34>; 161 gpmc,adv-wr-off-ns = <44>; [all …]
|
H A D | am335x-nano.dts | 275 gpmc,cs-on-ns = <0>; 276 gpmc,cs-rd-off-ns = <160>; 277 gpmc,cs-wr-off-ns = <160>; 278 gpmc,adv-on-ns = <10>; 279 gpmc,adv-rd-off-ns = <30>; 280 gpmc,adv-wr-off-ns = <30>; 281 gpmc,oe-on-ns = <40>; 282 gpmc,oe-off-ns = <160>; 283 gpmc,we-on-ns = <40>; 284 gpmc,we-off-ns = <160>; [all …]
|
H A D | am335x-igep0033.dtsi | 136 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 145 gpmc,cs-on-ns = <0>; 146 gpmc,cs-rd-off-ns = <44>; 147 gpmc,cs-wr-off-ns = <44>; 148 gpmc,adv-on-ns = <6>; 149 gpmc,adv-rd-off-ns = <34>; 150 gpmc,adv-wr-off-ns = <44>; 151 gpmc,we-on-ns = <0>; 152 gpmc,we-off-ns = <40>; 153 gpmc,oe-on-ns = <0>; [all …]
|
H A D | omap3-lilly-dbb056.dts | 111 bus-width = <4>; 113 cd-gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>; /* gpio_164 */ 128 <4 0 0x20000000 0x01000000>, 131 ethernet@4,0 { 135 gpmc,cs-on-ns = <10>; 136 gpmc,cs-rd-off-ns = <65>; 137 gpmc,cs-wr-off-ns = <65>; 138 gpmc,adv-on-ns = <0>; 139 gpmc,adv-rd-off-ns = <10>; 140 gpmc,adv-wr-off-ns = <10>; [all …]
|
H A D | omap3-devkit8000-common.dtsi | 34 gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>; /* 164 -> LED3 */ 204 MATRIX_KEY(4, 5, KEY_RESERVED) 205 MATRIX_KEY(4, 4, KEY_VOLUMEUP) 224 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 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>; 237 gpmc,adv-rd-off-ns = <34>; 238 gpmc,adv-wr-off-ns = <44>; [all …]
|
H A D | omap3-evm-37xx.dts | 59 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 63 linux,mtd-name = "hynix,h8kds0un0mer-4em"; 69 gpmc,cs-on-ns = <0>; 70 gpmc,cs-rd-off-ns = <44>; 71 gpmc,cs-wr-off-ns = <44>; 72 gpmc,adv-on-ns = <6>; 73 gpmc,adv-rd-off-ns = <34>; 74 gpmc,adv-wr-off-ns = <44>; 75 gpmc,we-off-ns = <40>; 76 gpmc,oe-off-ns = <54>; [all …]
|
H A D | dm8148-evm.dts | 50 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 61 gpmc,cs-on-ns = <0>; 62 gpmc,cs-rd-off-ns = <44>; 63 gpmc,cs-wr-off-ns = <44>; 64 gpmc,adv-on-ns = <6>; 65 gpmc,adv-rd-off-ns = <34>; 66 gpmc,adv-wr-off-ns = <44>; 67 gpmc,we-on-ns = <0>; 68 gpmc,we-off-ns = <40>; 69 gpmc,oe-on-ns = <0>; [all …]
|
H A D | dra62x-j5eco-evm.dts | 50 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 61 gpmc,cs-on-ns = <0>; 62 gpmc,cs-rd-off-ns = <44>; 63 gpmc,cs-wr-off-ns = <44>; 64 gpmc,adv-on-ns = <6>; 65 gpmc,adv-rd-off-ns = <34>; 66 gpmc,adv-wr-off-ns = <44>; 67 gpmc,we-on-ns = <0>; 68 gpmc,we-off-ns = <40>; 69 gpmc,oe-on-ns = <0>; [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-s32v234/ |
H A D | lpddr2.h | 39 …CFG0_VALUE 0x464F61A5 /* tRFCab=70 (=130ns),tXSR=80 (=tRFCab+10ns),tXP=4 (=7.5ns),tXPDLL=n/a,tF… 40 … 0x00180E63 /* tRCD=n/a,tRPpb=n/a,tRC=n/a ,tRAS=25 (=47ns),tRPA=n/a,tWR=8 (=15.0ns),tMRD=3,tWL=4 … 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… 48 …C_MPZQLP2CTL_VALUE 0x1B5F0109 /* ZQ_LP2_HW_ZQCS=0x1B (90ns spec), ZQ_LP2_HW_ZQCL=0x5F (160ns spe… 50 #define MMDC_MDSCR_MR1_VALUE 0xC2018030 /* Configure MR1: BL 4, burst type interleaved, wrap cont… 51 #define MMDC_MDSCR_MR2_VALUE 0x06028030 /* Configure MR2: RL=8, WL=4 */
|
/openbmc/linux/Documentation/arch/m68k/ |
H A D | buddha-driver.rst | 31 address is written to $4a, then the whole Byte is written to 32 $48, while it doesn't matter how often you're writing to $4a 35 address just written. Make sure $4a is written before $48, 56 $c00-$cff IDE-Select 4 (Port 2, Register set 0, 124 A6=1 (for example $840 for port 0, register set 0), a 780ns 131 only the upper three bits are used (Bits 7 to 5). Bit 4 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) [all …]
|
/openbmc/linux/arch/powerpc/boot/ |
H A D | addnote.c | 67 ((unsigned long long)GET_32BE((off)+4ULL))) 72 PUT_32BE((off) + 4, (v)))) 77 (((unsigned long long)GET_32LE((off)+4ULL)) << 32ULL)) 81 #define PUT_64LE(off, v) (PUT_32LE((off), (v)), PUT_32LE((off) + 4, (v) >> 32L)) 101 #define EI_CLASS 4 105 #define PH_OFFSET (e_class == ELFCLASS32 ? 4 : 8) 109 #define PT_NOTE 4 /* Program header type = note */ 112 unsigned char elf_magic[4] = { 0x7f, 'E', 'L', 'F' }; 119 long nnote, nnote2, ns; in main() local 140 if (memcmp(&buf[E_IDENT+EI_MAGIC], elf_magic, 4) != 0) in main() [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | am335x-chilisom.dtsi | 82 /* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */ 91 /* VDD_CORE voltage limits 0.95V - 1.1V with +/-4% tolerance */ 105 ldo2_reg: regulator@4 { 149 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 159 gpmc,cs-on-ns = <0>; 160 gpmc,cs-rd-off-ns = <44>; 161 gpmc,cs-wr-off-ns = <44>; 162 gpmc,adv-on-ns = <6>; 163 gpmc,adv-rd-off-ns = <34>; 164 gpmc,adv-wr-off-ns = <44>; [all …]
|
H A D | am335x-igep0033.dtsi | 134 reg = <0 0 4>; /* CS0, offset 0, IO size 4 */ 143 gpmc,cs-on-ns = <0>; 144 gpmc,cs-rd-off-ns = <44>; 145 gpmc,cs-wr-off-ns = <44>; 146 gpmc,adv-on-ns = <6>; 147 gpmc,adv-rd-off-ns = <34>; 148 gpmc,adv-wr-off-ns = <44>; 149 gpmc,we-on-ns = <0>; 150 gpmc,we-off-ns = <40>; 151 gpmc,oe-on-ns = <0>; [all …]
|
/openbmc/linux/drivers/pcmcia/ |
H A D | soc_common.h | 63 * The PC Card Standard, Release 7, section 4.13.4, says that twIORD 64 * has a minimum value of 165ns. Section 4.13.5 says that twIOWR has 65 * a minimum value of 165ns, as well. Section 4.7.2 (describing 67 * minimum value of 150ns for a 250ns cycle time (for 5V operation; 68 * see section 4.7.4), or 300ns for a 600ns cycle time (for 3.3V 69 * operation, also section 4.7.4). Section 4.7.3 says that taOE 70 * has a maximum value of 150ns for a 300ns cycle time (for 5V 71 * operation), or 300ns for a 600ns cycle time (for 3.3V operation). 75 * PCMCIA I/O command width time is 165ns. The default PCMCIA 5V attribute 76 * and memory command width time is 150ns; the PCMCIA 3.3V attribute and [all …]
|
/openbmc/u-boot/drivers/spi/ |
H A D | atcspi200_spi.c | 41 #define TRAMODE_RW (4<<TRAMODE_OFFSET) 57 #define TXDMAEN (1<<4) 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() 120 while((ns->regs->ctrl &(TXFRST|RXFRST|SPIRST))&&(ns->to--)) in __atcspi200_spi_claim_bus() [all …]
|