Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/iio/magnetometer/
Dak8975.c242 u8 ctrl_regs[REGS_END]; member
253 .ctrl_regs = {
278 .ctrl_regs = {
303 .ctrl_regs = {
328 .ctrl_regs = {
473 data->def->ctrl_regs[CNTL], regval); in ak8975_set_mode()
546 client, data->def->ctrl_regs[ASA_BASE], in ak8975_setup()
594 ret = i2c_smbus_read_byte_data(client, data->def->ctrl_regs[ST1]); in wait_conversion_complete_gpio()
612 data->def->ctrl_regs[ST1]); in wait_conversion_complete_polled()
667 data->def->ctrl_regs[ST2]); in ak8975_start_read_axis()
/kernel/linux/linux-5.10/include/linux/fsl/
Dptp_qoriq.h16 struct ctrl_regs { struct
54 struct ctrl_regs __iomem *ctrl_regs; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/mips/kernel/
Dptrace.c620 const struct msa_control_regs ctrl_regs = { in msa_get() local
642 return membuf_write(&to, &ctrl_regs, sizeof(ctrl_regs)); in msa_get()
651 struct msa_control_regs ctrl_regs; in msa_set() local
676 err = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ctrl_regs, in msa_set()
677 wr_size, wr_size + sizeof(ctrl_regs)); in msa_set()
679 target->thread.fpu.fcr31 = ctrl_regs.fcsr & ~FPU_CSR_ALL_X; in msa_set()
680 target->thread.fpu.msacsr = ctrl_regs.msacsr & ~MSA_CSR_CAUSEF; in msa_set()
/kernel/linux/linux-5.10/arch/x86/xen/
Dpmu.c257 uint64_t *counter_regs, *ctrl_regs; in xen_amd_pmu_emulate() local
271 ctrl_regs = field_offset(ctxt, ctrls); in xen_amd_pmu_emulate()
272 reg = &ctrl_regs[i]; in xen_amd_pmu_emulate()
/kernel/linux/linux-5.10/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), \
1252 priv->ctrl_regs = priv->dma_regs + NIXGE_REG_CTRL_OFFSET; in nixge_of_get_resources()
1256 priv->ctrl_regs = devm_ioremap_resource(&pdev->dev, ctrlres); in nixge_of_get_resources()
1258 if (IS_ERR(priv->ctrl_regs)) { in nixge_of_get_resources()
1260 return PTR_ERR(priv->ctrl_regs); in nixge_of_get_resources()
/kernel/linux/linux-5.10/drivers/mfd/
Dqcom_rpm.c50 void __iomem *ctrl_regs; member
59 #define RPM_CTRL_REG(rpm, i) ((rpm)->ctrl_regs + (i) * 4)
584 rpm->ctrl_regs = rpm->status_regs + 0x400; in qcom_rpm_probe()