/drivers/soc/samsung/ |
D | exynos-chipid.c | 77 struct exynos_chipid_info *soc_info) in exynos_chipid_get_chipid_info() argument 85 soc_info->product_id = val & EXYNOS_MASK; in exynos_chipid_get_chipid_info() 94 soc_info->revision = (main_rev << EXYNOS_REV_PART_SHIFT) | sub_rev; in exynos_chipid_get_chipid_info() 102 struct exynos_chipid_info soc_info; in exynos_chipid_probe() local 117 ret = exynos_chipid_get_chipid_info(regmap, drv_data, &soc_info); in exynos_chipid_probe() 133 "%x", soc_info.revision); in exynos_chipid_probe() 134 soc_dev_attr->soc_id = product_id_to_soc_id(soc_info.product_id); in exynos_chipid_probe() 152 soc_dev_attr->soc_id, soc_info.product_id, soc_info.revision); in exynos_chipid_probe()
|
/drivers/gpu/drm/ingenic/ |
D | ingenic-drm-drv.c | 97 const struct jz_soc_info *soc_info; member 325 JZ_LCD_CTRL_OFUP | priv->soc_info->max_burst); in ingenic_drm_crtc_update_timings() 350 if (drm_atomic_crtc_needs_modeset(crtc_state) && priv->soc_info->has_osd) { in ingenic_drm_crtc_atomic_check() 388 if (mode->hdisplay > priv->soc_info->max_width) in ingenic_drm_crtc_mode_valid() 390 if (mode->vdisplay > priv->soc_info->max_height) in ingenic_drm_crtc_mode_valid() 408 if (priv->soc_info->has_osd && in ingenic_drm_crtc_atomic_begin() 471 if (priv->soc_info->plane_f0_not_working && plane == &priv->f0) in ingenic_drm_plane_atomic_check() 486 priv->soc_info->has_osd, in ingenic_drm_plane_atomic_check() 495 if (!priv->soc_info->has_osd && in ingenic_drm_plane_atomic_check() 508 if (priv->soc_info->has_osd && in ingenic_drm_plane_atomic_check() [all …]
|
D | ingenic-ipu.c | 37 struct soc_info { struct 60 const struct soc_info *soc_info; argument 244 ipu->soc_info->set_coefs(ipu, reg, ipu->sharpness, in ingenic_ipu_set_downscale_coefs() 260 ipu->soc_info->set_coefs(ipu, reg, 0, false, 512, i == num - 1); in ingenic_ipu_set_integer_upscale_coefs() 278 ipu->soc_info->set_coefs(ipu, reg, ipu->sharpness, in ingenic_ipu_set_upscale_coefs() 511 if (ipu->soc_info->has_bicubic) in ingenic_ipu_plane_atomic_update() 519 if (!ipu->soc_info->has_bicubic && !upscaling_w) in ingenic_ipu_plane_atomic_update() 531 if (!ipu->soc_info->has_bicubic && !upscaling_h) in ingenic_ipu_plane_atomic_update() 765 if (ipu->soc_info->manual_restart) in ingenic_ipu_irq_handler() 777 if (ipu->soc_info->manual_restart) in ingenic_ipu_irq_handler() [all …]
|
/drivers/iio/adc/ |
D | at91-sama5d2_adc.c | 429 readl_relaxed((st)->base + (st)->soc_info.platform->layout->reg) 433 writel_relaxed(val, (st)->base + (st)->soc_info.platform->layout->reg) 599 struct at91_adc_soc_info soc_info; member 786 return mask & GENMASK(st->soc_info.platform->nr_channels, 0); in at91_adc_active_scan_mask_to_reg() 797 cor <<= st->soc_info.platform->layout->COR_diff_offset; in at91_adc_cor() 808 if (st->soc_info.platform->layout->EOC_ISR) in at91_adc_irq_status() 817 if (st->soc_info.platform->layout->EOC_IMR) in at91_adc_irq_mask() 830 if (!st->soc_info.platform->layout->EOC_IDR) in at91_adc_eoc_dis() 836 if (!st->soc_info.platform->layout->EOC_IDR) in at91_adc_eoc_ena() 847 unsigned int osr_mask = st->soc_info.platform->osr_mask; in at91_adc_config_emr() [all …]
|
/drivers/clocksource/ |
D | ingenic-ost.c | 68 const struct ingenic_ost_soc_info *soc_info; in ingenic_ost_probe() local 76 soc_info = device_get_match_data(dev); in ingenic_ost_probe() 77 if (!soc_info) in ingenic_ost_probe() 105 if (soc_info->is64bit) in ingenic_ost_probe() 124 if (soc_info->is64bit) in ingenic_ost_probe() 136 if (soc_info->is64bit) in ingenic_ost_probe()
|
D | ingenic-timer.c | 276 const struct ingenic_soc_info *soc_info = id->data; in ingenic_tcu_init() local 299 tcu->pwm_channels_mask = GENMASK(soc_info->num_channels - 1, in ingenic_tcu_init() 306 soc_info->num_channels - num_possible_cpus() + 1) { in ingenic_tcu_init() 322 soc_info->num_channels, in ingenic_tcu_init() 328 soc_info->num_channels, in ingenic_tcu_init()
|
D | ingenic-sysost.c | 75 const struct ingenic_soc_info *soc_info; member 454 ost->soc_info = id->data; in ingenic_ost_probe() 456 ost->clocks = kzalloc(struct_size(ost->clocks, hws, ost->soc_info->num_channels), in ingenic_ost_probe() 463 ost->clocks->num = ost->soc_info->num_channels; in ingenic_ost_probe()
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac-ingenic.c | 59 const struct ingenic_soc_info *soc_info; member 79 if (mac->soc_info->set_mode) { in ingenic_mac_init() 80 ret = mac->soc_info->set_mode(plat_dat); in ingenic_mac_init() 127 return regmap_update_bits(mac->regmap, 0, mac->soc_info->mask, val); in jz4775_mac_set_mode() 145 return regmap_update_bits(mac->regmap, 0, mac->soc_info->mask, 0); in x1000_mac_set_mode() 165 return regmap_update_bits(mac->regmap, 0, mac->soc_info->mask, val); in x1600_mac_set_mode() 186 return regmap_update_bits(mac->regmap, 0, mac->soc_info->mask, val); in x1830_mac_set_mode() 229 return regmap_update_bits(mac->regmap, 0, mac->soc_info->mask, val); in x2000_mac_set_mode() 292 mac->soc_info = data; in ingenic_mac_probe()
|
/drivers/mtd/nand/raw/ingenic/ |
D | ingenic_nand_drv.c | 46 const struct jz_soc_info *soc_info; member 244 if (nfc->soc_info->oob_first) in ingenic_nand_attach_chip() 250 else if (nfc->soc_info->oob_layout) in ingenic_nand_attach_chip() 251 mtd_set_ooblayout(mtd, nfc->soc_info->oob_layout); in ingenic_nand_attach_chip() 269 cs->base + nfc->soc_info->cmd_offset); in ingenic_nand_exec_instr() 274 cs->base + nfc->soc_info->addr_offset); in ingenic_nand_exec_instr() 279 ioread8_rep(cs->base + nfc->soc_info->data_offset, in ingenic_nand_exec_instr() 283 ioread16_rep(cs->base + nfc->soc_info->data_offset, in ingenic_nand_exec_instr() 290 iowrite8_rep(cs->base + nfc->soc_info->data_offset, in ingenic_nand_exec_instr() 294 iowrite16_rep(cs->base + nfc->soc_info->data_offset, in ingenic_nand_exec_instr() [all …]
|
/drivers/pwm/ |
D | pwm-jz4740.c | 23 struct soc_info { struct 229 const struct soc_info *info; in jz4740_pwm_probe() 252 static const struct soc_info __maybe_unused jz4740_soc_info = { 256 static const struct soc_info __maybe_unused jz4725b_soc_info = { 260 static const struct soc_info __maybe_unused x1000_soc_info = {
|
/drivers/clk/ingenic/ |
D | tcu.c | 51 const struct ingenic_soc_info *soc_info; member 349 tcu->soc_info = id->data; in ingenic_tcu_probe() 351 if (tcu->soc_info->has_tcu_clk) { in ingenic_tcu_probe() 363 if (tcu->soc_info->allow_missing_tcu_clk && ret == -EINVAL) { in ingenic_tcu_probe() 388 for (i = 0; i < tcu->soc_info->num_channels; i++) { in ingenic_tcu_probe() 413 if (tcu->soc_info->has_ost) { in ingenic_tcu_probe() 435 if (tcu->soc_info->has_ost) in ingenic_tcu_probe()
|
/drivers/memory/ |
D | jz4780-nemc.c | 54 const struct jz_soc_info *soc_info; member 210 if (cycles > nemc->soc_info->tas_tah_cycles_max) { in jz4780_nemc_configure_bank() 222 if (cycles > nemc->soc_info->tas_tah_cycles_max) { in jz4780_nemc_configure_bank() 286 nemc->soc_info = device_get_match_data(dev); in jz4780_nemc_probe() 287 if (!nemc->soc_info) in jz4780_nemc_probe()
|
/drivers/usb/phy/ |
D | phy-jz4770.c | 104 const struct ingenic_soc_info *soc_info; member 130 if (priv->soc_info->version >= ID_X1000) { in ingenic_usb_phy_set_peripheral() 175 priv->soc_info->usb_phy_init(phy); in ingenic_usb_phy_init() 298 priv->soc_info = device_get_match_data(&pdev->dev); in jz4770_phy_probe() 299 if (!priv->soc_info) { in jz4770_phy_probe()
|
/drivers/phy/ingenic/ |
D | phy-ingenic-usb.c | 90 const struct ingenic_soc_info *soc_info; member 110 priv->soc_info->usb_phy_init(phy); in ingenic_usb_phy_init() 326 priv->soc_info = device_get_match_data(dev); in ingenic_usb_phy_probe() 327 if (!priv->soc_info) { in ingenic_usb_phy_probe()
|
/drivers/spi/ |
D | spi-ingenic.c | 62 const struct jz_soc_info *soc_info; member 271 if (priv->soc_info->has_trendian) { in spi_ingenic_prepare_message() 402 priv->soc_info = pdata; in spi_ingenic_probe()
|
/drivers/bus/mhi/host/ |
D | init.c | 909 u32 soc_info; in mhi_register_controller() local 986 SOC_HW_VERSION_OFFS, &soc_info); in mhi_register_controller() 990 mhi_cntrl->family_number = FIELD_GET(SOC_HW_VERSION_FAM_NUM_BMSK, soc_info); in mhi_register_controller() 991 mhi_cntrl->device_number = FIELD_GET(SOC_HW_VERSION_DEV_NUM_BMSK, soc_info); in mhi_register_controller() 992 mhi_cntrl->major_version = FIELD_GET(SOC_HW_VERSION_MAJOR_VER_BMSK, soc_info); in mhi_register_controller() 993 mhi_cntrl->minor_version = FIELD_GET(SOC_HW_VERSION_MINOR_VER_BMSK, soc_info); in mhi_register_controller()
|
/drivers/net/wireless/ath/ath10k/ |
D | qmi.h | 103 struct ath10k_qmi_soc_info soc_info; member
|
D | qmi.c | 589 qmi->soc_info.soc_id = resp->soc_info.soc_id; in ath10k_qmi_cap_send_sync_msg() 604 qmi->board_info.board_id, qmi->soc_info.soc_id); in ath10k_qmi_cap_send_sync_msg()
|
D | qmi_wlfw_v01.h | 312 struct wlfw_soc_info_s_v01 soc_info; member
|
D | qmi_wlfw_v01.c | 891 soc_info),
|
/drivers/net/wireless/ath/ath11k/ |
D | qmi.h | 377 struct qmi_wlanfw_soc_info_s_v01 soc_info; member
|
D | qmi.c | 966 soc_info), 2243 ab->qmi.target.soc_id = resp.soc_info.soc_id; in ath11k_qmi_request_target_cap()
|
/drivers/tty/serial/ |
D | ucc_uart.c | 1111 static unsigned int soc_info(unsigned int *rev_h, unsigned int *rev_l) in soc_info() function 1201 soc = soc_info(&rev_h, &rev_l); in soft_uart_init()
|