Home
last modified time | relevance | path

Searched refs:reg_offset (Results 1 – 25 of 45) sorted by relevance

12

/device/board/isoftstone/zhiyuan/kernel/driver/drivers/pwm/
Dpwm-sunxi.c238 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/
Drk808.c389 .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/
Dmali_kbase_debug_job_fault.c265 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()
Dmali_kbase_defs.h230 int reg_offset; member
1152 u16 reg_offset; /* Offset of a GPU_CONTROL register to be member
Dmali_kbase_device.c331 …_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/
Dmali_kbase_debug_job_fault.c236 …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()
Dmali_kbase_defs.h223 int reg_offset; member
1140 u16 reg_offset; /* Offset of a GPU_CONTROL register to be member
Dmali_kbase_device.c340 …_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/
Dmali_kbase_debug_job_fault.c301 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/
Dmali_kbase_debug_job_fault.c276 …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/
Dphy-rockchip-usb.c138 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", &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/
Dsai_driver.c163 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/
Dduet_pinmux.c21 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/
Drk806-regulator.c360 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/
Dencoder.c863 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/
Djpegenc.c2308 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/
Dg2d_rcq.h51 __u32 reg_offset; /* offset_addr based on g2d_reg_base */ member
/device/soc/rockchip/common/hardware/mpp/include/
Dmpp_device.h86 MPP_RET (*reg_offset)(void *ctx, MppDevRegOffsetCfg *cfg); member
/device/soc/rockchip/rk3399/hardware/mpp/include/
Dmpp_device.h86 MPP_RET (*reg_offset)(void *ctx, MppDevRegOffsetCfg *cfg); member
/device/soc/rockchip/rk3568/hardware/mpp/include/
Dmpp_device.h86 MPP_RET (*reg_offset)(void *ctx, MppDevRegOffsetCfg *cfg); member
/device/soc/rockchip/rk3588/hardware/mpp/include/
Dmpp_device.h117 MPP_RET (*reg_offset)(void *ctx, MppDevRegOffsetCfg *cfg); member
/device/soc/bestechnic/bes2600/liteos_m/sdk/bsp/platform/drivers/ana/best2003/
Dpmu_best2003.h105 unsigned short reg_offset :1; member
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/jm/
Dmali_kbase_jm_defs.h153 int reg_offset; member
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/jm/
Dmali_kbase_jm_defs.h152 int reg_offset; member
/device/board/isoftstone/yangfan/kernel/hdf/drivers/audio/dai/src/
Drk3399_dai_ops.c248 u32 reg_offset; member
741 regmap_write(g_rkI2SDev->grf, g_rkI2SDev->pins->reg_offset, val); in DaiHwParams()

12