/u-boot/arch/arm/include/asm/arch-rockchip/ |
A D | sdram.h | 44 #define SYS_REG_ROW_3_4_SHIFT(ch) (30 + (ch)) argument 46 #define SYS_REG_CHINFO_SHIFT(ch) (28 + (ch)) argument 47 #define SYS_REG_RANK_SHIFT(ch) (11 + (ch) * 16) argument 49 #define SYS_REG_COL_SHIFT(ch) (9 + (ch) * 16) argument 51 #define SYS_REG_BK_SHIFT(ch) (8 + (ch) * 16) argument 53 #define SYS_REG_CS0_ROW_SHIFT(ch) (6 + (ch) * 16) argument 55 #define SYS_REG_CS1_ROW_SHIFT(ch) (4 + (ch) * 16) argument 57 #define SYS_REG_BW_SHIFT(ch) (2 + (ch) * 16) argument 59 #define SYS_REG_DBW_SHIFT(ch) ((ch) * 16) argument 73 #define SYS_REG_EXTEND_CS0_ROW_SHIFT(ch) (5 + (ch) * 2) argument [all …]
|
A D | sdram_common.h | 71 #define SYS_REG_ENC_ROW_3_4(n, ch) ((n) << (30 + (ch))) argument 72 #define SYS_REG_DEC_ROW_3_4(n, ch) (((n) >> (30 + (ch))) & 0x1) argument 73 #define SYS_REG_ENC_CHINFO(ch) (1 << (28 + (ch))) argument 80 #define SYS_REG_ENC_COL(n, ch) (((n) - 9) << (9 + ((ch) * 16))) argument 82 #define SYS_REG_ENC_BK(n, ch) (((n) == 3 ? 0 : 1) << \ argument 85 #define SYS_REG_ENC_BW(n, ch) ((2 >> (n)) << (2 + ((ch) * 16))) argument 92 #define SYS_REG_ENC_CS0_ROW(n, os_reg2, os_reg3, ch) do { \ argument 98 #define SYS_REG_DEC_CS0_ROW(os_reg2, os_reg3, ch) \ argument 102 #define SYS_REG_ENC_CS1_ROW(n, os_reg2, os_reg3, ch) do { \ argument 110 #define SYS_REG_DEC_CS1_ROW(os_reg2, os_reg3, ch) \ argument [all …]
|
/u-boot/arch/arm/mach-nexell/ |
A D | timer.c | 47 #define TCFG0_BIT_CH(ch) ((ch) == 0 || (ch) == 1 ? 0 : 8) argument 48 #define TCFG1_BIT_CH(ch) ((ch) * 4) argument 49 #define TCON_BIT_CH(ch) ((ch) ? (ch) * 4 + 4 : 0) argument 50 #define TINT_CH(ch) (ch) argument 51 #define TINT_CSTAT_BIT_CH(ch) ((ch) + 5) argument 76 static inline void timer_start(void __iomem *base, int ch) in timer_start() 92 static inline void timer_stop(void __iomem *base, int ch) in timer_stop() 103 static inline unsigned long timer_read(void __iomem *base, int ch) in timer_read() 115 int ch = CONFIG_TIMER_SYS_TICK_CH; in timer_init() local 182 int ch = CONFIG_TIMER_SYS_TICK_CH; in reset_timer_masked() local [all …]
|
/u-boot/drivers/clk/uniphier/ |
A D | clk-uniphier-mio.c | 19 #define UNIPHIER_MIO_CLK_SD(_id, ch) \ argument 60 #define UNIPHIER_MIO_CLK_USB2(id, ch) \ argument 63 #define UNIPHIER_MIO_CLK_USB2_PHY(id, ch) \ argument
|
/u-boot/drivers/reset/ |
A D | reset-uniphier.c | 102 #define UNIPHIER_MIO_RESET_SD(id, ch) \ argument 105 #define UNIPHIER_MIO_RESET_SD_BRIDGE(id, ch) \ argument 108 #define UNIPHIER_MIO_RESET_EMMC_HW_RESET(id, ch) \ argument 111 #define UNIPHIER_MIO_RESET_USB2(id, ch) \ argument 114 #define UNIPHIER_MIO_RESET_USB2_BRIDGE(id, ch) \ argument 141 #define UNIPHIER_PERI_RESET_UART(id, ch) \ argument 144 #define UNIPHIER_PERI_RESET_I2C(id, ch) \ argument 147 #define UNIPHIER_PERI_RESET_FI2C(id, ch) \ argument
|
/u-boot/net/ |
A D | mdio-mux-uclass.c | 63 static int mmux_change_sel(struct udevice *ch, bool sel) in mmux_change_sel() 88 static int mmux_read(struct udevice *ch, int addr, int devad, in mmux_read() 107 static int mmux_write(struct udevice *ch, int addr, int devad, in mmux_write() 126 static int mmux_reset(struct udevice *ch) in mmux_reset() 148 static int dm_mdio_mux_child_post_bind(struct udevice *ch) in dm_mdio_mux_child_post_bind()
|
/u-boot/board/freescale/ls1021aqds/ |
A D | dcu.c | 20 static int select_i2c_ch_pca9547(u8 ch, int bus_num) in select_i2c_ch_pca9547() 65 u8 ch; in platform_dcu_init() local
|
/u-boot/arch/arm/mach-uniphier/dram/ |
A D | umc-ld4.c | 40 static int umc_get_rank(int ch) in umc_get_rank() 144 int freq, unsigned long size, bool ddr3plus, int ch) in umc_ch_init() 173 int ch, ret; in uniphier_ld4_umc_init() local
|
A D | umc-sld8.c | 43 static int umc_get_rank(int ch) in umc_get_rank() 147 int freq, unsigned long size, bool ddr3plus, int ch) in umc_ch_init() 176 int ch, ret; in uniphier_sld8_umc_init() local
|
A D | umc-pxs2.c | 145 int ch) in ddrphy_init() 457 static void umc_ud_init(void __iomem *umc_base, int ch) in umc_ud_init() 466 unsigned long size, int width, int ch) in umc_dc_init() 545 unsigned long size, unsigned int width, int ch) in umc_ch_init() 610 int ch, ret; in uniphier_pxs2_umc_init() local
|
/u-boot/drivers/serial/ |
A D | serial_efi.c | 52 int ret, ch; in serial_efi_getc() local 73 static int serial_efi_putc(struct udevice *dev, const char ch) in serial_efi_putc() 114 static inline void _debug_uart_putc(int ch) in _debug_uart_putc()
|
A D | arm_dcc.c | 100 int ch; in arm_dcc_getc() local 111 static int arm_dcc_putc(struct udevice *dev, char ch) in arm_dcc_putc() 168 static inline void _debug_uart_putc(int ch) in _debug_uart_putc()
|
/u-boot/common/ |
A D | kgdb.c | 119 hex(unsigned char ch) in hex() 137 unsigned char ch; in mem2hex() local 232 unsigned char ch; in getpacket() local 292 unsigned char ch, recv; in putpacket() local
|
/u-boot/arch/x86/cpu/quark/ |
A D | smc.c | 255 uint8_t ch; /* channel counter */ in ddrphy_init() local 1353 uint8_t ch, rk, bl; in restore_timings() local 1382 uint8_t ch, rk, bl; in default_timings() local 1404 uint8_t ch; /* channel counter */ in rcvn_cal() local 1551 uint8_t ch; /* channel counter */ in wr_level() local 1786 uint8_t ch; /* channel counter */ in rd_train() local 2084 uint8_t ch; /* channel counter */ in wr_train() local 2276 uint8_t ch, rk, bl; in store_timings() local
|
/u-boot/lib/efi/ |
A D | efi.c | 25 static void efi_memset(void *ptr, int ch, int size) in efi_memset() 38 void efi_putc(struct efi_priv *priv, const char ch) in efi_putc()
|
/u-boot/drivers/video/imx/ |
A D | ipu.h | 83 #define _MAKE_ALT_CHAN(ch) (ch | (IPU_MAX_CH << 24)) argument 84 #define IPU_CHAN_ID(ch) (ch >> 24) argument 85 #define IPU_CHAN_ALT(ch) (ch & 0x02000000) argument 86 #define IPU_CHAN_ALPHA_IN_DMA(ch) ((uint32_t) (ch >> 6) & 0x3F) argument 87 #define IPU_CHAN_GRAPH_IN_DMA(ch) ((uint32_t) (ch >> 12) & 0x3F) argument 88 #define IPU_CHAN_VIDEO_IN_DMA(ch) ((uint32_t) (ch >> 18) & 0x3F) argument 89 #define IPU_CHAN_OUT_DMA(ch) ((uint32_t) (ch & 0x3F)) argument
|
A D | ipu_common.c | 40 #define ipu_ch_param_addr(ch) (((struct ipu_ch_param *)ipu_cpmem_base) + (ch)) argument 254 static inline void ipu_ch_param_set_high_priority(uint32_t ch) in ipu_ch_param_set_high_priority() 259 static inline uint32_t channel_2_dma(ipu_channel_t ch, ipu_buffer_t type) in channel_2_dma() 276 static inline void ipu_ch_param_set_buffer(uint32_t ch, int bufNum, in ipu_ch_param_set_buffer() 283 #define idma_is_valid(ch) (ch != NO_DMA) argument 284 #define idma_mask(ch) (idma_is_valid(ch) ? (1UL << (ch & 0x1F)) : 0) argument 752 static inline void ipu_ch_param_dump(int ch) in ipu_ch_param_dump() 815 static void ipu_ch_param_init(int ch, in ipu_ch_param_init()
|
/u-boot/arch/arm/mach-uniphier/bcu/ |
A D | bcu-ld4.c | 13 #define ch(x) ((x) >= 32 ? 0 : (x) < 0 ? 0x11111111 : 0x11111111 << (x)) macro
|
/u-boot/arch/arm/mach-uniphier/clk/ |
A D | clk-ld11.c | 37 int ch; in uniphier_ld11_clk_init() local
|
/u-boot/scripts/ |
A D | bin2c.c | 14 int ch, total = 0; in main() local
|
/u-boot/fs/ubifs/ |
A D | scan.c | 66 struct ubifs_ch *ch = buf; in ubifs_scan_a_node() local 191 struct ubifs_ch *ch = buf; in ubifs_add_snod() local 273 struct ubifs_ch *ch = buf; in ubifs_scan() local
|
A D | io.c | 247 const struct ubifs_ch *ch = buf; in ubifs_check_node() local 330 struct ubifs_ch *ch = buf; in ubifs_pad() local 387 struct ubifs_ch *ch = node; in ubifs_prepare_node() local 420 struct ubifs_ch *ch = node; in ubifs_prep_grp_node() local 913 struct ubifs_ch *ch = buf; in ubifs_read_node_wbuf() local 989 struct ubifs_ch *ch = buf; in ubifs_read_node() local
|
/u-boot/drivers/demo/ |
A D | demo-simple.c | 15 static int simple_hello(struct udevice *dev, int ch) in simple_hello()
|
/u-boot/arch/arm/mach-tegra/ |
A D | ivc.c | 100 struct tegra_ivc_channel_header *ch, in tegra_ivc_frame_pointer() 123 struct tegra_ivc_channel_header *ch) in tegra_ivc_channel_empty() 150 struct tegra_ivc_channel_header *ch) in tegra_ivc_channel_full() 227 struct tegra_ivc_channel_header *ch) in tegra_ivc_channel_avail_count()
|
/u-boot/arch/arm/mach-exynos/ |
A D | dmc_init_ddr3.c | 258 static bool dmc_valid_window_test_vector(int ch, int byte_lane) in dmc_valid_window_test_vector() 351 void test_shifts(struct exynos5420_phy_control *phy_ctrl, int ch, in test_shifts() 403 int ch, unsigned int coarse_lock_val) in software_find_read_offset()
|