Searched refs:len_op (Results 1 – 5 of 5) sorted by relevance
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | target_core_user.h | 71 __u32 len_op; member 82 static __inline__ enum tcmu_opcode tcmu_hdr_get_op(__u32 len_op) in tcmu_hdr_get_op() argument 84 return len_op & TCMU_OP_MASK; in tcmu_hdr_get_op() 87 static __inline__ void tcmu_hdr_set_op(__u32 *len_op, enum tcmu_opcode op) in tcmu_hdr_set_op() argument 89 *len_op &= ~TCMU_OP_MASK; in tcmu_hdr_set_op() 90 *len_op |= (op & TCMU_OP_MASK); in tcmu_hdr_set_op() 93 static __inline__ __u32 tcmu_hdr_get_len(__u32 len_op) in tcmu_hdr_get_len() argument 95 return len_op & ~TCMU_OP_MASK; in tcmu_hdr_get_len() 98 static __inline__ void tcmu_hdr_set_len(__u32 *len_op, __u32 len) in tcmu_hdr_set_len() argument 100 *len_op &= TCMU_OP_MASK; in tcmu_hdr_set_len() [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | target_core_user.h | 71 __u32 len_op; member 82 static __inline__ enum tcmu_opcode tcmu_hdr_get_op(__u32 len_op) in tcmu_hdr_get_op() argument 84 return len_op & TCMU_OP_MASK; in tcmu_hdr_get_op() 87 static __inline__ void tcmu_hdr_set_op(__u32 *len_op, enum tcmu_opcode op) in tcmu_hdr_set_op() argument 89 *len_op &= ~TCMU_OP_MASK; in tcmu_hdr_set_op() 90 *len_op |= (op & TCMU_OP_MASK); in tcmu_hdr_set_op() 93 static __inline__ __u32 tcmu_hdr_get_len(__u32 len_op) in tcmu_hdr_get_len() argument 95 return len_op & ~TCMU_OP_MASK; in tcmu_hdr_get_len() 98 static __inline__ void tcmu_hdr_set_len(__u32 *len_op, __u32 len) in tcmu_hdr_set_len() argument 100 *len_op &= TCMU_OP_MASK; in tcmu_hdr_set_len() [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | target_core_user.h | 73 __u32 len_op; member 84 static inline enum tcmu_opcode tcmu_hdr_get_op(__u32 len_op) in tcmu_hdr_get_op() argument 86 return len_op & TCMU_OP_MASK; in tcmu_hdr_get_op() 89 static inline void tcmu_hdr_set_op(__u32 *len_op, enum tcmu_opcode op) in tcmu_hdr_set_op() argument 91 *len_op &= ~TCMU_OP_MASK; in tcmu_hdr_set_op() 92 *len_op |= (op & TCMU_OP_MASK); in tcmu_hdr_set_op() 95 static inline __u32 tcmu_hdr_get_len(__u32 len_op) in tcmu_hdr_get_len() argument 97 return len_op & ~TCMU_OP_MASK; in tcmu_hdr_get_len() 100 static inline void tcmu_hdr_set_len(__u32 *len_op, __u32 len) in tcmu_hdr_set_len() argument 102 *len_op &= TCMU_OP_MASK; in tcmu_hdr_set_len() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/target/ |
| H A D | target_core_user.c | 959 tcmu_hdr_set_op(&hdr->len_op, TCMU_OP_PAD); in ring_insert_padding() 960 tcmu_hdr_set_len(&hdr->len_op, pad_size); in ring_insert_padding() 1065 tcmu_hdr_set_op(&entry->hdr.len_op, TCMU_OP_CMD); in queue_cmd_ring() 1090 tcmu_hdr_set_len(&entry->hdr.len_op, command_size); in queue_cmd_ring() 1157 tcmu_hdr_set_op(&entry->hdr.len_op, TCMU_OP_TMR); in queue_tmr_ring() 1158 tcmu_hdr_set_len(&entry->hdr.len_op, cmd_size); in queue_tmr_ring() 1423 if (tcmu_hdr_get_op(entry->hdr.len_op) == TCMU_OP_PAD || in tcmu_handle_completions() 1424 tcmu_hdr_get_op(entry->hdr.len_op) == TCMU_OP_TMR) { in tcmu_handle_completions() 1426 tcmu_hdr_get_len(entry->hdr.len_op), in tcmu_handle_completions() 1430 WARN_ON(tcmu_hdr_get_op(entry->hdr.len_op) != TCMU_OP_CMD); in tcmu_handle_completions() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/target/ |
| H A D | tcmu-design.rst | 163 containing "len_op", a 32-bit value that stores the length, as well as 359 if (tcmu_hdr_get_op(ent->hdr.len_op) == TCMU_OP_CMD) { 374 else if (tcmu_hdr_get_op(ent->hdr.len_op) != TCMU_OP_PAD) {
|