Lines Matching defs:thread_id
38 static inline void cdns_nand_wait_thread_ready(uint8_t thread_id)
45 reg &= (1U << (uint32_t)thread_id);
50 static int cdns_nand_last_opr_status(uint8_t thread_id)
59 if (thread_id > nthreads) {
65 mmio_write_32(CNF_CMDREG(CMD_STAT_PTR), (uint32_t)thread_id);
85 int cdns_nand_set_feature(uint8_t feat_addr, uint8_t feat_val, uint8_t thread_id)
88 cdns_nand_wait_thread_ready(thread_id);
98 reg |= (thread_id << CNF_CMDREG0_TRD);
104 return cdns_nand_last_opr_status(thread_id);
108 int cdns_nand_reset(uint8_t thread_id)
111 cdns_nand_wait_thread_ready(thread_id);
119 reg |= (thread_id << CNF_CMDREG0_TRD);
125 return cdns_nand_last_opr_status(thread_id);