Searched refs:ip_rev (Results 1 – 8 of 8) sorted by relevance
/openbmc/u-boot/drivers/i2c/ |
H A D | omap24xx_i2c.c | 136 int ip_rev; member 143 static inline const u8 *omap_i2c_get_ip_reg_map(int ip_rev) in omap_i2c_get_ip_reg_map() argument 145 switch (ip_rev) { in omap_i2c_get_ip_reg_map() 155 static inline void omap_i2c_write_reg(void __iomem *base, int ip_rev, in omap_i2c_write_reg() argument 158 writew(val, base + omap_i2c_get_ip_reg_map(ip_rev)[reg]); in omap_i2c_write_reg() 161 static inline u16 omap_i2c_read_reg(void __iomem *base, int ip_rev, int reg) in omap_i2c_read_reg() argument 163 return readw(base + omap_i2c_get_ip_reg_map(ip_rev)[reg]); in omap_i2c_read_reg() 220 static int wait_for_bb(void __iomem *i2c_base, int ip_rev, int waitdelay) in wait_for_bb() argument 226 irq_stat_reg = (ip_rev == OMAP_I2C_REV_V1) ? in wait_for_bb() 230 omap_i2c_write_reg(i2c_base, ip_rev, 0xFFFF, OMAP_I2C_STAT_REG); in wait_for_bb() [all …]
|
/openbmc/linux/drivers/memory/ |
H A D | emif.c | 80 u32 ip_rev = emif->plat_data->ip_rev; in do_emif_regdump_show() local 90 if (ip_rev == EMIF_4D) { in do_emif_regdump_show() 95 } else if (ip_rev == EMIF_4D5) { in do_emif_regdump_show() 218 if ((emif->plat_data->ip_rev == EMIF_4D) && in set_lpmode() 370 static u32 get_pwr_mgmt_ctrl(u32 freq, struct emif_data *emif, u32 ip_rev) in get_pwr_mgmt_ctrl() argument 447 if (ip_rev == EMIF_4D5) in get_pwr_mgmt_ctrl() 729 emif->plat_data->ip_rev); in emif_onetime_settings() 789 u32 ip_rev, struct device *dev) in is_dev_data_valid() argument 801 switch (ip_rev) { in is_dev_data_valid() 950 emif->plat_data->ip_rev = EMIF_4D; in of_get_memory_device_details() [all …]
|
/openbmc/u-boot/arch/arm/include/asm/ |
H A D | omap_i2c.h | 14 int ip_rev; member
|
/openbmc/linux/include/linux/platform_data/ |
H A D | emif_plat.h | 121 u32 ip_rev; member
|
/openbmc/u-boot/drivers/ddr/fsl/ |
H A D | ctrl_regs.c | 352 unsigned int ip_rev; in set_timing_cfg_0() local 365 ip_rev = fsl_ddr_get_version(ctrl_num); in set_timing_cfg_0() 366 if (ip_rev >= 0x40700) { in set_timing_cfg_0() 2361 unsigned int ip_rev = 0; in compute_fsl_memctl_config_regs() local 2564 ip_rev = fsl_ddr_get_version(ctrl_num); in compute_fsl_memctl_config_regs() 2565 if (ip_rev > 0x40400) in compute_fsl_memctl_config_regs() 2568 if ((ip_rev > 0x40700) && (popts->cswl_override != 0)) in compute_fsl_memctl_config_regs() 2612 if ((ip_rev >= 0x40000) && (ip_rev < 0x40400)) in compute_fsl_memctl_config_regs()
|
/openbmc/linux/drivers/media/platform/samsung/s3c-camif/ |
H A D | camif-core.c | 304 unsigned int ip_rev = camif->variant->ip_revision; in camif_media_dev_init() local 309 ip_rev == S3C6410_CAMIF_IP_REV ? "6410" : "244X"); in camif_media_dev_init() 311 md->hw_revision = ip_rev; in camif_media_dev_init()
|
H A D | camif-capture.c | 97 unsigned int ip_rev = camif->variant->ip_revision; in s3c_camif_hw_vp_init() local 103 if (ip_rev == S3C244X_CAMIF_IP_REV) in s3c_camif_hw_vp_init() 292 unsigned int ip_rev = camif->variant->ip_revision; in s3c_camif_irq_handler() local 297 if (ip_rev == S3C6410_CAMIF_IP_REV) in s3c_camif_irq_handler() 302 if (ip_rev == S3C244X_CAMIF_IP_REV && (status & CISTATUS_OVF_MASK)) { in s3c_camif_irq_handler() 1608 unsigned int ip_rev = camif->variant->ip_revision; in s3c_camif_set_defaults() local 1619 if (ip_rev == S3C244X_CAMIF_IP_REV) in s3c_camif_set_defaults()
|
H A D | camif-regs.c | 477 unsigned int ip_rev = vp->camif->variant->ip_revision; in camif_hw_set_scaler() local 479 if (ip_rev == S3C244X_CAMIF_IP_REV) in camif_hw_set_scaler()
|