Home
last modified time | relevance | path

Searched refs:upper_16_bits (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/arch/riscv/include/asm/
Dalternative.h22 #define PATCH_ID_CPUFEATURE_VALUE(p) upper_16_bits(p)
/linux-6.6.21/include/linux/
Dkernel.h88 #define upper_16_bits(n) ((u16)((n) >> 16)) macro
/linux-6.6.21/drivers/net/phy/
Dmicrel.c3835 upper_16_bits(sec)); in lan8841_ptp_set_target()
3845 upper_16_bits(nsec)); in lan8841_ptp_set_target()
3874 upper_16_bits(sec)); in lan8841_ptp_set_reload()
3884 upper_16_bits(nsec)); in lan8841_ptp_set_reload()
3911 phy_write_mmd(phydev, 2, LAN8841_PTP_LTC_SET_SEC_MID, upper_16_bits(ts->tv_sec)); in lan8841_ptp_settime64()
3914 phy_write_mmd(phydev, 2, LAN8841_PTP_LTC_SET_NS_HI, upper_16_bits(ts->tv_nsec) & 0x3fff); in lan8841_ptp_settime64()
4098 rate = LAN8814_1PPM_FORMAT * (upper_16_bits(scaled_ppm)); in lan8841_ptp_adjfine()
4103 faster ? LAN8841_PTP_LTC_RATE_ADJ_HI_DIR | (upper_16_bits(rate) & 0x3fff) in lan8841_ptp_adjfine()
4104 : upper_16_bits(rate) & 0x3fff); in lan8841_ptp_adjfine()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_ptp_hw.c511 msg->msg_addr_high = upper_16_bits(addr); in ice_fill_quad_msg_e822()
2521 msg.msg_addr_high = upper_16_bits(addr); in ice_read_phy_reg_e810()
2551 msg.msg_addr_high = upper_16_bits(addr); in ice_write_phy_reg_e810()