Home
last modified time | relevance | path

Searched refs:xfer_id (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/firmware/arm_scmi/
Dshmem.c114 u16 xfer_id; in shmem_poll_done() local
116 xfer_id = MSG_XTRACT_TOKEN(ioread32(&shmem->msg_header)); in shmem_poll_done()
118 if (xfer->hdr.seq != xfer_id) in shmem_poll_done()
Ddriver.c367 unsigned long xfer_id, next_token; in scmi_xfer_token_set() local
380 xfer_id = find_next_zero_bit(minfo->xfer_alloc_table, in scmi_xfer_token_set()
382 if (xfer_id == MSG_TOKEN_MAX) { in scmi_xfer_token_set()
388 xfer_id = find_next_zero_bit(minfo->xfer_alloc_table, in scmi_xfer_token_set()
395 if (WARN_ON_ONCE(xfer_id == MSG_TOKEN_MAX)) in scmi_xfer_token_set()
400 if (xfer_id != next_token) in scmi_xfer_token_set()
401 atomic_add((int)(xfer_id - next_token), &transfer_last_id); in scmi_xfer_token_set()
403 xfer->hdr.seq = (u16)xfer_id; in scmi_xfer_token_set()
680 scmi_xfer_lookup_unlocked(struct scmi_xfers_info *minfo, u16 xfer_id) in scmi_xfer_lookup_unlocked() argument
684 if (test_bit(xfer_id, minfo->xfer_alloc_table)) in scmi_xfer_lookup_unlocked()
[all …]
/linux-6.6.21/drivers/firmware/
Dti_sci.c237 u8 xfer_id; in ti_sci_rx_callback() local
239 xfer_id = hdr->seq; in ti_sci_rx_callback()
245 if (!test_bit(xfer_id, minfo->xfer_alloc_table)) { in ti_sci_rx_callback()
246 dev_err(dev, "Message for %d is not expected!\n", xfer_id); in ti_sci_rx_callback()
250 xfer = &minfo->xfer_block[xfer_id]; in ti_sci_rx_callback()
299 u8 xfer_id; in ti_sci_get_one_xfer() local
333 xfer_id = (u8)bit_pos; in ti_sci_get_one_xfer()
335 xfer = &minfo->xfer_block[xfer_id]; in ti_sci_get_one_xfer()
345 hdr->seq = xfer_id; in ti_sci_get_one_xfer()
365 u8 xfer_id; in ti_sci_put_one_xfer() local
[all …]
/linux-6.6.21/drivers/hid/
Dwacom_sys.c989 static int wacom_led_putimage(struct wacom *wacom, int button_id, u8 xfer_id, in wacom_led_putimage() argument
1008 buf[0] = xfer_id; in wacom_led_putimage()
1125 u8 xfer_id; in wacom_button_image_store() local
1129 xfer_id = WAC_CMD_ICON_BT_XFER; in wacom_button_image_store()
1132 xfer_id = WAC_CMD_ICON_XFER; in wacom_button_image_store()
1140 err = wacom_led_putimage(wacom, button_id, xfer_id, len, buf); in wacom_button_image_store()