FreeBSD/sys/dev/cxgb/common/cxgb_mc5.c
/*
 * Issue a command to the TCAM and wait for its completion.  The address and
 * any data required by the command must have been setup by the caller.
 */
Issue a command to the TCAM and wait for its completion.  The address and
any data required by the command must have been setup by the caller.
Issue a command to the TCAM and wait for its completion . The address and any data required by the command must have been setup by the caller .
static int mc5_cmd_write(adapter_t *adapter, u32 cmd)
{
	t3_write_reg(adapter, A_MC5_DB_DBGI_REQ_CMD, cmd);
	return t3_wait_op_done(adapter, A_MC5_DB_DBGI_RSP_STATUS,
			       F_DBGIRSPVALID, 1, MAX_WRITE_ATTEMPTS, 1);
}
static int mc5_cmd_write ( adapter_t * adapter , u32 cmd ) { t3_write_reg ( adapter , A_MC5_DB_DBGI_REQ_CMD , cmd ) ; return t3_wait_op_done ( adapter , A_MC5_DB_DBGI_RSP_STATUS , F_DBGIRSPVALID , 1 , MAX_WRITE_ATTEMPTS , 1 ) ; }
Issue a command to the TCAM and wait for its completion.
Issue a command to the TCAM and wait for its completion .