/kernel/linux/linux-5.10/drivers/target/ |
H A D | target_core_user.c | 816 u32 cmd_head; in is_ring_space_avail() local 820 cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in is_ring_space_avail() 826 if (head_to_end(cmd_head, udev->cmdr_size) >= cmd_size) in is_ring_space_avail() 829 cmd_needed = cmd_size + head_to_end(cmd_head, udev->cmdr_size); in is_ring_space_avail() 831 space = spc_free(cmd_head, udev->cmdr_last_cleaned, udev->cmdr_size); in is_ring_space_avail() 833 pr_debug("no cmd space: %u %u %u\n", cmd_head, in is_ring_space_avail() 952 uint32_t cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in ring_insert_padding() local 955 if (head_to_end(cmd_head, ude in ring_insert_padding() 995 uint32_t cmd_head; queue_cmd_ring() local 1137 uint32_t cmd_head; queue_tmr_ring() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/i825xx/ |
H A D | lib82596.c | 321 struct i596_cmd *cmd_head; member 455 cmd = lp->cmd_head; in i596_display_data() 601 lp->cmd_head = NULL; in init_i596_mem() 830 while (lp->cmd_head != NULL) { in i596_cleanup_cmd() 831 ptr = lp->cmd_head; in i596_cleanup_cmd() 832 lp->cmd_head = ptr->v_next; in i596_cleanup_cmd() 902 DEB(DEB_ADDCMD, printk(KERN_DEBUG "i596_add_cmd cmd_head %p\n", in i596_add_cmd() 903 lp->cmd_head)); in i596_add_cmd() 913 if (lp->cmd_head != NULL) { in i596_add_cmd() 918 lp->cmd_head in i596_add_cmd() [all...] |
H A D | 82596.c | 329 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 in i596_interrupt() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/i825xx/ |
H A D | lib82596.c | 320 struct i596_cmd *cmd_head; member 454 cmd = lp->cmd_head; in i596_display_data() 600 lp->cmd_head = NULL; in init_i596_mem() 829 while (lp->cmd_head != NULL) { in i596_cleanup_cmd() 830 ptr = lp->cmd_head; in i596_cleanup_cmd() 831 lp->cmd_head = ptr->v_next; in i596_cleanup_cmd() 901 DEB(DEB_ADDCMD, printk(KERN_DEBUG "i596_add_cmd cmd_head %p\n", in i596_add_cmd() 902 lp->cmd_head)); in i596_add_cmd() 912 if (lp->cmd_head != NULL) { in i596_add_cmd() 917 lp->cmd_head in i596_add_cmd() [all...] |
H A D | 82596.c | 328 struct i596_cmd *cmd_head; member 474 cmd = lp->cmd_head; in i596_display_data() 668 lp->cmd_head = lp->scb.cmd = I596_NULL; in init_i596_mem() 880 while (lp->cmd_head != I596_NULL) { in i596_cleanup_cmd() 881 ptr = lp->cmd_head; in i596_cleanup_cmd() 882 lp->cmd_head = ptr->v_next; in i596_cleanup_cmd() 950 if (lp->cmd_head != I596_NULL) { in i596_add_cmd() 954 lp->cmd_head = cmd; in i596_add_cmd() 1272 while ((lp->cmd_head != I596_NULL) && (lp->cmd_head in i596_interrupt() [all...] |
/kernel/linux/linux-6.6/drivers/target/ |
H A D | target_core_user.c | 824 u32 cmd_head; in is_ring_space_avail() local 828 cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in is_ring_space_avail() 834 if (head_to_end(cmd_head, udev->cmdr_size) >= cmd_size) in is_ring_space_avail() 837 cmd_needed = cmd_size + head_to_end(cmd_head, udev->cmdr_size); in is_ring_space_avail() 839 space = spc_free(cmd_head, udev->cmdr_last_cleaned, udev->cmdr_size); in is_ring_space_avail() 841 pr_debug("no cmd space: %u %u %u\n", cmd_head, in is_ring_space_avail() 959 uint32_t cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in ring_insert_padding() local 962 if (head_to_end(cmd_head, ude in ring_insert_padding() 1021 uint32_t cmd_id, cmd_head; queue_cmd_ring() local 1164 uint32_t cmd_head; queue_tmr_ring() local [all...] |
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | target_core_user.h | 20 __u32 cmd_head; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | target_core_user.h | 34 __u32 cmd_head; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | target_core_user.h | 34 __u32 cmd_head; member
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | target_core_user.h | 26 * tcmu_cmd_entry in the ring, updating mailbox->cmd_head, and poking 40 * hdr->length, mod cmdr_size. If cmd_tail doesn't equal cmd_head, it 56 __u32 cmd_head; member
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | target_core_user.h | 26 * tcmu_cmd_entry in the ring, updating mailbox->cmd_head, and poking 40 * hdr->length, mod cmdr_size. If cmd_tail doesn't equal cmd_head, it 57 __u32 cmd_head; member
|
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | cyapa_gen5.c | 1936 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()
|
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | cyapa_gen5.c | 1937 struct pip_app_cmd_head *cmd_head; in cyapa_gen5_read_idac_data() local 2008 cmd_head = (struct pip_app_cmd_head *)cmd; in cyapa_gen5_read_idac_data() 2009 put_unaligned_le16(PIP_OUTPUT_REPORT_ADDR, &cmd_head->addr); in cyapa_gen5_read_idac_data() 2010 put_unaligned_le16(sizeof(cmd) - 2, &cmd_head->length); in cyapa_gen5_read_idac_data() 2011 cmd_head->report_id = PIP_APP_CMD_REPORT_ID; in cyapa_gen5_read_idac_data() 2012 cmd_head->cmd_code = cmd_code; in cyapa_gen5_read_idac_data() 2019 put_unaligned_le16(offset, &cmd_head->parameter_data[0]); in cyapa_gen5_read_idac_data() 2020 put_unaligned_le16(read_len, &cmd_head->parameter_data[2]); in cyapa_gen5_read_idac_data() 2021 cmd_head->parameter_data[4] = idac_data_type; in cyapa_gen5_read_idac_data()
|
/kernel/linux/linux-6.6/drivers/scsi/elx/efct/ |
H A D | efct_hw.c | 250 INIT_LIST_HEAD(&hw->cmd_head); in efct_hw_setup() 899 if (!list_empty(&hw->cmd_head)) { in efct_hw_init() 917 * The cmd_head list should be OK since we free all entries in in efct_hw_init() 1362 list_add_tail(&ctx->list_entry, &hw->cmd_head); in efct_hw_cmd_submit_pending() 1458 if (!list_empty(&hw->cmd_head)) { in efct_hw_command_process() 1459 ctx = list_first_entry(&hw->cmd_head, in efct_hw_command_process() 1513 while (!list_empty(&hw->cmd_head)) { in efct_hw_command_cancel() 1517 ctx = list_first_entry(&hw->cmd_head, in efct_hw_command_cancel() 3411 if (list_empty(&hw->cmd_head)) in efct_hw_teardown() 3566 if (list_empty(&hw->cmd_head)) in efct_hw_reset() [all...] |
H A D | efct_hw.h | 423 struct list_head cmd_head; member
|
/kernel/linux/linux-5.10/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb_fd.c | 176 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()
|
/kernel/linux/linux-6.6/drivers/net/can/usb/peak_usb/ |
H A D | pcan_usb_fd.c | 197 void *cmd_head = pcan_usb_fd_cmd_buffer(dev); in pcan_usb_fd_send_cmd() local 210 cmd_len = cmd_tail - cmd_head; in pcan_usb_fd_send_cmd() 216 packet_ptr = cmd_head; in pcan_usb_fd_send_cmd()
|
/kernel/linux/linux-5.10/kernel/debug/kdb/ |
H A D | kdb_main.c | 872 static unsigned int cmd_head, cmd_tail; variable 1158 if (cmd_head == cmd_tail) in handle_ctrl_cmd() 1168 if (cmdptr != cmd_head) in handle_ctrl_cmd() 1361 *(cmd_hist[cmd_head]) = '\0'; in kdb_local() 1374 if (cmdptr == cmd_head) { in kdb_local() 1375 strscpy(cmd_hist[cmd_head], cmd_cur, in kdb_local() 1377 *(cmd_hist[cmd_head] + in kdb_local() 1378 strlen(cmd_hist[cmd_head])-1) = '\0'; in kdb_local() 1385 strscpy(cmd_hist[cmd_head], cmd_cur, in kdb_local() 1389 cmd_head in kdb_local() [all...] |
/kernel/linux/linux-6.6/kernel/debug/kdb/ |
H A D | kdb_main.c | 870 static unsigned int cmd_head, cmd_tail; variable 1143 if (cmd_head == cmd_tail) in handle_ctrl_cmd() 1153 if (cmdptr != cmd_head) in handle_ctrl_cmd() 1346 *(cmd_hist[cmd_head]) = '\0'; in kdb_local() 1359 if (cmdptr == cmd_head) { in kdb_local() 1360 strscpy(cmd_hist[cmd_head], cmd_cur, in kdb_local() 1362 *(cmd_hist[cmd_head] + in kdb_local() 1363 strlen(cmd_hist[cmd_head])-1) = '\0'; in kdb_local() 1370 strscpy(cmd_hist[cmd_head], cmd_cur, in kdb_local() 1374 cmd_head in kdb_local() [all...] |