Home
last modified time | relevance | path

Searched refs:BIT_OFFSET (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/pinctrl/sprd/
H A Dpinctrl-sprd.h14 #define BIT_OFFSET (8) macro
20 ((offset) & 0xFF) << BIT_OFFSET | \
31 .bit_offset = (((a) >> BIT_OFFSET) & 0xff), \
/linux/drivers/gpu/drm/bridge/
H A Dite-it6505.c52 #define BIT_OFFSET(x) (((x) - INT_STATUS_01) * BITS_PER_BYTE) macro
64 #define BIT_INT_AUX_CMD_FAIL (BIT_OFFSET(0x07) + INT_AUX_CMD_FAIL)
65 #define BIT_INT_HDCP_KSV_CHECK (BIT_OFFSET(0x07) + INT_HDCP_KSV_CHECK)
66 #define BIT_INT_AUDIO_FIFO_ERROR (BIT_OFFSET(0x07) + INT_AUDIO_FIFO_ERROR)
73 #define BIT_INT_LINK_TRAIN_FAIL (BIT_OFFSET(0x08) + INT_LINK_TRAIN_FAIL)
74 #define BIT_INT_VID_FIFO_ERROR (BIT_OFFSET(0x08) + INT_VID_FIFO_ERROR)
75 #define BIT_INT_IO_FIFO_OVERFLOW (BIT_OFFSET(0x08) + INT_IO_LATCH_FIFO_OVERFLOW)