| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_dkl_phy_regs.h | 36 #define _DKL_REG_BANK_OFFSET(phy_offset) \ argument 37 ((phy_offset) & ((1 << _DKL_BANK_SHIFT) - 1)) 38 #define _DKL_REG_BANK_IDX(phy_offset) \ argument 39 (((phy_offset) >> _DKL_BANK_SHIFT) & 0xf) 41 #define _DKL_REG(tc_port, phy_offset) \ argument 44 _DKL_REG_BANK_OFFSET(phy_offset), \ 45 .bank_idx = _DKL_REG_BANK_IDX(phy_offset), \
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | pci_be.c | 649 u32 backup_aspm, phy_offset; in rtw89_pci_disable_eq_be() local 669 phy_offset = gen == 1 ? R_RAC_DIRECT_OFFSET_BE_LANE0_G1 : in rtw89_pci_disable_eq_be() 672 rtw89_write16_clr(rtwdev, phy_offset + RAC_ANA19 * RAC_MULT, in rtw89_pci_disable_eq_be() 680 phy_offset = gen == 1 ? R_RAC_DIRECT_OFFSET_BE_LANE0_G1 : in rtw89_pci_disable_eq_be() 683 rtw89_write16_mask(rtwdev, phy_offset + RAC_ANA0B * RAC_MULT, in rtw89_pci_disable_eq_be() 685 rtw89_write16_clr(rtwdev, phy_offset + RAC_ANA0D * RAC_MULT, in rtw89_pci_disable_eq_be() 691 phy_offset = gen == 1 ? R_RAC_DIRECT_OFFSET_BE_LANE0_G1 : in rtw89_pci_disable_eq_be() 694 rtw89_write16_set(rtwdev, phy_offset + RAC_ANA0D * RAC_MULT, in rtw89_pci_disable_eq_be() 696 rtw89_write16_mask(rtwdev, phy_offset + RAC_ANA10 * RAC_MULT, in rtw89_pci_disable_eq_be() 698 rtw89_write16_clr(rtwdev, phy_offset + RAC_ANA10 * RAC_MULT, in rtw89_pci_disable_eq_be() [all …]
|
| H A D | pci.c | 23 u32 *phy_offset) in rtw89_pci_get_phy_offset_by_link_speed() argument 36 *phy_offset = R_RAC_DIRECT_OFFSET_G1; in rtw89_pci_get_phy_offset_by_link_speed() 38 *phy_offset = R_RAC_DIRECT_OFFSET_G2; in rtw89_pci_get_phy_offset_by_link_speed() 2579 u32 phy_offset; in rtw89_pci_disable_eq_ax() local 2598 ret = rtw89_pci_get_phy_offset_by_link_speed(rtwdev, &phy_offset); in rtw89_pci_disable_eq_ax() 2602 rtw89_write16_set(rtwdev, phy_offset + RAC_ANA0D * RAC_MULT, BAC_RX_TEST_EN); in rtw89_pci_disable_eq_ax() 2603 rtw89_write16(rtwdev, phy_offset + RAC_ANA10 * RAC_MULT, ADDR_SEL_PINOUT_DIS_VAL); in rtw89_pci_disable_eq_ax() 2604 rtw89_write16_set(rtwdev, phy_offset + RAC_ANA19 * RAC_MULT, B_PCIE_BIT_RD_SEL); in rtw89_pci_disable_eq_ax() 2606 oobs_val = rtw89_read16_mask(rtwdev, phy_offset + RAC_ANA1F * RAC_MULT, in rtw89_pci_disable_eq_ax() 2621 phy_offset = gen == 1 ? R_RAC_DIRECT_OFFSET_G1 : in rtw89_pci_disable_eq_ax() [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | exynos_adc.c | 129 int phy_offset; member 203 regmap_write(info->pmu_map, info->data->phy_offset, 1); in exynos_adc_v1_init_hw() 221 regmap_write(info->pmu_map, info->data->phy_offset, 0); in exynos_adc_v1_exit_hw() 249 .phy_offset = EXYNOS_ADCV1_PHY_OFFSET, 261 .phy_offset = EXYNOS_ADCV1_PHY_OFFSET, 305 regmap_write(info->pmu_map, info->data->phy_offset, 1); in exynos_adc_v2_init_hw() 323 regmap_write(info->pmu_map, info->data->phy_offset, 0); in exynos_adc_v2_exit_hw() 353 .phy_offset = EXYNOS_ADCV2_PHY_OFFSET, 366 .phy_offset = EXYNOS_ADCV1_PHY_OFFSET,
|
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | phy_lp.c | 612 u16 phy_offset; member 620 { .phy_offset = 2, .phy_shift = 6, .rf_addr = 0x3d, .rf_shift = 3, .mask = 0x01, }, 621 { .phy_offset = 1, .phy_shift = 12, .rf_addr = 0x4c, .rf_shift = 1, .mask = 0x01, }, 622 { .phy_offset = 1, .phy_shift = 8, .rf_addr = 0x50, .rf_shift = 0, .mask = 0x7f, }, 623 { .phy_offset = 0, .phy_shift = 8, .rf_addr = 0x44, .rf_shift = 0, .mask = 0xff, }, 624 { .phy_offset = 1, .phy_shift = 0, .rf_addr = 0x4a, .rf_shift = 0, .mask = 0xff, }, 625 { .phy_offset = 0, .phy_shift = 4, .rf_addr = 0x4d, .rf_shift = 0, .mask = 0xff, }, 626 { .phy_offset = 1, .phy_shift = 4, .rf_addr = 0x4e, .rf_shift = 0, .mask = 0xff, }, 627 { .phy_offset = 0, .phy_shift = 12, .rf_addr = 0x4f, .rf_shift = 0, .mask = 0x0f, }, 628 { .phy_offset = 1, .phy_shift = 0, .rf_addr = 0x4f, .rf_shift = 4, .mask = 0x0f, }, [all …]
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_phy.c | 1405 u16 phy_offset, control, eword, edata, block_crc; in ixgbe_reset_phy_nl() local 1462 &phy_offset); in ixgbe_reset_phy_nl() 1470 hw->phy.ops.write_reg(hw, phy_offset, in ixgbe_reset_phy_nl() 1473 phy_offset); in ixgbe_reset_phy_nl() 1475 phy_offset++; in ixgbe_reset_phy_nl()
|