Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/i825xx/
H A Dlib82596.c320 struct i596_cmd *cmd_head; member
454 cmd = lp->cmd_head; in i596_display_data()
600 lp->cmd_head = NULL; in init_i596_mem()
830 ptr = lp->cmd_head; in i596_cleanup_cmd()
831 lp->cmd_head = ptr->v_next; in i596_cleanup_cmd()
902 lp->cmd_head)); in i596_add_cmd()
912 if (lp->cmd_head != NULL) { in i596_add_cmd()
917 lp->cmd_head = cmd; in i596_add_cmd()
1175 ptr = lp->cmd_head; in i596_interrupt()
1261 ptr = lp->cmd_head; in i596_interrupt()
[all …]
H A D82596.c328 struct i596_cmd *cmd_head; member
474 cmd = lp->cmd_head; in i596_display_data()
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->status & STAT_C)) { in i596_interrupt()
1273 ptr = lp->cmd_head; in i596_interrupt()
1276 lp->cmd_head->status, lp->cmd_head->command)); in i596_interrupt()
1277 lp->cmd_head = ptr->v_next; in i596_interrupt()
[all …]
/openbmc/u-boot/tools/
H A Dmxsimage.c400 cctx = sctx->cmd_head; in sb_encrypt_image()
808 if (!sctx->cmd_head) { in sb_build_command_nop()
809 sctx->cmd_head = cctx; in sb_build_command_nop()
852 if (!sctx->cmd_head) { in sb_build_command_tag()
853 sctx->cmd_head = cctx; in sb_build_command_tag()
1021 if (!sctx->cmd_head) { in sb_build_command_load()
1022 sctx->cmd_head = cctx; in sb_build_command_load()
1118 if (!sctx->cmd_head) { in sb_build_command_fill()
1119 sctx->cmd_head = cctx; in sb_build_command_fill()
1209 if (!sctx->cmd_head) { in sb_build_command_jump_call()
[all …]
/openbmc/linux/drivers/target/
H A Dtarget_core_user.c824 u32 cmd_head; in is_ring_space_avail() local
828 cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in is_ring_space_avail()
959 uint32_t cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in ring_insert_padding() local
965 hdr = udev->cmdr + cmd_head; in ring_insert_padding()
976 cmd_head = mb->cmd_head % udev->cmdr_size; /* UAM */ in ring_insert_padding()
977 WARN_ON(cmd_head != 0); in ring_insert_padding()
980 return cmd_head; in ring_insert_padding()
1021 uint32_t cmd_id, cmd_head; in queue_cmd_ring() local
1090 entry = udev->cmdr + cmd_head; in queue_cmd_ring()
1164 uint32_t cmd_head; in queue_tmr_ring() local
[all …]
/openbmc/linux/kernel/debug/kdb/
H A Dkdb_main.c870 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()
1370 strscpy(cmd_hist[cmd_head], cmd_cur, in kdb_local()
1374 cmd_head = (cmd_head+1) % KDB_CMD_HISTORY_COUNT; in kdb_local()
1375 if (cmd_head == cmd_tail) in kdb_local()
[all …]
/openbmc/linux/include/uapi/linux/
H A Dtarget_core_user.h57 __u32 cmd_head; member
/openbmc/linux/Documentation/target/
H A 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) {
/openbmc/linux/drivers/input/mouse/
H A Dcyapa_gen5.c1937 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()
/openbmc/linux/drivers/scsi/elx/efct/
H A Defct_hw.c250 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()
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()
H A Defct_hw.h423 struct list_head cmd_head; member
/openbmc/linux/drivers/net/can/usb/peak_usb/
H A Dpcan_usb_fd.c197 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()