/linux-6.3-rc2/drivers/i2c/busses/ |
A D | i2c-brcmstb.c | 73 u32 ctl_reg; /* control register */ member 196 dev->bsc_regmap->ctl_reg |= BSC_CTL_REG_INT_EN_MASK; in brcmstb_i2c_enable_disable_irq() 199 dev->bsc_regmap->ctl_reg &= ~BSC_CTL_REG_INT_EN_MASK; in brcmstb_i2c_enable_disable_irq() 202 bsc_writel(dev, dev->bsc_regmap->ctl_reg, ctl_reg); in brcmstb_i2c_enable_disable_irq() 208 u32 status_bsc_ctl = bsc_readl(dev, ctl_reg); in brcmstb_i2c_isr() 329 u32 ctl_reg; in brcmstb_i2c_xfer_bsc_data() local 346 ctl_reg = pi2creg->ctl_reg & ~BSC_CTL_REG_DTF_MASK; in brcmstb_i2c_xfer_bsc_data() 348 pi2creg->ctl_reg = ctl_reg | DTF_WR_MASK; in brcmstb_i2c_xfer_bsc_data() 350 pi2creg->ctl_reg = ctl_reg | DTF_RD_MASK; in brcmstb_i2c_xfer_bsc_data() 543 dev->bsc_regmap->ctl_reg |= (bsc_clk[i].scl_mask | in brcmstb_i2c_set_bus_speed() [all …]
|
/linux-6.3-rc2/drivers/clk/bcm/ |
A D | clk-bcm2835.c | 491 u32 ctl_reg; member 514 u32 ctl_reg; member 1944 .ctl_reg = CM_OTPCTL, 1974 .ctl_reg = CM_TECCTL, 1991 .ctl_reg = CM_ISPCTL, 2004 .ctl_reg = CM_SDCCTL, 2012 .ctl_reg = CM_V3DCTL, 2026 .ctl_reg = CM_VPUCTL, 2062 .ctl_reg = CM_DFTCTL, 2069 .ctl_reg = CM_DPICTL, [all …]
|
/linux-6.3-rc2/drivers/pinctrl/qcom/ |
A D | pinctrl-lpass-lpi.c | 124 u32 ctl_reg; in lpi_config_get() local 126 ctl_reg = lpi_gpio_read(state, pin, LPI_GPIO_CFG_REG); in lpi_config_get() 127 is_out = ctl_reg & LPI_GPIO_OE_MASK; in lpi_config_get() 128 pull = FIELD_GET(LPI_GPIO_PULL_MASK, ctl_reg); in lpi_config_get() 306 u32 ctl_reg; in lpi_gpio_dbg_show_one() local 317 ctl_reg = lpi_gpio_read(state, offset, LPI_GPIO_CFG_REG); in lpi_gpio_dbg_show_one() 318 is_out = ctl_reg & LPI_GPIO_OE_MASK; in lpi_gpio_dbg_show_one() 320 func = FIELD_GET(LPI_GPIO_FUNCTION_MASK, ctl_reg); in lpi_gpio_dbg_show_one() 321 drive = FIELD_GET(LPI_GPIO_OUT_STRENGTH_MASK, ctl_reg); in lpi_gpio_dbg_show_one() 322 pull = FIELD_GET(LPI_GPIO_PULL_MASK, ctl_reg); in lpi_gpio_dbg_show_one()
|
A D | pinctrl-msm.h | 71 u32 ctl_reg; member
|
A D | pinctrl-msm.c | 647 u32 ctl_reg, io_reg; in msm_gpio_dbg_show_one() local 666 ctl_reg = msm_readl_ctl(pctrl, g); in msm_gpio_dbg_show_one() 669 is_out = !!(ctl_reg & BIT(g->oe_bit)); in msm_gpio_dbg_show_one() 670 func = (ctl_reg >> g->mux_bit) & 7; in msm_gpio_dbg_show_one() 671 drive = (ctl_reg >> g->drv_bit) & 7; in msm_gpio_dbg_show_one() 672 pull = (ctl_reg >> g->pull_bit) & 3; in msm_gpio_dbg_show_one() 674 if (pctrl->soc->egpio_func && ctl_reg & BIT(g->egpio_present)) in msm_gpio_dbg_show_one() 675 egpio_enable = !(ctl_reg & BIT(g->egpio_enable)); in msm_gpio_dbg_show_one()
|
A D | pinctrl-qdf2xxx.c | 105 groups[gpio].ctl_reg = 0x10000 * gpio; in qdf2xxx_pinctrl_probe()
|
A D | pinctrl-sdx65.c | 40 .ctl_reg = REG_BASE + REG_SIZE * id, \ 66 .ctl_reg = ctl, \ 91 .ctl_reg = offset, \
|
A D | pinctrl-ipq8064.c | 190 .ctl_reg = 0x1000 + 0x10 * id, \ 217 .ctl_reg = ctl, \
|
A D | pinctrl-sdm670.c | 44 .ctl_reg = base + REG_SIZE * id, \ 74 .ctl_reg = 0, \ 99 .ctl_reg = ctl, \ 124 .ctl_reg = offset, \
|
A D | pinctrl-sm6115.c | 50 .ctl_reg = 0x1000 * id, \ 77 .ctl_reg = ctl, \ 103 .ctl_reg = offset, \
|
A D | pinctrl-qcm2290.c | 40 .ctl_reg = REG_SIZE * id, \ 66 .ctl_reg = ctl, \ 91 .ctl_reg = offset, \
|
A D | pinctrl-sc7180.c | 48 .ctl_reg = 0x1000 * id, \ 75 .ctl_reg = ctl, \ 101 .ctl_reg = offset, \
|
A D | pinctrl-msm8x74.c | 351 .ctl_reg = 0x1000 + 0x10 * id, \ 377 .ctl_reg = ctl, \ 408 .ctl_reg = ctl, \
|
A D | pinctrl-apq8064.c | 238 .ctl_reg = 0x1000 + 0x10 * id, \ 265 .ctl_reg = ctl, \
|
A D | pinctrl-msm8226.c | 289 .ctl_reg = 0x1000 + 0x10 * id, \ 315 .ctl_reg = ctl, \
|
A D | pinctrl-sm6125.c | 47 .ctl_reg = 0x1000 * id, \ 74 .ctl_reg = ctl, \ 100 .ctl_reg = offset, \
|
A D | pinctrl-qdu1000.c | 41 .ctl_reg = REG_BASE + REG_SIZE * id, \ 67 .ctl_reg = REG_BASE + ctl, \ 92 .ctl_reg = offset, \
|
A D | pinctrl-sa8775p.c | 41 .ctl_reg = REG_BASE + REG_SIZE * id, \ 69 .ctl_reg = ctl, \ 94 .ctl_reg = offset, \
|
A D | pinctrl-sm6350.c | 40 .ctl_reg = REG_SIZE * id, \ 66 .ctl_reg = ctl, \ 91 .ctl_reg = offset, \
|
/linux-6.3-rc2/drivers/net/ethernet/aquantia/atlantic/macsec/ |
A D | macsec_api.c | 1999 memset(&ctl_reg, 0, sizeof(ctl_reg)); in clear_egress_counters() 2002 &ctl_reg.word_0); in clear_egress_counters() 2007 &ctl_reg.word_1); in clear_egress_counters() 2019 ctl_reg.word_1); in clear_egress_counters() 2030 ctl_reg.word_1); in clear_egress_counters() 2041 ctl_reg.word_1); in clear_egress_counters() 2315 memset(&ctl_reg, 0, sizeof(ctl_reg)); in clear_ingress_counters() 2323 &ctl_reg.word_1); in clear_ingress_counters() 2335 ctl_reg.word_1); in clear_ingress_counters() 2346 ctl_reg.word_1); in clear_ingress_counters() [all …]
|
/linux-6.3-rc2/drivers/scsi/csiostor/ |
A D | csio_mb.c | 1176 csio_rd_reg32(hw, ctl_reg); in csio_mb_debug_cmd_handler() 1284 ctl_reg); in csio_mb_issue() 1287 csio_rd_reg32(hw, ctl_reg); in csio_mb_issue() 1302 ctl = csio_rd_reg32(hw, ctl_reg); in csio_mb_issue() 1306 csio_wr_reg32(hw, 0, ctl_reg); in csio_mb_issue() 1325 csio_wr_reg32(hw, 0, ctl_reg); in csio_mb_issue() 1502 ctl = csio_rd_reg32(hw, ctl_reg); in csio_mb_isr_handler() 1512 csio_wr_reg32(hw, 0, ctl_reg); in csio_mb_isr_handler() 1514 csio_rd_reg32(hw, ctl_reg); in csio_mb_isr_handler() 1540 csio_wr_reg32(hw, 0, ctl_reg); in csio_mb_isr_handler() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_dmc.c | 282 i915_reg_t ctl_reg, i915_reg_t htp_reg) in disable_event_handler() argument 284 intel_de_write(i915, ctl_reg, in disable_event_handler() 294 i915_reg_t ctl_reg, i915_reg_t htp_reg) in disable_flip_queue_event() argument 299 event_ctl = intel_de_read(i915, ctl_reg); in disable_flip_queue_event() 314 disable_event_handler(i915, ctl_reg, htp_reg); in disable_flip_queue_event() 319 i915_reg_t *ctl_reg, i915_reg_t *htp_reg) in get_flip_queue_event_regs() argument 324 *ctl_reg = DMC_EVT_CTL(i915, dmc_id, 3); in get_flip_queue_event_regs() 332 *ctl_reg = DMC_EVT_CTL(i915, dmc_id, 2); in get_flip_queue_event_regs() 353 i915_reg_t ctl_reg; in disable_all_flip_queue_events() local 359 if (!get_flip_queue_event_regs(i915, dmc_id, &ctl_reg, &htp_reg)) in disable_all_flip_queue_events() [all …]
|
/linux-6.3-rc2/sound/pci/echoaudio/ |
A D | echoaudio_3g.c | 76 __le32 ctl_reg, frq_reg; in write_control_reg() local 84 ctl_reg = cpu_to_le32(ctl); in write_control_reg() 87 if (ctl_reg != chip->comm_page->control_register || in write_control_reg() 90 chip->comm_page->control_register = ctl_reg; in write_control_reg()
|
/linux-6.3-rc2/drivers/misc/ |
A D | phantom.c | 57 u32 ctl_reg; member 116 r.value |= dev->ctl_reg & PHN_CTL_AMP; in phantom_ioctl() 117 dev->ctl_reg = r.value; in phantom_ioctl() 306 dev->ctl_reg ^= PHN_CTL_AMP; in phantom_isr() 307 iowrite32(dev->ctl_reg, dev->iaddr + PHN_CONTROL); in phantom_isr()
|
/linux-6.3-rc2/drivers/net/ethernet/ |
A D | dnet.c | 175 u32 mode_reg, ctl_reg; in dnet_handle_link_change() local 182 ctl_reg = dnet_readw_mac(bp, DNET_INTERNAL_RXTX_CONTROL_REG); in dnet_handle_link_change() 187 ctl_reg &= in dnet_handle_link_change() 190 ctl_reg |= in dnet_handle_link_change() 235 dnet_writew_mac(bp, DNET_INTERNAL_RXTX_CONTROL_REG, ctl_reg); in dnet_handle_link_change()
|