Searched refs:next_cmd (Results 1 – 9 of 9) sorted by relevance
| /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 [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 = CMD_GEN_STOP; 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 | 374 __u32 req_struct_size, next_cmd = le32_to_cpu(hdr->NextCommand); in ksmbd_smb2_check_message() local 376 if ((u64)work->next_smb2_rcv_hdr_off + next_cmd > len) { in ksmbd_smb2_check_message() 378 next_cmd); in ksmbd_smb2_check_message() 382 if (next_cmd > 0) in ksmbd_smb2_check_message() 383 len = next_cmd; in ksmbd_smb2_check_message()
|
| H A D | smb2pdu.c | 460 unsigned int len, next_cmd; in is_chained_smb2_message() local 466 next_cmd = le32_to_cpu(hdr->NextCommand); in is_chained_smb2_message() 467 if (next_cmd > 0) { in is_chained_smb2_message() 468 if ((u64)work->next_smb2_rcv_hdr_off + next_cmd + in is_chained_smb2_message() 472 next_cmd); in is_chained_smb2_message()
|
| /linux/fs/smb/client/ |
| H A D | smb2ops.c | 5033 unsigned int next_cmd; in receive_encrypted_standard() local 5062 next_cmd = le32_to_cpu(shdr->NextCommand); in receive_encrypted_standard() 5063 if (next_cmd) { in receive_encrypted_standard() 5064 if (WARN_ON_ONCE(next_cmd > pdu_length)) in receive_encrypted_standard() 5074 memcpy(next_buffer, buf + next_cmd, pdu_length - next_cmd); in receive_encrypted_standard() 5098 if (ret == 0 && next_cmd) { in receive_encrypted_standard() 5099 pdu_length -= next_cmd; in receive_encrypted_standard()
|
| /linux/drivers/target/ |
| H A D | target_core_transport.c | 1889 struct se_cmd *se_cmd, *next_cmd; in target_queued_submit_work() local 1900 llist_for_each_entry_safe(se_cmd, next_cmd, cmd_list, se_cmd_list) { in target_queued_submit_work()
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_migrate.c | 1856 goto next_cmd; in __xe_migrate_update_pgtables() 1873 next_cmd: in __xe_migrate_update_pgtables()
|
| /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)) \
|