/u-boot/drivers/memory/ |
A D | stm32-fmc2-ebi.c | 178 int cs) in stm32_fmc2_ebi_check_mux() 190 int cs) in stm32_fmc2_ebi_check_waitcfg() 203 int cs) in stm32_fmc2_ebi_check_sync_trans() 215 int cs) in stm32_fmc2_ebi_check_async_trans() 227 int cs) in stm32_fmc2_ebi_check_cpsize() 240 int cs) in stm32_fmc2_ebi_check_address_hold() 257 int cs) in stm32_fmc2_ebi_check_clk_period() 270 int cs) in stm32_fmc2_ebi_check_cclk() 324 int cs, u32 setup) in stm32_fmc2_ebi_set_bit_field() 861 int cs) in stm32_fmc2_ebi_parse_prop() [all …]
|
A D | ti-aemif.c | 15 #define AEMIF_CONFIG(cs) (CONFIG_AEMIF_CNTRL_BASE + 0x10 \ argument 37 static void aemif_configure(int cs, struct aemif_config *cfg) in aemif_configure() 70 int cs; in aemif_init() local
|
/u-boot/arch/arm/mach-omap2/omap3/ |
A D | sdrc.c | 70 u32 get_sdr_cs_size(u32 cs) in get_sdr_cs_size() 85 u32 get_sdr_cs_offset(u32 cs) in get_sdr_cs_offset() 103 static void write_sdrc_timings(u32 cs, struct sdrc_actim *sdrc_actim_base, in write_sdrc_timings() 131 void do_sdrc_init(u32 cs, u32 early) in do_sdrc_init()
|
A D | emif4.c | 38 u32 get_sdr_cs_size(u32 cs) in get_sdr_cs_size() 53 u32 get_sdr_cs_offset(u32 cs) in get_sdr_cs_offset()
|
/u-boot/arch/m68k/cpu/mcf5227x/ |
A D | dspi.c | 14 void dspi_chip_select(int cs) in dspi_chip_select() 30 void dspi_chip_unselect(int cs) in dspi_chip_unselect()
|
/u-boot/arch/m68k/cpu/mcf5445x/ |
A D | dspi.c | 14 void dspi_chip_select(int cs) in dspi_chip_select() 60 void dspi_chip_unselect(int cs) in dspi_chip_unselect()
|
/u-boot/drivers/video/ |
A D | hitachi_tx18d42vm_lcd.c | 20 static void lcd_panel_spi_write(int cs, int clk, int mosi, in lcd_panel_spi_write() 50 int i, cs, clk, mosi, ret = 0; in hitachi_tx18d42vm_init() local
|
/u-boot/board/compulab/common/ |
A D | omap3_smc911x.c | 31 static void cl_omap3_smc911x_setup_net_chip_gmpc(int cs, u32 base_addr) in cl_omap3_smc911x_setup_net_chip_gmpc() 75 int cl_omap3_smc911x_init(int id, int cs, u32 base_addr, in cl_omap3_smc911x_init()
|
/u-boot/drivers/spi/ |
A D | mt7620_spi.c | 63 static void mt7620_spi_master_setup(struct mt7620_spi *ms, int cs) in mt7620_spi_master_setup() 108 static void mt7620_spi_set_cs(struct mt7620_spi *ms, int cs, bool enable) in mt7620_spi_set_cs() 144 static inline int mt7620_spi_busy_poll(struct mt7620_spi *ms, int cs) in mt7620_spi_busy_poll() 152 static int mt7620_spi_read(struct mt7620_spi *ms, int cs, u8 *buf, size_t len) in mt7620_spi_read() 171 static int mt7620_spi_write(struct mt7620_spi *ms, int cs, const u8 *buf, in mt7620_spi_write() 196 int cs, ret = 0; in mt7620_spi_xfer() local
|
A D | spi-uclass.c | 237 int spi_find_chip_select(struct udevice *bus, int cs, struct udevice **devp) in spi_find_chip_select() 281 int spi_cs_is_valid(unsigned int busnum, unsigned int cs) in spi_cs_is_valid() 296 int spi_cs_info(struct udevice *bus, uint cs, struct spi_cs_info *info) in spi_cs_info() 310 int spi_find_bus_and_cs(int busnum, int cs, struct udevice **busp, in spi_find_bus_and_cs() 332 int spi_get_bus_and_cs(int busnum, int cs, int speed, int mode, in spi_get_bus_and_cs() 426 struct spi_slave *spi_setup_slave(unsigned int busnum, unsigned int cs, in spi_setup_slave()
|
A D | mxc_spi.c | 109 __weak int board_spi_cs_gpio(unsigned bus, unsigned cs) in board_spi_cs_gpio() 152 u32 cs = slave_plat->cs; in mxc_spi_cs_activate() local 170 u32 cs = slave_plat->cs; in mxc_spi_cs_deactivate() local 194 static s32 spi_cfg_mxc(struct mxc_spi_slave *mxcs, unsigned int cs) in spi_cfg_mxc() 232 static s32 spi_cfg_mxc(struct mxc_spi_slave *mxcs, unsigned int cs) in spi_cfg_mxc() 478 static int mxc_spi_claim_bus_internal(struct mxc_spi_slave *mxcs, int cs) in mxc_spi_claim_bus_internal() 514 unsigned int bus, unsigned int cs) in setup_cs_gpio() 536 struct spi_slave *spi_setup_slave(unsigned int bus, unsigned int cs, in spi_setup_slave()
|
/u-boot/board/tqc/tqm834x/ |
A D | tqm834x.c | 77 int cs; in dram_init() local 254 static long int get_ddr_bank_size(short cs, long *base) in get_ddr_bank_size() 323 static void set_cs_bounds(short cs, ulong base, ulong size) in set_cs_bounds() 341 static void set_cs_config(short cs, long config) in set_cs_config()
|
/u-boot/cmd/ |
A D | spi.c | 29 static unsigned int cs; variable 36 static int do_spi_xfer(int bus, int cs) in do_spi_xfer()
|
/u-boot/drivers/ddr/marvell/axp/ |
A D | ddr3_write_leveling.c | 68 u32 reg, phase, delay, cs, pup; in ddr3_write_leveling_hw() local 188 u32 cs, cnt, pup_num, sum, phase, delay, max_pup_num, pup, sdram_offset; in ddr3_wl_supplement() local 476 u32 reg, phase, delay, cs, pup, pup_num; in ddr3_write_leveling_hw_reg_dimm() local 661 u32 reg, cs, cnt, pup, max_pup_num; in ddr3_write_leveling_sw() local 886 u32 reg, cs, cnt, pup; in ddr3_write_leveling_sw_reg_dimm() local 1126 static int ddr3_write_leveling_single_cs(u32 cs, u32 freq, int ratio_2to1, in ddr3_write_leveling_single_cs()
|
A D | ddr3_dqs.c | 133 u32 cs, ecc, reg; in ddr3_dqs_centralization_rx() local 215 u32 cs, ecc, reg; in ddr3_dqs_centralization_tx() local 296 int ddr3_find_adll_limits(MV_DRAM_INFO *dram_info, u32 cs, u32 ecc, int is_tx) in ddr3_find_adll_limits() 887 static int ddr3_center_calc(MV_DRAM_INFO *dram_info, u32 cs, u32 ecc, in ddr3_center_calc() 952 int ddr3_special_pattern_i_search(MV_DRAM_INFO *dram_info, u32 cs, u32 ecc, in ddr3_special_pattern_i_search() 1113 int ddr3_special_pattern_ii_search(MV_DRAM_INFO *dram_info, u32 cs, u32 ecc, in ddr3_special_pattern_ii_search() 1262 int ddr3_set_dqs_centralization_results(MV_DRAM_INFO *dram_info, u32 cs, in ddr3_set_dqs_centralization_results() 1330 u32 cs, cs_count, cs_tmp, victim_dq; in ddr3_load_dqs_patterns() local
|
A D | ddr3_read_leveling.c | 92 u32 delay, phase, pup, cs; in ddr3_read_leveling_hw() local 182 u32 reg, cs, ecc, pup_num, phase, delay, pup; in ddr3_read_leveling_sw() local 336 static void overrun(u32 cs, MV_DRAM_INFO *info, u32 pup, u32 locked_pups, in overrun() 400 static int ddr3_read_leveling_single_cs_rl_mode(u32 cs, u32 freq, in ddr3_read_leveling_single_cs_rl_mode() 752 static int ddr3_read_leveling_single_cs_window_mode(u32 cs, u32 freq, in ddr3_read_leveling_single_cs_window_mode()
|
/u-boot/arch/arm/mach-omap2/am33xx/ |
A D | ddr.c | 41 static inline u32 get_mr(int nr, u32 cs, u32 mr_addr) in get_mr() 58 static inline void set_mr(int nr, u32 cs, u32 mr_addr, u32 mr_val) in set_mr() 65 static void configure_mr(int nr, u32 cs) in configure_mr()
|
/u-boot/arch/arm/mach-omap2/ |
A D | mem-common.c | 42 u32 mem_ok(u32 cs) in mem_ok() 63 void enable_gpmc_cs_config(const u32 *gpmc_config, const struct gpmc_cs *cs, in enable_gpmc_cs_config()
|
/u-boot/arch/x86/lib/ |
A D | bios.h | 71 uint32_t cs; member 76 u16 offset, cs; member
|
/u-boot/drivers/ddr/marvell/a38x/ |
A D | mv_ddr_regs.h | 118 #define CS_STRUCT_OFFS(cs) (CS_STRUCT_BASE + (cs) * 4) argument 121 #define CS_SIZE_OFFS(cs) (CS_SIZE_BASE + (cs) * 4) argument 124 #define CS_SIZE_HIGH_OFFS(cs) (CS_SIZE_HIGH_BASE + (cs)) argument 135 #define SDRAM_OP_CMD_CS_OFFS(cs) (SDRAM_OP_CMD_CS_BASE + (cs)) argument 231 #define RD_SMPL_DLY_CS_OFFS(cs) (RD_SMPL_DLY_CS_BASE + (cs) * 8) argument 236 #define RD_RDY_DLY_CS_OFFS(cs) (RD_RDY_DLY_CS_BASE + (cs) * 8) argument 268 #define CS_EXIST_OFFS(cs) (CS_EXIST_BASE + (cs)) argument 389 #define WL_PHY_REG(cs) (WL_PHY_BASE + (cs) * 0x4) argument 401 #define CTX_PHY_REG(cs) (CTX_PHY_BASE + (cs) * 0x4) argument 404 #define RL_PHY_REG(cs) (RL_PHY_BASE + (cs) * 0x4) argument [all …]
|
/u-boot/board/mscc/common/ |
A D | spi.c | 13 u32 cs = spi_chip_select(dev); in external_cs_manage() local
|
/u-boot/drivers/mtd/spi/ |
A D | sandbox.c | 72 unsigned int cs; /* Chip select we are attached to */ member 103 int cs; member 132 int cs = -1; in sandbox_sf_probe() local 521 int sandbox_sf_bind_emul(struct sandbox_state *state, int busnum, int cs, in sandbox_sf_bind_emul() 553 void sandbox_sf_unbind_emul(struct sandbox_state *state, int busnum, int cs) in sandbox_sf_unbind_emul() 569 int cs = spi_chip_select(slave); in sandbox_spi_get_emul() local
|
A D | sf-uclass.c | 38 struct spi_flash *spi_flash_probe(unsigned int bus, unsigned int cs, in spi_flash_probe() 54 int spi_flash_probe_bus_cs(unsigned int busnum, unsigned int cs, in spi_flash_probe_bus_cs()
|
/u-boot/test/dm/ |
A D | spi.c | 26 const int busnum = 0, cs = 0, mode = 0, speed = 1000000, cs_b = 2; in dm_test_spi_find() local 181 const int busnum = 0, cs = 0, mode = 0; in dm_test_spi_xfer() local
|
/u-boot/board/compulab/cl-som-imx7/ |
A D | common.c | 19 int board_spi_cs_gpio(unsigned int bus, unsigned int cs) in board_spi_cs_gpio()
|