Home
last modified time | relevance | path

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

/drivers/staging/iio/frequency/
Dad9832.c43 st->freq_data[0] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
46 st->freq_data[1] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
49 st->freq_data[2] = cpu_to_be16((AD9832_CMD_FRE8BITSW << CMD_SHIFT) | in ad9832_write_frequency()
52 st->freq_data[3] = cpu_to_be16((AD9832_CMD_FRE16BITSW << CMD_SHIFT) | in ad9832_write_frequency()
65 st->phase_data[0] = cpu_to_be16((AD9832_CMD_PHA8BITSW << CMD_SHIFT) | in ad9832_write_phase()
68 st->phase_data[1] = cpu_to_be16((AD9832_CMD_PHA16BITSW << CMD_SHIFT) | in ad9832_write_phase()
105 st->data = cpu_to_be16((AD9832_CMD_SYNCSELSRC << CMD_SHIFT) | in ad9832_write()
118 st->data = cpu_to_be16((AD9832_CMD_FPSELECT << CMD_SHIFT) | in ad9832_write()
131 st->data = cpu_to_be16((AD9832_CMD_FPSELECT << CMD_SHIFT) | in ad9832_write()
142 st->data = cpu_to_be16((AD9832_CMD_SLEEPRESCLR << CMD_SHIFT) | in ad9832_write()
[all …]
Dad9832.h52 #define CMD_SHIFT 12 macro
/drivers/staging/rdma/hfi1/
Deprom.c72 #define CMD_SHIFT 24 macro
74 #define CMD_PAGE_PROGRAM(addr) ((0x02 << CMD_SHIFT) | addr)
75 #define CMD_READ_DATA(addr) ((0x03 << CMD_SHIFT) | addr)
76 #define CMD_READ_SR1 ((0x05 << CMD_SHIFT))
77 #define CMD_WRITE_ENABLE ((0x06 << CMD_SHIFT))
78 #define CMD_SECTOR_ERASE_32KB(addr) ((0x52 << CMD_SHIFT) | addr)
79 #define CMD_CHIP_ERASE ((0x60 << CMD_SHIFT))
80 #define CMD_READ_MANUF_DEV_ID ((0x90 << CMD_SHIFT))
81 #define CMD_RELEASE_POWERDOWN_NOID ((0xab << CMD_SHIFT))
/drivers/crypto/caam/
Ddesc.h48 #define CMD_SHIFT 27 macro
51 #define CMD_KEY (0x00 << CMD_SHIFT)
52 #define CMD_SEQ_KEY (0x01 << CMD_SHIFT)
53 #define CMD_LOAD (0x02 << CMD_SHIFT)
54 #define CMD_SEQ_LOAD (0x03 << CMD_SHIFT)
55 #define CMD_FIFO_LOAD (0x04 << CMD_SHIFT)
56 #define CMD_SEQ_FIFO_LOAD (0x05 << CMD_SHIFT)
57 #define CMD_STORE (0x0a << CMD_SHIFT)
58 #define CMD_SEQ_STORE (0x0b << CMD_SHIFT)
59 #define CMD_FIFO_STORE (0x0c << CMD_SHIFT)
[all …]