/linux/drivers/crypto/bcm/ |
H A D | spu2.c | 308 static void spu2_dump_fmd_ctrl0(u64 ctrl0) in spu2_dump_fmd_ctrl0() argument 321 packet_log(" FMD CTRL0 %#16llx\n", ctrl0); in spu2_dump_fmd_ctrl0() 322 if (ctrl0 & SPU2_CIPH_ENCRYPT_EN) in spu2_dump_fmd_ctrl0() 327 ciph_type = (ctrl0 & SPU2_CIPH_TYPE) >> SPU2_CIPH_TYPE_SHIFT; in spu2_dump_fmd_ctrl0() 332 ciph_mode = (ctrl0 & SPU2_CIPH_MODE) >> SPU2_CIPH_MODE_SHIFT; in spu2_dump_fmd_ctrl0() 337 cfb = (ctrl0 & SPU2_CFB_MASK) >> SPU2_CFB_MASK_SHIFT; in spu2_dump_fmd_ctrl0() 340 proto = (ctrl0 & SPU2_PROTO_SEL) >> SPU2_PROTO_SEL_SHIFT; in spu2_dump_fmd_ctrl0() 343 if (ctrl0 & SPU2_HASH_FIRST) in spu2_dump_fmd_ctrl0() 348 if (ctrl0 & SPU2_CHK_TAG) in spu2_dump_fmd_ctrl0() 351 hash_type = (ctrl0 & SPU2_HASH_TYPE) >> SPU2_HASH_TYPE_SHIFT; in spu2_dump_fmd_ctrl0() [all …]
|
H A D | spu2.h | 76 __le64 ctrl0; member
|
/linux/drivers/media/platform/renesas/vsp1/ |
H 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, 67 .ctrl0 = VI6_SRU_CTRL0_PARAMS(511, 6) | VI6_SRU_CTRL0_EN, 70 .ctrl0 = VI6_SRU_CTRL0_PARAMS(511, 6) | VI6_SRU_CTRL0_EN, 277 u32 ctrl0; in sru_configure_stream() local 283 ctrl0 = VI6_SRU_CTRL0_PARAM2 | VI6_SRU_CTRL0_PARAM3 in sru_configure_stream() 286 ctrl0 = VI6_SRU_CTRL0_PARAM3; in sru_configure_stream() [all …]
|
/linux/drivers/input/rmi4/ |
H A D | rmi_f01.c | 117 u8 ctrl0; member 412 &f01->device_control.ctrl0); in rmi_f01_probe() 422 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_probe() 425 f01->device_control.ctrl0 |= RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_probe() 434 if ((f01->device_control.ctrl0 & RMI_F01_CTRL0_SLEEP_MODE_MASK) != in rmi_f01_probe() 438 f01->device_control.ctrl0 &= ~RMI_F01_CTRL0_SLEEP_MODE_MASK; in rmi_f01_probe() 441 f01->device_control.ctrl0 |= RMI_F01_CTRL0_CONFIGURED_BIT; in rmi_f01_probe() 444 f01->device_control.ctrl0); in rmi_f01_probe() 590 f01->device_control.ctrl0); in rmi_f01_config() 637 f01->device_control.ctrl0 & RMI_F01_CTRL0_NOSLEEP_BIT; in rmi_f01_suspend() [all …]
|
/linux/drivers/phy/samsung/ |
H 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/sound/soc/codecs/ |
H A D | adau1977.c | 299 unsigned int ctrl0, ctrl0_mask; in adau1977_hw_params() local 317 ctrl0 = fs; in adau1977_hw_params() 322 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_RJ_16BIT; in adau1977_hw_params() 325 ctrl0 |= ADAU1977_SAI_CTRL0_FMT_RJ_24BIT; 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() 552 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_4; in adau1977_set_tdm_slot() 555 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_8; in adau1977_set_tdm_slot() 558 ctrl0 = ADAU1977_SAI_CTRL0_SAI_TDM_16; in adau1977_set_tdm_slot() [all …]
|
H 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/drivers/media/platform/nxp/ |
H A D | imx-pxp.c | 763 u32 ctrl0; in pxp_imx6ull_data_path_ctrl0() local 765 ctrl0 = 0; in pxp_imx6ull_data_path_ctrl0() 766 ctrl0 |= BF_PXP_DATA_PATH_CTRL0_MUX15_SEL(3); in pxp_imx6ull_data_path_ctrl0() 768 ctrl0 |= BF_PXP_DATA_PATH_CTRL0_MUX14_SEL(1); in pxp_imx6ull_data_path_ctrl0() 769 ctrl0 |= BF_PXP_DATA_PATH_CTRL0_MUX13_SEL(3); in pxp_imx6ull_data_path_ctrl0() 771 ctrl0 |= BF_PXP_DATA_PATH_CTRL0_MUX12_SEL(0); in pxp_imx6ull_data_path_ctrl0() 773 ctrl0 |= BF_PXP_DATA_PATH_CTRL0_MUX11_SEL(1); in pxp_imx6ull_data_path_ctrl0() 774 ctrl0 |= BF_PXP_DATA_PATH_CTRL0_MUX10_SEL(3); in pxp_imx6ull_data_path_ctrl0() 775 ctrl0 |= BF_PXP_DATA_PATH_CTRL0_MUX9_SEL(3); in pxp_imx6ull_data_path_ctrl0() 777 ctrl0 |= BF_PXP_DATA_PATH_CTRL0_MUX8_SEL(0); in pxp_imx6ull_data_path_ctrl0() [all …]
|
/linux/drivers/pinctrl/intel/ |
H A D | pinctrl-cherryview.c | 630 u32 ctrl0, ctrl1; in chv_pin_dbg_show() local 633 ctrl0 = chv_readl(pctrl, offset, CHV_PADCTRL0); in chv_pin_dbg_show() 637 if (ctrl0 & CHV_PADCTRL0_GPIOEN) { in chv_pin_dbg_show() 642 mode = ctrl0 & CHV_PADCTRL0_PMODE_MASK; in chv_pin_dbg_show() 648 seq_printf(s, "0x%08x 0x%08x", ctrl0, ctrl1); in chv_pin_dbg_show() 809 u32 ctrl0; in chv_gpio_set_direction() local 813 ctrl0 = chv_readl(pctrl, offset, CHV_PADCTRL0) & ~CHV_PADCTRL0_GPIOCFG_MASK; in chv_gpio_set_direction() 815 ctrl0 |= CHV_PADCTRL0_GPIOCFG_GPI << CHV_PADCTRL0_GPIOCFG_SHIFT; in chv_gpio_set_direction() 817 ctrl0 |= CHV_PADCTRL0_GPIOCFG_GPO << CHV_PADCTRL0_GPIOCFG_SHIFT; in chv_gpio_set_direction() 818 chv_writel(pctrl, offset, CHV_PADCTRL0, ctrl0); in chv_gpio_set_direction() [all …]
|
/linux/drivers/mmc/host/ |
H A D | mxs-mmc.c | 87 u32 ctrl0, ctrl1; in mxs_mmc_reset() local 94 ctrl0 = BM_SSP_CTRL0_IGNORE_CRC; in mxs_mmc_reset() 111 ctrl0 |= BM_SSP_CTRL0_SDIO_IRQ_CHECK; in mxs_mmc_reset() 115 writel(ctrl0, ssp->base + HW_SSP_CTRL0); in mxs_mmc_reset() 253 u32 ctrl0, cmd0, cmd1; in mxs_mmc_bc() local 255 ctrl0 = BM_SSP_CTRL0_ENABLE | BM_SSP_CTRL0_IGNORE_CRC; in mxs_mmc_bc() 260 ctrl0 |= BM_SSP_CTRL0_SDIO_IRQ_CHECK; in mxs_mmc_bc() 264 ssp->ssp_pio_words[0] = ctrl0; in mxs_mmc_bc() 288 u32 ctrl0, cmd0, cmd1; in mxs_mmc_ac() local 297 ctrl0 = BM_SSP_CTRL0_ENABLE | ignore_crc | get_resp | long_resp; in mxs_mmc_ac() [all …]
|
/linux/drivers/net/can/cc770/ |
H 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() 613 if (!(cc770_read_reg(priv, msgobj[mo].ctrl0) & in cc770_rx_interrupt() 631 cc770_write_reg(priv, msgobj[mo].ctrl0, in cc770_rx_interrupt() [all …]
|
H A D | cc770.h | 14 u8 ctrl0; member
|
/linux/drivers/spi/ |
H A D | spi-mxs.c | 175 u32 ctrl0; in mxs_spi_txrx_dma() local 192 ctrl0 = readl(ssp->base + HW_SSP_CTRL0); in mxs_spi_txrx_dma() 193 ctrl0 &= ~(BM_SSP_CTRL0_XFER_COUNT | BM_SSP_CTRL0_IGNORE_CRC | in mxs_spi_txrx_dma() 195 ctrl0 |= BM_SSP_CTRL0_DATA_XFER; in mxs_spi_txrx_dma() 198 ctrl0 |= BM_SSP_CTRL0_READ; in mxs_spi_txrx_dma() 210 ctrl0 |= BM_SSP_CTRL0_IGNORE_CRC; in mxs_spi_txrx_dma() 213 ctrl0 &= ~BM_SSP_CTRL0_XFER_COUNT; in mxs_spi_txrx_dma() 214 ctrl0 |= min; in mxs_spi_txrx_dma() 217 dma_xfer[sg_count].pio[0] = ctrl0; in mxs_spi_txrx_dma()
|
/linux/drivers/thermal/ |
H 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/drivers/net/wireless/realtek/rtw89/ |
H A D | pci_be.c | 411 u32 ctrl0, cfg0, cfg1, dec_ctrl, idle_ltcy, act_ltcy, dis_ltcy; in rtw89_pci_ltr_set_v2() local 413 ctrl0 = rtw89_read32(rtwdev, R_BE_LTR_CTRL_0); in rtw89_pci_ltr_set_v2() 414 if (rtw89_pci_ltr_is_err_reg_val(ctrl0)) in rtw89_pci_ltr_set_v2() 437 ctrl0 |= B_BE_LTR_HW_EN; in rtw89_pci_ltr_set_v2() 441 ctrl0 &= ~B_BE_LTR_HW_EN; in rtw89_pci_ltr_set_v2() 460 rtw89_write32(rtwdev, R_BE_LTR_CTRL_0, ctrl0); in rtw89_pci_ltr_set_v2()
|
/linux/drivers/iio/proximity/ |
H A D | sx9310.c | 751 unsigned int ctrl0; in sx9310_init_compensation() local 753 ret = regmap_read(data->regmap, SX9310_REG_PROX_CTRL0, &ctrl0); in sx9310_init_compensation() 759 ctrl0 | SX9310_REG_PROX_CTRL0_SENSOREN_MASK); in sx9310_init_compensation() 769 regmap_write(data->regmap, SX9310_REG_PROX_CTRL0, ctrl0); in sx9310_init_compensation() 937 u8 ctrl0; in sx9310_suspend() local 948 ctrl0 = data->suspend_ctrl & ~SX9310_REG_PROX_CTRL0_SENSOREN_MASK; in sx9310_suspend() 949 ret = regmap_write(data->regmap, SX9310_REG_PROX_CTRL0, ctrl0); in sx9310_suspend()
|
/linux/drivers/power/supply/ |
H 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/drivers/net/ethernet/huawei/hinic/ |
H 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()
|
H A D | hinic_hw_dev.h | 330 u32 ctrl0; member
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ipsec/ |
H A D | chcr_ipsec.c | 472 u32 ctrl0, qidx; in copy_cpltx_pktxt() local 488 ctrl0 = TXPKT_OPCODE_V(CPL_TX_PKT_XT) | TXPKT_INTF_V(pi->tx_chan) | in copy_cpltx_pktxt() 495 cpl->ctrl0 = htonl(ctrl0); in copy_cpltx_pktxt()
|
/linux/drivers/media/i2c/ |
H A D | ds90ub953.c | 986 u8 ctrl0, ctrl1; in ub953_clkout_recalc_rate() local 993 ret = ub953_read(priv, UB953_REG_CLKOUT_CTRL0, &ctrl0); in ub953_clkout_recalc_rate() 1008 mul = ctrl0 & 0x1f; in ub953_clkout_recalc_rate() 1019 mul = ctrl0 & 0x1f; in ub953_clkout_recalc_rate() 1020 hs_clk_div = 1 << (ctrl0 >> 5); in ub953_clkout_recalc_rate()
|
/linux/drivers/net/wireless/ath/ath9k/ |
H 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/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | sge.c | 1492 u32 wr_mid, ctrl0, op, sgl_off = 0; in cxgb4_eth_xmit() local 1694 ctrl0 = TXPKT_OPCODE_V(CPL_TX_PKT_XT) | TXPKT_INTF_V(pi->tx_chan) | in cxgb4_eth_xmit() 1697 ctrl0 |= TXPKT_TSTAMP_F; in cxgb4_eth_xmit() 1700 ctrl0 |= TXPKT_OVLAN_IDX_V(q->dcb_prio); in cxgb4_eth_xmit() 1702 ctrl0 |= TXPKT_T5_OVLAN_IDX_V(q->dcb_prio); in cxgb4_eth_xmit() 1704 cpl->ctrl0 = htonl(ctrl0); in cxgb4_eth_xmit() 1997 cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE_V(CPL_TX_PKT_XT) | in cxgb4_vf_eth_xmit() 2321 cpl->ctrl0 = cpu_to_be32(TXPKT_OPCODE_V(CPL_TX_PKT_XT) | in ethofld_hard_xmit() 2659 u32 ctrl0, ndesc, flits; in cxgb4_selftest_lb_pkt() local 2694 ctrl0 = TXPKT_OPCODE_V(CPL_TX_PKT_XT) | TXPKT_PF_V(adap->pf) | in cxgb4_selftest_lb_pkt() [all …]
|
/linux/drivers/video/fbdev/mmp/hw/ |
H A D | mmp_ctrl.h | 1025 u32 ctrl0; member 1057 u32 ctrl0; member
|
/linux/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_gpu_state.c | 222 static int vbif_debugbus_read(struct msm_gpu *gpu, u32 ctrl0, u32 ctrl1, in vbif_debugbus_read() argument 227 gpu_write(gpu, ctrl0, reg); in vbif_debugbus_read()
|