Searched refs:W1_MASK (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/i3c/master/mipi-i3c-hci/ |
A D | cmd_v1.c | 38 #define CMD_I1_DATA_BYTE_4(v) FIELD_PREP(W1_MASK(63, 56), v) 39 #define CMD_I1_DATA_BYTE_3(v) FIELD_PREP(W1_MASK(55, 48), v) 40 #define CMD_I1_DATA_BYTE_2(v) FIELD_PREP(W1_MASK(47, 40), v) 41 #define CMD_I1_DATA_BYTE_1(v) FIELD_PREP(W1_MASK(39, 32), v) 42 #define CMD_I1_DEF_BYTE(v) FIELD_PREP(W1_MASK(39, 32), v) 59 #define CMD_R1_DATA_LENGTH(v) FIELD_PREP(W1_MASK(63, 48), v) 60 #define CMD_R1_DEF_BYTE(v) FIELD_PREP(W1_MASK(39, 32), v) 77 #define CMD_C1_DATA_LENGTH(v) FIELD_PREP(W1_MASK(63, 48), v) 78 #define CMD_C1_OFFSET(v) FIELD_PREP(W1_MASK(47, 32), v) 97 #define CMD_M1_VENDOR_SPECIFIC W1_MASK(63, 32)
|
A D | cmd_v2.c | 37 #define CMD_U1_ERR_HANDLING(v) FIELD_PREP(W1_MASK( 63, 62), v) 38 #define CMD_U1_ADD_FUNC(v) FIELD_PREP(W1_MASK( 61, 56), v) 40 #define CMD_U1_DATA_LENGTH(v) FIELD_PREP(W1_MASK( 53, 32), v) 58 #define CMD_A1_DATA_LENGTH(v) FIELD_PREP(W1_MASK( 53, 32), v) 292 pid = FIELD_GET(W1_MASK(47, 32), device_id[1]); in hci_cmd_v2_daa() 294 bcr = FIELD_GET(W1_MASK(55, 48), device_id[1]); in hci_cmd_v2_daa() 295 dcr = FIELD_GET(W1_MASK(63, 56), device_id[1]); in hci_cmd_v2_daa()
|
A D | dat_v1.c | 23 #define DAT_1_AUTOCMD_HDR_CODE W1_MASK(58, 51) 24 #define DAT_1_AUTOCMD_MODE W1_MASK(50, 48) 25 #define DAT_1_AUTOCMD_VALUE W1_MASK(47, 40) 26 #define DAT_1_AUTOCMD_MASK W1_MASK(39, 32)
|
A D | dct_v1.c | 33 FIELD_GET(W1_MASK(47, 32), dct_entry_data[1]); in i3c_hci_dct_get_val()
|
A D | hci.h | 19 #define W1_MASK(h, l) GENMASK((h) - 32, (l) - 32) macro
|
Completed in 7 milliseconds