Home
last modified time | relevance | path

Searched refs:SF_OP (Results 1 – 3 of 3) sorted by relevance

/drivers/scsi/csiostor/
Dcsio_hw.c425 if (csio_rd_reg32(hw, SF_OP) & SF_BUSY) in csio_hw_sf1_read()
431 csio_wr_reg32(hw, lock | cont | BYTECNT(byte_cnt - 1), SF_OP); in csio_hw_sf1_read()
432 ret = csio_hw_wait_op_done_val(hw, SF_OP, SF_BUSY, 0, SF_ATTEMPTS, in csio_hw_sf1_read()
457 if (csio_rd_reg32(hw, SF_OP) & SF_BUSY) in csio_hw_sf1_write()
464 csio_wr_reg32(hw, cont | BYTECNT(byte_cnt - 1) | OP_WR | lock, SF_OP); in csio_hw_sf1_write()
466 return csio_hw_wait_op_done_val(hw, SF_OP, SF_BUSY, 0, SF_ATTEMPTS, in csio_hw_sf1_write()
537 csio_wr_reg32(hw, 0, SF_OP); /* unlock SF */ in csio_hw_read_flash()
590 csio_wr_reg32(hw, 0, SF_OP); /* unlock SF */ in csio_hw_write_flash()
607 csio_wr_reg32(hw, 0, SF_OP); /* unlock SF */ in csio_hw_write_flash()
645 csio_wr_reg32(hw, 0, SF_OP); /* unlock SF */ in csio_hw_flash_erase_sectors()
[all …]
/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c703 if (t4_read_reg(adapter, SF_OP) & SF_BUSY) in sf1_read()
707 t4_write_reg(adapter, SF_OP, lock | cont | BYTECNT(byte_cnt - 1)); in sf1_read()
708 ret = t4_wait_op_done(adapter, SF_OP, SF_BUSY, 0, SF_ATTEMPTS, 5); in sf1_read()
731 if (t4_read_reg(adapter, SF_OP) & SF_BUSY) in sf1_write()
736 t4_write_reg(adapter, SF_OP, lock | in sf1_write()
738 return t4_wait_op_done(adapter, SF_OP, SF_BUSY, 0, SF_ATTEMPTS, 5); in sf1_write()
797 t4_write_reg(adapter, SF_OP, 0); /* unlock SF */ in t4_read_flash()
845 t4_write_reg(adapter, SF_OP, 0); /* unlock SF */ in t4_write_flash()
861 t4_write_reg(adapter, SF_OP, 0); /* unlock SF */ in t4_write_flash()
979 t4_write_reg(adapter, SF_OP, 0); /* unlock SF */ in t4_flash_erase_sectors()
[all …]
Dt4_regs.h1023 #define SF_OP 0x193fc macro