Home
last modified time | relevance | path

Searched refs:cmd_head (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/i825xx/
Dlib82596.c321 struct i596_cmd *cmd_head; member
424 cmd = lp->cmd_head; in i596_display_data()
573 lp->cmd_head = NULL; in init_i596_mem()
802 while (lp->cmd_head != NULL) { in i596_cleanup_cmd()
803 ptr = lp->cmd_head; in i596_cleanup_cmd()
804 lp->cmd_head = ptr->v_next; in i596_cleanup_cmd()
875 lp->cmd_head)); in i596_add_cmd()
885 if (lp->cmd_head != NULL) { in i596_add_cmd()
890 lp->cmd_head = cmd; in i596_add_cmd()
1157 while (lp->cmd_head != NULL) { in i596_interrupt()
[all …]
D82596.c329 struct i596_cmd *cmd_head; member
475 cmd = lp->cmd_head; in i596_display_data()
669 lp->cmd_head = lp->scb.cmd = I596_NULL; in init_i596_mem()
881 while (lp->cmd_head != I596_NULL) { in i596_cleanup_cmd()
882 ptr = lp->cmd_head; in i596_cleanup_cmd()
883 lp->cmd_head = ptr->v_next; in i596_cleanup_cmd()
951 if (lp->cmd_head != I596_NULL) { in i596_add_cmd()
955 lp->cmd_head = cmd; in i596_add_cmd()
1283 while ((lp->cmd_head != I596_NULL) && (lp->cmd_head->status & STAT_C)) { in i596_interrupt()
1284 ptr = lp->cmd_head; in i596_interrupt()
[all …]
/Linux-v5.4/drivers/target/
Dtarget_core_user.c821 u32 cmd_head; in is_ring_space_avail() local
825 cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in is_ring_space_avail()
831 if (head_to_end(cmd_head, udev->cmdr_size) >= cmd_size) in is_ring_space_avail()
834 cmd_needed = cmd_size + head_to_end(cmd_head, udev->cmdr_size); in is_ring_space_avail()
836 space = spc_free(cmd_head, udev->cmdr_last_cleaned, udev->cmdr_size); in is_ring_space_avail()
838 pr_debug("no cmd space: %u %u %u\n", cmd_head, in is_ring_space_avail()
963 uint32_t cmd_head; in queue_cmd_ring() local
999 cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in queue_cmd_ring()
1020 if (head_to_end(cmd_head, udev->cmdr_size) < command_size) { in queue_cmd_ring()
1021 size_t pad_size = head_to_end(cmd_head, udev->cmdr_size); in queue_cmd_ring()
[all …]
/Linux-v5.4/kernel/debug/kdb/
Dkdb_main.c814 static unsigned int cmd_head, cmd_tail; variable
1100 if (cmd_head == cmd_tail) in handle_ctrl_cmd()
1109 if (cmdptr != cmd_head) in handle_ctrl_cmd()
1299 *(cmd_hist[cmd_head]) = '\0'; in kdb_local()
1317 if (cmdptr == cmd_head) { in kdb_local()
1318 strncpy(cmd_hist[cmd_head], cmd_cur, in kdb_local()
1320 *(cmd_hist[cmd_head] + in kdb_local()
1321 strlen(cmd_hist[cmd_head])-1) = '\0'; in kdb_local()
1328 strncpy(cmd_hist[cmd_head], cmd_cur, in kdb_local()
1332 cmd_head = (cmd_head+1) % KDB_CMD_HISTORY_COUNT; in kdb_local()
[all …]
/Linux-v5.4/include/uapi/linux/
Dtarget_core_user.h55 __u32 cmd_head; member
/Linux-v5.4/Documentation/target/
Dtcmu-design.rst144 cmd_head
155 mailbox.cmd_head by the size of the command, modulo cmdr_size, and
158 signals the kernel via a 4-byte write(). When cmd_head equals
356 /* Process events from cmd ring until we catch up with cmd_head */
357 while (ent != (void *)mb + mb->cmdr_off + mb->cmd_head) {
/Linux-v5.4/drivers/input/mouse/
Dcyapa_gen5.c1936 struct pip_app_cmd_head *cmd_head; in cyapa_gen5_read_idac_data() local
2007 cmd_head = (struct pip_app_cmd_head *)cmd; in cyapa_gen5_read_idac_data()
2008 put_unaligned_le16(PIP_OUTPUT_REPORT_ADDR, &cmd_head->addr); in cyapa_gen5_read_idac_data()
2009 put_unaligned_le16(sizeof(cmd) - 2, &cmd_head->length); in cyapa_gen5_read_idac_data()
2010 cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_read_idac_data()
2011 cmd_head->cmd_code = cmd_code; in cyapa_gen5_read_idac_data()
2018 put_unaligned_le16(offset, &cmd_head->parameter_data[0]); in cyapa_gen5_read_idac_data()
2019 put_unaligned_le16(read_len, &cmd_head->parameter_data[2]); in cyapa_gen5_read_idac_data()
2020 cmd_head->parameter_data[4] = idac_data_type; in cyapa_gen5_read_idac_data()
/Linux-v5.4/drivers/net/can/usb/peak_usb/
Dpcan_usb_fd.c176 void *cmd_head = pcan_usb_fd_cmd_buffer(dev); in pcan_usb_fd_send_cmd() local
189 cmd_len = cmd_tail - cmd_head; in pcan_usb_fd_send_cmd()
195 packet_ptr = cmd_head; in pcan_usb_fd_send_cmd()