| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A D | nandsim.c | 9 * Note: NS means "NAND Simulator". 43 #define CONFIG_NANDSIM_FIRST_ID_BYTE 0x98 44 #define CONFIG_NANDSIM_SECOND_ID_BYTE 0x39 45 #define CONFIG_NANDSIM_THIRD_ID_BYTE 0xFF /* No byte */ 46 #define CONFIG_NANDSIM_FOURTH_ID_BYTE 0xFF /* No byte */ 68 #define CONFIG_NANDSIM_DO_DELAYS 0 71 #define CONFIG_NANDSIM_LOG 0 74 #define CONFIG_NANDSIM_DBG 0 94 static unsigned int bitflips = 0; 96 static unsigned int overridesize = 0; [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/spi/ |
| H A D | atcspi200_spi.c | 21 #define SPI_TIMEOUT 0x100000 22 #define SPI0_BUS 0 24 #define SPI0_BASE 0xf0b00000 25 #define SPI1_BASE 0xf0f00000 31 u32 format; /* 0x10 */ 35 u32 tctrl; /* 0x20 */ 37 #define TRAMODE_MASK (0x0F<<TRAMODE_OFFSET) 38 #define TRAMODE_WR_SYNC (0<<TRAMODE_OFFSET) 49 #define WCNT_MASK (0x1FF<<WCNT_OFFSET) 50 #define RCNT_OFFSET 0 [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/ |
| H A D | fib_offload_lib.sh | 7 local ns=$1; shift 13 ip -n $ns -j -p -$family route show $route \ 17 if [[ $ret -ne 0 ]]; then 18 return 0 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 [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | omap3430-sdp.dts | 15 reg = <0x80000000 0x10000000>; /* 256 MB */ 23 reg = <0x48>; 50 ranges = <0 0 0x10000000 0x08000000>, 51 <1 0 0x28000000 0x1000000>, /* CS1: 16MB for NAND */ 52 <2 0 0x20000000 0x1000000>; /* CS2: 16MB for OneNAND */ 54 nor@0,0 { 59 reg = <0 0 0x08000000>; 63 gpmc,cs-on-ns = <0>; 64 gpmc,cs-rd-off-ns = <186>; 65 gpmc,cs-wr-off-ns = <186>; [all …]
|
| H A D | tegra30-cpu-opp.dtsi | 9 clock-latency-ns = <100000>; 10 opp-supported-hw = <0x1F 0x31FE>; 15 clock-latency-ns = <100000>; 16 opp-supported-hw = <0x1F 0x0C01>; 21 clock-latency-ns = <100000>; 22 opp-supported-hw = <0x1F 0x0200>; 27 clock-latency-ns = <100000>; 28 opp-supported-hw = <0x1F 0x31FE>; 33 clock-latency-ns = <100000>; 34 opp-supported-hw = <0x1F 0x0C01>; [all …]
|
| H A D | tegra20-cpu-opp.dtsi | 9 clock-latency-ns = <400000>; 10 opp-supported-hw = <0x0F 0x0003>; 15 clock-latency-ns = <400000>; 16 opp-supported-hw = <0x0F 0x0004>; 21 clock-latency-ns = <400000>; 22 opp-supported-hw = <0x0F 0x0003>; 27 clock-latency-ns = <400000>; 28 opp-supported-hw = <0x0F 0x0004>; 33 clock-latency-ns = <400000>; 34 opp-supported-hw = <0x0C 0x0003>; [all …]
|
| H A D | omap3-igep.dtsi | 15 reg = <0x80000000 0x20000000>; /* 512 MB */ 40 … OMAP3_CORE1_IOPAD(0x20be, PIN_INPUT | MUX_MODE0) /* gpmc_clk.gpmc_clk */ 46 OMAP3_CORE1_IOPAD(0x2182, PIN_INPUT | MUX_MODE0) /* uart1_rx.uart1_rx */ 47 OMAP3_CORE1_IOPAD(0x217c, PIN_OUTPUT | MUX_MODE0) /* uart1_tx.uart1_tx */ 53 OMAP3_CORE1_IOPAD(0x219e, PIN_INPUT | MUX_MODE0) /* uart3_rx.uart3_rx */ 54 OMAP3_CORE1_IOPAD(0x21a0, PIN_OUTPUT | MUX_MODE0) /* uart3_tx.uart3_tx */ 60 OMAP3_CORE1_IOPAD(0x213c, PIN_INPUT | MUX_MODE0) /* mcbsp2_fsx.mcbsp2_fsx */ 61 OMAP3_CORE1_IOPAD(0x213e, PIN_INPUT | MUX_MODE0) /* mcbsp2_clkx.mcbsp2_clkx */ 62 OMAP3_CORE1_IOPAD(0x2140, PIN_INPUT | MUX_MODE0) /* mcbsp2_dr.mcbsp2.dr */ 63 OMAP3_CORE1_IOPAD(0x2142, PIN_OUTPUT | MUX_MODE0) /* mcbsp2_dx.mcbsp2_dx */ [all …]
|
| H A D | omap2430-sdp.dts | 15 reg = <0x80000000 0x8000000>; /* 128 MB */ 23 reg = <0x48>; 36 ranges = <5 0 0x08000000 0x01000000>; 41 reg = <5 0x300 0xf>; 43 gpmc,sync-clk-ps = <0>; 48 gpmc,cs-on-ns = <6>; 49 gpmc,cs-rd-off-ns = <187>; 50 gpmc,cs-wr-off-ns = <187>; 51 gpmc,adv-on-ns = <18>; 52 gpmc,adv-rd-off-ns = <48>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/nvme/target/ |
| H A D | io-cmd-file.c | 17 int nvmet_file_ns_revalidate(struct nvmet_ns *ns) in nvmet_file_ns_revalidate() argument 22 ret = vfs_getattr(&ns->file->f_path, &stat, STATX_SIZE, in nvmet_file_ns_revalidate() 25 ns->size = stat.size; in nvmet_file_ns_revalidate() 29 void nvmet_file_ns_disable(struct nvmet_ns *ns) in nvmet_file_ns_disable() argument 31 if (ns->file) { in nvmet_file_ns_disable() 32 if (ns->buffered_io) in nvmet_file_ns_disable() 34 mempool_destroy(ns->bvec_pool); in nvmet_file_ns_disable() 35 ns->bvec_pool = NULL; in nvmet_file_ns_disable() 36 kmem_cache_destroy(ns->bvec_cache); in nvmet_file_ns_disable() 37 ns->bvec_cache = NULL; in nvmet_file_ns_disable() [all …]
|
| H A D | core.c | 49 case 0: in errno_to_nvme_status() 95 return 0; in nvmet_copy_to_sgl() 104 return 0; in nvmet_copy_from_sgl() 113 return 0; in nvmet_zero_sgl() 118 unsigned long nsid = 0; in nvmet_max_nsid() 165 nvmet_req_complete(req, 0); in nvmet_async_events_process() 219 for (i = 0; i < ctrl->nr_changed_ns; i++) { in nvmet_add_to_changed_ns_log() 225 ctrl->changed_ns_list[0] = cpu_to_le32(0xffffffff); in nvmet_add_to_changed_ns_log() 280 int ret = 0; in nvmet_register_transport() 352 if (port->inline_data_size < 0) in nvmet_enable_port() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mtd/ |
| H A D | gpmc-nor.txt | 14 - gpmc,cs-on-ns: Chip-select assertion time 15 - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads 16 - gpmc,cs-wr-off-ns: Chip-select de-assertion time for writes 17 - gpmc,oe-on-ns: Output-enable assertion time 18 - gpmc,oe-off-ns: Output-enable de-assertion time 19 - gpmc,we-on-ns Write-enable assertion time 20 - gpmc,we-off-ns: Write-enable de-assertion time 21 - gpmc,access-ns: Start cycle to first data capture (read access) 22 - gpmc,rd-cycle-ns: Total read cycle time 23 - gpmc,wr-cycle-ns: Total write cycle time [all …]
|
| /OK3568_Linux_fs/kernel/drivers/nvme/host/ |
| H A D | multipath.c | 53 void nvme_set_disk_name(char *disk_name, struct nvme_ns *ns, in nvme_set_disk_name() argument 57 sprintf(disk_name, "nvme%dn%d", ctrl->instance, ns->head->instance); in nvme_set_disk_name() 58 } else if (ns->head->disk) { in nvme_set_disk_name() 60 ctrl->instance, ns->head->instance); in nvme_set_disk_name() 64 ns->head->instance); in nvme_set_disk_name() 70 struct nvme_ns *ns = req->q->queuedata; in nvme_failover_req() local 71 u16 status = nvme_req(req)->status & 0x7ff; in nvme_failover_req() 74 nvme_mpath_clear_current_path(ns); in nvme_failover_req() 81 if (nvme_is_ana_error(status) && ns->ctrl->ana_log_buf) { in nvme_failover_req() 82 set_bit(NVME_NS_ANA_PENDING, &ns->flags); in nvme_failover_req() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/opp/ |
| H A D | qcom-nvmem-cpufreq.txt | 48 0: MSM8996 V3, speedbin 0 52 4: MSM8996 SG, speedbin 0 62 #size-cells = <0>; 64 CPU0: cpu@0 { 67 reg = <0x0 0x0>; 69 clocks = <&kryocc 0>; 83 reg = <0x0 0x1>; 85 clocks = <&kryocc 0>; 95 reg = <0x0 0x100>; 111 reg = <0x0 0x101>; [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/netdevsim/ |
| H A D | bpf.c | 41 struct netdevsim *ns; member 58 return 0; in nsim_bpf_string_show() 66 int ret = 0; in nsim_bpf_verify_insn() 84 return 0; in nsim_bpf_finalize() 87 static bool nsim_xdp_offload_active(struct netdevsim *ns) in nsim_xdp_offload_active() argument 89 return ns->xdp_hw.prog; in nsim_xdp_offload_active() 104 nsim_bpf_offload(struct netdevsim *ns, struct bpf_prog *prog, bool oldprog) in nsim_bpf_offload() argument 106 nsim_prog_set_loaded(ns->bpf_offloaded, false); in nsim_bpf_offload() 108 WARN(!!ns->bpf_offloaded != oldprog, in nsim_bpf_offload() 111 ns->bpf_offloaded = prog; in nsim_bpf_offload() [all …]
|
| H A D | udp_tunnels.c | 15 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_set_port() local 18 ret = -ns->udp_ports.inject_error; in nsim_udp_tunnel_set_port() 19 ns->udp_ports.inject_error = 0; in nsim_udp_tunnel_set_port() 21 if (ns->udp_ports.sleep) in nsim_udp_tunnel_set_port() 22 msleep(ns->udp_ports.sleep); in nsim_udp_tunnel_set_port() 25 if (ns->udp_ports.ports[table][entry]) { in nsim_udp_tunnel_set_port() 29 ns->udp_ports.ports[table][entry] = in nsim_udp_tunnel_set_port() 44 struct netdevsim *ns = netdev_priv(dev); in nsim_udp_tunnel_unset_port() local 47 ret = -ns->udp_ports.inject_error; in nsim_udp_tunnel_unset_port() 48 ns->udp_ports.inject_error = 0; in nsim_udp_tunnel_unset_port() [all …]
|
| H A D | netdev.c | 31 struct netdevsim *ns = netdev_priv(dev); in nsim_start_xmit() local 33 if (!nsim_ipsec_tx(ns, skb)) in nsim_start_xmit() 36 u64_stats_update_begin(&ns->syncp); in nsim_start_xmit() 37 ns->tx_packets++; in nsim_start_xmit() 38 ns->tx_bytes += skb->len; in nsim_start_xmit() 39 u64_stats_update_end(&ns->syncp); in nsim_start_xmit() 53 struct netdevsim *ns = netdev_priv(dev); in nsim_change_mtu() local 55 if (ns->xdp.prog && new_mtu > NSIM_XDP_MAX_MTU) in nsim_change_mtu() 60 return 0; in nsim_change_mtu() 66 struct netdevsim *ns = netdev_priv(dev); in nsim_get_stats64() local [all …]
|
| /OK3568_Linux_fs/kernel/kernel/time/ |
| H A D | namespace.c | 49 tim = 0; in do_timens_ktime_to_host() 59 static struct ucounts *inc_time_namespaces(struct user_namespace *ns) in inc_time_namespaces() argument 61 return inc_ucount(ns, current_euid(), UCOUNT_TIME_NAMESPACES); in inc_time_namespaces() 81 struct time_namespace *ns; in clone_time_ns() local 91 ns = kmalloc(sizeof(*ns), GFP_KERNEL); in clone_time_ns() 92 if (!ns) in clone_time_ns() 95 kref_init(&ns->kref); in clone_time_ns() 97 ns->vvar_page = alloc_page(GFP_KERNEL | __GFP_ZERO); in clone_time_ns() 98 if (!ns->vvar_page) in clone_time_ns() 101 err = ns_alloc_inum(&ns->ns); in clone_time_ns() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/clk/qcom/ |
| H A D | clk-rcg.c | 18 static u32 ns_to_src(struct src_sel *s, u32 ns) in ns_to_src() argument 20 ns >>= s->src_sel_shift; in ns_to_src() 21 ns &= SRC_SEL_MASK; in ns_to_src() 22 return ns; in ns_to_src() 25 static u32 src_to_ns(struct src_sel *s, u8 src, u32 ns) in src_to_ns() argument 31 ns &= ~mask; in src_to_ns() 33 ns |= src << s->src_sel_shift; in src_to_ns() 34 return ns; in src_to_ns() 41 u32 ns; in clk_rcg_get_parent() local 44 ret = regmap_read(rcg->clkr.regmap, rcg->ns_reg, &ns); in clk_rcg_get_parent() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/block/drbd/ |
| H A D | drbd_state.c | 26 union drbd_state ns; member 49 *n_devices = 0; in count_objects() 50 *n_connections = 0; in count_objects() 76 for (n = 0; n < n_devices; n++) in alloc_state_change() 78 for (n = 0; n < n_connections; n++) in alloc_state_change() 164 resource_state_change = &state_change->resource[0]; in remember_new_state() 173 for (n = 0; n < state_change->n_devices; n++) { in remember_new_state() 181 for (n = 0; n < state_change->n_connections; n++) { in remember_new_state() 192 for (n = 0; n < state_change->n_devices * state_change->n_connections; n++) { in remember_new_state() 213 struct drbd_resource_state_change *resource_state_change = &state_change->resource[0]; in copy_old_to_new_state_change() [all …]
|
| /OK3568_Linux_fs/u-boot/board/xes/xpedite537x/ |
| H A D | ddr.c | 47 * Minimum chip delay (Ch 0): 1.372ns 48 * Maximum chip delay (Ch 0): 2.914ns 49 * Minimum chip delay (Ch 1): 1.220ns 50 * Maximum chip delay (Ch 1): 2.595ns 52 * CLK adjust = 5 (from simulations) = 5/8* 3.33ns = 2080ps 54 * Minimum delay calc (Ch 0): 58 * = 3.808ns 60 * Maximum delay calc (Ch 0): 64 * = 6.240ns 70 * = 3.288ns [all …]
|
| /OK3568_Linux_fs/kernel/kernel/ |
| H A D | user_namespace.c | 28 struct user_namespace *ns, int cap_setid, 32 static struct ucounts *inc_user_namespaces(struct user_namespace *ns, kuid_t uid) in inc_user_namespaces() argument 34 return inc_ucount(ns, uid, UCOUNT_USER_NAMESPACES); in inc_user_namespaces() 71 struct user_namespace *ns, *parent_ns = new->user_ns; in create_user_ns() local 105 ns = kmem_cache_zalloc(user_ns_cachep, GFP_KERNEL); in create_user_ns() 106 if (!ns) in create_user_ns() 109 ns->parent_could_setfcap = cap_raised(new->cap_effective, CAP_SETFCAP); in create_user_ns() 110 ret = ns_alloc_inum(&ns->ns); in create_user_ns() 113 ns->ns.ops = &userns_operations; in create_user_ns() 115 atomic_set(&ns->count, 1); in create_user_ns() [all …]
|
| /OK3568_Linux_fs/kernel/tools/testing/selftests/net/ |
| H A D | xfrm_policy.sh | 23 ret=0 26 KEY_SHA=0xdeadbeef1234567890abcdefabcdefabcdefabcd 27 KEY_AES=0x0123456789abcdef0123456789012345 28 SPI1=0x1 29 SPI2=0x2 32 local ns=$1 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 53 …ip -net $ns xfrm state add src $remote dst $me proto esp spi $spi_in enc aes $KEY_AES auth sha1 … [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/ddr/fsl/ |
| H A D | ddr3_dimm_params.c | 24 * where: sdram capacity = spd byte4[3:0] 25 * primary bus width = spd byte8[2:0] 26 * sdram width = spd byte7[2:0] 29 * bit[3:0] size(bit) size(byte) 39 * bit[2:0] primary bus width 46 * bit[2:0] sdram device width 58 int nbit_sdram_cap_bsize = 0; in compute_ranksize() 59 int nbit_primary_bus_width = 0; in compute_ranksize() 60 int nbit_sdram_width = 0; in compute_ranksize() 62 if ((spd->density_banks & 0xf) < 7) in compute_ranksize() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A D | gpmc-eth.txt | 29 - gpmc,cs-on-ns: Chip-select assertion time 30 - gpmc,cs-rd-off-ns: Chip-select de-assertion time for reads 31 - gpmc,cs-wr-off-ns: Chip-select de-assertion time for writes 32 - gpmc,oe-on-ns: Output-enable assertion time 33 - gpmc,oe-off-ns: Output-enable de-assertion time 34 - gpmc,we-on-ns: Write-enable assertion time 35 - gpmc,we-off-ns: Write-enable de-assertion time 36 - gpmc,access-ns: Start cycle to first data capture (read access) 37 - gpmc,rd-cycle-ns: Total read cycle time 38 - gpmc,wr-cycle-ns: Total write cycle time [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/memory-controllers/ |
| H A D | ti-aemif.txt | 25 first address cell and it may accept values 0..N-1 76 it can be in range [0-3]. For compatible 95 - ti,cs-min-turnaround-ns: minimum turn around time, ns 102 - ti,cs-read-setup-ns: read setup width, ns 105 Minimum value is 1 (0 treated as 1). 107 - ti,cs-read-strobe-ns: read strobe width, ns 110 Minimum value is 1 (0 treated as 1). 112 - ti,cs-read-hold-ns: read hold width, ns 117 Minimum value is 1 (0 treated as 1). 119 - ti,cs-write-setup-ns: write setup width, ns [all …]
|