Searched refs:next_cmd (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_fifo.c | 212 uint32_t next_cmd = vmw_mmio_read(fifo_mem + SVGA_FIFO_NEXT_CMD); in vmw_fifo_is_full() local 216 return ((max - next_cmd) + (stop - min) <= bytes); in vmw_fifo_is_full() 306 uint32_t next_cmd; in vmw_local_fifo_reserve() local 313 next_cmd = vmw_mmio_read(fifo_mem + SVGA_FIFO_NEXT_CMD); in vmw_local_fifo_reserve() 328 if (next_cmd >= stop) { in vmw_local_fifo_reserve() 329 if (likely((next_cmd + bytes < max || in vmw_local_fifo_reserve() 330 (next_cmd + bytes == max && stop > min)))) in vmw_local_fifo_reserve() 343 if (likely((next_cmd + bytes < stop))) in vmw_local_fifo_reserve() 361 (next_cmd >> 2)); in vmw_local_fifo_reserve() 408 uint32_t next_cmd, in vmw_fifo_res_copy() argument [all …]
|
/Linux-v5.4/drivers/i2c/busses/ |
D | i2c-img-scb.c | 663 int next_cmd = -1; in img_i2c_sequence() local 687 next_cmd = *i2c->seq; in img_i2c_sequence() 689 if (!next_cmd) { in img_i2c_sequence() 694 if (next_cmd == CMD_GEN_DATA) { in img_i2c_sequence() 699 img_i2c_atomic_op(i2c, next_cmd, next_data); in img_i2c_sequence() 736 int next_cmd = -1; in img_i2c_atomic() local 748 next_cmd = CMD_GEN_STOP; in img_i2c_atomic() 756 next_cmd = CMD_GEN_DATA; in img_i2c_atomic() 761 next_cmd = CMD_RET_ACK; in img_i2c_atomic() 768 next_cmd = CMD_GEN_STOP; in img_i2c_atomic() [all …]
|
/Linux-v5.4/include/net/sctp/ |
D | command.h | 192 struct sctp_cmd *next_cmd; member 203 seq->next_cmd = seq->last_used_slot; in sctp_init_cmd_seq() 230 if (seq->next_cmd <= seq->last_used_slot) in sctp_next_cmd() 233 return --seq->next_cmd; in sctp_next_cmd()
|
/Linux-v5.4/drivers/mmc/host/ |
D | meson-mx-sdio.c | 450 struct mmc_command *cmd = host->cmd, *next_cmd; in meson_mx_mmc_irq_thread() local 465 next_cmd = meson_mx_mmc_get_next_cmd(cmd); in meson_mx_mmc_irq_thread() 466 if (next_cmd) in meson_mx_mmc_irq_thread() 467 meson_mx_mmc_start_cmd(host->mmc, next_cmd); in meson_mx_mmc_irq_thread()
|
D | meson-gx-mmc.c | 935 struct mmc_command *next_cmd, *cmd = host->cmd; in meson_mmc_irq_thread() local 957 next_cmd = meson_mmc_get_next_command(cmd); in meson_mmc_irq_thread() 958 if (next_cmd) in meson_mmc_irq_thread() 959 meson_mmc_start_cmd(host->mmc, next_cmd); in meson_mmc_irq_thread()
|
/Linux-v5.4/drivers/gpu/drm/sti/ |
D | sti_hqvdp.c | 378 u32 curr_cmd, next_cmd; in sti_hqvdp_get_free_cmd() local 383 next_cmd = readl(hqvdp->regs + HQVDP_MBX_NEXT_CMD); in sti_hqvdp_get_free_cmd() 386 if ((cmd != curr_cmd) && (cmd != next_cmd)) in sti_hqvdp_get_free_cmd() 434 int next_cmd; in sti_hqvdp_get_next_cmd() local 438 next_cmd = readl(hqvdp->regs + HQVDP_MBX_NEXT_CMD); in sti_hqvdp_get_next_cmd() 441 if (cmd == next_cmd) in sti_hqvdp_get_next_cmd()
|
/Linux-v5.4/drivers/platform/x86/ |
D | thinkpad_acpi.c | 919 static char *next_cmd(char **cmds) in next_cmd() function 1426 while ((cmd = next_cmd(&buf))) { in tpacpi_rfk_procfs_write() 4309 while ((cmd = next_cmd(&buf))) { in hotkey_write() 5236 while ((cmd = next_cmd(&buf))) { in video_write() 5481 while ((cmd = next_cmd(&buf))) { in kbdlight_write() 5661 while ((cmd = next_cmd(&buf))) { in light_write() 5746 while ((cmd = next_cmd(&buf))) { in cmos_write() 6147 while ((cmd = next_cmd(&buf))) { in led_write() 6232 while ((cmd = next_cmd(&buf))) { in beep_write() 7120 while ((cmd = next_cmd(&buf))) { in brightness_write() [all …]
|
/Linux-v5.4/drivers/scsi/ |
D | gdth.c | 1581 u8 this_cmd, next_cmd; in gdth_next() local 1591 next_cmd = gdth_polling ? FALSE:TRUE; in gdth_next() 1671 next_cmd = FALSE; in gdth_next() 1675 next_cmd = FALSE; in gdth_next() 1689 next_cmd = FALSE; in gdth_next() 1807 if (!next_cmd) in gdth_next()
|
/Linux-v5.4/drivers/irqchip/ |
D | irq-gic-v3-its.c | 802 struct its_cmd_block *cmd, *sync_cmd, *next_cmd; \ 828 next_cmd = its_post_commands(its); \ 831 if (its_wait_for_range_completion(its, rd_idx, next_cmd)) \
|