Lines Matching defs:cs

278 void gpmc_cs_write_reg(int cs, int idx, u32 val)  in gpmc_cs_write_reg()
286 static u32 gpmc_cs_read_reg(int cs, int idx) in gpmc_cs_read_reg()
313 static unsigned long gpmc_get_clk_period(int cs, enum gpmc_clk_domain cd) in gpmc_get_clk_period()
335 static unsigned int gpmc_ns_to_clk_ticks(unsigned int time_ns, int cs, in gpmc_ns_to_clk_ticks()
361 static unsigned int gpmc_clk_ticks_to_ns(unsigned int ticks, int cs, in gpmc_clk_ticks_to_ns()
384 static inline void gpmc_cs_modify_reg(int cs, int reg, u32 mask, bool value) in gpmc_cs_modify_reg()
396 static void gpmc_cs_bool_timings(int cs, const struct gpmc_bool_timings *p) in gpmc_cs_bool_timings()
440 int cs, int reg, int st_bit, int end_bit, int max, in get_gpmc_timing_reg()
483 #define GPMC_PRINT_CONFIG(cs, config) \ argument
501 static void gpmc_show_regs(int cs, const char *desc) in gpmc_show_regs()
516 static void gpmc_cs_show_timings(int cs, const char *desc) in gpmc_cs_show_timings()
592 static inline void gpmc_cs_show_timings(int cs, const char *desc) in gpmc_cs_show_timings()
613 static int set_gpmc_timing_reg(int cs, int reg, int st_bit, int end_bit, int max, in set_gpmc_timing_reg()
704 int gpmc_cs_set_timings(int cs, const struct gpmc_timings *t, in gpmc_cs_set_timings()
856 static int gpmc_cs_set_memconf(int cs, u32 base, u32 size) in gpmc_cs_set_memconf()
883 static void gpmc_cs_enable_mem(int cs) in gpmc_cs_enable_mem()
892 static void gpmc_cs_disable_mem(int cs) in gpmc_cs_disable_mem()
901 static void gpmc_cs_get_memconf(int cs, u32 *base, u32 *size) in gpmc_cs_get_memconf()
912 static int gpmc_cs_mem_enabled(int cs) in gpmc_cs_mem_enabled()
920 static void gpmc_cs_set_reserved(int cs, int reserved) in gpmc_cs_set_reserved()
927 static bool gpmc_cs_reserved(int cs) in gpmc_cs_reserved()
948 static int gpmc_cs_insert_mem(int cs, unsigned long base, unsigned long size) in gpmc_cs_insert_mem()
964 static int gpmc_cs_delete_mem(int cs) in gpmc_cs_delete_mem()
979 int gpmc_cs_request(int cs, unsigned long size, unsigned long *base) in gpmc_cs_request()
1024 void gpmc_cs_free(int cs) in gpmc_cs_free()
1149 struct gpmc_nand_ops *gpmc_omap_get_nand_ops(struct gpmc_nand_regs *reg, int cs) in gpmc_omap_get_nand_ops()
1271 int gpmc_omap_onenand_set_timings(struct device *dev, int cs, int freq, in gpmc_omap_onenand_set_timings()
1514 int cs; in gpmc_mem_exit() local
1525 int cs; in gpmc_mem_init() local
1883 int gpmc_cs_program_settings(int cs, struct gpmc_settings *p) in gpmc_cs_program_settings()
1967 static void gpmc_cs_set_name(int cs, const char *name) in gpmc_cs_set_name()
1974 static const char *gpmc_cs_get_name(int cs) in gpmc_cs_get_name()
1990 static int gpmc_cs_remap(int cs, u32 base) in gpmc_cs_remap()
2173 int ret, cs; in gpmc_probe_generic_child() local