Searched refs:SF_OP_A (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/drivers/scsi/csiostor/ |
D | csio_hw.c | 399 if (csio_rd_reg32(hw, SF_OP_A) & SF_BUSY_F) in csio_hw_sf1_read() 403 BYTECNT_V(byte_cnt - 1), SF_OP_A); in csio_hw_sf1_read() 404 ret = csio_hw_wait_op_done_val(hw, SF_OP_A, SF_BUSY_F, 0, SF_ATTEMPTS, in csio_hw_sf1_read() 429 if (csio_rd_reg32(hw, SF_OP_A) & SF_BUSY_F) in csio_hw_sf1_write() 434 OP_V(1) | SF_LOCK_V(lock), SF_OP_A); in csio_hw_sf1_write() 436 return csio_hw_wait_op_done_val(hw, SF_OP_A, SF_BUSY_F, 0, SF_ATTEMPTS, in csio_hw_sf1_write() 507 csio_wr_reg32(hw, 0, SF_OP_A); /* unlock SF */ in csio_hw_read_flash() 560 csio_wr_reg32(hw, 0, SF_OP_A); /* unlock SF */ in csio_hw_write_flash() 577 csio_wr_reg32(hw, 0, SF_OP_A); /* unlock SF */ in csio_hw_write_flash() 615 csio_wr_reg32(hw, 0, SF_OP_A); /* unlock SF */ in csio_hw_flash_erase_sectors() [all …]
|
/Linux-v5.10/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 2963 if (t4_read_reg(adapter, SF_OP_A) & SF_BUSY_F) in sf1_read() 2965 t4_write_reg(adapter, SF_OP_A, SF_LOCK_V(lock) | in sf1_read() 2967 ret = t4_wait_op_done(adapter, SF_OP_A, SF_BUSY_F, 0, SF_ATTEMPTS, 5); in sf1_read() 2990 if (t4_read_reg(adapter, SF_OP_A) & SF_BUSY_F) in sf1_write() 2993 t4_write_reg(adapter, SF_OP_A, SF_LOCK_V(lock) | in sf1_write() 2995 return t4_wait_op_done(adapter, SF_OP_A, SF_BUSY_F, 0, SF_ATTEMPTS, 5); in sf1_write() 3054 t4_write_reg(adapter, SF_OP_A, 0); /* unlock SF */ in t4_read_flash() 3102 t4_write_reg(adapter, SF_OP_A, 0); /* unlock SF */ in t4_write_flash() 3118 t4_write_reg(adapter, SF_OP_A, 0); /* unlock SF */ in t4_write_flash() 3596 t4_write_reg(adapter, SF_OP_A, 0); /* unlock SF */ in t4_flash_erase_sectors() [all …]
|
D | t4_regs.h | 2849 #define SF_OP_A 0x193fc macro
|