Home
last modified time | relevance | path

Searched refs:intf_ctl (Results 1 – 3 of 3) sorted by relevance

/linux/sound/soc/codecs/
H A Dcs42l51.c405 int intf_ctl, power_ctl, fmt, mode; in cs42l51_hw_params() local
436 intf_ctl = snd_soc_component_read(component, CS42L51_INTF_CTL); in cs42l51_hw_params()
439 intf_ctl &= ~(CS42L51_INTF_CTL_MASTER | CS42L51_INTF_CTL_ADC_I2S in cs42l51_hw_params()
446 intf_ctl |= CS42L51_INTF_CTL_MASTER; in cs42l51_hw_params()
468 intf_ctl |= CS42L51_INTF_CTL_ADC_I2S; in cs42l51_hw_params()
469 intf_ctl |= CS42L51_INTF_CTL_DAC_FORMAT(CS42L51_DAC_DIF_I2S); in cs42l51_hw_params()
472 intf_ctl |= CS42L51_INTF_CTL_DAC_FORMAT(CS42L51_DAC_DIF_LJ24); in cs42l51_hw_params()
492 intf_ctl |= CS42L51_INTF_CTL_DAC_FORMAT(fmt); in cs42l51_hw_params()
502 ret = snd_soc_component_write(component, CS42L51_INTF_CTL, intf_ctl); in cs42l51_hw_params()
/linux/drivers/net/ethernet/apm/xgene/
H A Dxgene_enet_sgmac.c228 u32 icm0, icm2, intf_ctl; in xgene_sgmac_set_speed() local
246 intf_ctl = xgene_enet_rd_mac(p, INTERFACE_CONTROL_ADDR); in xgene_sgmac_set_speed()
251 intf_ctl &= ~(ENET_LHD_MODE | ENET_GHD_MODE); in xgene_sgmac_set_speed()
257 intf_ctl &= ~ENET_GHD_MODE; in xgene_sgmac_set_speed()
258 intf_ctl |= ENET_LHD_MODE; in xgene_sgmac_set_speed()
264 intf_ctl &= ~ENET_LHD_MODE; in xgene_sgmac_set_speed()
265 intf_ctl |= ENET_GHD_MODE; in xgene_sgmac_set_speed()
276 xgene_enet_wr_mac(p, INTERFACE_CONTROL_ADDR, intf_ctl); in xgene_sgmac_set_speed()
H A Dxgene_enet_hw.c460 u32 intf_ctl, rgmii, value; in xgene_gmac_set_speed() local
465 intf_ctl = xgene_enet_rd_mac(pdata, INTERFACE_CONTROL_ADDR); in xgene_gmac_set_speed()
471 intf_ctl &= ~(ENET_LHD_MODE | ENET_GHD_MODE); in xgene_gmac_set_speed()
478 intf_ctl &= ~ENET_GHD_MODE; in xgene_gmac_set_speed()
479 intf_ctl |= ENET_LHD_MODE; in xgene_gmac_set_speed()
486 intf_ctl &= ~ENET_LHD_MODE; in xgene_gmac_set_speed()
487 intf_ctl |= ENET_GHD_MODE; in xgene_gmac_set_speed()
502 xgene_enet_wr_mac(pdata, INTERFACE_CONTROL_ADDR, intf_ctl); in xgene_gmac_set_speed()