Searched refs:intf_ctl (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/sound/soc/codecs/ |
D | cs42l51.c | 408 int intf_ctl, power_ctl, fmt, mode; in cs42l51_hw_params() local 439 intf_ctl = snd_soc_component_read(component, CS42L51_INTF_CTL); in cs42l51_hw_params() 442 intf_ctl &= ~(CS42L51_INTF_CTL_MASTER | CS42L51_INTF_CTL_ADC_I2S in cs42l51_hw_params() 449 intf_ctl |= CS42L51_INTF_CTL_MASTER; in cs42l51_hw_params() 471 intf_ctl |= CS42L51_INTF_CTL_ADC_I2S; in cs42l51_hw_params() 472 intf_ctl |= CS42L51_INTF_CTL_DAC_FORMAT(CS42L51_DAC_DIF_I2S); in cs42l51_hw_params() 475 intf_ctl |= CS42L51_INTF_CTL_DAC_FORMAT(CS42L51_DAC_DIF_LJ24); in cs42l51_hw_params() 495 intf_ctl |= CS42L51_INTF_CTL_DAC_FORMAT(fmt); in cs42l51_hw_params() 505 ret = snd_soc_component_write(component, CS42L51_INTF_CTL, intf_ctl); in cs42l51_hw_params()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_sgmac.c | 228 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()
|
D | xgene_enet_hw.c | 460 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()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
D | f_generic.c | 2949 struct usb_interface_descriptor *intf_ctl = NULL; in _ffs_func_bind() local 3094 if (intf_ctl == NULL) { in _ffs_func_bind() 3095 intf_ctl = intf; in _ffs_func_bind() 3107 a_dec->bFirstInterface = intf_ctl->bInterfaceNumber; in _ffs_func_bind() 3115 union_des->bMasterInterface0 = intf_ctl->bInterfaceNumber; in _ffs_func_bind() 3119 ether_des->iMACAddress = intf_ctl->iInterface + 1; in _ffs_func_bind() 3127 a_dec->bFirstInterface = intf_ctl->bInterfaceNumber; in _ffs_func_bind() 3135 union_des->bMasterInterface0 = intf_ctl->bInterfaceNumber; in _ffs_func_bind() 3139 ether_des->iMACAddress = intf_ctl->iInterface + 1; in _ffs_func_bind() 3147 a_dec->bFirstInterface = intf_ctl->bInterfaceNumber; in _ffs_func_bind() [all …]
|
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/ |
D | linux-5.10.patch | 18058 - struct usb_interface_descriptor *intf_ctl = NULL; 18203 - if (intf_ctl == NULL) { 18204 - intf_ctl = intf; 18216 - a_dec->bFirstInterface = intf_ctl->bInterfaceNumber; 18224 - union_des->bMasterInterface0 = intf_ctl->bInterfaceNumber; 18228 - ether_des->iMACAddress = intf_ctl->iInterface + 1; 18236 - a_dec->bFirstInterface = intf_ctl->bInterfaceNumber; 18244 - union_des->bMasterInterface0 = intf_ctl->bInterfaceNumber; 18248 - ether_des->iMACAddress = intf_ctl->iInterface + 1; 18256 - a_dec->bFirstInterface = intf_ctl->bInterfaceNumber; [all …]
|