/** * rt2x00mmio_regbusy_read - Read from register with busy check * @rt2x00dev: Device pointer, see &struct rt2x00_dev. * @offset: Register offset * @field: Field to check if register is busy * @reg: Pointer to where register contents should be stored * * This function will read the given register, and checks if the * register is busy. If it is, it will sleep for a couple of * microseconds before reading the register again. If the register * is not read after a certain timeout, this function will return * FALSE.
*/ int rt2x00mmio_regbusy_read(struct rt2x00_dev *rt2x00dev, constunsignedint offset, conststruct rt2x00_field32 field,
u32 *reg);
/** * struct queue_entry_priv_mmio: Per entry PCI specific information * * @desc: Pointer to device descriptor * @desc_dma: DMA pointer to &desc.
*/ struct queue_entry_priv_mmio {
__le32 *desc;
dma_addr_t desc_dma;
};
/** * rt2x00mmio_rxdone - Handle RX done events * @rt2x00dev: Device pointer, see &struct rt2x00_dev. * * Returns true if there are still rx frames pending and false if all * pending rx frames were processed.
*/ bool rt2x00mmio_rxdone(struct rt2x00_dev *rt2x00dev);
/** * rt2x00mmio_flush_queue - Flush data queue * @queue: Data queue to stop * @drop: True to drop all pending frames. * * This will wait for a maximum of 100ms, waiting for the queues * to become empty.
*/ void rt2x00mmio_flush_queue(struct data_queue *queue, bool drop);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.