/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_cmd.c | 190 uint32_t next_cmd = vmw_fifo_mem_read(dev_priv, SVGA_FIFO_NEXT_CMD); in vmw_fifo_is_full() local 194 return ((max - next_cmd) + (stop - min) <= bytes); in vmw_fifo_is_full() 284 uint32_t next_cmd; in vmw_local_fifo_reserve() local 291 next_cmd = vmw_fifo_mem_read(dev_priv, SVGA_FIFO_NEXT_CMD); in vmw_local_fifo_reserve() 306 if (next_cmd >= stop) { in vmw_local_fifo_reserve() 307 if (likely((next_cmd + bytes < max || in vmw_local_fifo_reserve() 308 (next_cmd + bytes == max && stop > min)))) in vmw_local_fifo_reserve() 321 if (likely((next_cmd + bytes < stop))) in vmw_local_fifo_reserve() 340 (next_cmd >> 2)); in vmw_local_fifo_reserve() 387 uint32_t next_cmd, in vmw_fifo_res_copy() argument 409 vmw_fifo_slow_copy(struct vmw_fifo_state * fifo_state,struct vmw_private * vmw,uint32_t next_cmd,uint32_t max,uint32_t min,uint32_t bytes) vmw_fifo_slow_copy() argument 430 uint32_t next_cmd = vmw_fifo_mem_read(dev_priv, SVGA_FIFO_NEXT_CMD); vmw_local_fifo_commit() local [all...] |
/linux/drivers/i2c/busses/ |
H A 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 in img_i2c_atomic() [all...] |
/linux/include/net/sctp/ |
H A 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/fs/smb/server/ |
H A D | smb2misc.c | 375 __u32 req_struct_size, next_cmd = le32_to_cpu(hdr->NextCommand); in ksmbd_smb2_check_message() local 377 if ((u64)work->next_smb2_rcv_hdr_off + next_cmd > len) { in ksmbd_smb2_check_message() 379 next_cmd); in ksmbd_smb2_check_message() 383 if (next_cmd > 0) in ksmbd_smb2_check_message() 384 len = next_cmd; in ksmbd_smb2_check_message()
|
/linux/drivers/mmc/host/ |
H A D | meson-mx-sdio.c | 444 struct mmc_command *cmd = host->cmd, *next_cmd; in meson_mx_mmc_irq_thread() local 459 next_cmd = meson_mx_mmc_get_next_cmd(cmd); in meson_mx_mmc_irq_thread() 460 if (next_cmd) in meson_mx_mmc_irq_thread() 461 meson_mx_mmc_start_cmd(host->mmc, next_cmd); in meson_mx_mmc_irq_thread()
|
H A D | meson-gx-mmc.c | 1026 struct mmc_command *next_cmd, *cmd = host->cmd; in meson_mmc_irq_thread() local 1051 next_cmd = meson_mmc_get_next_command(cmd); in meson_mmc_irq_thread() 1052 if (next_cmd) in meson_mmc_irq_thread() 1053 meson_mmc_start_cmd(host->mmc, next_cmd); in meson_mmc_irq_thread()
|
/linux/drivers/gpu/drm/sti/ |
H A D | sti_hqvdp.c | 380 u32 curr_cmd, next_cmd; in sti_hqvdp_get_free_cmd() local 385 next_cmd = readl(hqvdp->regs + HQVDP_MBX_NEXT_CMD); in sti_hqvdp_get_free_cmd() 388 if ((cmd != curr_cmd) && (cmd != next_cmd)) in sti_hqvdp_get_free_cmd() 436 int next_cmd; in sti_hqvdp_get_next_cmd() local 440 next_cmd = readl(hqvdp->regs + HQVDP_MBX_NEXT_CMD); in sti_hqvdp_get_next_cmd() 443 if (cmd == next_cmd) in sti_hqvdp_get_next_cmd()
|
/linux/fs/smb/client/ |
H A D | smb2ops.c | 4960 unsigned int next_cmd; in receive_encrypted_standard() local 4989 next_cmd = le32_to_cpu(shdr->NextCommand); in receive_encrypted_standard() 4990 if (next_cmd) { in receive_encrypted_standard() 4991 if (WARN_ON_ONCE(next_cmd > pdu_length)) in receive_encrypted_standard() 5001 memcpy(next_buffer, buf + next_cmd, pdu_length - next_cmd); in receive_encrypted_standard() 5025 if (ret == 0 && next_cmd) { in receive_encrypted_standard() 5026 pdu_length -= next_cmd; in receive_encrypted_standard()
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_migrate.c | 1408 goto next_cmd; in __xe_migrate_update_pgtables() 1425 next_cmd: in __xe_migrate_update_pgtables()
|
/linux/drivers/target/ |
H A D | target_core_transport.c | 1883 struct se_cmd *se_cmd, *next_cmd; in target_queued_submit_work() local 1894 llist_for_each_entry_safe(se_cmd, next_cmd, cmd_list, se_cmd_list) { in target_queued_submit_work()
|
/linux/drivers/irqchip/ |
H A D | irq-gic-v3-its.c | 1217 struct its_cmd_block *cmd, *sync_cmd, *next_cmd; \ 1243 next_cmd = its_post_commands(its); \ 1246 if (its_wait_for_range_completion(its, rd_idx, next_cmd)) \
|