Lines Matching defs:data
156 dev_info(&hci->master.dev, "RX data FIFO = %d bytes\n",
158 dev_info(&hci->master.dev, "TX data FIFO = %d bytes\n",
162 * Let's initialize data thresholds to half of the actual FIFO size.
187 * or one available response or IBI. For IBI data let's use half the
247 p = xfer->data;
255 /* extract data from FIFO */
262 /* trailing data is retrieved upon response reception */
274 p = xfer->data;
279 /* extract data from FIFO */
295 u32 data = pio_reg_read(XFER_DATA_PORT);
297 xfer->data_word_before_partial = data;
299 data = (__force u32) cpu_to_le32(data);
301 *p_byte++ = data;
302 data >>= 8;
313 p = xfer->data;
322 /* push data into the FIFO */
366 if (!xfer->data) {
397 u32 *from = xfer->data;
417 dev_err(&hci->master.dev, "pushing RX data to unexistent xfer\n");
433 u32 *p = xfer->data;
437 memmove(xfer->data + chunk, xfer->data, bytes_to_move);
442 memcpy(xfer->data, from, chunk * 4);
454 u8 *p_byte = xfer->data;
464 u32 *p = xfer->data;
498 * Retrieve trailing RX data if any.
509 /* we consumed data meant for next xfer */
566 * Always process the data FIFO before sending the command
567 * so needed TX data or RX space is available upfront.
596 /* link xfer instances together and initialize data count */
631 * reachable from either the data or resp list that means the command
715 u32 data = pio_reg_read(DATA_BUFFER_CUR_STATUS);
723 FIELD_GET(CUR_TX_BUF_LVL, data),
724 FIELD_GET(CUR_RX_BUF_LVL, data));
770 /* bail out if we don't have that amount of data ready */
773 /* extract the data from the IBI port */
788 u32 data;
795 data = pio_reg_read(IBI_PORT);
796 data = (__force u32) cpu_to_le32(data);
798 *p_byte++ = data;
799 data >>= 8;
816 * When returning true, the IBI data has to be consumed whether
818 * ibi->slot == NULL that means the data payload has to be
856 ibi->data_ptr = ibi->slot->data;