Home
last modified time | relevance | path

Searched refs:ctrl_regs (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/drivers/ptp/ !
Dptp_qoriq.c33 lo = ptp_qoriq->read(&regs->ctrl_regs->tmr_cnt_l); in tmr_cnt_read()
34 hi = ptp_qoriq->read(&regs->ctrl_regs->tmr_cnt_h); in tmr_cnt_read()
47 ptp_qoriq->write(&regs->ctrl_regs->tmr_cnt_l, lo); in tmr_cnt_write()
48 ptp_qoriq->write(&regs->ctrl_regs->tmr_cnt_h, hi); in tmr_cnt_write()
108 if (!(ptp_qoriq->read(&regs->ctrl_regs->tmr_stat) & valid)) in extts_clean_up()
123 } while (ptp_qoriq->read(&regs->ctrl_regs->tmr_stat) & valid); in extts_clean_up()
142 val = ptp_qoriq->read(&regs->ctrl_regs->tmr_tevent); in ptp_qoriq_isr()
143 mask = ptp_qoriq->read(&regs->ctrl_regs->tmr_temask); in ptp_qoriq_isr()
166 ptp_qoriq->write(&regs->ctrl_regs->tmr_tevent, ack); in ptp_qoriq_isr()
202 ptp_qoriq->write(&regs->ctrl_regs->tmr_add, tmr_add); in ptp_qoriq_adjfine()
[all …]
Dptp_qoriq_debugfs.c14 ctrl = ptp_qoriq->read(&regs->ctrl_regs->tmr_ctrl); in ptp_qoriq_fiper1_lpbk_get()
26 ctrl = ptp_qoriq->read(&regs->ctrl_regs->tmr_ctrl); in ptp_qoriq_fiper1_lpbk_set()
32 ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl, ctrl); in ptp_qoriq_fiper1_lpbk_set()
45 ctrl = ptp_qoriq->read(&regs->ctrl_regs->tmr_ctrl); in ptp_qoriq_fiper2_lpbk_get()
57 ctrl = ptp_qoriq->read(&regs->ctrl_regs->tmr_ctrl); in ptp_qoriq_fiper2_lpbk_set()
63 ptp_qoriq->write(&regs->ctrl_regs->tmr_ctrl, ctrl); in ptp_qoriq_fiper2_lpbk_set()
/linux-6.1.9/drivers/video/fbdev/mmp/hw/ !
Dmmp_ctrl.c123 tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_set_fmt()
126 writel_relaxed(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_set_fmt()
174 tmp = readl_relaxed(ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_onoff()
177 writel(tmp, ctrl_regs(path) + dma_ctrl(0, path->id)); in dmafetch_onoff()
185 tmp = readl_relaxed(ctrl_regs(path) + LCD_SCLK(path)); in path_enabledisable()
190 writel_relaxed(tmp, ctrl_regs(path) + LCD_SCLK(path)); in path_enabledisable()
265 tmp = readl_relaxed(ctrl_regs(path) + intf_ctrl(path->id)) & 0x1; in path_set_mode()
270 writel_relaxed(tmp, ctrl_regs(path) + intf_ctrl(path->id)); in path_set_mode()
273 tmp = readl_relaxed(ctrl_regs(path) + intf_rbswap_ctrl(path->id)) & in path_set_mode()
276 writel_relaxed(tmp, ctrl_regs(path) + intf_rbswap_ctrl(path->id)); in path_set_mode()
[all …]
Dmmp_ctrl.h1432 static inline void __iomem *ctrl_regs(struct mmp_path *path) in ctrl_regs() function
1441 return (struct lcd_regs __force *)(ctrl_regs(path) + 0xc0); in path_regs()
1443 return (struct lcd_regs __force *)ctrl_regs(path); in path_regs()
1445 return (struct lcd_regs __force *)(ctrl_regs(path) + 0x200); in path_regs()
/linux-6.1.9/drivers/iio/magnetometer/ !
Dak8975.c244 u8 ctrl_regs[REGS_END]; member
255 .ctrl_regs = {
280 .ctrl_regs = {
305 .ctrl_regs = {
330 .ctrl_regs = {
355 .ctrl_regs = {
505 data->def->ctrl_regs[CNTL], regval); in ak8975_set_mode()
578 client, data->def->ctrl_regs[ASA_BASE], in ak8975_setup()
626 ret = i2c_smbus_read_byte_data(client, data->def->ctrl_regs[ST1]); in wait_conversion_complete_gpio()
644 data->def->ctrl_regs[ST1]); in wait_conversion_complete_polled()
[all …]
/linux-6.1.9/include/linux/fsl/ !
Dptp_qoriq.h16 struct ctrl_regs { struct
54 struct ctrl_regs __iomem *ctrl_regs; member
/linux-6.1.9/drivers/input/rmi4/ !
Drmi_f30.c72 u8 ctrl_regs[RMI_F30_CTRL_REGS_MAX_SIZE]; member
90 f30->ctrl_regs, f30->ctrl_regs_size); in rmi_f30_read_control_parameters()
186 f30->ctrl_regs, f30->ctrl_regs_size); in rmi_f30_config()
275 u8 *ctrl_reg = f30->ctrl_regs; in rmi_f30_initialize()
347 f30->ctrl_regs ?: RMI_F30_CTRL_REGS_MAX_SIZE; in rmi_f30_initialize()
/linux-6.1.9/drivers/net/wireless/ath/ath10k/ !
Dce.c259 struct ath10k_hw_ce_ctrl1 *ctrl_regs = ar->hw_ce_regs->ctrl1_regs; in ath10k_ce_src_ring_dmax_set() local
262 ctrl_regs->addr); in ath10k_ce_src_ring_dmax_set()
264 ath10k_ce_write32(ar, ce_ctrl_addr + ctrl_regs->addr, in ath10k_ce_src_ring_dmax_set()
265 (ctrl1_addr & ~(ctrl_regs->dmax->mask)) | in ath10k_ce_src_ring_dmax_set()
266 ath10k_set_ring_byte(n, ctrl_regs->dmax)); in ath10k_ce_src_ring_dmax_set()
273 struct ath10k_hw_ce_ctrl1 *ctrl_regs = ar->hw_ce_regs->ctrl1_regs; in ath10k_ce_src_ring_byte_swap_set() local
276 ctrl_regs->addr); in ath10k_ce_src_ring_byte_swap_set()
278 ath10k_ce_write32(ar, ce_ctrl_addr + ctrl_regs->addr, in ath10k_ce_src_ring_byte_swap_set()
279 (ctrl1_addr & ~(ctrl_regs->src_ring->mask)) | in ath10k_ce_src_ring_byte_swap_set()
280 ath10k_set_ring_byte(n, ctrl_regs->src_ring)); in ath10k_ce_src_ring_byte_swap_set()
[all …]
/linux-6.1.9/arch/mips/kernel/ !
Dptrace.c619 const struct msa_control_regs ctrl_regs = { in msa_get() local
641 return membuf_write(&to, &ctrl_regs, sizeof(ctrl_regs)); in msa_get()
650 struct msa_control_regs ctrl_regs; in msa_set() local
675 err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ctrl_regs, in msa_set()
676 wr_size, wr_size + sizeof(ctrl_regs)); in msa_set()
678 target->thread.fpu.fcr31 = ctrl_regs.fcsr & ~FPU_CSR_ALL_X; in msa_set()
679 target->thread.fpu.msacsr = ctrl_regs.msacsr & ~MSA_CSR_CAUSEF; in msa_set()
/linux-6.1.9/arch/x86/xen/ !
Dpmu.c266 uint64_t *counter_regs, *ctrl_regs; in xen_amd_pmu_emulate() local
280 ctrl_regs = field_offset(ctxt, ctrls); in xen_amd_pmu_emulate()
281 reg = &ctrl_regs[i]; in xen_amd_pmu_emulate()
/linux-6.1.9/drivers/net/ethernet/ni/ !
Dnixge.c185 void __iomem *ctrl_regs; member
229 writel(val, priv->ctrl_regs + offset); in nixge_ctrl_write_reg()
234 return readl(priv->ctrl_regs + offset); in nixge_ctrl_read_reg()
238 readl_poll_timeout((priv)->ctrl_regs + (addr), (val), (cond), \
1254 priv->ctrl_regs = priv->dma_regs + NIXGE_REG_CTRL_OFFSET; in nixge_of_get_resources()
1256 priv->ctrl_regs = devm_platform_ioremap_resource_byname(pdev, "ctrl"); in nixge_of_get_resources()
1257 if (IS_ERR(priv->ctrl_regs)) { in nixge_of_get_resources()
1259 return PTR_ERR(priv->ctrl_regs); in nixge_of_get_resources()
/linux-6.1.9/drivers/mfd/ !
Dqcom_rpm.c50 void __iomem *ctrl_regs; member
59 #define RPM_CTRL_REG(rpm, i) ((rpm)->ctrl_regs + (i) * 4)
583 rpm->ctrl_regs = rpm->status_regs + 0x400; in qcom_rpm_probe()