/arch/mips/include/asm/mach-bcm63xx/ |
H A D | bcm63xx_cs.h | 4 int bcm63xx_set_cs_base(unsigned int cs, u32 base, unsigned int size); 5 int bcm63xx_set_cs_timing(unsigned int cs, unsigned int wait, 7 int bcm63xx_set_cs_param(unsigned int cs, u32 flags); 8 int bcm63xx_set_cs_status(unsigned int cs, int enable);
|
H A D | bcm63xx_dev_dsp.h | 7 unsigned cs; member in struct:bcm63xx_dsp_platform_data
|
/arch/mips/include/asm/mach-au1x00/ |
H A D | au1550_spi.h | 11 void (*activate_cs)(struct au1550_spi_info *spi, int cs, int polarity); 12 void (*deactivate_cs)(struct au1550_spi_info *spi, int cs, int polarity);
|
/arch/x86/lib/ |
H A D | strstr_32.c | 3 char *strstr(const char *cs, const char *ct) argument 27 : "0" (0), "1" (0xffffffff), "2" (cs), "g" (ct)
|
/arch/arm/mach-omap2/ |
H A D | board-flash.c | 57 __init board_nor_init(struct mtd_partition *nor_parts, u8 nr_parts, u8 cs) argument 66 err = gpmc_cs_request(cs, FLASH_SIZE_SDPV2 - 1, 71 err = gpmc_cs_request(cs, FLASH_SIZE_SDPV1 - 1, 92 u8 nr_parts, u8 cs) 94 board_onenand_data.cs = cs; 102 __init board_onenand_init(struct mtd_partition *nor_parts, u8 nr_parts, u8 cs) argument 140 u8 nr_parts, u8 cs, int nand_type) 142 board_nand_data.cs = cs; 91 board_onenand_init(struct mtd_partition *onenand_parts, u8 nr_parts, u8 cs) argument 139 board_nand_init(struct mtd_partition *nand_parts, u8 nr_parts, u8 cs, int nand_type) argument 159 u8 cs = 0; local 195 u8 cs = 0; local [all...] |
H A D | gpmc.c | 67 /* Structure to save gpmc cs context */ 97 static unsigned int gpmc_cs_map; /* flag for cs which are initialized */ 98 static int gpmc_ecc_used = -EINVAL; /* cs using ecc engine */ 116 static void gpmc_cs_write_byte(int cs, int idx, u8 val) argument 120 reg_addr = gpmc_base + GPMC_CS0_OFFSET + (cs * GPMC_CS_SIZE) + idx; 124 static u8 gpmc_cs_read_byte(int cs, int idx) argument 128 reg_addr = gpmc_base + GPMC_CS0_OFFSET + (cs * GPMC_CS_SIZE) + idx; 132 void gpmc_cs_write_reg(int cs, int idx, u32 val) argument 136 reg_addr = gpmc_base + GPMC_CS0_OFFSET + (cs * GPMC_CS_SIZE) + idx; 140 u32 gpmc_cs_read_reg(int cs, in argument 197 set_gpmc_timing_reg(int cs, int reg, int st_bit, int end_bit, int time, const char *name) argument 246 gpmc_cs_calc_divider(int cs, unsigned int sync_clk) argument 261 gpmc_cs_set_timings(int cs, const struct gpmc_timings *t) argument 311 gpmc_cs_enable_mem(int cs, u32 base, u32 size) argument 326 gpmc_cs_disable_mem(int cs) argument 335 gpmc_cs_get_memconf(int cs, u32 *base, u32 *size) argument 346 gpmc_cs_mem_enabled(int cs) argument 354 gpmc_cs_set_reserved(int cs, int reserved) argument 365 gpmc_cs_reserved(int cs) argument 387 gpmc_cs_insert_mem(int cs, unsigned long base, unsigned long size) argument 402 gpmc_cs_request(int cs, unsigned long size, unsigned long *base) argument 436 gpmc_cs_free(int cs) argument 497 gpmc_cs_configure(int cs, int cmd, int wval) argument 563 gpmc_nand_read(int cs, int cmd) argument 585 gpmc_nand_write(int cs, int cmd, int wval) argument 619 gpmc_prefetch_enable(int cs, int fifo_th, int dma_mode, unsigned int u32_count, int is_write) argument 652 gpmc_prefetch_reset(int cs) argument 673 int cs; local 701 int cs, ret = -EINVAL; local 769 u8 cs; local 853 gpmc_enable_hwecc(int cs, int mode, int dev_width, int ecc_size) argument 905 gpmc_calculate_ecc(int cs, const u_char *dat, u_char *ecc_code) argument [all...] |
H A D | board-flash.h | 43 u8 nr_parts, u8 cs, int nand_type); 46 u8 nr_parts, u8 cs, int nand_type) 45 board_nand_init(struct mtd_partition *nand_parts, u8 nr_parts, u8 cs, int nand_type) argument
|
H A D | common-board-devices.c | 103 u8 cs = 0; local 107 while (cs < GPMC_CS_NUM) { 109 ret = gpmc_cs_read_reg(cs, GPMC_CS_CONFIG1); 112 printk(KERN_INFO "Found NAND on CS%d\n", cs); 114 nandcs = cs; 116 cs++; 126 nand_data.cs = nandcs;
|
H A D | gpmc-nand.c | 73 gpmc_cs_configure(gpmc_nand_data->cs, GPMC_CONFIG_DEV_SIZE, 1); 75 gpmc_cs_configure(gpmc_nand_data->cs, GPMC_CONFIG_DEV_SIZE, 0); 76 gpmc_cs_configure(gpmc_nand_data->cs, 78 err = gpmc_cs_set_timings(gpmc_nand_data->cs, &t); 92 err = gpmc_cs_request(gpmc_nand_data->cs, NAND_IO_SIZE, 108 gpmc_cs_configure(gpmc_nand_data->cs, GPMC_CONFIG_RDY_BSY, 1); 120 gpmc_cs_free(gpmc_nand_data->cs);
|
/arch/mips/bcm63xx/ |
H A D | cs.c | 23 static int is_valid_cs(unsigned int cs) argument 25 if (cs > 6) 34 int bcm63xx_set_cs_base(unsigned int cs, u32 base, unsigned int size) argument 39 if (!is_valid_cs(cs)) 54 bcm_mpi_writel(val, MPI_CSBASE_REG(cs)); 65 int bcm63xx_set_cs_timing(unsigned int cs, unsigned int wait, argument 71 if (!is_valid_cs(cs)) 75 val = bcm_mpi_readl(MPI_CSCTL_REG(cs)); 82 bcm_mpi_writel(val, MPI_CSCTL_REG(cs)); 93 int bcm63xx_set_cs_param(unsigned int cs, u3 argument 125 bcm63xx_set_cs_status(unsigned int cs, int enable) argument [all...] |
H A D | dev-pcmcia.c | 69 static int __init config_pcmcia_cs(unsigned int cs, argument 74 ret = bcm63xx_set_cs_status(cs, 0); 76 ret = bcm63xx_set_cs_base(cs, base, size); 78 ret = bcm63xx_set_cs_status(cs, 1); 83 unsigned int cs; member in struct:__anon1998 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,
|
/arch/sh/include/asm/ |
H A D | spi.h | 10 void (*chip_select)(struct sh_spi_info *spi, int cs, int state);
|
/arch/m68k/lib/ |
H A D | memset.c | 21 char *cs = s; local 22 *cs++ = c; 23 s = cs; 69 char *cs = s; local 70 *cs = c;
|
/arch/arm/plat-omap/include/plat/ |
H A D | gpmc-smsc911x.h | 18 int cs; member in struct:omap_smsc911x_platform_data
|
H A D | gpmc.h | 140 extern void gpmc_cs_write_reg(int cs, int idx, u32 val); 141 extern u32 gpmc_cs_read_reg(int cs, int idx); 142 extern int gpmc_cs_calc_divider(int cs, unsigned int sync_clk); 143 extern int gpmc_cs_set_timings(int cs, const struct gpmc_timings *t); 144 extern int gpmc_cs_request(int cs, unsigned long size, unsigned long *base); 145 extern void gpmc_cs_free(int cs); 146 extern int gpmc_cs_set_reserved(int cs, int reserved); 147 extern int gpmc_cs_reserved(int cs); 148 extern int gpmc_prefetch_enable(int cs, int fifo_th, int dma_mode, 150 extern int gpmc_prefetch_reset(int cs); [all...] |
H A D | gpmc-smc91x.h | 19 int cs; member in struct:omap_smc91x_platform_data
|
/arch/mips/kernel/ |
H A D | csrc-bcm1480.c | 31 static cycle_t bcm1480_hpt_read(struct clocksource *cs) argument 46 struct clocksource *cs = &bcm1480_clocksource; local 52 clocksource_register_hz(cs, zbbus);
|
H A D | csrc-sb1250.c | 36 static cycle_t sb1250_hpt_read(struct clocksource *cs) argument 55 struct clocksource *cs = &bcm1250_clocksource; local 68 clocksource_register_hz(cs, V_SCD_TIMER_FREQ);
|
/arch/mips/txx9/generic/ |
H A D | mem_tx4927.c | 45 unsigned int cs = 0; local 60 cs = 256 << sdccr_cs; 64 return rs * cs * mw * bs;
|
/arch/arm/mach-at91/ |
H A D | sam9_smc.c | 34 void sam9_smc_write_mode(int id, int cs, argument 37 sam9_smc_cs_write_mode(AT91_SMC_CS(id, cs), config); 67 void sam9_smc_configure(int id, int cs, argument 70 sam9_smc_cs_configure(AT91_SMC_CS(id, cs), config); 82 void sam9_smc_read_mode(int id, int cs, argument 85 sam9_smc_cs_read_mode(AT91_SMC_CS(id, cs), config); 119 void sam9_smc_read(int id, int cs, struct sam9_smc_config *config) argument 121 sam9_smc_cs_read(AT91_SMC_CS(id, cs), config);
|
/arch/blackfin/include/asm/ |
H A D | string.h | 21 extern int strcmp(const char *cs, const char *ct); 24 extern int strncmp(const char *cs, const char *ct, size_t count);
|
/arch/mips/lasat/ |
H A D | at93c.h | 13 u32 cs; member in struct:at93c_defs
|
/arch/mn10300/kernel/ |
H A D | csrc-mn10300.c | 16 static cycle_t mn10300_read(struct clocksource *cs) argument
|
/arch/arm/mach-dove/ |
H A D | addr-map.c | 94 int cs; local 106 for (i = 0, cs = 0; i < 2; i++) { 115 w = &orion_mbus_dram_info.cs[cs++]; 124 orion_mbus_dram_info.num_cs = cs;
|
/arch/arm/mach-footbridge/ |
H A D | dc21285-timer.c | 21 static cycle_t cksrc_dc21285_read(struct clocksource *cs) argument 23 return cs->mask - *CSR_TIMER2_VALUE; 26 static int cksrc_dc21285_enable(struct clocksource *cs) argument 28 *CSR_TIMER2_LOAD = cs->mask; 34 static void cksrc_dc21285_disable(struct clocksource *cs) argument
|