Lines Matching full:mailbox

125  *  @mbx: pointer to mailbox
145 * @mbx: pointer to mailbox
161 * @mbx: pointer to mailbox
177 * @mbx: pointer to mailbox
193 * @mbx: pointer to mailbox
209 * @mbx: pointer to mailbox
290 * @mbx: pointer to mailbox
294 * the start of a message larger than the mailbox is detected.
324 * @mbx: pointer to mailbox
327 * mailbox memory. The offset in mbmem is based on the lower bits of the
374 * @mbx: pointer to mailbox
380 * associated with the mailbox.
417 * @mbx: pointer to mailbox
419 * This function will take a section of the mailbox memory and copy it
463 * @mbx: pointer to mailbox
609 * @mbx: pointer to mailbox
610 * @head: head index provided by remote mailbox
630 * @mbx: pointer to mailbox
658 * @mbx: pointer to mailbox
670 * fm10k_mbx_tx_ready - Indicates that the mailbox is in state ready for Tx
671 * @mbx: pointer to mailbox
674 * This function returns true if the mailbox is in a state ready to transmit.
685 * @mbx: pointer to mailbox
697 * @mbx: pointer to mailbox
732 * @mbx: pointer to mailbox
771 * to start the mailbox flow so we are not concerned if there in fm10k_mbx_enqueue_tx()
772 * is a bad error, or the mailbox is already busy with a request in fm10k_mbx_enqueue_tx()
783 * @mbx: pointer to mailbox
810 * @mbx: pointer to mailbox
821 /* write mailbox to send interrupt */ in fm10k_mbx_write()
831 * fm10k_mbx_create_connect_hdr - Generate a connect mailbox header
832 * @mbx: pointer to mailbox
834 * This function returns a connection mailbox header
846 * fm10k_mbx_create_data_hdr - Generate a data mailbox header
847 * @mbx: pointer to mailbox
849 * This function returns a data mailbox header
872 * fm10k_mbx_create_disconnect_hdr - Generate a disconnect mailbox header
873 * @mbx: pointer to mailbox
875 * This function returns a disconnect mailbox header
892 * @mbx: pointer to mailbox
895 * mailbox header. The primary purpose is to prevent errors on immediate
913 * @mbx: pointer to mailbox
944 * @mbx: pointer to mailbox
946 * This function will parse up the fields in the mailbox header and return
1009 * @mbx: pointer to mailbox
1013 * mailbox state and the remote FIFO head. It will return the length
1051 * @mbx: pointer to mailbox
1090 * @mbx: pointer to mailbox
1116 * @mbx: pointer to mailbox
1118 * This function resets the mailbox to either a disconnected state
1119 * or a connect state depending on the current mailbox state
1140 * @mbx: pointer to mailbox
1187 * @mbx: pointer to mailbox
1229 * @mbx: pointer to mailbox
1282 * @mbx: pointer to mailbox
1327 * fm10k_mbx_process - Process mailbox interrupt
1329 * @mbx: pointer to mailbox
1331 * This function will process incoming mailbox events and generate mailbox
1340 /* we do not read mailbox if closed */ in fm10k_mbx_process()
1344 /* copy data from mailbox */ in fm10k_mbx_process()
1377 /* copy data from mailbox */ in fm10k_mbx_process()
1384 * fm10k_mbx_disconnect - Shutdown mailbox connection
1386 * @mbx: pointer to mailbox
1388 * This function will shut down the mailbox. It places the mailbox first
1390 * the mailbox to transition to close on its own. If this does not occur
1391 * then the mailbox will be forced into the closed state.
1393 * Any mailbox transactions not completed before calling this function
1413 /* in case we didn't close, just force the mailbox into shutdown and in fm10k_mbx_disconnect()
1423 * fm10k_mbx_connect - Start mailbox connection
1425 * @mbx: pointer to mailbox
1427 * This function will initiate a mailbox connection. It will populate the
1428 * mailbox with a broadcast connect message and then initialize the lock.
1429 * This is safe since the connect message is a single DWORD so the mailbox
1432 * This function will return an error if the mailbox has not been initiated
1437 /* we cannot connect an uninitialized mailbox */ in fm10k_mbx_connect()
1441 /* we cannot connect an already connected mailbox */ in fm10k_mbx_connect()
1445 /* mailbox timeout can now become active */ in fm10k_mbx_connect()
1453 /* initialize header of remote mailbox */ in fm10k_mbx_connect()
1461 /* generate and load connect header into mailbox */ in fm10k_mbx_connect()
1470 * @msg_data: handlers for mailbox events
1524 * fm10k_mbx_register_handlers - Register a set of handler ops for mailbox
1525 * @mbx: pointer to mailbox
1526 * @msg_data: handlers for mailbox events
1528 * This function associates a set of message handling ops with a mailbox.
1544 * fm10k_pfvf_mbx_init - Initialize mailbox memory for PF/VF mailbox
1546 * @mbx: pointer to mailbox
1547 * @msg_data: handlers for mailbox events
1550 * This function initializes the mailbox for use. It will split the
1554 * DWORDs, not bytes. Any invalid values will cause the mailbox to return
1588 /* start mailbox as timed out and let the reset_hw call in fm10k_pfvf_mbx_init()
1625 * fm10k_sm_mbx_create_data_hdr - Generate a mailbox header for local FIFO
1626 * @mbx: pointer to mailbox
1628 * This function returns a data mailbox header
1641 * fm10k_sm_mbx_create_connect_hdr - Generate a mailbox header for local FIFO
1642 * @mbx: pointer to mailbox
1645 * This function returns a connection mailbox header
1660 * @mbx: pointer to mailbox
1662 * This function resets the mailbox to a just connected state
1682 * fm10k_sm_mbx_connect - Start switch manager mailbox connection
1684 * @mbx: pointer to mailbox
1686 * This function will initiate a mailbox connection with the switch
1687 * manager. To do this it will first disconnect the mailbox, and then
1688 * reconnect it in order to complete a reset of the mailbox.
1690 * This function will return an error if the mailbox has not been initiated
1695 /* we cannot connect an uninitialized mailbox */ in fm10k_sm_mbx_connect()
1699 /* we cannot connect an already connected mailbox */ in fm10k_sm_mbx_connect()
1703 /* mailbox timeout can now become active */ in fm10k_sm_mbx_connect()
1717 /* generate and load connect header into mailbox */ in fm10k_sm_mbx_connect()
1725 * fm10k_sm_mbx_disconnect - Shutdown mailbox connection
1727 * @mbx: pointer to mailbox
1729 * This function will shut down the mailbox. It places the mailbox first
1731 * the mailbox to transition to close on its own. If this does not occur
1732 * then the mailbox will be forced into the closed state.
1734 * Any mailbox transactions not completed before calling this function
1754 /* in case we didn't close just force the mailbox into shutdown */ in fm10k_sm_mbx_disconnect()
1765 * @mbx: pointer to mailbox
1767 * This function will parse up the fields in the mailbox header and return
1806 * @mbx: pointer to mailbox
1843 * @mbx: pointer to mailbox
1869 * fm10k_sm_mbx_receive - Take message from Rx mailbox FIFO and put it in Rx
1871 * @mbx: pointer to mailbox
1874 * This function will dequeue one message from the Rx switch manager mailbox
1875 * FIFO and place it in the Rx mailbox FIFO for processing by software.
1909 * fm10k_sm_mbx_transmit - Take message from Tx and put it in Tx mailbox FIFO
1911 * @mbx: pointer to mailbox
1914 * This function will dequeue one message from the Tx mailbox FIFO and place
1915 * it in the Tx switch manager mailbox FIFO for processing by hardware.
1954 * @mbx: pointer to mailbox
1958 * mailbox state and the remote FIFO head. It will return the length
1991 * @mbx: pointer to mailbox
2032 * @mbx: pointer to mailbox
2035 * mailbox is active.
2074 * fm10k_sm_mbx_process - Process switch manager mailbox interrupt
2076 * @mbx: pointer to mailbox
2078 * This function will process incoming mailbox events and generate mailbox
2087 /* we do not read mailbox if closed */ in fm10k_sm_mbx_process()
2125 * fm10k_sm_mbx_init - Initialize mailbox memory for PF/SM mailbox
2127 * @mbx: pointer to mailbox
2128 * @msg_data: handlers for mailbox events
2130 * This function initializes the PF/SM mailbox for use. It will split the
2134 * DWORDs, not bytes. Any invalid values will cause the mailbox to return
2154 /* start mailbox as timed out and let the reset_hw call in fm10k_sm_mbx_init()