Searched refs:SF_OP_A (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/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-6.1.9/drivers/net/ethernet/chelsio/cxgb4/ |
D | t4_hw.c | 2934 if (t4_read_reg(adapter, SF_OP_A) & SF_BUSY_F) in sf1_read() 2936 t4_write_reg(adapter, SF_OP_A, SF_LOCK_V(lock) | in sf1_read() 2938 ret = t4_wait_op_done(adapter, SF_OP_A, SF_BUSY_F, 0, SF_ATTEMPTS, 5); in sf1_read() 2961 if (t4_read_reg(adapter, SF_OP_A) & SF_BUSY_F) in sf1_write() 2964 t4_write_reg(adapter, SF_OP_A, SF_LOCK_V(lock) | in sf1_write() 2966 return t4_wait_op_done(adapter, SF_OP_A, SF_BUSY_F, 0, SF_ATTEMPTS, 5); in sf1_write() 3025 t4_write_reg(adapter, SF_OP_A, 0); /* unlock SF */ in t4_read_flash() 3080 t4_write_reg(adapter, SF_OP_A, 0); /* unlock SF */ in t4_write_flash() 3097 t4_write_reg(adapter, SF_OP_A, 0); /* unlock SF */ in t4_write_flash() 3575 t4_write_reg(adapter, SF_OP_A, 0); /* unlock SF */ in t4_flash_erase_sectors() [all …]
|
D | t4_regs.h | 2855 #define SF_OP_A 0x193fc macro
|