Lines Matching refs:value
71 extern void ody_sysreg_write(int core, uint64_t regnum, uint64_t value);
134 …ite(ody_csr_type_t type, int busnum, int size, uint64_t address, uint64_t value) __attribute__ ((a…
135 …ine void ody_csr_write(ody_csr_type_t type, int busnum, int size, uint64_t address, uint64_t value) in ody_csr_write() argument
137 … __ody_csr_write_slow(ody_csr_type_t type, int busnum, int size, uint64_t address, uint64_t value); in ody_csr_write()
156 *(volatile uint8_t *)address = value; in ody_csr_write()
159 *(volatile uint16_t *)address = ody_cpu_to_le16(value); in ody_csr_write()
162 *(volatile uint32_t *)address = ody_cpu_to_le32(value); in ody_csr_write()
165 *(volatile uint64_t *)address = ody_cpu_to_le64(value); in ody_csr_write()
170 __ody_csr_write_slow(type, busnum, size, address, value); in ody_csr_write()
199 #define CSR_WRITE(csr, value) ody_csr_write(bustype_##csr, busnum_##csr, sizeof(typedef_##csr), csr… argument
222 #define CSR_WAIT_FOR_FIELD(csr, field, op, value, timeout_usec) \ argument
231 if ((c.s.field) op(value)) { \
252 #define CSR_WAIT_FOR_FIELD_ACTUAL(csr, field, op, value, timeout_usec) \ argument
264 if ((c.s.field) op(value)) { \
289 #define CSR_WAIT_FOR_CHIP_FIELD(csr, chip, field, op, value, timeout_usec) \ argument
298 if ((c.chip.field) op(value)) { \