Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/staging/iio/frequency/
Dad9832.c68 #define CMD_SHIFT 12 macro
139 st->freq_data[0] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
142 st->freq_data[1] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
145 st->freq_data[2] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
148 st->freq_data[3] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
161 st->phase_data[0] = cpu_to_be16((AD9832_CMD_PHA8BITSW << CMD_SHIFT) | in ad9832_write_phase()
164 st->phase_data[1] = cpu_to_be16((AD9832_CMD_PHA16BITSW << CMD_SHIFT) | in ad9832_write_phase()
201 st->data = cpu_to_be16((AD9832_CMD_SYNCSELSRC << CMD_SHIFT) | in ad9832_write()
214 st->data = cpu_to_be16((AD9832_CMD_FPSELECT << CMD_SHIFT) | in ad9832_write()
227 st->data = cpu_to_be16((AD9832_CMD_FPSELECT << CMD_SHIFT) | in ad9832_write()
[all …]
/Linux-v6.6/drivers/crypto/caam/
Ddesc.h37 #define CMD_SHIFT 27 macro
40 #define CMD_KEY (0x00 << CMD_SHIFT)
41 #define CMD_SEQ_KEY (0x01 << CMD_SHIFT)
42 #define CMD_LOAD (0x02 << CMD_SHIFT)
43 #define CMD_SEQ_LOAD (0x03 << CMD_SHIFT)
44 #define CMD_FIFO_LOAD (0x04 << CMD_SHIFT)
45 #define CMD_SEQ_FIFO_LOAD (0x05 << CMD_SHIFT)
46 #define CMD_STORE (0x0a << CMD_SHIFT)
47 #define CMD_SEQ_STORE (0x0b << CMD_SHIFT)
48 #define CMD_FIFO_STORE (0x0c << CMD_SHIFT)
[all …]
/Linux-v6.6/drivers/infiniband/hw/hfi1/
Deprom.c28 #define CMD_SHIFT 24 macro
30 #define CMD_READ_DATA(addr) ((0x03 << CMD_SHIFT) | addr)
31 #define CMD_RELEASE_POWERDOWN_NOID ((0xab << CMD_SHIFT))
78 if (end > (1 << CMD_SHIFT)) in read_length()
/Linux-v6.6/drivers/net/ethernet/vertexcom/
Dmse102x.c31 #define CMD_SHIFT 12 macro
32 #define CMD_RTS (0x1 << CMD_SHIFT)
33 #define CMD_CTR (0x2 << CMD_SHIFT)
35 #define CMD_MASK GENMASK(15, CMD_SHIFT)
36 #define LEN_MASK GENMASK(CMD_SHIFT - 1, 0)