/linux-6.3-rc2/drivers/crypto/bcm/ |
A D | spu2.c | 343 if (ctrl0 & SPU2_HASH_FIRST) in spu2_dump_fmd_ctrl0() 348 if (ctrl0 & SPU2_CHK_TAG) in spu2_dump_fmd_ctrl0() 559 u64 ctrl0; in spu2_fmd_init() local 589 fmd->ctrl0 = cpu_to_le64(ctrl0); in spu2_fmd_init() 617 u64 ctrl0 = 0; in spu2_fmd_ctrl0_write() local 629 ctrl0 |= SPU2_HASH_FIRST; in spu2_fmd_ctrl0_write() 632 ctrl0 |= SPU2_CHK_TAG; in spu2_fmd_ctrl0_write() 637 fmd->ctrl0 = cpu_to_le64(ctrl0); in spu2_fmd_ctrl0_write() 1190 u64 ctrl0; in spu2_cipher_req_finish() local 1208 ctrl0 = le64_to_cpu(fmd->ctrl0); in spu2_cipher_req_finish() [all …]
|
A D | spu2.h | 76 __le64 ctrl0; member
|
/linux-6.3-rc2/drivers/input/rmi4/ |
A D | rmi_f01.c | 117 u8 ctrl0; member 413 &f01->device_control.ctrl0); in rmi_f01_probe() 426 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_probe() 445 f01->device_control.ctrl0); in rmi_f01_probe() 591 f01->device_control.ctrl0); in rmi_f01_config() 638 f01->device_control.ctrl0 & RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_suspend() 643 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_RESERVED1; in rmi_f01_suspend() 648 f01->device_control.ctrl0); in rmi_f01_suspend() 654 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_NORMAL; in rmi_f01_suspend() 670 f01->device_control.ctrl0 |= RMI_SLEEP_MODE_NORMAL; in rmi_f01_resume() [all …]
|
/linux-6.3-rc2/drivers/phy/samsung/ |
A D | phy-exynos5250-usb2.c | 198 u32 ctrl0; in exynos5250_power_on() local 242 ctrl0 = readl(drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on() 244 ctrl0 &= ~EXYNOS_5250_HOSTPHYCTRL0_FSEL_MASK; in exynos5250_power_on() 245 ctrl0 |= drv->ref_reg_val << in exynos5250_power_on() 249 ctrl0 &= ~(EXYNOS_5250_HOSTPHYCTRL0_PHYSWRST | in exynos5250_power_on() 254 ctrl0 |= EXYNOS_5250_HOSTPHYCTRL0_LINKSWRST | in exynos5250_power_on() 257 writel(ctrl0, drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on() 259 ctrl0 &= ~(EXYNOS_5250_HOSTPHYCTRL0_LINKSWRST | in exynos5250_power_on() 261 writel(ctrl0, drv->reg_phy + EXYNOS_5250_HOSTPHYCTRL0); in exynos5250_power_on() 324 u32 ctrl0; in exynos5250_power_off() local [all …]
|
/linux-6.3-rc2/drivers/media/platform/renesas/vsp1/ |
A D | vsp1_sru.c | 40 u32 ctrl0; member 55 .ctrl0 = VI6_SRU_CTRL0_PARAMS(256, 4) | VI6_SRU_CTRL0_EN, 58 .ctrl0 = VI6_SRU_CTRL0_PARAMS(256, 4) | VI6_SRU_CTRL0_EN, 61 .ctrl0 = VI6_SRU_CTRL0_PARAMS(384, 5) | VI6_SRU_CTRL0_EN, 64 .ctrl0 = VI6_SRU_CTRL0_PARAMS(384, 5) | VI6_SRU_CTRL0_EN, 281 u32 ctrl0; in sru_configure_stream() local 289 ctrl0 = VI6_SRU_CTRL0_PARAM2 | VI6_SRU_CTRL0_PARAM3 in sru_configure_stream() 292 ctrl0 = VI6_SRU_CTRL0_PARAM3; in sru_configure_stream() 295 ctrl0 |= VI6_SRU_CTRL0_MODE_UPSCALE; in sru_configure_stream() 299 ctrl0 |= param->ctrl0; in sru_configure_stream() [all …]
|
/linux-6.3-rc2/sound/soc/codecs/ |
A D | adau1977.c | 299 unsigned int ctrl0, ctrl0_mask; in adau1977_hw_params() local 317 ctrl0 = fs; in adau1977_hw_params() 367 ctrl0_mask, ctrl0); in adau1977_hw_params() 499 unsigned int ctrl0, ctrl1, drv; in adau1977_set_tdm_slot() local 549 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_2; in adau1977_set_tdm_slot() 585 ADAU1977_SAI_CTRL0_SAI_MASK, ctrl0); in adau1977_set_tdm_slot() 657 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_I2S; in adau1977_set_dai_fmt() 660 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_LJ; in adau1977_set_dai_fmt() 670 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_I2S; in adau1977_set_dai_fmt() 675 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_LJ; in adau1977_set_dai_fmt() [all …]
|
A D | adau17x1.c | 566 unsigned int ctrl0, ctrl1; in adau17x1_set_dai_fmt() local 572 ctrl0 = ADAU17X1_SERIAL_PORT0_MASTER; in adau17x1_set_dai_fmt() 576 ctrl0 = 0; in adau17x1_set_dai_fmt() 595 ctrl0 |= ADAU17X1_SERIAL_PORT0_PULSE_MODE; in adau17x1_set_dai_fmt() 600 ctrl0 |= ADAU17X1_SERIAL_PORT0_PULSE_MODE; in adau17x1_set_dai_fmt() 611 ctrl0 |= ADAU17X1_SERIAL_PORT0_BCLK_POL; in adau17x1_set_dai_fmt() 617 ctrl0 |= ADAU17X1_SERIAL_PORT0_BCLK_POL; in adau17x1_set_dai_fmt() 625 ctrl0 |= ADAU17X1_SERIAL_PORT0_LRCLK_POL; in adau17x1_set_dai_fmt() 634 ctrl0); in adau17x1_set_dai_fmt()
|
/linux-6.3-rc2/drivers/media/platform/nxp/ |
A D | imx-pxp.c | 764 u32 ctrl0; in pxp_imx6ull_data_path_ctrl0() local 766 ctrl0 = 0; in pxp_imx6ull_data_path_ctrl0() 776 ctrl0 |= BF_PXP_DATA_PATH_CTRL0_MUX9_SEL(3); in pxp_imx6ull_data_path_ctrl0() 778 ctrl0 |= BF_PXP_DATA_PATH_CTRL0_MUX8_SEL(0); in pxp_imx6ull_data_path_ctrl0() 779 ctrl0 |= BF_PXP_DATA_PATH_CTRL0_MUX7_SEL(3); in pxp_imx6ull_data_path_ctrl0() 789 return ctrl0; in pxp_imx6ull_data_path_ctrl0() 794 u32 ctrl0; in pxp_imx7d_data_path_ctrl0() local 796 ctrl0 = 0; in pxp_imx7d_data_path_ctrl0() 820 return ctrl0; in pxp_imx7d_data_path_ctrl0() 826 u32 ctrl0; in pxp_set_data_path() local [all …]
|
/linux-6.3-rc2/drivers/pinctrl/intel/ |
A D | pinctrl-cherryview.c | 650 u32 ctrl0, ctrl1; in chv_pin_dbg_show() local 661 if (ctrl0 & CHV_PADCTRL0_GPIOEN) { in chv_pin_dbg_show() 870 u32 ctrl0; in chv_gpio_set_direction() local 902 u32 ctrl0, ctrl1; in chv_config_get() local 980 u32 ctrl0, pull; in chv_config_set_pull() local 1027 ctrl0 |= pull; in chv_config_set_pull() 1167 u32 ctrl0, cfg; in chv_gpio_get() local 1185 u32 ctrl0; in chv_gpio_set() local 1192 ctrl0 |= CHV_PADCTRL0_GPIOTXSTATE; in chv_gpio_set() 1194 ctrl0 &= ~CHV_PADCTRL0_GPIOTXSTATE; in chv_gpio_set() [all …]
|
/linux-6.3-rc2/drivers/mmc/host/ |
A D | mxs-mmc.c | 88 u32 ctrl0, ctrl1; in mxs_mmc_reset() local 95 ctrl0 = BM_SSP_CTRL0_IGNORE_CRC; in mxs_mmc_reset() 112 ctrl0 |= BM_SSP_CTRL0_SDIO_IRQ_CHECK; in mxs_mmc_reset() 116 writel(ctrl0, ssp->base + HW_SSP_CTRL0); in mxs_mmc_reset() 254 u32 ctrl0, cmd0, cmd1; in mxs_mmc_bc() local 261 ctrl0 |= BM_SSP_CTRL0_SDIO_IRQ_CHECK; in mxs_mmc_bc() 265 ssp->ssp_pio_words[0] = ctrl0; in mxs_mmc_bc() 289 u32 ctrl0, cmd0, cmd1; in mxs_mmc_ac() local 310 ssp->ssp_pio_words[0] = ctrl0; in mxs_mmc_ac() 361 u32 ctrl0, cmd0, cmd1, val; in mxs_mmc_adtc() local [all …]
|
/linux-6.3-rc2/drivers/net/can/cc770/ |
A D | cc770.c | 144 cc770_write_reg(priv, msgobj[mo].ctrl0, in enable_all_objs() 163 cc770_write_reg(priv, msgobj[mo].ctrl0, in enable_all_objs() 184 cc770_write_reg(priv, msgobj[mo].ctrl0, in disable_all_objs() 192 cc770_write_reg(priv, msgobj[mo].ctrl0, in disable_all_objs() 264 cc770_write_reg(priv, msgobj[mo].ctrl0, in chipset_init() 267 cc770_write_reg(priv, msgobj[mo].ctrl0, in chipset_init() 398 cc770_write_reg(priv, msgobj[mo].ctrl0, in cc770_tx() 423 cc770_write_reg(priv, msgobj[mo].ctrl0, in cc770_tx() 644 u8 ctrl0, ctrl1; in cc770_rtr_interrupt() local 648 ctrl0 = cc770_read_reg(priv, msgobj[mo].ctrl0); in cc770_rtr_interrupt() [all …]
|
A D | cc770.h | 14 u8 ctrl0; member
|
/linux-6.3-rc2/drivers/spi/ |
A D | spi-mxs.c | 174 u32 ctrl0; in mxs_spi_txrx_dma() local 191 ctrl0 = readl(ssp->base + HW_SSP_CTRL0); in mxs_spi_txrx_dma() 192 ctrl0 &= ~(BM_SSP_CTRL0_XFER_COUNT | BM_SSP_CTRL0_IGNORE_CRC | in mxs_spi_txrx_dma() 194 ctrl0 |= BM_SSP_CTRL0_DATA_XFER; in mxs_spi_txrx_dma() 197 ctrl0 |= BM_SSP_CTRL0_READ; in mxs_spi_txrx_dma() 209 ctrl0 |= BM_SSP_CTRL0_IGNORE_CRC; in mxs_spi_txrx_dma() 212 ctrl0 &= ~BM_SSP_CTRL0_XFER_COUNT; in mxs_spi_txrx_dma() 213 ctrl0 |= min; in mxs_spi_txrx_dma() 216 dma_xfer[sg_count].pio[0] = ctrl0; in mxs_spi_txrx_dma()
|
/linux-6.3-rc2/drivers/thermal/ |
A D | armada_thermal.c | 324 u32 ctrl0; in armada_select_channel() local 333 regmap_read(priv->syscon, data->syscon_control0_off, &ctrl0); in armada_select_channel() 334 ctrl0 &= ~CONTROL0_TSEN_START; in armada_select_channel() 335 regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); in armada_select_channel() 338 ctrl0 &= ~(CONTROL0_TSEN_MODE_MASK << CONTROL0_TSEN_MODE_SHIFT); in armada_select_channel() 343 ctrl0 |= CONTROL0_TSEN_MODE_EXTERNAL << in armada_select_channel() 346 ctrl0 &= ~(CONTROL0_TSEN_CHAN_MASK << CONTROL0_TSEN_CHAN_SHIFT); in armada_select_channel() 347 ctrl0 |= (channel - 1) << CONTROL0_TSEN_CHAN_SHIFT; in armada_select_channel() 351 regmap_write(priv->syscon, data->syscon_control0_off, ctrl0); in armada_select_channel() 355 ctrl0 |= CONTROL0_TSEN_START; in armada_select_channel() [all …]
|
/linux-6.3-rc2/drivers/power/supply/ |
A D | tps65090-charger.c | 64 uint8_t ctrl0 = 0; in tps65090_enable_charging() local 70 &ctrl0); in tps65090_enable_charging() 78 (ctrl0 | TPS65090_CHARGER_ENABLE)); in tps65090_enable_charging()
|
/linux-6.3-rc2/drivers/iio/proximity/ |
A D | sx9310.c | 776 unsigned int ctrl0; in sx9310_init_compensation() local 778 ret = regmap_read(data->regmap, SX9310_REG_PROX_CTRL0, &ctrl0); in sx9310_init_compensation() 784 ctrl0 | SX9310_REG_PROX_CTRL0_SENSOREN_MASK); in sx9310_init_compensation() 794 regmap_write(data->regmap, SX9310_REG_PROX_CTRL0, ctrl0); in sx9310_init_compensation() 971 u8 ctrl0; in sx9310_suspend() local 982 ctrl0 = data->suspend_ctrl & ~SX9310_REG_PROX_CTRL0_SENSOREN_MASK; in sx9310_suspend() 983 ret = regmap_write(data->regmap, SX9310_REG_PROX_CTRL0, ctrl0); in sx9310_suspend()
|
/linux-6.3-rc2/drivers/net/ethernet/huawei/hinic/ |
A D | hinic_hw_eqs.c | 425 u32 val, ctrl0; in get_ctrl0_val() local 438 ctrl0 = HINIC_AEQ_CTRL_0_SET(msix_entry->entry, INT_IDX) | in get_ctrl0_val() 444 val |= ctrl0; in get_ctrl0_val() 457 ctrl0 = HINIC_CEQ_CTRL_0_SET(msix_entry->entry, INTR_IDX) | in get_ctrl0_val() 464 val |= ctrl0; in get_ctrl0_val() 552 ceq_ctrl.ctrl0 = get_ctrl0_val(eq, addr); in set_ceq_ctrl_reg()
|
A D | hinic_hw_dev.h | 330 u32 ctrl0; member
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
A D | chcr_ipsec.c | 474 u32 ctrl0, qidx; in copy_cpltx_pktxt() local 490 ctrl0 = TXPKT_OPCODE_V(CPL_TX_PKT_XT) | TXPKT_INTF_V(pi->tx_chan) | in copy_cpltx_pktxt() 497 cpl->ctrl0 = htonl(ctrl0); in copy_cpltx_pktxt()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ixgb/ |
A D | ixgb_main.c | 224 u32 ctrl0 = IXGB_READ_REG(hw, CTRL0); in ixgb_up() local 226 if (!(ctrl0 & IXGB_CTRL0_JFE)) { in ixgb_up() 227 ctrl0 |= IXGB_CTRL0_JFE; in ixgb_up() 228 IXGB_WRITE_REG(hw, CTRL0, ctrl0); in ixgb_up() 288 u32 ctrl0 = IXGB_READ_REG(hw, CTRL0); in ixgb_reset() local 289 if (!(ctrl0 & IXGB_CTRL0_JFE)) { in ixgb_reset() 290 ctrl0 |= IXGB_CTRL0_JFE; in ixgb_reset() 291 IXGB_WRITE_REG(hw, CTRL0, ctrl0); in ixgb_reset()
|
/linux-6.3-rc2/drivers/net/wireless/ath/ath9k/ |
A D | ar9003_paprd.c | 141 static const u32 ctrl0[3] = { in ar9003_paprd_setup_single_table() local 184 REG_RMW_FIELD(ah, ctrl0[i], in ar9003_paprd_setup_single_table() 198 REG_RMW_FIELD(ah, ctrl0[i], in ar9003_paprd_setup_single_table()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/cxgb4/ |
A D | sge.c | 1506 u32 wr_mid, ctrl0, op, sgl_off = 0; in cxgb4_eth_xmit() local 1708 ctrl0 = TXPKT_OPCODE_V(CPL_TX_PKT_XT) | TXPKT_INTF_V(pi->tx_chan) | in cxgb4_eth_xmit() 1711 ctrl0 |= TXPKT_TSTAMP_F; in cxgb4_eth_xmit() 1714 ctrl0 |= TXPKT_OVLAN_IDX_V(q->dcb_prio); in cxgb4_eth_xmit() 1716 ctrl0 |= TXPKT_T5_OVLAN_IDX_V(q->dcb_prio); in cxgb4_eth_xmit() 1718 cpl->ctrl0 = htonl(ctrl0); in cxgb4_eth_xmit() 2011 cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE_V(CPL_TX_PKT_XT) | in cxgb4_vf_eth_xmit() 2335 cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE_V(CPL_TX_PKT_XT) | in ethofld_hard_xmit() 2673 u32 ctrl0, ndesc, flits; in cxgb4_selftest_lb_pkt() local 2708 ctrl0 = TXPKT_OPCODE_V(CPL_TX_PKT_XT) | TXPKT_PF_V(adap->pf) | in cxgb4_selftest_lb_pkt() [all …]
|
/linux-6.3-rc2/drivers/video/fbdev/mmp/hw/ |
A D | mmp_ctrl.h | 1025 u32 ctrl0; member 1057 u32 ctrl0; member
|
/linux-6.3-rc2/drivers/gpu/drm/msm/adreno/ |
A D | a6xx_gpu_state.c | 211 static int vbif_debugbus_read(struct msm_gpu *gpu, u32 ctrl0, u32 ctrl1, in vbif_debugbus_read() argument 216 gpu_write(gpu, ctrl0, reg); in vbif_debugbus_read()
|
/linux-6.3-rc2/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
A D | chcr_ktls.c | 1046 cpl->ctrl0 = htonl(TXPKT_OPCODE_V(CPL_TX_PKT) | TXPKT_INTF_V(tx_chan) | in chcr_ktls_write_tcp_options() 1630 cpl->ctrl0 = htonl(TXPKT_OPCODE_V(CPL_TX_PKT) | in chcr_ktls_tunnel_pkt()
|