Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/include/uapi/linux/
Dtarget_core_user.h60 __u32 cmd_tail __attribute__((__aligned__(ALIGN_SIZE))); member
/Linux-v6.6/drivers/net/ethernet/i825xx/
Dlib82596.c319 struct i596_cmd *cmd_tail; member
913 lp->cmd_tail->v_next = cmd; in i596_add_cmd()
914 lp->cmd_tail->b_next = SWAP32(virt_to_dma(lp, &cmd->status)); in i596_add_cmd()
915 dma_sync_dev(dev, lp->cmd_tail, sizeof(struct i596_cmd)); in i596_add_cmd()
924 lp->cmd_tail = cmd; in i596_add_cmd()
1262 while ((ptr != NULL) && (ptr != lp->cmd_tail)) { in i596_interrupt()
D82596.c327 struct i596_cmd *cmd_tail; member
951 lp->cmd_tail->v_next = cmd; in i596_add_cmd()
952 lp->cmd_tail->b_next = WSWAPcmd(virt_to_bus(&cmd->status)); in i596_add_cmd()
960 lp->cmd_tail = cmd; in i596_add_cmd()
1336 while ((ptr != I596_NULL) && (ptr != lp->cmd_tail)) { in i596_interrupt()
/Linux-v6.6/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-v6.6/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c192 static int pcan_usb_fd_send_cmd(struct peak_usb_device *dev, void *cmd_tail) in pcan_usb_fd_send_cmd() argument
210 cmd_len = cmd_tail - cmd_head; in pcan_usb_fd_send_cmd()
212 memset(cmd_tail, 0xff, sizeof(u64)); in pcan_usb_fd_send_cmd()
/Linux-v6.6/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()