/openbmc/linux/arch/arc/include/asm/ |
H A D | atomic-spinlock.h | 31 #define ATOMIC_OP(op, c_op, asm_op) \ argument 32 static inline void arch_atomic_##op(int i, atomic_t *v) \ 41 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument 59 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ argument 76 #define ATOMIC_OPS(op, c_op, asm_op) \ argument 77 ATOMIC_OP(op, c_op, asm_op) \ 78 ATOMIC_OP_RETURN(op, c_op, asm_op) \ 79 ATOMIC_FETCH_OP(op, c_op, asm_op) 90 #define ATOMIC_OPS(op, c_op, asm_op) \ argument 91 ATOMIC_OP(op, c_op, asm_op) \ [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | rmwcc.h | 40 #define GEN_UNARY_RMWcc_4(op, var, cc, arg0) \ argument 41 __GEN_RMWcc(op " " arg0, var, cc, __CLOBBERS_MEM()) 43 #define GEN_UNARY_RMWcc_3(op, var, cc) \ argument 44 GEN_UNARY_RMWcc_4(op, var, cc, "%[var]") 48 #define GEN_BINARY_RMWcc_6(op, var, cc, vcon, _val, arg0) \ argument 49 __GEN_RMWcc(op " %[val], " arg0, var, cc, \ 52 #define GEN_BINARY_RMWcc_5(op, var, cc, vcon, val) \ argument 53 GEN_BINARY_RMWcc_6(op, var, cc, vcon, val, "%[var]") 57 #define GEN_UNARY_SUFFIXED_RMWcc(op, suffix, var, cc, clobbers...) \ argument 58 __GEN_RMWcc(op " %[var]\n\t" suffix, var, cc, \ [all …]
|
/openbmc/linux/drivers/spi/ |
H A D | spi-mtk-snfi.c | 1008 memset(op->data.buf.in, 0xff, op->data.nbytes); in mtk_snand_read_page_cache() 1205 if (op->addr.buswidth != 1 && op->addr.buswidth != 2 && in mtk_snand_is_page_ops() 1226 if (op->addr.buswidth == 1 && op->data.buswidth == 1) in mtk_snand_is_page_ops() 1233 if (op->addr.buswidth == 1 && op->data.buswidth == 4) in mtk_snand_is_page_ops() 1236 if (op->addr.buswidth == 1 && op->data.buswidth == 1) in mtk_snand_is_page_ops() 1247 if (op->cmd.nbytes != 1 || op->cmd.buswidth != 1) in mtk_snand_supports_op() 1252 (op->dummy.nbytes == 0 || op->dummy.buswidth == 1) && in mtk_snand_supports_op() 1253 (op->data.nbytes == 0 || op->data.buswidth == 1)); in mtk_snand_supports_op() 1273 size_t hl = op->cmd.nbytes + op->addr.nbytes + op->dummy.nbytes; in mtk_snand_adjust_op_size() 1288 op->addr.val, op->addr.buswidth, op->addr.nbytes, in mtk_snand_exec_op() [all …]
|
H A D | spi-sn-f-ospi.c | 119 return (op->dummy.nbytes * 8) / op->dummy.buswidth; in f_ospi_get_dummy_cycle() 275 mode = f_ospi_get_mode(ospi, op->addr.buswidth, op->addr.nbytes); in f_ospi_config_indir_protocol() 278 mode = f_ospi_get_mode(ospi, op->data.buswidth, op->data.nbytes); in f_ospi_config_indir_protocol() 310 switch (op->data.dir) { in f_ospi_config_indir_protocol() 356 switch (op->data.dir) { in f_ospi_indir_prepare_op() 404 u8 *buf = op->data.buf.in; in f_ospi_indir_read() 507 switch (op->data.dir) { in f_ospi_exec_op() 530 u8 width_op[] = { op->cmd.buswidth, op->addr.buswidth, in f_ospi_supports_op_width() 531 op->dummy.buswidth, op->data.buswidth }; in f_ospi_supports_op_width() 558 if (op->addr.nbytes > 4) in f_ospi_supports_op() [all …]
|
H A D | spi-nxp-fspi.c | 459 if (op->addr.nbytes) in nxp_fspi_supports_op() 462 if (op->dummy.nbytes) in nxp_fspi_supports_op() 465 if (op->data.nbytes) in nxp_fspi_supports_op() 487 (op->dummy.nbytes * 8 / op->dummy.buswidth > 64)) in nxp_fspi_supports_op() 550 op->cmd.opcode); in nxp_fspi_prepare_lut() 553 if (op->addr.nbytes) { in nxp_fspi_prepare_lut() 561 if (op->dummy.nbytes) { in nxp_fspi_prepare_lut() 574 if (op->data.nbytes) { in nxp_fspi_prepare_lut() 907 if (!err && op->data.nbytes && op->data.dir == SPI_MEM_DATA_IN) in nxp_fspi_do_op() 939 if (op->data.nbytes && op->data.dir == SPI_MEM_DATA_OUT) in nxp_fspi_exec_op() [all …]
|
H A D | atmel-quadspi.c | 258 if (op->addr.nbytes && op->addr.buswidth != mode->addr_buswidth) in atmel_qspi_is_compatible() 261 if (op->data.nbytes && op->data.buswidth != mode->data_buswidth) in atmel_qspi_is_compatible() 288 if (op->addr.nbytes == 2 && op->cmd.buswidth != op->addr.buswidth && in atmel_qspi_supports_op() 311 if (op->dummy.nbytes) in atmel_qspi_set_cfg() 312 dummy_cycles = op->dummy.nbytes * 8 / op->dummy.buswidth; in atmel_qspi_set_cfg() 367 if (op->data.nbytes) { in atmel_qspi_set_cfg() 370 if (op->addr.nbytes) in atmel_qspi_set_cfg() 387 if (op->addr.nbytes && !op->data.nbytes) in atmel_qspi_set_cfg() 396 if (op->data.nbytes && op->data.dir == SPI_MEM_DATA_OUT) in atmel_qspi_set_cfg() 418 if (op->addr.val + op->data.nbytes > aq->mmap_size) in atmel_qspi_exec_op() [all …]
|
/openbmc/linux/lib/zstd/compress/ |
H A D | zstd_compress_superblock.c | 82 op += cSize; in ZSTD_compressSubBlock_literal() 126 return op-ostart; in ZSTD_compressSubBlock_literal() 170 BYTE* op = ostart; in ZSTD_compressSubBlock_sequences() local 182 op[0] = (BYTE)((nbSeq>>8) + 0x80), op[1] = (BYTE)nbSeq, op+=2; in ZSTD_compressSubBlock_sequences() 184 op[0]=0xFF, MEM_writeLE16(op+1, (U16)(nbSeq - LONGNBSEQ)), op+=3; in ZSTD_compressSubBlock_sequences() 190 seqHead = op++; in ZSTD_compressSubBlock_sequences() 208 op, oend - op, in ZSTD_compressSubBlock_sequences() 288 op, oend-op, in ZSTD_compressSubBlock() 299 return op-ostart; in ZSTD_compressSubBlock() 492 op, oend-op, in ZSTD_compressSubBlock_multi() [all …]
|
/openbmc/linux/fs/orangefs/ |
H A D | dir.c | 74 op->uses_shared_memory = 1; in do_readdir() 94 if (op_state_purged(op)) { in do_readdir() 106 vfree(op->downcall.trailer_buf); in do_readdir() 109 } else if (op->downcall.status) { in do_readdir() 110 vfree(op->downcall.trailer_buf); in do_readdir() 112 return op->downcall.status; in do_readdir() 126 op->downcall.trailer_buf; in do_readdir() 164 struct orangefs_kernel_op_s *op; in orangefs_dir_more() local 168 if (!op) { in orangefs_dir_more() 177 r = parse_readdir(od, op); in orangefs_dir_more() [all …]
|
/openbmc/linux/drivers/xen/ |
H A D | gntalloc.c | 130 for (i = 0; i < op->count; i++) { in add_grefs() 165 gref_size -= (op->count - i); in add_grefs() 278 if (copy_from_user(&op, arg, sizeof(op))) { in gntalloc_ioctl_alloc() 300 gref_size += op.count; in gntalloc_ioctl_alloc() 301 op.index = priv->index; in gntalloc_ioctl_alloc() 316 if (copy_to_user(arg, &op, sizeof(op))) { in gntalloc_ioctl_alloc() 341 if (copy_from_user(&op, arg, sizeof(op))) { in gntalloc_ioctl_dealloc() 347 gref = find_grefs(priv, op.index, op.count); in gntalloc_ioctl_dealloc() 353 for (i = 0; i < op.count; i++) { in gntalloc_ioctl_dealloc() 380 if (copy_from_user(&op, arg, sizeof(op))) in gntalloc_ioctl_unmap_notify() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | mt352.c | 164 switch (op->code_rate_HP) { in mt352_set_parameters() 184 switch (op->code_rate_LP) { in mt352_set_parameters() 209 switch (op->modulation) { in mt352_set_parameters() 251 switch (op->hierarchy) { in mt352_set_parameters() 336 op->modulation = QPSK; in mt352_get_parameters() 339 op->modulation = QAM_16; in mt352_get_parameters() 342 op->modulation = QAM_64; in mt352_get_parameters() 345 op->modulation = QAM_AUTO; in mt352_get_parameters() 392 op->bandwidth_hz = 8000000; in mt352_get_parameters() 394 op->bandwidth_hz = 7000000; in mt352_get_parameters() [all …]
|
/openbmc/linux/lib/lz4/ |
H A D | lz4_compress.c | 304 token = op++; in LZ4_compress_generic() 325 LZ4_wildCopy(op, anchor, op + litLength); in LZ4_compress_generic() 332 op += 2; in LZ4_compress_generic() 380 op += 4; in LZ4_compress_generic() 419 token = op++; in LZ4_compress_generic() 443 *op++ = 255; in LZ4_compress_generic() 451 op += lastRun; in LZ4_compress_generic() 614 token = op++; in LZ4_compress_destSize_generic() 618 op--; in LZ4_compress_destSize_generic() 631 LZ4_wildCopy(op, anchor, op + litLength); in LZ4_compress_destSize_generic() [all …]
|
/openbmc/linux/net/rds/ |
H A D | ib_send.c | 77 if (op->op_nents) in rds_ib_send_unmap_data() 79 op->op_sg, op->op_nents, in rds_ib_send_unmap_data() 89 op->op_sg, op->op_nents, in rds_ib_send_unmap_rdma() 91 op->op_mapped = 0; in rds_ib_send_unmap_rdma() 117 if (op->op_write) in rds_ib_send_unmap_rdma() 131 op->op_mapped = 0; in rds_ib_send_unmap_atomic() 806 send->s_op = op; in rds_ib_xmit_atomic() 877 op->op_count = in rds_ib_xmit_rdma() 892 op->op_count = op->op_nents; in rds_ib_xmit_rdma() 943 scat != &op->op_sg[op->op_count]; j++) { in rds_ib_xmit_rdma() [all …]
|
/openbmc/linux/include/drm/ |
H A D | drm_gpuva_mgr.h | 493 enum drm_gpuva_op_type op; member 535 #define drm_gpuva_for_each_op(op, ops) list_for_each_entry(op, &(ops)->list, entry) argument 546 #define drm_gpuva_for_each_op_safe(op, next, ops) \ argument 578 #define drm_gpuva_prev_op(op) list_prev_entry(op, entry) argument 584 #define drm_gpuva_next_op(op) list_next_entry(op, entry) argument 606 struct drm_gpuva_op_map *op) in drm_gpuva_init_from_op() argument 608 drm_gpuva_init(va, op->va.addr, op->va.range, in drm_gpuva_init_from_op() 609 op->gem.obj, op->gem.offset); in drm_gpuva_init_from_op() 642 void (*op_free)(struct drm_gpuva_op *op); 698 struct drm_gpuva_op_map *op); [all …]
|
/openbmc/linux/drivers/md/bcache/ |
H A D | movinggc.c | 18 struct data_insert_op op; member 52 if (io->op.replace_collision) in write_moving_finish() 57 up(&io->op.c->moving_in_flight); in write_moving_finish() 72 io->op.status = BLK_STS_IOERR; in read_moving_endio() 95 struct data_insert_op *op = &io->op; in write_moving() local 97 if (!op->status) { in write_moving() 101 op->write_prio = 1; in write_moving() 102 op->bio = &io->bio.bio; in write_moving() 108 op->replace = true; in write_moving() 157 io->op.c = c; in read_moving() [all …]
|
H A D | btree.h | 243 memset(op, 0, sizeof(struct btree_op)); in bch_btree_op_init() 244 init_wait(&op->wait); in bch_btree_op_init() 245 op->lock = write_lock_level; in bch_btree_op_init() 328 #define bcache_btree(fn, key, b, op, ...) \ argument 331 bool _w = l <= (op)->lock; \ 335 _r = bch_btree_ ## fn(_child, op, ##__VA_ARGS__); \ 348 #define bcache_btree_root(fn, c, op, ...) \ argument 353 bool _w = insert_lock(op, _b); \ 356 _w == insert_lock(op, _b)) { \ 357 _r = bch_btree_ ## fn(_b, op, ##__VA_ARGS__); \ [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | dscontrol.c | 36 union acpi_parse_object *op) in acpi_ds_exec_begin_control_op() argument 44 op, op->common.aml_opcode, walk_state)); in acpi_ds_exec_begin_control_op() 46 switch (op->common.aml_opcode) { in acpi_ds_exec_begin_control_op() 135 union acpi_parse_object *op) in acpi_ds_exec_end_control_op() argument 142 switch (op->common.aml_opcode) { in acpi_ds_exec_end_control_op() 202 "[WHILE_OP] termination! Op=%p\n", op)); in acpi_ds_exec_end_control_op() 214 "[RETURN_OP] Op=%p Arg=%p\n", op, in acpi_ds_exec_end_control_op() 215 op->common.value.arg)); in acpi_ds_exec_end_control_op() 222 if (op->common.value.arg) { in acpi_ds_exec_end_control_op() 232 op->common.value.arg); in acpi_ds_exec_end_control_op() [all …]
|
H A D | acdispat.h | 36 union acpi_parse_object *op); 40 union acpi_parse_object *op); 47 union acpi_parse_object *op); 51 union acpi_parse_object *op); 55 union acpi_parse_object *op); 59 union acpi_parse_object *op, 64 union acpi_parse_object *op); 212 union acpi_parse_object *op, 218 union acpi_parse_object *op, 224 union acpi_parse_object *op, [all …]
|
/openbmc/linux/arch/m68k/include/asm/ |
H A D | atomic.h | 32 #define ATOMIC_OP(op, c_op, asm_op) \ argument 40 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument 55 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ argument 85 #define ATOMIC_FETCH_OP(op, c_op, asm_op) \ argument 101 #define ATOMIC_OPS(op, c_op, asm_op) \ argument 102 ATOMIC_OP(op, c_op, asm_op) \ 103 ATOMIC_OP_RETURN(op, c_op, asm_op) \ 104 ATOMIC_FETCH_OP(op, c_op, asm_op) 115 #define ATOMIC_OPS(op, c_op, asm_op) \ argument 116 ATOMIC_OP(op, c_op, asm_op) \ [all …]
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | sun_uflash.c | 54 if (op->resource[1].flags) { in uflash_devinit() 59 dp, (unsigned long long)op->resource[0].start); in uflash_devinit() 71 up->map.size = resource_size(&op->resource[0]); in uflash_devinit() 77 up->map.phys = op->resource[0].start; in uflash_devinit() 93 of_iounmap(&op->resource[0], up->map.virt, up->map.size); in uflash_devinit() 103 dev_set_drvdata(&op->dev, up); in uflash_devinit() 108 static int uflash_probe(struct platform_device *op) in uflash_probe() argument 110 struct device_node *dp = op->dev.of_node; in uflash_probe() 118 return uflash_devinit(op, dp); in uflash_probe() 121 static int uflash_remove(struct platform_device *op) in uflash_remove() argument [all …]
|
/openbmc/linux/arch/csky/include/asm/ |
H A D | atomic.h | 25 #define ATOMIC_OP(op) \ argument 27 void arch_atomic_##op(int i, atomic_t *v) \ 32 " " #op " %0, %1 \n" \ 48 #define ATOMIC_FETCH_OP(op) \ in ATOMIC_OP() argument 56 " " #op " %0, %2 \n" \ in ATOMIC_OP() 65 #define ATOMIC_OP_RETURN(op, c_op) \ argument 72 #define ATOMIC_OPS(op, c_op) \ argument 73 ATOMIC_FETCH_OP(op) \ 74 ATOMIC_OP_RETURN(op, c_op) 88 #define ATOMIC_OPS(op) \ argument [all …]
|
/openbmc/linux/arch/sparc/include/asm/ |
H A D | parport_64.h | 112 unsigned long base = op->resource[0].start; in ecpp_probe() 113 unsigned long config = op->resource[1].start; in ecpp_probe() 114 unsigned long d_base = op->resource[2].start; in ecpp_probe() 120 parent = op->dev.of_node->parent; in ecpp_probe() 124 op->dev.parent->parent, 0); in ecpp_probe() 127 dev_set_drvdata(&op->dev, p); in ecpp_probe() 141 d_len = (op->resource[2].end - d_base) + 1UL; in ecpp_probe() 173 op->archdata.irqs[0], in ecpp_probe() 175 op->dev.parent, in ecpp_probe() 181 dev_set_drvdata(&op->dev, p); in ecpp_probe() [all …]
|
/openbmc/linux/arch/x86/xen/ |
H A D | efi.c | 49 struct xen_platform_op op = { in xen_efi_probe() local 67 op.cmd = XENPF_firmware_info; in xen_efi_probe() 68 op.u.firmware_info.type = XEN_FW_EFI_INFO; in xen_efi_probe() 69 op.u.firmware_info.index = XEN_FW_EFI_VENDOR; in xen_efi_probe() 73 if (HYPERVISOR_platform_op(&op) == 0) { in xen_efi_probe() 79 op.cmd = XENPF_firmware_info; in xen_efi_probe() 80 op.u.firmware_info.type = XEN_FW_EFI_INFO; in xen_efi_probe() 83 if (HYPERVISOR_platform_op(&op) == 0) in xen_efi_probe() 86 op.cmd = XENPF_firmware_info; in xen_efi_probe() 87 op.u.firmware_info.type = XEN_FW_EFI_INFO; in xen_efi_probe() [all …]
|
/openbmc/u-boot/arch/x86/include/asm/ |
H A D | cpu.h | 70 static inline struct cpuid_result cpuid(int op) in cpuid() argument 82 : "0" (op) in cpuid() 102 : "0" (op), "2" (ecx) in cpuid_ext() 110 static inline unsigned int cpuid_eax(unsigned int op) in cpuid_eax() argument 118 : "0" (op) in cpuid_eax() 123 static inline unsigned int cpuid_ebx(unsigned int op) in cpuid_ebx() argument 132 : "0" (op) in cpuid_ebx() 137 static inline unsigned int cpuid_ecx(unsigned int op) in cpuid_ecx() argument 145 : "0" (op) in cpuid_ecx() 150 static inline unsigned int cpuid_edx(unsigned int op) in cpuid_edx() argument [all …]
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | bitops.h | 29 #define __AMO(op) "amo" #op ".d" argument 31 #define __AMO(op) "amo" #op ".w" argument 36 #define __test_and_op_bit_ord(op, mod, nr, addr, ord) \ argument 41 __AMO(op) #ord " %0, %2, %1" \ 48 #define __op_bit_ord(op, mod, nr, addr, ord) \ argument 50 __AMO(op) #ord " zero, %1, %0" \ 55 #define __test_and_op_bit(op, mod, nr, addr) \ argument 56 __test_and_op_bit_ord(op, mod, nr, addr, .aqrl) 57 #define __op_bit(op, mod, nr, addr) \ argument 58 __op_bit_ord(op, mod, nr, addr, )
|
/openbmc/linux/arch/xtensa/include/asm/ |
H A D | bitops.h | 101 #define BIT_OP(op, insn, inv) \ argument 120 #define TEST_AND_BIT_OP(op, insn, inv) \ argument 122 arch_test_and_##op##_bit(unsigned int bit, volatile unsigned long *p) \ 144 #define BIT_OP(op, insn, inv) \ argument 164 #define TEST_AND_BIT_OP(op, insn, inv) \ argument 166 arch_test_and_##op##_bit(unsigned int bit, volatile unsigned long *p) \ 189 #define BIT_OP(op, insn, inv) argument 190 #define TEST_AND_BIT_OP(op, insn, inv) argument 196 #define BIT_OPS(op, insn, inv) \ argument 197 BIT_OP(op, insn, inv) \ [all …]
|