Lines Matching refs:nv_cmd
103 qla2x00_nvram_request(struct qla_hw_data *ha, uint32_t nv_cmd) in qla2x00_nvram_request() argument
111 nv_cmd <<= 5; in qla2x00_nvram_request()
113 if (nv_cmd & BIT_31) in qla2x00_nvram_request()
117 nv_cmd <<= 1; in qla2x00_nvram_request()
155 uint32_t nv_cmd; in qla2x00_get_nvram_word() local
157 nv_cmd = addr << 16; in qla2x00_get_nvram_word()
158 nv_cmd |= NV_READ_OP; in qla2x00_get_nvram_word()
159 data = qla2x00_nvram_request(ha, nv_cmd); in qla2x00_get_nvram_word()
189 uint32_t nv_cmd, wait_cnt; in qla2x00_write_nvram_word() local
203 nv_cmd = (addr << 16) | NV_WRITE_OP; in qla2x00_write_nvram_word()
204 nv_cmd |= (__force u16)data; in qla2x00_write_nvram_word()
205 nv_cmd <<= 5; in qla2x00_write_nvram_word()
207 if (nv_cmd & BIT_31) in qla2x00_write_nvram_word()
212 nv_cmd <<= 1; in qla2x00_write_nvram_word()
247 uint32_t nv_cmd; in qla2x00_write_nvram_word_tmo() local
262 nv_cmd = (addr << 16) | NV_WRITE_OP; in qla2x00_write_nvram_word_tmo()
263 nv_cmd |= (__force u16)data; in qla2x00_write_nvram_word_tmo()
264 nv_cmd <<= 5; in qla2x00_write_nvram_word_tmo()
266 if (nv_cmd & BIT_31) in qla2x00_write_nvram_word_tmo()
271 nv_cmd <<= 1; in qla2x00_write_nvram_word_tmo()