Searched refs:ctrl_regs (Results 1 – 9 of 9) sorted by relevance
/drivers/ptp/ |
D | ptp_qoriq.c | 33 lo = ptp_qoriq->read(®s->ctrl_regs->tmr_cnt_l); in tmr_cnt_read() 34 hi = ptp_qoriq->read(®s->ctrl_regs->tmr_cnt_h); in tmr_cnt_read() 47 ptp_qoriq->write(®s->ctrl_regs->tmr_cnt_l, lo); in tmr_cnt_write() 48 ptp_qoriq->write(®s->ctrl_regs->tmr_cnt_h, hi); in tmr_cnt_write() 108 if (!(ptp_qoriq->read(®s->ctrl_regs->tmr_stat) & valid)) in extts_clean_up() 123 } while (ptp_qoriq->read(®s->ctrl_regs->tmr_stat) & valid); in extts_clean_up() 142 val = ptp_qoriq->read(®s->ctrl_regs->tmr_tevent); in ptp_qoriq_isr() 143 mask = ptp_qoriq->read(®s->ctrl_regs->tmr_temask); in ptp_qoriq_isr() 166 ptp_qoriq->write(®s->ctrl_regs->tmr_tevent, ack); in ptp_qoriq_isr() 202 ptp_qoriq->write(®s->ctrl_regs->tmr_add, tmr_add); in ptp_qoriq_adjfine() [all …]
|
D | ptp_qoriq_debugfs.c | 14 ctrl = ptp_qoriq->read(®s->ctrl_regs->tmr_ctrl); in ptp_qoriq_fiper1_lpbk_get() 26 ctrl = ptp_qoriq->read(®s->ctrl_regs->tmr_ctrl); in ptp_qoriq_fiper1_lpbk_set() 32 ptp_qoriq->write(®s->ctrl_regs->tmr_ctrl, ctrl); in ptp_qoriq_fiper1_lpbk_set() 45 ctrl = ptp_qoriq->read(®s->ctrl_regs->tmr_ctrl); in ptp_qoriq_fiper2_lpbk_get() 57 ctrl = ptp_qoriq->read(®s->ctrl_regs->tmr_ctrl); in ptp_qoriq_fiper2_lpbk_set() 63 ptp_qoriq->write(®s->ctrl_regs->tmr_ctrl, ctrl); in ptp_qoriq_fiper2_lpbk_set()
|
/drivers/video/fbdev/mmp/hw/ |
D | mmp_ctrl.c | 123 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 …]
|
D | mmp_ctrl.h | 1432 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()
|
/drivers/iio/magnetometer/ |
D | ak8975.c | 242 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()
|
/drivers/input/rmi4/ |
D | rmi_f30.c | 72 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()
|
/drivers/net/wireless/ath/ath10k/ |
D | ce.c | 259 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 …]
|
/drivers/net/ethernet/ni/ |
D | nixge.c | 185 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()
|
/drivers/mfd/ |
D | qcom_rpm.c | 50 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()
|