Home
last modified time | relevance | path

Searched refs:cmd_tail (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/Documentation/target/
Dtcmu-design.rst147 cmd_tail
157 completed, userspace updates mailbox.cmd_tail in the same way and
159 cmd_tail, the ring is empty -- no commands are currently waiting to be
184 mailbox.cmd_tail by entry.hdr.length (mod cmdr_size) and signals the
194 When the opcode is PAD, userspace only updates cmd_tail as above --
200 hdr.uflags, update cmd_tail, and proceed with processing additional
293 possibly sense_buffer), updating cmd_tail, and notifying the kernel
353 struct tcmu_cmd_entry *ent = (void *) mb + mb->cmdr_off + mb->cmd_tail;
379 /* Do nothing for PAD entries except update cmd_tail */
382 /* update cmd_tail */
[all …]
/linux-6.1.9/include/uapi/linux/
Dtarget_core_user.h60 __u32 cmd_tail __attribute__((__aligned__(ALIGN_SIZE))); member
/linux-6.1.9/drivers/net/ethernet/i825xx/
Dlib82596.c320 struct i596_cmd *cmd_tail; member
914 lp->cmd_tail->v_next = cmd; in i596_add_cmd()
915 lp->cmd_tail->b_next = SWAP32(virt_to_dma(lp, &cmd->status)); in i596_add_cmd()
916 dma_sync_dev(dev, lp->cmd_tail, sizeof(struct i596_cmd)); in i596_add_cmd()
925 lp->cmd_tail = cmd; in i596_add_cmd()
1263 while ((ptr != NULL) && (ptr != lp->cmd_tail)) { in i596_interrupt()
D82596.c328 struct i596_cmd *cmd_tail; member
952 lp->cmd_tail->v_next = cmd; in i596_add_cmd()
953 lp->cmd_tail->b_next = WSWAPcmd(virt_to_bus(&cmd->status)); in i596_add_cmd()
961 lp->cmd_tail = cmd; in i596_add_cmd()
1337 while ((ptr != I596_NULL) && (ptr != lp->cmd_tail)) { in i596_interrupt()
/linux-6.1.9/kernel/debug/kdb/
Dkdb_main.c870 static unsigned int cmd_head, cmd_tail; variable
1143 if (cmd_head == cmd_tail) in handle_ctrl_cmd()
1147 if (cmdptr != cmd_tail) in handle_ctrl_cmd()
1377 if (cmd_head == cmd_tail) in kdb_local()
1378 cmd_tail = (cmd_tail+1) % KDB_CMD_HISTORY_COUNT; in kdb_local()
/linux-6.1.9/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c183 static int pcan_usb_fd_send_cmd(struct peak_usb_device *dev, void *cmd_tail) in pcan_usb_fd_send_cmd() argument
201 cmd_len = cmd_tail - cmd_head; in pcan_usb_fd_send_cmd()
203 memset(cmd_tail, 0xff, sizeof(u64)); in pcan_usb_fd_send_cmd()
/linux-6.1.9/drivers/target/
Dtarget_core_user.c1457 while (udev->cmdr_last_cleaned != READ_ONCE(mb->cmd_tail)) { in tcmu_handle_completions()
2403 mb->cmd_tail, mb->cmd_head); in tcmu_reset_ring()
2406 mb->cmd_tail = 0; in tcmu_reset_ring()