/linux/arch/powerpc/platforms/83xx/ |
H A D | mcu_mpc8349emitx.c | 37 u8 reg_ctrl; member 52 mcu->reg_ctrl = ret; in shutdown_thread_fn() 55 if (mcu->reg_ctrl & MCU_CTRL_BTN) { in shutdown_thread_fn() 57 mcu->reg_ctrl & ~MCU_CTRL_BTN); in shutdown_thread_fn() 78 mcu->reg_ctrl = ret; in show_status() 91 mcu->reg_ctrl | MCU_CTRL_POFF); in mcu_power_off() 103 mcu->reg_ctrl &= ~bit; in mcu_gpio_set() 105 mcu->reg_ctrl |= bit; in mcu_gpio_set() 108 mcu->reg_ctrl); in mcu_gpio_set() 158 mcu->reg_ctrl in mcu_probe() [all...] |
/linux/drivers/clk/spacemit/ |
H A D | ccu_mix.h | 72 .reg_ctrl = _reg_ctrl, \ 89 .reg_ctrl = _reg_ctrl, \ 99 .reg_ctrl = _reg_ctrl, \ 110 .reg_ctrl = _reg_ctrl, \ 126 .reg_ctrl = _reg_ctrl, \ 138 .reg_ctrl = _reg_ctrl, \ 151 .reg_ctrl = _reg_ctrl, \ 165 .reg_ctrl = _reg_ctrl, \ 186 .reg_ctrl = _reg_ctrl, \ 199 .reg_ctrl [all...] |
H A D | ccu_common.h | 19 u32 reg_ctrl; member
|
H A D | ccu_ddn.h | 30 .reg_ctrl = _reg_ctrl, \
|
/linux/drivers/net/can/flexcan/ |
H A D | flexcan-core.c | 608 u32 reg_ctrl = (priv->reg_ctrl_default | FLEXCAN_CTRL_ERR_MSK); in flexcan_error_irq_enable() local 610 priv->write(reg_ctrl, ®s->ctrl); in flexcan_error_irq_enable() 616 u32 reg_ctrl = (priv->reg_ctrl_default & ~FLEXCAN_CTRL_ERR_MSK); in flexcan_error_irq_disable() local 618 priv->write(reg_ctrl, ®s->ctrl); in flexcan_error_irq_disable() 984 u32 reg_ctrl, reg_id, reg_iflag1; in flexcan_mailbox_read() local 993 reg_ctrl = priv->read(&mb->can_ctrl); in flexcan_mailbox_read() 994 } while (reg_ctrl & FLEXCAN_MB_CODE_RX_BUSY_BIT); in flexcan_mailbox_read() 997 code = reg_ctrl & FLEXCAN_MB_CODE_MASK; in flexcan_mailbox_read() 1012 reg_ctrl = priv->read(&mb->can_ctrl); in flexcan_mailbox_read() 1020 if (reg_ctrl in flexcan_mailbox_read() 1119 u32 reg_ctrl = priv->read(&priv->tx_mb->can_ctrl); flexcan_irq() local 1463 u32 reg_mcr, reg_ctrl, reg_ctrl2, reg_mecr; flexcan_chip_start() local [all...] |
/linux/drivers/media/pci/cx23885/ |
H A D | cx23885-i2c.c | 84 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2)); in i2c_sendbytes() 107 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes() 129 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes() 163 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2) | 1); in i2c_readbytes() 189 cx_write(bus->reg_ctrl, ctrl); in i2c_readbytes()
|
H A D | cx23885.h | 242 u32 reg_ctrl; member
|
H A D | cx23885-core.c | 949 dev->i2c_bus[0].reg_ctrl = I2C1_CTRL; in cx23885_dev_setup() 959 dev->i2c_bus[1].reg_ctrl = I2C2_CTRL; in cx23885_dev_setup() 969 dev->i2c_bus[2].reg_ctrl = I2C3_CTRL; in cx23885_dev_setup()
|
/linux/drivers/gpu/drm/tiny/ |
H A D | arcpgu.c | 124 u32 reg_ctrl; in arc_pgu_set_pxl_fmt() local 134 reg_ctrl = arc_pgu_read(arcpgu, ARCPGU_REG_CTRL); in arc_pgu_set_pxl_fmt() 136 reg_ctrl &= ~ARCPGU_MODE_XRGB8888; in arc_pgu_set_pxl_fmt() 138 reg_ctrl |= ARCPGU_MODE_XRGB8888; in arc_pgu_set_pxl_fmt() 139 arc_pgu_write(arcpgu, ARCPGU_REG_CTRL, reg_ctrl); in arc_pgu_set_pxl_fmt()
|
/linux/drivers/media/pci/cx25821/ |
H A D | cx25821-i2c.c | 83 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2)); in i2c_sendbytes() 108 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes() 134 cx_write(bus->reg_ctrl, ctrl); in i2c_sendbytes() 174 cx_write(bus->reg_ctrl, bus->i2c_period | (1 << 2) | 1); in i2c_readbytes() 199 cx_write(bus->reg_ctrl, ctrl); in i2c_readbytes()
|
H A D | cx25821.h | 149 u32 reg_ctrl; member
|
H A D | cx25821-core.c | 884 dev->i2c_bus[0].reg_ctrl = I2C1_CTRL; in cx25821_dev_setup()
|
/linux/drivers/spi/ |
H A D | spi-ath79.c | 43 u32 reg_ctrl; member 90 sp->reg_ctrl = ath79_spi_rr(sp, AR71XX_SPI_REG_CTRL); in ath79_spi_enable() 103 ath79_spi_wr(sp, AR71XX_SPI_REG_CTRL, sp->reg_ctrl); in ath79_spi_disable()
|
/linux/drivers/gpu/drm/hisilicon/kirin/ |
H A D | kirin_drm_ade.c | 351 u32 reg_ctrl, reg_addr, reg_size, reg_stride, reg_space, reg_en; in ade_rdma_dump_regs() local 354 reg_ctrl = RD_CH_CTRL(ch); in ade_rdma_dump_regs() 363 val = readl(base + reg_ctrl); in ade_rdma_dump_regs() 364 DRM_DEBUG_DRIVER("[rdma%d]: reg_ctrl(0x%08x)\n", ch + 1, val); in ade_rdma_dump_regs() 553 u32 reg_ctrl, reg_addr, reg_size, reg_stride, reg_space, reg_en; in ade_rdma_set() local 564 reg_ctrl = RD_CH_CTRL(ch); in ade_rdma_set() 574 writel((fmt << 16) & 0x1f0000, base + reg_ctrl); in ade_rdma_set()
|
/linux/sound/soc/tegra/ |
H A D | tegra210_mbdrc.c | 215 static void tegra210_mbdrc_write_ram(struct regmap *regmap, unsigned int reg_ctrl, in tegra210_mbdrc_write_ram() argument 227 regmap_write(regmap, reg_ctrl, val); in tegra210_mbdrc_write_ram() 429 u32 reg_ctrl = params->soc.base; in tegra210_mbdrc_biquad_coeffs_put() local 430 u32 reg_data = reg_ctrl + cmpnt->val_bytes; in tegra210_mbdrc_biquad_coeffs_put() 433 tegra210_mbdrc_write_ram(ope->mbdrc_regmap, reg_ctrl, reg_data, in tegra210_mbdrc_biquad_coeffs_put()
|
/linux/tools/perf/util/cs-etm-decoder/ |
H A D | cs-etm-decoder.h | 27 u32 reg_ctrl; member
|
H A D | cs-etm-decoder.c | 142 config->reg_ctrl = params->etmv3.reg_ctrl; in cs_etm_decoder__gen_etmv3_config()
|
/linux/drivers/misc/lis3lv02d/ |
H A D | lis3lv02d.h | 267 int (*reg_ctrl) (struct lis3lv02d *lis3, bool state); member
|
/linux/drivers/net/wireless/ath/wcn36xx/ |
H A D | dxe.c | 124 wcn->dxe_tx_l_ch.reg_ctrl = WCN36XX_DXE_REG_CTL_TX_L; in wcn36xx_dxe_alloc_ctl_blks() 125 wcn->dxe_tx_h_ch.reg_ctrl = WCN36XX_DXE_REG_CTL_TX_H; in wcn36xx_dxe_alloc_ctl_blks() 844 ch->reg_ctrl, ch->def_ctrl); in wcn36xx_dxe_tx_frame()
|
H A D | dxe.h | 443 u32 reg_ctrl; member
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | vi.c | 1057 u32 reg_ctrl; in vi_set_vce_clocks() local 1063 reg_ctrl = ixGNB_CLK3_DFS_CNTL; in vi_set_vce_clocks() 1068 reg_ctrl = ixCG_ECLK_CNTL; in vi_set_vce_clocks() 1089 tmp = RREG32_SMC(reg_ctrl); in vi_set_vce_clocks() 1092 WREG32_SMC(reg_ctrl, tmp); in vi_set_vce_clocks()
|
/linux/drivers/gpu/drm/msm/dsi/ |
H A D | dsi_host.c | 901 u32 reg, reg_ctrl, reg_ctrl2; in dsi_update_dsc_timing() local 943 reg_ctrl = dsi_read(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL); in dsi_update_dsc_timing() 946 reg_ctrl &= ~0xffff; in dsi_update_dsc_timing() 947 reg_ctrl |= reg; in dsi_update_dsc_timing() 952 dsi_write(msm_host, REG_DSI_COMMAND_COMPRESSION_MODE_CTRL, reg_ctrl); in dsi_update_dsc_timing()
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | mac.c | 4211 u32 reg_info, reg_ctrl; in rtw89_mac_check_packet_ctrl() local 4216 reg_ctrl = rtw89_mac_reg_by_idx(rtwdev, p->ptcl_dbg, rtwvif_link->mac_idx); in rtw89_mac_check_packet_ctrl() 4218 rtw89_write32_mask(rtwdev, reg_ctrl, B_AX_PTCL_DBG_SEL_MASK, type); in rtw89_mac_check_packet_ctrl() 4219 rtw89_write32_set(rtwdev, reg_ctrl, B_AX_PTCL_DBG_EN); in rtw89_mac_check_packet_ctrl()
|
/linux/tools/perf/util/ |
H A D | cs-etm.c | 796 t_params->etmv3.reg_ctrl = metadata[CS_ETM_ETMCR]; in cs_etm__set_trace_param_etmv3()
|