/arch/mips/include/asm/netlogic/xlr/ |
D | flash.h | 37 #define FLASH_CSBASE_ADDR(cs) (cs) argument 38 #define FLASH_CSADDR_MASK(cs) (0x10 + (cs)) argument 39 #define FLASH_CSDEV_PARM(cs) (0x20 + (cs)) argument 40 #define FLASH_CSTIME_PARMA(cs) (0x30 + (cs)) argument 41 #define FLASH_CSTIME_PARMB(cs) (0x40 + (cs)) argument 48 #define FLASH_NAND_CLE(cs) (0x90 + (cs)) argument 49 #define FLASH_NAND_ALE(cs) (0xa0 + (cs)) argument
|
/arch/mips/bcm63xx/ |
D | cs.c | 24 static int is_valid_cs(unsigned int cs) in is_valid_cs() argument 26 if (cs > 6) in is_valid_cs() 35 int bcm63xx_set_cs_base(unsigned int cs, u32 base, unsigned int size) in bcm63xx_set_cs_base() argument 40 if (!is_valid_cs(cs)) in bcm63xx_set_cs_base() 55 bcm_mpi_writel(val, MPI_CSBASE_REG(cs)); in bcm63xx_set_cs_base() 66 int bcm63xx_set_cs_timing(unsigned int cs, unsigned int wait, in bcm63xx_set_cs_timing() argument 72 if (!is_valid_cs(cs)) in bcm63xx_set_cs_timing() 76 val = bcm_mpi_readl(MPI_CSCTL_REG(cs)); in bcm63xx_set_cs_timing() 83 bcm_mpi_writel(val, MPI_CSCTL_REG(cs)); in bcm63xx_set_cs_timing() 94 int bcm63xx_set_cs_param(unsigned int cs, u32 params) in bcm63xx_set_cs_param() argument [all …]
|
D | dev-pcmcia.c | 69 static int __init config_pcmcia_cs(unsigned int cs, in config_pcmcia_cs() argument 74 ret = bcm63xx_set_cs_status(cs, 0); in config_pcmcia_cs() 76 ret = bcm63xx_set_cs_base(cs, base, size); in config_pcmcia_cs() 78 ret = bcm63xx_set_cs_status(cs, 1); in config_pcmcia_cs() 83 unsigned int cs; member 88 .cs = MPI_CS_PCMCIA_COMMON, 93 .cs = MPI_CS_PCMCIA_ATTR, 98 .cs = MPI_CS_PCMCIA_IO, 132 ret = config_pcmcia_cs(pcmcia_cs[i].cs, in bcm63xx_pcmcia_register()
|
/arch/mips/netlogic/xlr/ |
D | platform-flash.c | 88 int cs; member 99 FLASH_NAND_CLE(nand_priv.cs), cmd); in xlr_nand_ctrl() 102 FLASH_NAND_ALE(nand_priv.cs), cmd); in xlr_nand_ctrl() 143 uint64_t flash_map_base, int cs, struct resource *res) in setup_flash_resource() argument 147 base = nlm_read_reg(flash_mmio, FLASH_CSBASE_ADDR(cs)); in setup_flash_resource() 148 mask = nlm_read_reg(flash_mmio, FLASH_CSADDR_MASK(cs)); in setup_flash_resource() 158 int cs, boot_nand, boot_nor; in xlr_flash_init() local 187 cs = 0; in xlr_flash_init() 190 nand_priv.cs = cs; in xlr_flash_init() 192 setup_flash_resource(flash_mmio, flash_map_base, cs, in xlr_flash_init() [all …]
|
/arch/x86/kernel/ |
D | time.c | 119 void clocksource_arch_init(struct clocksource *cs) in clocksource_arch_init() argument 121 if (cs->vdso_clock_mode == VDSO_CLOCKMODE_NONE) in clocksource_arch_init() 124 if (cs->mask != CLOCKSOURCE_MASK(64)) { in clocksource_arch_init() 126 cs->name, cs->mask); in clocksource_arch_init() 127 cs->vdso_clock_mode = VDSO_CLOCKMODE_NONE; in clocksource_arch_init()
|
/arch/mips/include/asm/mach-bcm63xx/ |
D | bcm63xx_cs.h | 5 int bcm63xx_set_cs_base(unsigned int cs, u32 base, unsigned int size); 6 int bcm63xx_set_cs_timing(unsigned int cs, unsigned int wait, 8 int bcm63xx_set_cs_param(unsigned int cs, u32 flags); 9 int bcm63xx_set_cs_status(unsigned int cs, int enable);
|
/arch/m68k/lib/ |
D | memset.c | 21 char *cs = s; in memset() local 22 *cs++ = c; in memset() 23 s = cs; in memset() 69 char *cs = s; in memset() local 70 *cs = c; in memset()
|
/arch/x86/lib/ |
D | string_32.c | 95 int strcmp(const char *cs, const char *ct) in strcmp() argument 110 : "1" (cs), "2" (ct) in strcmp() 118 int strncmp(const char *cs, const char *ct, size_t count) in strncmp() argument 135 : "1" (cs), "2" (ct), "3" (count) in strncmp() 180 void *memchr(const void *cs, int c, size_t count) in memchr() argument 192 : "a" (c), "0" (cs), "1" (count) in memchr()
|
D | strstr_32.c | 5 char *strstr(const char *cs, const char *ct) in strstr() argument 29 : "0" (0), "1" (0xffffffff), "2" (cs), "g" (ct) in strstr()
|
/arch/arm/boot/dts/ |
D | keystone-k2l-evm.dts | 67 ti,cs-chipselect = <0>; 69 ti,cs-min-turnaround-ns = <12>; 70 ti,cs-read-hold-ns = <6>; 71 ti,cs-read-strobe-ns = <23>; 72 ti,cs-read-setup-ns = <9>; 73 ti,cs-write-hold-ns = <8>; 74 ti,cs-write-strobe-ns = <23>; 75 ti,cs-write-setup-ns = <8>;
|
D | keystone-k2e-evm.dts | 94 ti,cs-chipselect = <0>; 96 ti,cs-min-turnaround-ns = <12>; 97 ti,cs-read-hold-ns = <6>; 98 ti,cs-read-strobe-ns = <23>; 99 ti,cs-read-setup-ns = <9>; 100 ti,cs-write-hold-ns = <8>; 101 ti,cs-write-strobe-ns = <23>; 102 ti,cs-write-setup-ns = <8>;
|
D | omap3430-sdp.dts | 63 gpmc,cs-on-ns = <0>; 64 gpmc,cs-rd-off-ns = <186>; 65 gpmc,cs-wr-off-ns = <186>; 113 gpmc,cs-on-ns = <0>; 114 gpmc,cs-rd-off-ns = <36>; 115 gpmc,cs-wr-off-ns = <36>; 159 gpmc,cs-on-ns = <0>; 160 gpmc,cs-rd-off-ns = <84>; 161 gpmc,cs-wr-off-ns = <72>;
|
D | keystone-k2hk-evm.dts | 111 ti,cs-chipselect = <0>; 113 ti,cs-min-turnaround-ns = <12>; 114 ti,cs-read-hold-ns = <6>; 115 ti,cs-read-strobe-ns = <23>; 116 ti,cs-read-setup-ns = <9>; 117 ti,cs-write-hold-ns = <8>; 118 ti,cs-write-strobe-ns = <23>; 119 ti,cs-write-setup-ns = <8>;
|
/arch/arm/mach-footbridge/ |
D | dc21285-timer.c | 23 static u64 cksrc_dc21285_read(struct clocksource *cs) in cksrc_dc21285_read() argument 25 return cs->mask - *CSR_TIMER2_VALUE; in cksrc_dc21285_read() 28 static int cksrc_dc21285_enable(struct clocksource *cs) in cksrc_dc21285_enable() argument 30 *CSR_TIMER2_LOAD = cs->mask; in cksrc_dc21285_enable() 36 static void cksrc_dc21285_disable(struct clocksource *cs) in cksrc_dc21285_disable() argument
|
/arch/riscv/kernel/ |
D | time.c | 37 void clocksource_arch_init(struct clocksource *cs) in clocksource_arch_init() argument 40 cs->vdso_clock_mode = VDSO_CLOCKMODE_ARCHTIMER; in clocksource_arch_init() 42 cs->vdso_clock_mode = VDSO_CLOCKMODE_NONE; in clocksource_arch_init()
|
/arch/mips/kernel/ |
D | csrc-bcm1480.c | 19 static u64 bcm1480_hpt_read(struct clocksource *cs) in bcm1480_hpt_read() argument 39 struct clocksource *cs = &bcm1480_clocksource; in sb1480_clocksource_init() local 45 clocksource_register_hz(cs, zbbus); in sb1480_clocksource_init()
|
D | csrc-sb1250.c | 35 static u64 sb1250_hpt_read(struct clocksource *cs) in sb1250_hpt_read() argument 55 struct clocksource *cs = &bcm1250_clocksource; in sb1250_clocksource_init() local 68 clocksource_register_hz(cs, V_SCD_TIMER_FREQ); in sb1250_clocksource_init()
|
/arch/x86/include/asm/ |
D | ptrace.h | 49 unsigned short cs; member 87 unsigned long cs; member 134 return ((regs->cs & SEGMENT_RPL_MASK) | (regs->flags & X86_VM_MASK)) >= USER_RPL; in user_mode() 136 return !!(regs->cs & 3); in user_mode() 157 return regs->cs == __USER_CS; in user_64bit_mode() 160 return regs->cs == __USER_CS || regs->cs == pv_info.extra_user_64bit_cs; in user_64bit_mode() 256 if (offset == offsetof(struct pt_regs, cs) || in regs_get_register()
|
/arch/mips/sgi-ip30/ |
D | ip30-timer.c | 22 static u64 ip30_heart_counter_read(struct clocksource *cs) in ip30_heart_counter_read() argument 42 struct clocksource *cs = &ip30_heart_clocksource; in ip30_heart_clocksource_init() local 44 clocksource_register_hz(cs, HEART_CYCLES_PER_SEC); in ip30_heart_clocksource_init()
|
/arch/mips/txx9/generic/ |
D | mem_tx4927.c | 45 unsigned int cs = 0; in tx4927_process_sdccr() local 60 cs = 256 << sdccr_cs; in tx4927_process_sdccr() 64 return rs * cs * mw * bs; in tx4927_process_sdccr()
|
/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 931 int cs, bootbus; in octeon_prune_device_tree() local 953 for (cs = 0; cs < 8; cs++) { in octeon_prune_device_tree() 954 mio_boot_reg_cfg.u64 = cvmx_read_csr(CVMX_MIO_BOOT_REG_CFGX(cs)); in octeon_prune_device_tree() 963 if (cs >= 7) { in octeon_prune_device_tree() 977 cvmx_read_csr(CVMX_MIO_BOOT_REG_CFGX(cs + 1)); in octeon_prune_device_tree() 994 new_reg[0] = cpu_to_be32(cs); in octeon_prune_device_tree() 997 new_reg[3] = cpu_to_be32(cs + 1); in octeon_prune_device_tree() 1010 ranges[(cs * 5) + 2] = cpu_to_be32(region_base >> 32); in octeon_prune_device_tree() 1011 ranges[(cs * 5) + 3] = cpu_to_be32(region_base & 0xffffffff); in octeon_prune_device_tree() 1012 ranges[(cs * 5) + 4] = cpu_to_be32(region_size); in octeon_prune_device_tree() [all …]
|
/arch/nios2/kernel/ |
D | time.c | 48 struct clocksource cs; member 58 to_nios2_clksource(struct clocksource *cs) in to_nios2_clksource() argument 60 return container_of(cs, struct nios2_clocksource, cs); in to_nios2_clksource() 84 static u64 nios2_timer_read(struct clocksource *cs) in nios2_timer_read() argument 86 struct nios2_clocksource *nios2_cs = to_nios2_clksource(cs); in nios2_timer_read() 99 .cs = { 112 return nios2_timer_read(&nios2_cs.cs); in get_cycles() 295 ret = clocksource_register_hz(&nios2_cs.cs, freq); in nios2_clocksource_init()
|
/arch/riscv/boot/dts/canaan/ |
D | canaan_kd233.dts | 64 pinmux = <K210_FPIOA(6, K210_PCF_GPIOHS20)>, /* cs */ 95 <K210_FPIOA(32, K210_PCF_GPIOHS16)>; /* cs */ 126 num-cs = <1>; 127 cs-gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>; 141 num-cs = <1>; 142 cs-gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
|
D | sipeed_maix_bit.dts | 118 pinmux = <K210_FPIOA(36, K210_PCF_GPIOHS20)>, /* cs */ 128 <K210_FPIOA(29, K210_PCF_GPIOHS13)>; /* cs */ 171 num-cs = <1>; 172 cs-gpios = <&gpio0 20 GPIO_ACTIVE_HIGH>; 180 spi-cs-high; 188 num-cs = <1>; 189 cs-gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
|
/arch/mips/include/asm/mach-au1x00/ |
D | au1550_spi.h | 12 void (*activate_cs)(struct au1550_spi_info *spi, int cs, int polarity); 13 void (*deactivate_cs)(struct au1550_spi_info *spi, int cs, int polarity);
|