/device/board/isoftstone/zhiyuan/kernel/driver/drivers/pwm/ |
D | pwm-sunxi.c | 238 unsigned int reg_offset, reg_shift, reg_width; in sunxi_pwm_set_polarity_single() local 243 reg_offset = pc->data->pcr_base_offset + sel * PWM_REG_UNIFORM_OFFSET; in sunxi_pwm_set_polarity_single() 246 temp = sunxi_pwm_readl(chip, reg_offset); in sunxi_pwm_set_polarity_single() 252 sunxi_pwm_writel(chip, reg_offset, temp); in sunxi_pwm_set_polarity_single() 263 unsigned int reg_offset[2], reg_shift[2], reg_width[2]; in sunxi_pwm_set_polarity_dual() local 270 reg_offset[0] = pc->data->pcr_base_offset + sel[0] * PWM_REG_UNIFORM_OFFSET; in sunxi_pwm_set_polarity_dual() 273 temp[0] = sunxi_pwm_readl(chip, reg_offset[0]); in sunxi_pwm_set_polarity_dual() 279 reg_offset[1] = pc->data->pcr_base_offset + sel[1] * PWM_REG_UNIFORM_OFFSET; in sunxi_pwm_set_polarity_dual() 282 temp[1] = sunxi_pwm_readl(chip, reg_offset[1]); in sunxi_pwm_set_polarity_dual() 290 sunxi_pwm_writel(chip, reg_offset[0], temp[0]); in sunxi_pwm_set_polarity_dual() [all …]
|
/device/soc/rockchip/common/sdk_linux/drivers/mfd/ |
D | rk808.c | 389 .reg_offset = 0, 394 .reg_offset = 0, 399 .reg_offset = 0, 404 .reg_offset = 0, 409 .reg_offset = 0, 414 .reg_offset = 0, 419 .reg_offset = 0, 424 .reg_offset = 0, 433 .reg_offset = 0, 438 .reg_offset = 0, [all …]
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/ |
D | mali_kbase_debug_job_fault.c | 265 kctx->tgid, kctx->id, event->reg_offset); in debug_job_fault_show() 272 if (kctx->reg_dump[event->reg_offset] == in debug_job_fault_show() 281 if (event->reg_offset == 0) in debug_job_fault_show() 285 if (kctx->reg_dump[event->reg_offset] == in debug_job_fault_show() 290 kctx->reg_dump[event->reg_offset], in debug_job_fault_show() 291 kctx->reg_dump[1+event->reg_offset]); in debug_job_fault_show() 292 event->reg_offset += 2; in debug_job_fault_show() 305 event->reg_offset, (int)*pos); in debug_job_fault_next() 325 event->reg_offset = 0; in debug_job_fault_start()
|
D | mali_kbase_defs.h | 230 int reg_offset; member 1152 u16 reg_offset; /* Offset of a GPU_CONTROL register to be member
|
D | mali_kbase_device.c | 331 …_access(struct kbase_context *kctx, enum kbase_reg_access_type type, u16 reg_offset, u32 reg_value) in kbase_device_trace_register_access() argument 362 tb[write_offset * 2 + 0] = (reg_offset & ~0x3) | ((type == REG_WRITE) ? 0x1 : 0x0); in kbase_device_trace_register_access()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/ |
D | mali_kbase_debug_job_fault.c | 236 …ev_info(kbdev->dev, "debug job fault seq show:%d_%d, %d", kctx->tgid, kctx->id, event->reg_offset); in debug_job_fault_show() 243 if (kctx->reg_dump[event->reg_offset] == REGISTER_DUMP_TERMINATION_FLAG) { in debug_job_fault_show() 251 if (event->reg_offset == 0) { in debug_job_fault_show() 256 if (kctx->reg_dump[event->reg_offset] == REGISTER_DUMP_TERMINATION_FLAG) { in debug_job_fault_show() 259 …seq_printf(m, "%08x: %08x\n", kctx->reg_dump[event->reg_offset], kctx->reg_dump[1 + event->reg_off… in debug_job_fault_show() 260 event->reg_offset += REGISTER_OFFSET_UNIT; in debug_job_fault_show() 270 dev_info(kbdev->dev, "debug job fault seq next:%d, %d", event->reg_offset, (int)*pos); in debug_job_fault_next() 291 event->reg_offset = 0; in debug_job_fault_start()
|
D | mali_kbase_defs.h | 223 int reg_offset; member 1140 u16 reg_offset; /* Offset of a GPU_CONTROL register to be member
|
D | mali_kbase_device.c | 340 …_trace_register_access(struct kbase_context *kctx, enum kbase_reg_access_type type, u16 reg_offset, in kbase_device_trace_register_access() argument 372 tb[write_offset * 0x2 + 0] = (reg_offset & ~0x3) | ((type == REG_WRITE) ? 0x1 : 0x0); in kbase_device_trace_register_access()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/ |
D | mali_kbase_debug_job_fault.c | 301 kctx->tgid, kctx->id, event->reg_offset); in debug_job_fault_show() 308 if (kctx->reg_dump[event->reg_offset] == in debug_job_fault_show() 317 if (event->reg_offset == 0) in debug_job_fault_show() 321 if (kctx->reg_dump[event->reg_offset] == in debug_job_fault_show() 326 kctx->reg_dump[event->reg_offset], in debug_job_fault_show() 327 kctx->reg_dump[1+event->reg_offset]); in debug_job_fault_show() 328 event->reg_offset += 2; in debug_job_fault_show() 341 event->reg_offset, (int)*pos); in debug_job_fault_next() 361 event->reg_offset = 0; in debug_job_fault_start()
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/ |
D | mali_kbase_debug_job_fault.c | 276 …ev_info(kbdev->dev, "debug job fault seq show:%d_%d, %d", kctx->tgid, kctx->id, event->reg_offset); in debug_job_fault_show() 283 if (kctx->reg_dump[event->reg_offset] == REGISTER_DUMP_TERMINATION_FLAG) { in debug_job_fault_show() 291 if (event->reg_offset == 0) { in debug_job_fault_show() 296 if (kctx->reg_dump[event->reg_offset] == REGISTER_DUMP_TERMINATION_FLAG) { in debug_job_fault_show() 299 …seq_printf(m, "%08x: %08x\n", kctx->reg_dump[event->reg_offset], kctx->reg_dump[1 + event->reg_off… in debug_job_fault_show() 300 event->reg_offset += REGISTER_OFFSET_UNIT; in debug_job_fault_show() 310 dev_info(kbdev->dev, "debug job fault seq next:%d, %d", event->reg_offset, (int)*pos); in debug_job_fault_next() 331 event->reg_offset = 0; in debug_job_fault_start()
|
/device/soc/rockchip/common/sdk_linux/drivers/phy/rockchip/ |
D | phy-rockchip-usb.c | 138 unsigned int reg_offset; member 253 return regmap_write(phy->base->reg_base, phy->reg_offset, val); in rockchip_usb_phy_power() 287 ret = regmap_read(phy->base->reg_base, phy->reg_offset, &val); in rockchip_usb_phy480m_is_enabled() 685 if (rk_phy->reg_offset == 0x320) { in rk3288_usb_phy_probe_init() 717 } else if (rk_phy->reg_offset == 0x334) { in rk3288_usb_phy_probe_init() 730 regmap_write(rk_phy->base->reg_base, rk_phy->reg_offset, BIT(PHY_ROCKCHIP_USB_BIT)); in rk3288_usb_phy_probe_init() 740 unsigned int reg_offset; in rockchip_usb_phy_init() local 754 if (of_property_read_u32(child, "reg", ®_offset)) { in rockchip_usb_phy_init() 764 rk_phy->reg_offset = reg_offset; in rockchip_usb_phy_init() 774 if (base->pdata->phys[i].reg == reg_offset) { in rockchip_usb_phy_init()
|
/device/board/osware/imx8mm/drivers/audio/soc/src/ |
D | sai_driver.c | 163 unsigned char offset = sai->reg_offset; in fsl_sai_rx_irq() 198 unsigned char offset = sai->reg_offset; in fsl_sai_isr() 351 unsigned char offset = sai->reg_offset; in fsl_sai_readable_reg() 392 unsigned char offset = sai->reg_offset; in fsl_sai_volatile_reg() 398 if (sai->reg_offset == BYTE_NUM && (reg == FSL_SAI_VERID || in fsl_sai_volatile_reg() 437 unsigned char offset = sai->reg_offset; in fsl_sai_writeable_reg() 561 unsigned char offset = sai->reg_offset; in fsl_sai_check_ver() 617 unsigned char offset = sai->reg_offset; in fsl_sai_set_bclk() 828 unsigned char offset = sai->reg_offset; in SaiSetHwParamsRegister() 949 offset = sai->reg_offset; in SaiSetSysclkTr() [all …]
|
/device/soc/asrmicro/asr582x/liteos_m/sdk/drivers/driver/src/ |
D | duet_pinmux.c | 21 uint32_t reg_offset = (pad_num % 8) * 4; // offset from pad_reg_addr in bits in duet_pinmux_config() local 562 *(volatile uint32_t *)(pad_reg_addr) &= ~(0xf << reg_offset); // mask in duet_pinmux_config() 563 *(volatile uint32_t *)(pad_reg_addr) |= (pad_func_value << reg_offset); // set pinmux value in duet_pinmux_config()
|
/device/soc/rockchip/rk3588/kernel/drivers/regulator/ |
D | rk806-regulator.c | 360 int reg_offset = 0; in rk806_get_reg_offset() local 363 reg_offset = RK806_DCDC_SLP_REG_OFFSET; in rk806_get_reg_offset() 366 reg_offset = RK806_NLDO_SLP_REG_OFFSET; in rk806_get_reg_offset() 368 reg_offset = RK806_PLDO_SLP_REG_OFFSET; in rk806_get_reg_offset() 370 return reg_offset; in rk806_get_reg_offset() 687 int reg_offset; in rk806_set_suspend_voltage_range() local 693 reg_offset = rk806_get_reg_offset(rid); in rk806_set_suspend_voltage_range() 694 reg = rdev->desc->vsel_reg + reg_offset; in rk806_set_suspend_voltage_range()
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_sink/encoder/h264/ |
D | encoder.c | 863 s32 reg_offset; in mfdin_basic() local 923 reg_offset = -8; in mfdin_basic() 933 WRITE_HREG((HCODEC_MFDIN_REG0D + reg_offset), in mfdin_basic() 941 WRITE_HREG((HCODEC_MFDIN_REG0E + reg_offset), in mfdin_basic() 949 WRITE_HREG((HCODEC_MFDIN_REG0F + reg_offset), in mfdin_basic() 955 WRITE_HREG((HCODEC_MFDIN_REG10 + reg_offset), in mfdin_basic() 960 WRITE_HREG((HCODEC_MFDIN_REG11 + reg_offset), in mfdin_basic() 966 WRITE_HREG((HCODEC_MFDIN_REG12 + reg_offset), in mfdin_basic() 975 WRITE_HREG((HCODEC_MFDIN_REG13 + reg_offset), in mfdin_basic() 983 WRITE_HREG((HCODEC_MFDIN_REG14 + reg_offset), in mfdin_basic() [all …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_sink/encoder/jpeg/ |
D | jpegenc.c | 2308 s32 reg_offset; in mfdin_basic_jpeg() local 2362 reg_offset = -8; in mfdin_basic_jpeg() 2363 WRITE_HREG((HCODEC_MFDIN_REG8_DMBL + reg_offset), in mfdin_basic_jpeg() 2366 reg_offset = 0; in mfdin_basic_jpeg() 2367 WRITE_HREG((HCODEC_MFDIN_REG8_DMBL + reg_offset), in mfdin_basic_jpeg() 2371 WRITE_HREG((HCODEC_MFDIN_REG1_CTRL + reg_offset), in mfdin_basic_jpeg() 2379 WRITE_HREG((HCODEC_MFDIN_REG3_CANV + reg_offset), in mfdin_basic_jpeg() 2385 WRITE_HREG((HCODEC_MFDIN_REG4_LNR0 + reg_offset), in mfdin_basic_jpeg() 2387 WRITE_HREG((HCODEC_MFDIN_REG5_LNR1 + reg_offset), 0); in mfdin_basic_jpeg() 2389 WRITE_HREG((HCODEC_MFDIN_REG3_CANV + reg_offset), in mfdin_basic_jpeg() [all …]
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/g2d/g2d_rcq/ |
D | g2d_rcq.h | 51 __u32 reg_offset; /* offset_addr based on g2d_reg_base */ member
|
/device/soc/rockchip/common/hardware/mpp/include/ |
D | mpp_device.h | 86 MPP_RET (*reg_offset)(void *ctx, MppDevRegOffsetCfg *cfg); member
|
/device/soc/rockchip/rk3399/hardware/mpp/include/ |
D | mpp_device.h | 86 MPP_RET (*reg_offset)(void *ctx, MppDevRegOffsetCfg *cfg); member
|
/device/soc/rockchip/rk3568/hardware/mpp/include/ |
D | mpp_device.h | 86 MPP_RET (*reg_offset)(void *ctx, MppDevRegOffsetCfg *cfg); member
|
/device/soc/rockchip/rk3588/hardware/mpp/include/ |
D | mpp_device.h | 117 MPP_RET (*reg_offset)(void *ctx, MppDevRegOffsetCfg *cfg); member
|
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/drivers/ana/best2003/ |
D | pmu_best2003.h | 105 unsigned short reg_offset :1; member
|
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/jm/ |
D | mali_kbase_jm_defs.h | 153 int reg_offset; member
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/jm/ |
D | mali_kbase_jm_defs.h | 152 int reg_offset; member
|
/device/board/isoftstone/yangfan/kernel/hdf/drivers/audio/dai/src/ |
D | rk3399_dai_ops.c | 248 u32 reg_offset; member 741 regmap_write(g_rkI2SDev->grf, g_rkI2SDev->pins->reg_offset, val); in DaiHwParams()
|