Searched refs:cmd_head (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/i825xx/ |
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() 903 lp->cmd_head)); in i596_add_cmd() 913 if (lp->cmd_head != NULL) { in i596_add_cmd() 918 lp->cmd_head = cmd; in i596_add_cmd() 1171 while (lp->cmd_head != NULL) { in i596_interrupt() [all …]
|
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() 1272 while ((lp->cmd_head != I596_NULL) && (lp->cmd_head->status & STAT_C)) { in i596_interrupt() 1273 ptr = lp->cmd_head; in i596_interrupt() [all …]
|
/drivers/target/ |
D | target_core_user.c | 823 u32 cmd_head; in is_ring_space_avail() local 827 cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in is_ring_space_avail() 833 if (head_to_end(cmd_head, udev->cmdr_size) >= cmd_size) in is_ring_space_avail() 836 cmd_needed = cmd_size + head_to_end(cmd_head, udev->cmdr_size); in is_ring_space_avail() 838 space = spc_free(cmd_head, udev->cmdr_last_cleaned, udev->cmdr_size); in is_ring_space_avail() 840 pr_debug("no cmd space: %u %u %u\n", cmd_head, in is_ring_space_avail() 958 uint32_t cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in ring_insert_padding() local 961 if (head_to_end(cmd_head, udev->cmdr_size) < cmd_size) { in ring_insert_padding() 962 size_t pad_size = head_to_end(cmd_head, udev->cmdr_size); in ring_insert_padding() 964 hdr = udev->cmdr + cmd_head; in ring_insert_padding() [all …]
|
/drivers/input/mouse/ |
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()
|
/drivers/scsi/elx/efct/ |
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() 1362 list_add_tail(&ctx->list_entry, &hw->cmd_head); in efct_hw_cmd_submit_pending() 1459 if (!list_empty(&hw->cmd_head)) { in efct_hw_command_process() 1460 ctx = list_first_entry(&hw->cmd_head, in efct_hw_command_process() 1514 while (!list_empty(&hw->cmd_head)) { in efct_hw_command_cancel() 1518 ctx = list_first_entry(&hw->cmd_head, in efct_hw_command_cancel() 3412 if (list_empty(&hw->cmd_head)) in efct_hw_teardown() 3567 if (list_empty(&hw->cmd_head)) in efct_hw_reset()
|
D | efct_hw.h | 423 struct list_head cmd_head; member
|
/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_fd.c | 174 void *cmd_head = pcan_usb_fd_cmd_buffer(dev); in pcan_usb_fd_send_cmd() local 187 cmd_len = cmd_tail - cmd_head; in pcan_usb_fd_send_cmd() 193 packet_ptr = cmd_head; in pcan_usb_fd_send_cmd()
|