Lines Matching defs:command
111 * include issuing a DMA or port control command to the adapter,
288 static int dfx_hw_port_ctrl_req(DFX_board_t *bp, PI_UINT32 command, PI_UINT32 data_a, PI_UINT32 data_b, PI_UINT32 *host_data);
1185 /* Reserve space for command request buffer */
1192 /* Reserve space for command response buffer */
1336 * in this command.
1359 printk("%s: DMA command request failed!\n", bp->dev->name);
1375 printk("%s: DMA command request failed!\n", bp->dev->name);
1413 /* Issue START command and bring adapter to LINK_(UN)AVAILABLE state */
1418 printk("%s: Start command failed\n", bp->dev->name);
2458 * free entries in CAM, this routine ensures that the command
2479 * Fill in command request information
2483 * the firmware address filter set command expects each
2486 * multicast table entry into each command entry. This
2487 * is also why we must first clear the entire command
2495 /* Now add unicast addresses to command request buffer, if any */
2502 p_addr++; /* point to next command entry */
2506 /* Now add multicast addresses to command request buffer, if any */
2513 p_addr++; /* point to next command entry */
2517 /* Issue command to update adapter CAM, then return */
2560 /* Fill in command request information */
2583 /* Issue command to update adapter filters, then return */
2597 * Sends PDQ DMA command to adapter firmware
2606 * The command request and response buffers are posted to the adapter in the manner
2620 * DFX_K_SUCCESS - DMA command succeeded
2622 * DFX_K_HW_TIMEOUT - DMA command timed out
2625 * Command request buffer has already been filled with desired DMA command.
2636 /* Make sure the adapter is in a state that we can issue the DMA command in */
2645 /* Put response buffer on the command response queue */
2657 /* Put request buffer on the command request queue */
2670 * Here we wait for the command request consumer index to be equal
2690 * Here we wait for the command response consumer index to be equal
2718 * Sends PDQ port control command to adapter firmware
2725 * command - port control command
2731 * Send generic port control command to adapter by writing
2735 * DFX_K_SUCCESS - port control command succeeded
2736 * DFX_K_HW_TIMEOUT - port control command timed out
2747 PI_UINT32 command,
2754 PI_UINT32 port_cmd; /* Port Control command register value */
2757 /* Set Command Error bit in command longword */
2759 port_cmd = (PI_UINT32) (command | PI_PCTRL_M_CMD_ERROR);
2761 /* Issue port command to the adapter */
2767 /* Now wait for command to complete */
2769 if (command == PI_PCTRL_M_BLAST_FLASH)
2770 timeout_cnt = 600000; /* set command timeout count to 60 seconds */
2772 timeout_cnt = 20000; /* set command timeout count to 2 seconds */