/linux-4.1.27/net/can/ |
D | bcm.c | 164 struct bcm_op *op; in bcm_proc_show() local 173 list_for_each_entry(op, &bo->rx_ops, list) { in bcm_proc_show() 178 if (!op->frames_abs) in bcm_proc_show() 182 op->can_id, bcm_proc_getifname(ifname, op->ifindex)); in bcm_proc_show() 183 seq_printf(m, "[%u]%c ", op->nframes, in bcm_proc_show() 184 (op->flags & RX_CHECK_DLC)?'d':' '); in bcm_proc_show() 185 if (op->kt_ival1.tv64) in bcm_proc_show() 188 ktime_to_us(op->kt_ival1)); in bcm_proc_show() 190 if (op->kt_ival2.tv64) in bcm_proc_show() 193 ktime_to_us(op->kt_ival2)); in bcm_proc_show() [all …]
|
/linux-4.1.27/fs/fscache/ |
D | operation.c | 31 void fscache_enqueue_operation(struct fscache_operation *op) in fscache_enqueue_operation() argument 34 op->object->debug_id, op->debug_id, atomic_read(&op->usage)); in fscache_enqueue_operation() 36 ASSERT(list_empty(&op->pend_link)); in fscache_enqueue_operation() 37 ASSERT(op->processor != NULL); in fscache_enqueue_operation() 38 ASSERT(fscache_object_is_available(op->object)); in fscache_enqueue_operation() 39 ASSERTCMP(atomic_read(&op->usage), >, 0); in fscache_enqueue_operation() 40 ASSERTCMP(op->state, ==, FSCACHE_OP_ST_IN_PROGRESS); in fscache_enqueue_operation() 43 switch (op->flags & FSCACHE_OP_TYPE) { in fscache_enqueue_operation() 46 atomic_inc(&op->usage); in fscache_enqueue_operation() 47 if (!queue_work(fscache_op_wq, &op->work)) in fscache_enqueue_operation() [all …]
|
D | page.c | 173 static void fscache_attr_changed_op(struct fscache_operation *op) in fscache_attr_changed_op() argument 175 struct fscache_object *object = op->object; in fscache_attr_changed_op() 178 _enter("{OBJ%x OP%x}", object->debug_id, op->debug_id); in fscache_attr_changed_op() 190 fscache_op_complete(op, true); in fscache_attr_changed_op() 199 struct fscache_operation *op; in __fscache_attr_changed() local 209 op = kzalloc(sizeof(*op), GFP_KERNEL); in __fscache_attr_changed() 210 if (!op) { in __fscache_attr_changed() 216 fscache_operation_init(op, fscache_attr_changed_op, NULL); in __fscache_attr_changed() 217 op->flags = FSCACHE_OP_ASYNC | in __fscache_attr_changed() 230 if (fscache_submit_exclusive_op(object, op) < 0) in __fscache_attr_changed() [all …]
|
/linux-4.1.27/drivers/xen/ |
D | efi.c | 39 #define efi_data(op) (op.u.efi_runtime_call) argument 43 struct xen_platform_op op = INIT_EFI_OP(get_time); in xen_efi_get_time() local 45 if (HYPERVISOR_dom0_op(&op) < 0) in xen_efi_get_time() 49 BUILD_BUG_ON(sizeof(*tm) != sizeof(efi_data(op).u.get_time.time)); in xen_efi_get_time() 50 memcpy(tm, &efi_data(op).u.get_time.time, sizeof(*tm)); in xen_efi_get_time() 54 tc->resolution = efi_data(op).u.get_time.resolution; in xen_efi_get_time() 55 tc->accuracy = efi_data(op).u.get_time.accuracy; in xen_efi_get_time() 56 tc->sets_to_zero = !!(efi_data(op).misc & in xen_efi_get_time() 60 return efi_data(op).status; in xen_efi_get_time() 65 struct xen_platform_op op = INIT_EFI_OP(set_time); in xen_efi_set_time() local [all …]
|
D | fallback.c | 10 struct evtchn_op op; in xen_event_channel_op_compat() local 13 op.cmd = cmd; in xen_event_channel_op_compat() 14 memcpy(&op.u, arg, sizeof(op.u)); in xen_event_channel_op_compat() 15 rc = _hypercall1(int, event_channel_op_compat, &op); in xen_event_channel_op_compat() 27 memcpy(arg, &op.u.eop, sizeof(op.u.eop)); \ in xen_event_channel_op_compat() 49 struct physdev_op op; in xen_physdev_op_compat() local 52 op.cmd = cmd; in xen_physdev_op_compat() 53 memcpy(&op.u, arg, sizeof(op.u)); in xen_physdev_op_compat() 54 rc = _hypercall1(int, physdev_op_compat, &op); in xen_physdev_op_compat() 66 memcpy(arg, &op.u.fld, sizeof(op.u.fld)); \ in xen_physdev_op_compat()
|
D | gntalloc.c | 121 static int add_grefs(struct ioctl_gntalloc_alloc_gref *op, in add_grefs() argument 129 readonly = !(op->flags & GNTALLOC_FLAG_WRITABLE); in add_grefs() 131 for (i = 0; i < op->count; i++) { in add_grefs() 138 gref->file_index = op->index + i * PAGE_SIZE; in add_grefs() 144 rc = gnttab_grant_foreign_access(op->domid, in add_grefs() 161 gref_size -= (op->count - i); in add_grefs() 283 struct ioctl_gntalloc_alloc_gref op; in gntalloc_ioctl_alloc() local 288 if (copy_from_user(&op, arg, sizeof(op))) { in gntalloc_ioctl_alloc() 293 gref_ids = kcalloc(op.count, sizeof(gref_ids[0]), GFP_TEMPORARY); in gntalloc_ioctl_alloc() 305 if (gref_size + op.count > limit) { in gntalloc_ioctl_alloc() [all …]
|
D | xen-acpi-pad.c | 33 struct xen_platform_op op; in xen_acpi_pad_idle_cpus() local 35 op.cmd = XENPF_core_parking; in xen_acpi_pad_idle_cpus() 36 op.u.core_parking.type = XEN_CORE_PARKING_SET; in xen_acpi_pad_idle_cpus() 37 op.u.core_parking.idle_nums = idle_nums; in xen_acpi_pad_idle_cpus() 39 return HYPERVISOR_dom0_op(&op); in xen_acpi_pad_idle_cpus() 44 struct xen_platform_op op; in xen_acpi_pad_idle_cpus_num() local 46 op.cmd = XENPF_core_parking; in xen_acpi_pad_idle_cpus_num() 47 op.u.core_parking.type = XEN_CORE_PARKING_GET; in xen_acpi_pad_idle_cpus_num() 49 return HYPERVISOR_dom0_op(&op) in xen_acpi_pad_idle_cpus_num() 50 ?: op.u.core_parking.idle_nums; in xen_acpi_pad_idle_cpus_num()
|
D | gntdev.c | 589 struct ioctl_gntdev_map_grant_ref op; in gntdev_ioctl_map_grant_ref() local 593 if (copy_from_user(&op, u, sizeof(op)) != 0) in gntdev_ioctl_map_grant_ref() 595 pr_debug("priv %p, add %d\n", priv, op.count); in gntdev_ioctl_map_grant_ref() 596 if (unlikely(op.count <= 0)) in gntdev_ioctl_map_grant_ref() 600 map = gntdev_alloc_map(priv, op.count); in gntdev_ioctl_map_grant_ref() 604 if (unlikely(atomic_add_return(op.count, &pages_mapped) > limit)) { in gntdev_ioctl_map_grant_ref() 611 sizeof(map->grants[0]) * op.count) != 0) { in gntdev_ioctl_map_grant_ref() 618 op.index = map->index << PAGE_SHIFT; in gntdev_ioctl_map_grant_ref() 621 if (copy_to_user(u, &op, sizeof(op)) != 0) in gntdev_ioctl_map_grant_ref() 630 struct ioctl_gntdev_unmap_grant_ref op; in gntdev_ioctl_unmap_grant_ref() local [all …]
|
D | tmem.c | 94 struct tmem_op op; in xen_tmem_op() local 97 op.cmd = tmem_cmd; in xen_tmem_op() 98 op.pool_id = tmem_pool; in xen_tmem_op() 99 op.u.gen.oid[0] = oid.oid[0]; in xen_tmem_op() 100 op.u.gen.oid[1] = oid.oid[1]; in xen_tmem_op() 101 op.u.gen.oid[2] = oid.oid[2]; in xen_tmem_op() 102 op.u.gen.index = index; in xen_tmem_op() 103 op.u.gen.tmem_offset = tmem_offset; in xen_tmem_op() 104 op.u.gen.pfn_offset = pfn_offset; in xen_tmem_op() 105 op.u.gen.len = len; in xen_tmem_op() [all …]
|
D | pcpu.c | 75 struct xen_platform_op op = { in xen_pcpu_down() local 81 return HYPERVISOR_dom0_op(&op); in xen_pcpu_down() 86 struct xen_platform_op op = { in xen_pcpu_up() local 92 return HYPERVISOR_dom0_op(&op); in xen_pcpu_up() 274 struct xen_platform_op op = { in sync_pcpu() local 280 ret = HYPERVISOR_dom0_op(&op); in sync_pcpu() 284 info = &op.u.pcpu_info; in sync_pcpu() 362 struct xen_platform_op op; in xen_pcpu_id() local 364 op.cmd = XENPF_get_cpuinfo; in xen_pcpu_id() 366 op.u.pcpu_info.xen_cpuid = cpu_id; in xen_pcpu_id() [all …]
|
/linux-4.1.27/fs/dlm/ |
D | plock.c | 64 static void send_op(struct plock_op *op) in send_op() argument 66 set_version(&op->info); in send_op() 67 INIT_LIST_HEAD(&op->list); in send_op() 69 list_add_tail(&op->list, &send_list); in send_op() 83 struct plock_op *op; in do_unlock_close() local 85 op = kzalloc(sizeof(*op), GFP_NOFS); in do_unlock_close() 86 if (!op) in do_unlock_close() 89 op->info.optype = DLM_PLOCK_OP_UNLOCK; in do_unlock_close() 90 op->info.pid = fl->fl_pid; in do_unlock_close() 91 op->info.fsid = ls->ls_global_id; in do_unlock_close() [all …]
|
/linux-4.1.27/lib/lz4/ |
D | lz4_decompress.c | 59 BYTE *op = (BYTE *) dest; in lz4_uncompress() local 60 BYTE * const oend = op + osize; in lz4_uncompress() 82 cpy = op + length; in lz4_uncompress() 91 memcpy(op, ip, length); in lz4_uncompress() 95 LZ4_WILDCOPY(ip, op, cpy); in lz4_uncompress() 96 ip -= (op - cpy); in lz4_uncompress() 97 op = cpy; in lz4_uncompress() 118 if (unlikely((op - ref) < STEPSIZE)) { in lz4_uncompress() 120 int dec64 = dec64table[op - ref]; in lz4_uncompress() 124 op[0] = ref[0]; in lz4_uncompress() [all …]
|
D | lz4_compress.c | 70 u8 *op = (u8 *) dest; in lz4_compressctx() local 71 u8 *const oend = op + maxoutputsize; in lz4_compressctx() 119 token = op++; in lz4_compressctx() 121 if (unlikely(op + length + (2 + 1 + LASTLITERALS) + in lz4_compressctx() 130 *op++ = 255; in lz4_compressctx() 131 *op++ = (u8)len; in lz4_compressctx() 136 LZ4_BLINDCOPY(anchor, op, length); in lz4_compressctx() 139 LZ4_WRITE_LITTLEENDIAN_16(op, (u16)(ip - ref)); in lz4_compressctx() 176 if (unlikely(op + (1 + LASTLITERALS) + (length >> 8) > oend)) in lz4_compressctx() 182 *op++ = 255; in lz4_compressctx() [all …]
|
D | lz4hc_compress.c | 269 static inline int lz4_encodesequence(const u8 **ip, u8 **op, const u8 **anchor, in lz4_encodesequence() argument 277 token = (*op)++; in lz4_encodesequence() 282 *(*op)++ = 255; in lz4_encodesequence() 283 *(*op)++ = (u8)len; in lz4_encodesequence() 288 LZ4_BLINDCOPY(*anchor, *op, length); in lz4_encodesequence() 291 LZ4_WRITE_LITTLEENDIAN_16(*op, (u16)(*ip - ref)); in lz4_encodesequence() 299 *(*op)++ = 255; in lz4_encodesequence() 300 *(*op)++ = 255; in lz4_encodesequence() 304 *(*op)++ = 255; in lz4_encodesequence() 306 *(*op)++ = (u8)len; in lz4_encodesequence() [all …]
|
/linux-4.1.27/arch/sh/kernel/ |
D | kgdb.c | 21 #define OPCODE_BT(op) (((op) & 0xff00) == 0x8900) argument 22 #define OPCODE_BF(op) (((op) & 0xff00) == 0x8b00) argument 23 #define OPCODE_BTF_DISP(op) (((op) & 0x80) ? (((op) | 0xffffff80) << 1) : \ argument 24 (((op) & 0x7f ) << 1)) 25 #define OPCODE_BFS(op) (((op) & 0xff00) == 0x8f00) argument 26 #define OPCODE_BTS(op) (((op) & 0xff00) == 0x8d00) argument 27 #define OPCODE_BRA(op) (((op) & 0xf000) == 0xa000) argument 28 #define OPCODE_BRA_DISP(op) (((op) & 0x800) ? (((op) | 0xfffff800) << 1) : \ argument 29 (((op) & 0x7ff) << 1)) 30 #define OPCODE_BRAF(op) (((op) & 0xf0ff) == 0x0023) argument [all …]
|
D | sys_sh.c | 57 asmlinkage int sys_cacheflush(unsigned long addr, unsigned long len, int op) in sys_cacheflush() argument 61 if ((op <= 0) || (op > (CACHEFLUSH_D_PURGE|CACHEFLUSH_I))) in sys_cacheflush() 78 switch (op & CACHEFLUSH_D_PURGE) { in sys_cacheflush() 90 if (op & CACHEFLUSH_I) in sys_cacheflush()
|
/linux-4.1.27/drivers/acpi/acpica/ |
D | psobject.c | 173 union acpi_parse_object **op) in acpi_ps_build_named_op() argument 218 walk_state->op = NULL; in acpi_ps_build_named_op() 220 status = walk_state->descending_callback(walk_state, op); in acpi_ps_build_named_op() 229 if (!*op) { in acpi_ps_build_named_op() 233 status = acpi_ps_next_parse_state(walk_state, *op, status); in acpi_ps_build_named_op() 241 acpi_ps_append_arg(*op, unnamed_op->common.value.arg); in acpi_ps_build_named_op() 243 if ((*op)->common.aml_opcode == AML_REGION_OP || in acpi_ps_build_named_op() 244 (*op)->common.aml_opcode == AML_DATA_REGION_OP) { in acpi_ps_build_named_op() 255 (*op)->named.data = aml_op_start; in acpi_ps_build_named_op() 256 (*op)->named.length = 0; in acpi_ps_build_named_op() [all …]
|
D | psutils.c | 89 void acpi_ps_init_op(union acpi_parse_object *op, u16 opcode) in acpi_ps_init_op() argument 93 op->common.descriptor_type = ACPI_DESC_TYPE_PARSER; in acpi_ps_init_op() 94 op->common.aml_opcode = opcode; in acpi_ps_init_op() 96 ACPI_DISASM_ONLY_MEMBERS(ACPI_STRNCPY(op->common.aml_op_name, in acpi_ps_init_op() 99 sizeof(op->common.aml_op_name))); in acpi_ps_init_op() 118 union acpi_parse_object *op; in acpi_ps_alloc_op() local 142 op = acpi_os_acquire_object(acpi_gbl_ps_node_cache); in acpi_ps_alloc_op() 146 op = acpi_os_acquire_object(acpi_gbl_ps_node_ext_cache); in acpi_ps_alloc_op() 151 if (op) { in acpi_ps_alloc_op() 152 acpi_ps_init_op(op, opcode); in acpi_ps_alloc_op() [all …]
|
D | dswexec.c | 109 status = acpi_ds_create_operand(walk_state, walk_state->op, 0); in acpi_ds_get_predicate_value() 177 walk_state->op)); in acpi_ds_get_predicate_value() 216 union acpi_parse_object *op; in acpi_ds_exec_begin_op() local 222 op = walk_state->op; in acpi_ds_exec_begin_op() 223 if (!op) { in acpi_ds_exec_begin_op() 229 op = *out_op; in acpi_ds_exec_begin_op() 230 walk_state->op = op; in acpi_ds_exec_begin_op() 231 walk_state->opcode = op->common.aml_opcode; in acpi_ds_exec_begin_op() 233 acpi_ps_get_opcode_info(op->common.aml_opcode); in acpi_ds_exec_begin_op() 241 op)); in acpi_ds_exec_begin_op() [all …]
|
D | psloop.c | 64 u8 * aml_op_start, union acpi_parse_object *op); 86 u8 * aml_op_start, union acpi_parse_object *op) in acpi_ps_get_arguments() argument 94 switch (op->common.aml_opcode) { in acpi_ps_get_arguments() 106 op); in acpi_ps_get_arguments() 113 &(walk_state->parser_state), op, in acpi_ps_get_arguments() 144 acpi_ps_append_arg(op, arg); in acpi_ps_get_arguments() 163 switch (op->common.aml_opcode) { in acpi_ps_get_arguments() 175 acpi_ps_link_module_code(op->common. in acpi_ps_get_arguments() 206 && (op->common.parent->common.aml_opcode == in acpi_ps_get_arguments() 209 acpi_ps_get_opcode_info(op->common. in acpi_ps_get_arguments() [all …]
|
D | dswload2.c | 72 union acpi_parse_object *op; in acpi_ds_load2_begin_op() local 81 op = walk_state->op; in acpi_ds_load2_begin_op() 82 ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op, in acpi_ds_load2_begin_op() 85 if (op) { in acpi_ds_load2_begin_op() 110 buffer_ptr = op->common.value.string; in acpi_ds_load2_begin_op() 120 buffer_ptr = ACPI_CAST_PTR(char, &op->named.name); in acpi_ds_load2_begin_op() 134 "State=%p Op=%p Type=%X\n", walk_state, op, in acpi_ds_load2_begin_op() 162 if (op && (op->named.node == acpi_gbl_root_node)) { in acpi_ds_load2_begin_op() 163 node = op->named.node; in acpi_ds_load2_begin_op() 265 if (op && op->common.node) { in acpi_ds_load2_begin_op() [all …]
|
D | dswload.c | 143 union acpi_parse_object *op; in acpi_ds_load1_begin_op() local 152 op = walk_state->op; in acpi_ds_load1_begin_op() 153 ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "Op=%p State=%p\n", op, in acpi_ds_load1_begin_op() 158 if (op) { in acpi_ds_load1_begin_op() 160 *out_op = op; in acpi_ds_load1_begin_op() 166 if (op->common.node) { in acpi_ds_load1_begin_op() 167 *out_op = op; in acpi_ds_load1_begin_op() 179 "State=%p Op=%p [%s]\n", walk_state, op, in acpi_ds_load1_begin_op() 200 acpi_dm_add_op_to_external_list(op, path, in acpi_ds_load1_begin_op() 378 if (!op) { in acpi_ds_load1_begin_op() [all …]
|
D | pstree.c | 54 union acpi_parse_object *acpi_ps_get_child(union acpi_parse_object *op); 70 union acpi_parse_object *acpi_ps_get_arg(union acpi_parse_object *op, u32 argn) in acpi_ps_get_arg() argument 85 op_info = acpi_ps_get_opcode_info(op->common.aml_opcode); in acpi_ps_get_arg() 104 arg = op->common.value.arg; in acpi_ps_get_arg() 127 acpi_ps_append_arg(union acpi_parse_object *op, union acpi_parse_object *arg) in acpi_ps_append_arg() argument 134 if (!op) { in acpi_ps_append_arg() 140 op_info = acpi_ps_get_opcode_info(op->common.aml_opcode); in acpi_ps_append_arg() 146 op->common.aml_opcode)); in acpi_ps_append_arg() 161 if (op->common.value.arg) { in acpi_ps_append_arg() 165 prev_arg = op->common.value.arg; in acpi_ps_append_arg() [all …]
|
D | psparse.c | 134 union acpi_parse_object * op) in acpi_ps_complete_this_op() argument 142 ACPI_FUNCTION_TRACE_PTR(ps_complete_this_op, op); in acpi_ps_complete_this_op() 146 if (!op) { in acpi_ps_complete_this_op() 160 if (op->common.parent) { in acpi_ps_complete_this_op() 161 prev = op->common.parent->common.value.arg; in acpi_ps_complete_this_op() 174 acpi_ps_get_opcode_info(op->common.parent->common. in acpi_ps_complete_this_op() 199 if ((op->common.parent->common.aml_opcode == in acpi_ps_complete_this_op() 201 || (op->common.parent->common.aml_opcode == in acpi_ps_complete_this_op() 203 || (op->common.parent->common.aml_opcode == in acpi_ps_complete_this_op() 205 || (op->common.parent->common.aml_opcode == in acpi_ps_complete_this_op() [all …]
|
D | dsobject.c | 58 union acpi_parse_object *op, 79 union acpi_parse_object *op, in acpi_ds_build_internal_object() argument 89 if (op->common.aml_opcode == AML_INT_NAMEPATH_OP) { in acpi_ds_build_internal_object() 95 if (!op->common.node) { in acpi_ds_build_internal_object() 97 op->common.value.string, in acpi_ds_build_internal_object() 104 &(op-> in acpi_ds_build_internal_object() 114 ((op->common.parent->common.aml_opcode == in acpi_ds_build_internal_object() 116 || (op->common.parent->common.aml_opcode == in acpi_ds_build_internal_object() 135 ACPI_ERROR_NAMESPACE(op->common.value. in acpi_ds_build_internal_object() 145 if ((op->common.parent->common.aml_opcode == AML_PACKAGE_OP) || in acpi_ds_build_internal_object() [all …]
|
D | pswalk.c | 64 union acpi_parse_object *op = subtree_root; in acpi_ps_delete_parse_tree() local 72 while (op) { in acpi_ps_delete_parse_tree() 76 if (op != parent) { in acpi_ps_delete_parse_tree() 80 next = acpi_ps_get_arg(op, 0); in acpi_ps_delete_parse_tree() 85 op = next; in acpi_ps_delete_parse_tree() 92 next = op->common.next; in acpi_ps_delete_parse_tree() 93 parent = op->common.parent; in acpi_ps_delete_parse_tree() 95 acpi_ps_free_op(op); in acpi_ps_delete_parse_tree() 99 if (op == subtree_root) { in acpi_ps_delete_parse_tree() 103 op = next; in acpi_ps_delete_parse_tree() [all …]
|
D | acparser.h | 105 union acpi_parse_object *acpi_ps_get_parent(union acpi_parse_object *op); 114 union acpi_parse_object **op); 122 union acpi_parse_object **op, acpi_status status); 126 union acpi_parse_object *op, acpi_status status); 148 union acpi_parse_object *op); 152 union acpi_parse_object *op, 174 union acpi_parse_object **op, u32 *arg_list, u32 *arg_count); 178 union acpi_parse_object *op, 187 acpi_ps_append_arg(union acpi_parse_object *op, union acpi_parse_object *arg); 192 union acpi_parse_object *acpi_ps_get_arg(union acpi_parse_object *op, u32 argn); [all …]
|
D | dsopcode.c | 300 union acpi_parse_object *op) in acpi_ds_eval_buffer_field_operands() argument 307 ACPI_FUNCTION_TRACE_PTR(ds_eval_buffer_field_operands, op); in acpi_ds_eval_buffer_field_operands() 313 node = op->common.node; in acpi_ds_eval_buffer_field_operands() 317 next_op = op->common.value.arg; in acpi_ds_eval_buffer_field_operands() 333 status = acpi_ex_resolve_operands(op->common.aml_opcode, in acpi_ds_eval_buffer_field_operands() 337 acpi_ps_get_opcode_name(op->common.aml_opcode), in acpi_ds_eval_buffer_field_operands() 345 if (op->common.aml_opcode == AML_CREATE_FIELD_OP) { in acpi_ds_eval_buffer_field_operands() 350 acpi_ds_init_buffer_field(op->common.aml_opcode, obj_desc, in acpi_ds_eval_buffer_field_operands() 359 acpi_ds_init_buffer_field(op->common.aml_opcode, obj_desc, in acpi_ds_eval_buffer_field_operands() 384 union acpi_parse_object *op) in acpi_ds_eval_region_operands() argument [all …]
|
D | dsutils.c | 170 acpi_ds_is_result_used(union acpi_parse_object * op, in acpi_ds_is_result_used() argument 175 ACPI_FUNCTION_TRACE_PTR(ds_is_result_used, op); in acpi_ds_is_result_used() 179 if (!op) { in acpi_ds_is_result_used() 204 if ((!op->common.parent) || in acpi_ds_is_result_used() 205 (op->common.parent->common.aml_opcode == AML_SCOPE_OP)) { in acpi_ds_is_result_used() 211 acpi_ps_get_opcode_name(op->common. in acpi_ds_is_result_used() 219 acpi_ps_get_opcode_info(op->common.parent->common.aml_opcode); in acpi_ds_is_result_used() 221 ACPI_ERROR((AE_INFO, "Unknown parent opcode Op=%p", op)); in acpi_ds_is_result_used() 234 switch (op->common.parent->common.aml_opcode) { in acpi_ds_is_result_used() 250 predicate_op == op)) { in acpi_ds_is_result_used() [all …]
|
D | dscontrol.c | 69 union acpi_parse_object *op) in acpi_ds_exec_begin_control_op() argument 77 op, op->common.aml_opcode, walk_state)); in acpi_ds_exec_begin_control_op() 79 switch (op->common.aml_opcode) { in acpi_ds_exec_begin_control_op() 119 control_state->control.opcode = op->common.aml_opcode; in acpi_ds_exec_begin_control_op() 166 union acpi_parse_object * op) in acpi_ds_exec_end_control_op() argument 173 switch (op->common.aml_opcode) { in acpi_ds_exec_end_control_op() 176 ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "[IF_OP] Op=%p\n", op)); in acpi_ds_exec_end_control_op() 200 ACPI_DEBUG_PRINT((ACPI_DB_DISPATCH, "[WHILE_OP] Op=%p\n", op)); in acpi_ds_exec_end_control_op() 233 "[WHILE_OP] termination! Op=%p\n", op)); in acpi_ds_exec_end_control_op() 245 "[RETURN_OP] Op=%p Arg=%p\n", op, in acpi_ds_exec_end_control_op() [all …]
|
D | acdispat.h | 70 union acpi_parse_object *op); 74 union acpi_parse_object *op); 81 union acpi_parse_object *op); 85 union acpi_parse_object *op); 89 union acpi_parse_object *op); 93 union acpi_parse_object *op, 98 union acpi_parse_object *op); 119 acpi_ds_create_field(union acpi_parse_object *op, 124 acpi_ds_create_bank_field(union acpi_parse_object *op, 129 acpi_ds_create_index_field(union acpi_parse_object *op, [all …]
|
D | psscope.c | 66 return (parser_state->scope->parse_scope.op); in acpi_ps_get_parent_scope() 118 scope->parse_scope.op = root_op; in acpi_ps_init_scope() 146 union acpi_parse_object *op, in acpi_ps_push_scope() argument 151 ACPI_FUNCTION_TRACE_PTR(ps_push_scope, op); in acpi_ps_push_scope() 159 scope->parse_scope.op = op; in acpi_ps_push_scope() 200 union acpi_parse_object **op, u32 * arg_list, u32 * arg_count) in acpi_ps_pop_scope() argument 213 *op = scope->parse_scope.op; in acpi_ps_pop_scope() 224 *op = NULL; in acpi_ps_pop_scope() 230 "Popped Op %p Args %X\n", *op, *arg_count)); in acpi_ps_pop_scope()
|
D | dsfield.c | 60 union acpi_parse_object *op, 91 union acpi_parse_object *op, in acpi_ds_create_external_region() argument 108 acpi_dm_add_op_to_external_list(op, path, ACPI_TYPE_REGION, 0, 0); in acpi_ds_create_external_region() 149 acpi_ds_create_buffer_field(union acpi_parse_object *op, in acpi_ds_create_buffer_field() argument 164 if (op->common.aml_opcode == AML_CREATE_FIELD_OP) { in acpi_ds_create_buffer_field() 168 arg = acpi_ps_get_arg(op, 3); in acpi_ds_create_buffer_field() 172 arg = acpi_ps_get_arg(op, 2); in acpi_ds_create_buffer_field() 221 op->common.node = node; in acpi_ds_create_buffer_field() 251 second_desc->extra.aml_start = op->named.data; in acpi_ds_create_buffer_field() 252 second_desc->extra.aml_length = op->named.length; in acpi_ds_create_buffer_field() [all …]
|
D | dsargs.c | 82 union acpi_parse_object *op; in acpi_ds_execute_arguments() local 89 op = acpi_ps_alloc_op(AML_INT_EVAL_SUBTREE_OP); in acpi_ds_execute_arguments() 90 if (!op) { in acpi_ds_execute_arguments() 96 op->common.node = scope_node; in acpi_ds_execute_arguments() 106 status = acpi_ds_init_aml_walk(walk_state, op, NULL, aml_start, in acpi_ds_execute_arguments() 127 op->common.node = node; in acpi_ds_execute_arguments() 128 acpi_ps_delete_parse_tree(op); in acpi_ds_execute_arguments() 132 op = acpi_ps_alloc_op(AML_INT_EVAL_SUBTREE_OP); in acpi_ds_execute_arguments() 133 if (!op) { in acpi_ds_execute_arguments() 137 op->common.node = scope_node; in acpi_ds_execute_arguments() [all …]
|
D | acdebug.h | 86 union acpi_parse_object *op, u32 op_type); 141 union acpi_parse_object *op); 143 void acpi_db_set_method_call_breakpoint(union acpi_parse_object *op); 149 void acpi_db_disassemble_aml(char *statements, union acpi_parse_object *op); 180 void acpi_db_display_method_info(union acpi_parse_object *op); 253 union acpi_parse_object *op); 257 acpi_status acpi_db_user_commands(char prompt, union acpi_parse_object *op);
|
/linux-4.1.27/arch/x86/kernel/kprobes/ |
D | opt.c | 44 struct optimized_kprobe *op; in __recover_optprobed_insn() local 53 op = container_of(kp, struct optimized_kprobe, kp); in __recover_optprobed_insn() 55 if (list_empty(&op->list)) in __recover_optprobed_insn() 70 memcpy(buf + 1, op->optinsn.copied_insn, RELATIVE_ADDR_SIZE); in __recover_optprobed_insn() 73 memcpy(buf, op->optinsn.copied_insn + offs, RELATIVE_ADDR_SIZE - offs); in __recover_optprobed_insn() 142 optimized_callback(struct optimized_kprobe *op, struct pt_regs *regs) in optimized_callback() argument 148 if (kprobe_disabled(&op->kp)) in optimized_callback() 153 kprobes_inc_nmissed_count(&op->kp); in optimized_callback() 162 regs->ip = (unsigned long)op->kp.addr + INT3_SIZE; in optimized_callback() 165 __this_cpu_write(current_kprobe, &op->kp); in optimized_callback() [all …]
|
/linux-4.1.27/drivers/crypto/ |
D | geode-aes.c | 70 geode_aes_crypt(struct geode_aes_op *op) in geode_aes_crypt() argument 76 if (op->len == 0) in geode_aes_crypt() 86 if (op->dir == AES_DIR_ENCRYPT) in geode_aes_crypt() 93 if (op->mode == AES_MODE_CBC) { in geode_aes_crypt() 95 _writefield(AES_WRITEIV0_REG, op->iv); in geode_aes_crypt() 98 if (!(op->flags & AES_FLAGS_HIDDENKEY)) { in geode_aes_crypt() 100 _writefield(AES_WRITEKEY0_REG, op->key); in geode_aes_crypt() 103 ret = do_crypt(op->src, op->dst, op->len, flags); in geode_aes_crypt() 106 if (op->mode == AES_MODE_CBC) in geode_aes_crypt() 107 _readfield(AES_WRITEIV0_REG, op->iv); in geode_aes_crypt() [all …]
|
D | mv_cesa.c | 118 enum crypto_op op; member 132 enum hash_op op; member 142 enum hash_op op; member 258 struct sec_accel_config op; in mv_process_current_q() local 260 switch (req_ctx->op) { in mv_process_current_q() 262 op.config = CFG_OP_CRYPT_ONLY | CFG_ENCM_AES | CFG_ENC_MODE_ECB; in mv_process_current_q() 266 op.config = CFG_OP_CRYPT_ONLY | CFG_ENCM_AES | CFG_ENC_MODE_CBC; in mv_process_current_q() 267 op.enc_iv = ENC_IV_POINT(SRAM_DATA_IV) | in mv_process_current_q() 274 op.config |= CFG_DIR_DEC; in mv_process_current_q() 278 op.config |= CFG_DIR_ENC; in mv_process_current_q() [all …]
|
/linux-4.1.27/lib/lzo/ |
D | lzo1x_decompress_safe.c | 23 #define HAVE_OP(x) ((size_t)(op_end - op) >= (size_t)(x)) 41 unsigned char *op; in lzo1x_decompress_safe() local 49 op = out; in lzo1x_decompress_safe() 87 unsigned char *oe = op + t; in lzo1x_decompress_safe() 89 COPY8(op, ip); in lzo1x_decompress_safe() 90 op += 8; in lzo1x_decompress_safe() 92 COPY8(op, ip); in lzo1x_decompress_safe() 93 op += 8; in lzo1x_decompress_safe() 97 op = oe; in lzo1x_decompress_safe() 104 *op++ = *ip++; in lzo1x_decompress_safe() [all …]
|
D | lzo1x_compress.c | 26 unsigned char *op; in lzo1x_1_do_compress() local 32 op = out; in lzo1x_1_do_compress() 58 op[-2] |= t; in lzo1x_1_do_compress() 59 COPY4(op, ii); in lzo1x_1_do_compress() 60 op += t; in lzo1x_1_do_compress() 62 *op++ = (t - 3); in lzo1x_1_do_compress() 63 COPY8(op, ii); in lzo1x_1_do_compress() 64 COPY8(op + 8, ii + 8); in lzo1x_1_do_compress() 65 op += t; in lzo1x_1_do_compress() 68 *op++ = (t - 3); in lzo1x_1_do_compress() [all …]
|
/linux-4.1.27/arch/x86/mm/kmemcheck/ |
D | opcode.c | 39 void kmemcheck_opcode_decode(const uint8_t *op, unsigned int *size) in kmemcheck_opcode_decode() argument 45 for (; opcode_is_prefix(*op); ++op) { in kmemcheck_opcode_decode() 46 if (*op == 0x66) in kmemcheck_opcode_decode() 51 if (opcode_is_rex_prefix(*op)) { in kmemcheck_opcode_decode() 52 uint8_t rex = *op; in kmemcheck_opcode_decode() 54 ++op; in kmemcheck_opcode_decode() 56 switch (*op) { in kmemcheck_opcode_decode() 61 ++op; in kmemcheck_opcode_decode() 63 switch (*op) { in kmemcheck_opcode_decode() 83 if (*op == 0x0f) { in kmemcheck_opcode_decode() [all …]
|
D | selftest.c | 38 static bool selftest_opcode_one(const struct selftest_opcode *op) in selftest_opcode_one() argument 42 kmemcheck_opcode_decode(op->insn, &size); in selftest_opcode_one() 44 if (size == op->expected_size) in selftest_opcode_one() 48 op->desc, op->expected_size, size); in selftest_opcode_one()
|
/linux-4.1.27/lib/zlib_inflate/ |
D | inffast.c | 110 unsigned op; /* code bits, operation, extra bits, or */ in inflate_fast() local 148 op = (unsigned)(this.bits); in inflate_fast() 149 hold >>= op; in inflate_fast() 150 bits -= op; in inflate_fast() 151 op = (unsigned)(this.op); in inflate_fast() 152 if (op == 0) { /* literal */ in inflate_fast() 155 else if (op & 16) { /* length base */ in inflate_fast() 157 op &= 15; /* number of extra bits */ in inflate_fast() 158 if (op) { in inflate_fast() 159 if (bits < op) { in inflate_fast() [all …]
|
/linux-4.1.27/drivers/xen/xen-pciback/ |
D | pciback_ops.c | 139 struct pci_dev *dev, struct xen_pci_op *op) in xen_pcibk_enable_msi() argument 153 op->value = 0; in xen_pcibk_enable_msi() 160 op->value = dev->irq ? xen_pirq_from_irq(dev->irq) : 0; in xen_pcibk_enable_msi() 163 op->value); in xen_pcibk_enable_msi() 174 struct pci_dev *dev, struct xen_pci_op *op) in xen_pcibk_disable_msi() argument 183 op->value = dev->irq ? xen_pirq_from_irq(dev->irq) : 0; in xen_pcibk_disable_msi() 186 op->value); in xen_pcibk_disable_msi() 195 struct pci_dev *dev, struct xen_pci_op *op) in xen_pcibk_enable_msix() argument 206 if (op->value > SH_INFO_MAX_VEC) in xen_pcibk_enable_msix() 221 entries = kmalloc(op->value * sizeof(*entries), GFP_KERNEL); in xen_pcibk_enable_msix() [all …]
|
/linux-4.1.27/arch/arm/probes/kprobes/ |
D | opt-arm.c | 132 int arch_check_optimized_kprobe(struct optimized_kprobe *op) in arch_check_optimized_kprobe() argument 153 __arch_remove_optimized_kprobe(struct optimized_kprobe *op, int dirty) in __arch_remove_optimized_kprobe() argument 155 if (op->optinsn.insn) { in __arch_remove_optimized_kprobe() 156 free_optinsn_slot(op->optinsn.insn, dirty); in __arch_remove_optimized_kprobe() 157 op->optinsn.insn = NULL; in __arch_remove_optimized_kprobe() 164 optimized_callback(struct optimized_kprobe *op, struct pt_regs *regs) in optimized_callback() argument 167 struct kprobe *p = &op->kp; in optimized_callback() 171 regs->ARM_pc = (unsigned long)op->kp.addr; in optimized_callback() 177 kprobes_inc_nmissed_count(&op->kp); in optimized_callback() 179 __this_cpu_write(current_kprobe, &op->kp); in optimized_callback() [all …]
|
D | test-thumb.c | 94 #define DATA_PROCESSING16(op,val) \ in kprobe_thumb16_test_cases() argument 95 TEST_RR( op" r",0,VAL1,", r",7,val,"") \ in kprobe_thumb16_test_cases() 96 TEST_RR( op" r",7,VAL2,", r",0,val,"") in kprobe_thumb16_test_cases() 481 #define _DATA_PROCESSING32_DNM(op,s,val) \ in kprobe_thumb32_test_cases() argument 482 TEST_RR(op s".w r0, r",1, VAL1,", r",2, val, "") \ in kprobe_thumb32_test_cases() 483 TEST_RR(op s" r1, r",1, VAL1,", r",2, val, ", lsl #3") \ in kprobe_thumb32_test_cases() 484 TEST_RR(op s" r2, r",3, VAL1,", r",2, val, ", lsr #4") \ in kprobe_thumb32_test_cases() 485 TEST_RR(op s" r3, r",3, VAL1,", r",2, val, ", asr #5") \ in kprobe_thumb32_test_cases() 486 TEST_RR(op s" r4, r",5, VAL1,", r",2, N(val),", asr #6") \ in kprobe_thumb32_test_cases() 487 TEST_RR(op s" r5, r",5, VAL1,", r",2, val, ", ror #7") \ in kprobe_thumb32_test_cases() [all …]
|
D | test-arm.c | 60 #define _DATA_PROCESSING_DNM(op,s,val) \ in kprobe_arm_test_cases() argument 61 TEST_RR( op "eq" s " r0, r",1, VAL1,", r",2, val, "") \ in kprobe_arm_test_cases() 62 TEST_RR( op "ne" s " r1, r",1, VAL1,", r",2, val, ", lsl #3") \ in kprobe_arm_test_cases() 63 TEST_RR( op "cs" s " r2, r",3, VAL1,", r",2, val, ", lsr #4") \ in kprobe_arm_test_cases() 64 TEST_RR( op "cc" s " r3, r",3, VAL1,", r",2, val, ", asr #5") \ in kprobe_arm_test_cases() 65 TEST_RR( op "mi" s " r4, r",5, VAL1,", r",2, N(val),", asr #6") \ in kprobe_arm_test_cases() 66 TEST_RR( op "pl" s " r5, r",5, VAL1,", r",2, val, ", ror #7") \ in kprobe_arm_test_cases() 67 TEST_RR( op "vs" s " r6, r",7, VAL1,", r",2, val, ", rrx") \ in kprobe_arm_test_cases() 68 TEST_R( op "vc" s " r6, r",7, VAL1,", pc, lsl #3") \ in kprobe_arm_test_cases() 69 TEST_R( op "vc" s " r6, r",7, VAL1,", sp, lsr #4") \ in kprobe_arm_test_cases() [all …]
|
/linux-4.1.27/drivers/crypto/ccp/ |
D | ccp-ops.c | 192 static int ccp_do_cmd(struct ccp_op *op, u32 *cr, unsigned int cr_count) in ccp_do_cmd() argument 194 struct ccp_cmd_queue *cmd_q = op->cmd_q; in ccp_do_cmd() 208 | (op->jobid << REQ0_JOBID_SHIFT) in ccp_do_cmd() 211 if (op->soc) in ccp_do_cmd() 215 if (op->ioc || !cmd_q->free_slots) in ccp_do_cmd() 240 | op->jobid; in ccp_do_cmd() 246 } else if (op->soc) { in ccp_do_cmd() 250 | op->jobid; in ccp_do_cmd() 263 static int ccp_perform_aes(struct ccp_op *op) in ccp_perform_aes() argument 269 | (op->u.aes.type << REQ1_AES_TYPE_SHIFT) in ccp_perform_aes() [all …]
|
/linux-4.1.27/drivers/sbus/char/ |
D | openprom.c | 143 static int opromgetprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsi… in opromgetprop() argument 149 !(pval = of_get_property(dp, op->oprom_array, &len)) || in opromgetprop() 151 return copyout(argp, op, sizeof(int)); in opromgetprop() 153 memcpy(op->oprom_array, pval, len); in opromgetprop() 154 op->oprom_array[len] = '\0'; in opromgetprop() 155 op->oprom_size = len; in opromgetprop() 157 return copyout(argp, op, sizeof(int) + bufsize); in opromgetprop() 160 static int opromnxtprop(void __user *argp, struct device_node *dp, struct openpromio *op, int bufsi… in opromnxtprop() argument 166 return copyout(argp, op, sizeof(int)); in opromnxtprop() 167 if (op->oprom_array[0] == '\0') { in opromnxtprop() [all …]
|
D | bbc_i2c.c | 53 static void set_device_claimage(struct bbc_i2c_bus *bp, struct platform_device *op, int val) in set_device_claimage() argument 58 if (bp->devs[i].device == op) { in set_device_claimage() 70 struct platform_device *op = NULL; in bbc_i2c_getdev() local 74 if (!(op = bp->devs[i].device)) in bbc_i2c_getdev() 78 op = NULL; in bbc_i2c_getdev() 84 return op; in bbc_i2c_getdev() 88 struct bbc_i2c_client *bbc_i2c_attach(struct bbc_i2c_bus *bp, struct platform_device *op) in bbc_i2c_attach() argument 97 client->op = op; in bbc_i2c_attach() 99 reg = of_get_property(op->dev.of_node, "reg", NULL); in bbc_i2c_attach() 108 claim_device(bp, op); in bbc_i2c_attach() [all …]
|
D | flash.c | 161 static int flash_probe(struct platform_device *op) in flash_probe() argument 163 struct device_node *dp = op->dev.of_node; in flash_probe() 173 flash.read_base = op->resource[0].start; in flash_probe() 174 flash.read_size = resource_size(&op->resource[0]); in flash_probe() 175 if (op->resource[1].flags) { in flash_probe() 176 flash.write_base = op->resource[1].start; in flash_probe() 177 flash.write_size = resource_size(&op->resource[1]); in flash_probe() 179 flash.write_base = op->resource[0].start; in flash_probe() 180 flash.write_size = resource_size(&op->resource[0]); in flash_probe() 185 op->dev.of_node->full_name, in flash_probe() [all …]
|
D | display7seg.c | 171 static int d7s_probe(struct platform_device *op) in d7s_probe() argument 181 p = devm_kzalloc(&op->dev, sizeof(*p), GFP_KERNEL); in d7s_probe() 186 p->regs = of_ioremap(&op->resource[0], 0, sizeof(u8), "d7s"); in d7s_probe() 216 op->dev.of_node->full_name, in d7s_probe() 218 op->resource[0].start, in d7s_probe() 221 dev_set_drvdata(&op->dev, p); in d7s_probe() 229 of_iounmap(&op->resource[0], p->regs, sizeof(u8)); in d7s_probe() 235 static int d7s_remove(struct platform_device *op) in d7s_remove() argument 237 struct d7s *p = dev_get_drvdata(&op->dev); in d7s_remove() 250 of_iounmap(&op->resource[0], p->regs, sizeof(u8)); in d7s_remove()
|
D | uctrl.c | 349 static int uctrl_probe(struct platform_device *op) in uctrl_probe() argument 360 p->regs = of_ioremap(&op->resource[0], 0, in uctrl_probe() 361 resource_size(&op->resource[0]), in uctrl_probe() 368 p->irq = op->archdata.irqs[0]; in uctrl_probe() 383 op->dev.of_node->full_name, p->regs, p->irq); in uctrl_probe() 387 dev_set_drvdata(&op->dev, p); in uctrl_probe() 397 of_iounmap(&op->resource[0], p->regs, resource_size(&op->resource[0])); in uctrl_probe() 404 static int uctrl_remove(struct platform_device *op) in uctrl_remove() argument 406 struct uctrl_driver *p = dev_get_drvdata(&op->dev); in uctrl_remove() 411 of_iounmap(&op->resource[0], p->regs, resource_size(&op->resource[0])); in uctrl_remove()
|
/linux-4.1.27/arch/powerpc/lib/ |
D | sstep.c | 487 #define __put_user_asmx(x, addr, err, op, cr) \ argument 489 "1: " op " %2,0,%3\n" \ 503 #define __get_user_asmx(x, addr, err, op) \ argument 505 "1: "op" %1,0,%2\n" \ 518 #define __cacheop_user_asmx(addr, err, op) \ argument 520 "1: "op" 0,%1\n" \ 642 int __kprobes analyse_instr(struct instruction_op *op, struct pt_regs *regs, in analyse_instr() argument 651 op->type = COMPUTE; in analyse_instr() 656 op->type = BRANCH; in analyse_instr() 670 op->type = SYSCALL; in analyse_instr() [all …]
|
/linux-4.1.27/arch/sparc/lib/ |
D | atomic_64.S | 18 #define ATOMIC_OP(op) \ argument 19 ENTRY(atomic_##op) /* %o0 = increment, %o1 = atomic_ptr */ \ 22 op %g1, %o0, %g7; \ 30 ENDPROC(atomic_##op); \ 32 #define ATOMIC_OP_RETURN(op) \ argument 33 ENTRY(atomic_##op##_return) /* %o0 = increment, %o1 = atomic_ptr */ \ 36 op %g1, %o0, %g7; \ 40 op %g1, %o0, %g1; \ 44 ENDPROC(atomic_##op##_return); 46 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) argument [all …]
|
D | ksyms.c | 102 #define ATOMIC_OP(op) \ argument 103 EXPORT_SYMBOL(atomic_##op); \ 104 EXPORT_SYMBOL(atomic64_##op); 106 #define ATOMIC_OP_RETURN(op) \ argument 107 EXPORT_SYMBOL(atomic_##op##_return); \ 108 EXPORT_SYMBOL(atomic64_##op##_return); 110 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) argument
|
/linux-4.1.27/fs/cachefiles/ |
D | rdwr.c | 54 ASSERT(monitor->op); in cachefiles_read_waiter() 56 object = container_of(monitor->op->op.object, in cachefiles_read_waiter() 60 list_add_tail(&monitor->op_link, &monitor->op->to_do); in cachefiles_read_waiter() 63 fscache_enqueue_retrieval(monitor->op); in cachefiles_read_waiter() 153 struct fscache_retrieval *op; in cachefiles_read_copier() local 156 op = container_of(_op, struct fscache_retrieval, op); in cachefiles_read_copier() 157 object = container_of(op->op.object, in cachefiles_read_copier() 165 while (!list_empty(&op->to_do)) { in cachefiles_read_copier() 166 monitor = list_entry(op->to_do.next, in cachefiles_read_copier() 180 fscache_mark_page_cached(monitor->op, in cachefiles_read_copier() [all …]
|
/linux-4.1.27/include/linux/ |
D | fscache-cache.h | 75 typedef void (*fscache_operation_release_t)(struct fscache_operation *op); 76 typedef void (*fscache_operation_processor_t)(struct fscache_operation *op); 131 static inline void fscache_operation_init(struct fscache_operation *op, in fscache_operation_init() argument 135 INIT_WORK(&op->work, fscache_op_work_func); in fscache_operation_init() 136 atomic_set(&op->usage, 1); in fscache_operation_init() 137 op->state = FSCACHE_OP_ST_INITIALISED; in fscache_operation_init() 138 op->debug_id = atomic_inc_return(&fscache_op_debug_id); in fscache_operation_init() 139 op->processor = processor; in fscache_operation_init() 140 op->release = release; in fscache_operation_init() 141 INIT_LIST_HEAD(&op->pend_link); in fscache_operation_init() [all …]
|
D | sysrq.h | 47 int register_sysrq_key(int key, struct sysrq_key_op *op); 48 int unregister_sysrq_key(int key, struct sysrq_key_op *op); 63 static inline int register_sysrq_key(int key, struct sysrq_key_op *op) in register_sysrq_key() argument 68 static inline int unregister_sysrq_key(int key, struct sysrq_key_op *op) in unregister_sysrq_key() argument
|
/linux-4.1.27/arch/x86/include/asm/ |
D | paravirt_types.h | 366 #define paravirt_type(op) \ argument 367 [paravirt_typenum] "i" (PARAVIRT_PATCH(op)), \ 368 [paravirt_opptr] "i" (&(op)) 534 #define PVOP_TEST_NULL(op) BUG_ON(op == NULL) argument 536 #define PVOP_TEST_NULL(op) ((void)op) argument 539 #define ____PVOP_CALL(rettype, op, clbr, call_clbr, extra_clbr, \ argument 544 PVOP_TEST_NULL(op); \ 552 : paravirt_type(op), \ 562 : paravirt_type(op), \ 571 #define __PVOP_CALL(rettype, op, pre, post, ...) \ argument [all …]
|
D | rmwcc.h | 16 #define GEN_UNARY_RMWcc(op, var, arg0, cc) \ argument 17 __GEN_RMWcc(op " " arg0, var, cc) 19 #define GEN_BINARY_RMWcc(op, var, vcon, val, arg0, cc) \ argument 20 __GEN_RMWcc(op " %1, " arg0, var, cc, vcon (val)) 33 #define GEN_UNARY_RMWcc(op, var, arg0, cc) \ argument 34 __GEN_RMWcc(op " " arg0, var, cc) 36 #define GEN_BINARY_RMWcc(op, var, vcon, val, arg0, cc) \ argument 37 __GEN_RMWcc(op " %2, " arg0, var, cc, vcon (val))
|
D | percpu.h | 89 #define percpu_to_op(op, var, val) \ argument 99 asm(op "b %1,"__percpu_arg(0) \ 104 asm(op "w %1,"__percpu_arg(0) \ 109 asm(op "l %1,"__percpu_arg(0) \ 114 asm(op "q %1,"__percpu_arg(0) \ 182 #define percpu_from_op(op, var) \ argument 187 asm(op "b "__percpu_arg(1)",%0" \ 192 asm(op "w "__percpu_arg(1)",%0" \ 197 asm(op "l "__percpu_arg(1)",%0" \ 202 asm(op "q "__percpu_arg(1)",%0" \ [all …]
|
/linux-4.1.27/arch/mips/mm/ |
D | uasm.c | 146 #define I_u1u2u3(op) \ argument 147 Ip_u1u2u3(op) \ 149 build_insn(buf, insn##op, a, b, c); \ 151 UASM_EXPORT_SYMBOL(uasm_i##op); 153 #define I_s3s1s2(op) \ argument 154 Ip_s3s1s2(op) \ 156 build_insn(buf, insn##op, b, c, a); \ 158 UASM_EXPORT_SYMBOL(uasm_i##op); 160 #define I_u2u1u3(op) \ argument 161 Ip_u2u1u3(op) \ [all …]
|
D | uasm-micromips.c | 155 u32 op; in build_insn() local 166 op = ip->match; in build_insn() 170 op |= build_rt(va_arg(ap, u32)); in build_insn() 172 op |= build_rs(va_arg(ap, u32)); in build_insn() 176 op |= build_rs(va_arg(ap, u32)); in build_insn() 178 op |= build_rt(va_arg(ap, u32)); in build_insn() 181 op |= build_rd(va_arg(ap, u32)); in build_insn() 183 op |= build_re(va_arg(ap, u32)); in build_insn() 185 op |= build_simm(va_arg(ap, s32)); in build_insn() 187 op |= build_uimm(va_arg(ap, u32)); in build_insn() [all …]
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | paravirt_privop.h | 240 #define PARAVIRT_OP(op) \ argument 241 [op_addr] "i"(&pv_cpu_ops.op) 299 #define PARAVIRT_BR0(op, type) \ argument 304 : PARAVIRT_OP(op) \ 307 #define PARAVIRT_BR0_RET(op, type) \ argument 312 : PARAVIRT_OP(op) \ 315 #define PARAVIRT_BR1(op, type, arg1) \ argument 321 : PARAVIRT_OP(op), "0"(__##arg1) \ 324 #define PARAVIRT_BR1_RET(op, type, arg1) \ argument 330 : PARAVIRT_OP(op), "0"(__##arg1) \ [all …]
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | ftrace.c | 34 unsigned int op; in ftrace_call_replace() local 39 op = create_branch((unsigned int *)ip, addr, link ? 1 : 0); in ftrace_call_replace() 41 return op; in ftrace_call_replace() 87 static int is_bl_op(unsigned int op) in is_bl_op() argument 89 return (op & 0xfc000003) == 0x48000001; in is_bl_op() 92 static unsigned long find_bl_target(unsigned long ip, unsigned int op) in find_bl_target() argument 96 offset = (op & 0x03fffffc); in find_bl_target() 109 unsigned int op; in __ftrace_make_nop() local 115 if (probe_kernel_read(&op, (void *)ip, sizeof(int))) in __ftrace_make_nop() 119 if (!is_bl_op(op)) { in __ftrace_make_nop() [all …]
|
/linux-4.1.27/arch/sparc/kernel/ |
D | of_device_32.c | 244 static void __init build_device_resources(struct platform_device *op, in build_device_resources() argument 258 bus->count_cells(op->dev.of_node, &na, &ns); in build_device_resources() 260 preg = of_get_property(op->dev.of_node, bus->addr_prop_name, &num_reg); in build_device_resources() 270 op->resource = op->archdata.resource; in build_device_resources() 271 op->num_resources = num_reg; in build_device_resources() 273 struct resource *r = &op->resource[index]; in build_device_resources() 276 struct device_node *dp = op->dev.of_node; in build_device_resources() 326 op->dev.of_node->full_name, index, in build_device_resources() 334 r->name = op->dev.of_node->name; in build_device_resources() 341 struct platform_device *op = kzalloc(sizeof(*op), GFP_KERNEL); in scan_one_device() local [all …]
|
D | of_device_common.c | 17 struct platform_device *op = of_find_device_by_node(node); in irq_of_parse_and_map() local 19 if (!op || index >= op->archdata.num_irqs) in irq_of_parse_and_map() 22 return op->archdata.irqs[index]; in irq_of_parse_and_map() 29 struct platform_device *op = of_find_device_by_node(node); in of_address_to_resource() local 31 if (!op || index >= op->num_resources) in of_address_to_resource() 34 memcpy(r, &op->archdata.resource[index], sizeof(*r)); in of_address_to_resource() 41 struct platform_device *op = of_find_device_by_node(node); in of_iomap() local 44 if (!op || index >= op->num_resources) in of_iomap() 47 r = &op->archdata.resource[index]; in of_iomap() 63 struct platform_device *op = of_find_device_by_node(dp); in of_propagate_archdata() local [all …]
|
D | central.c | 63 static int clock_board_probe(struct platform_device *op) in clock_board_probe() argument 73 p->clock_freq_regs = of_ioremap(&op->resource[0], 0, in clock_board_probe() 74 resource_size(&op->resource[0]), in clock_board_probe() 81 p->clock_regs = of_ioremap(&op->resource[1], 0, in clock_board_probe() 82 resource_size(&op->resource[1]), in clock_board_probe() 89 if (op->resource[2].flags) { in clock_board_probe() 90 p->clock_ver_reg = of_ioremap(&op->resource[2], 0, in clock_board_probe() 91 resource_size(&op->resource[2]), in clock_board_probe() 110 p->leds_pdev.dev.parent = &op->dev; in clock_board_probe() 128 of_iounmap(&op->resource[2], p->clock_ver_reg, in clock_board_probe() [all …]
|
D | of_device_64.c | 314 static void __init build_device_resources(struct platform_device *op, in build_device_resources() argument 328 bus->count_cells(op->dev.of_node, &na, &ns); in build_device_resources() 330 preg = of_get_property(op->dev.of_node, bus->addr_prop_name, &num_reg); in build_device_resources() 344 op->dev.of_node->full_name, num_reg, PROMREG_MAX); in build_device_resources() 348 op->resource = op->archdata.resource; in build_device_resources() 349 op->num_resources = num_reg; in build_device_resources() 351 struct resource *r = &op->resource[index]; in build_device_resources() 354 struct device_node *dp = op->dev.of_node; in build_device_resources() 403 op->dev.of_node->full_name, index, in build_device_resources() 414 r->name = op->dev.of_node->name; in build_device_resources() [all …]
|
D | sbus.c | 61 struct platform_device *op = to_platform_device(dev); in sbus_set_sbus64() local 67 regs = of_get_property(op->dev.of_node, "reg", NULL); in sbus_set_sbus64() 70 op->dev.of_node->full_name); in sbus_set_sbus64() 208 static unsigned int sbus_build_irq(struct platform_device *op, unsigned int ino) in sbus_build_irq() argument 210 struct iommu *iommu = op->dev.archdata.iommu; in sbus_build_irq() 271 struct platform_device *op = dev_id; in sysio_ue_handler() local 272 struct iommu *iommu = op->dev.archdata.iommu; in sysio_ue_handler() 291 portid = of_getintprop_default(op->dev.of_node, "portid", -1); in sysio_ue_handler() 345 struct platform_device *op = dev_id; in sysio_ce_handler() local 346 struct iommu *iommu = op->dev.archdata.iommu; in sysio_ce_handler() [all …]
|
D | power.c | 36 static int power_probe(struct platform_device *op) in power_probe() argument 38 struct resource *res = &op->resource[0]; in power_probe() 39 unsigned int irq = op->archdata.irqs[0]; in power_probe() 44 op->dev.of_node->name, res->start); in power_probe() 46 if (has_button_interrupt(irq, op->dev.of_node)) { in power_probe()
|
D | pci_sabre.c | 314 struct device_node *dp = pbm->op->dev.of_node; in sabre_register_error_handlers() 315 struct platform_device *op; in sabre_register_error_handlers() local 323 op = of_find_device_by_node(dp); in sabre_register_error_handlers() 324 if (!op) in sabre_register_error_handlers() 333 if (op->archdata.num_irqs < 4) in sabre_register_error_handlers() 345 err = request_irq(op->archdata.irqs[1], sabre_ue_intr, 0, "SABRE_UE", pbm); in sabre_register_error_handlers() 355 err = request_irq(op->archdata.irqs[2], sabre_ce_intr, 0, "SABRE_CE", pbm); in sabre_register_error_handlers() 359 err = request_irq(op->archdata.irqs[0], psycho_pcierr_intr, 0, in sabre_register_error_handlers() 446 struct platform_device *op) in sabre_pbm_init() argument 448 psycho_pbm_init_common(pbm, op, "SABRE", PBM_CHIP_TYPE_SABRE); in sabre_pbm_init() [all …]
|
D | chmc.c | 395 static int jbusmc_probe(struct platform_device *op) in jbusmc_probe() argument 427 prop = of_get_property(op->dev.of_node, "portid", &len); in jbusmc_probe() 435 prop = of_get_property(op->dev.of_node, "memory-control-register-1", &len); in jbusmc_probe() 444 p->regs = of_ioremap(&op->resource[0], 0, JBUSMC_REGS_SIZE, "jbusmc"); in jbusmc_probe() 451 ml = of_get_property(op->dev.of_node, "memory-layout", &p->layout_len); in jbusmc_probe() 468 op->dev.of_node->full_name); in jbusmc_probe() 470 dev_set_drvdata(&op->dev, p); in jbusmc_probe() 478 of_iounmap(&op->resource[0], p->regs, JBUSMC_REGS_SIZE); in jbusmc_probe() 692 static int chmc_probe(struct platform_device *op) in chmc_probe() argument 694 struct device_node *dp = op->dev.of_node; in chmc_probe() [all …]
|
D | apc.c | 73 static inline void apc_free(struct platform_device *op) in apc_free() argument 75 of_iounmap(&op->resource[0], regs, resource_size(&op->resource[0])); in apc_free() 142 static int apc_probe(struct platform_device *op) in apc_probe() argument 146 regs = of_ioremap(&op->resource[0], 0, in apc_probe() 147 resource_size(&op->resource[0]), APC_OBPNAME); in apc_probe() 156 apc_free(op); in apc_probe()
|
/linux-4.1.27/tools/lib/traceevent/ |
D | event-plugin.c | 61 static int update_option_value(struct pevent_plugin_option *op, const char *val) in update_option_value() argument 67 if (op->value) in update_option_value() 70 op->set ^= 1; in update_option_value() 78 if (op->value) { in update_option_value() 79 op->value = val; in update_option_value() 91 op->set = 1; in update_option_value() 93 op->set = 0; in update_option_value() 114 struct pevent_plugin_option *op; in traceevent_plugin_list_options() local 120 for (op = reg->options; op->name; op++) { in traceevent_plugin_list_options() 121 char *alias = op->plugin_alias ? op->plugin_alias : op->file; in traceevent_plugin_list_options() [all …]
|
D | parse-filter.c | 230 free_arg(arg->op.left); in free_arg() 231 free_arg(arg->op.right); in free_arg() 416 arg->op.type = btype; in create_arg_op() 431 arg->op.type = etype; in create_arg_exp() 447 arg->op.type = etype; in create_arg_cmp() 453 add_right(struct filter_arg *op, struct filter_arg *arg, char *error_str) in add_right() argument 460 switch (op->type) { in add_right() 462 if (op->exp.right) in add_right() 464 op->exp.right = arg; in add_right() 468 if (op->op.right) in add_right() [all …]
|
D | event-parse.c | 789 free(arg->op.op); in free_arg() 790 free_arg(arg->op.left); in free_arg() 791 free_arg(arg->op.right); in free_arg() 1676 arg->op.left = left; in process_cond() 1677 arg->op.right = right; in process_cond() 1692 arg->op.op = token; in process_cond() 1696 top->op.right = arg; in process_cond() 1703 top->op.right = NULL; in process_cond() 1729 top->op.right = arg; in process_array() 1743 static int get_op_prio(char *op) in get_op_prio() argument [all …]
|
D | plugin_xen.c | 103 static const char *xen_hypercall_name(unsigned op) in xen_hypercall_name() argument 105 if (op < ARRAY_SIZE(xen_hypercall_names) && in xen_hypercall_name() 106 xen_hypercall_names[op] != NULL) in xen_hypercall_name() 107 return xen_hypercall_names[op]; in xen_hypercall_name() 115 unsigned int op = args[0]; in process_xen_hypercall_name() local 117 trace_seq_printf(s, "%s", xen_hypercall_name(op)); in process_xen_hypercall_name()
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
D | lov_pool.c | 322 int lov_ost_pool_init(struct ost_pool *op, unsigned int count) in lov_ost_pool_init() argument 326 op->op_array = NULL; in lov_ost_pool_init() 327 op->op_count = 0; in lov_ost_pool_init() 328 init_rwsem(&op->op_rw_sem); in lov_ost_pool_init() 329 op->op_size = count; in lov_ost_pool_init() 330 OBD_ALLOC(op->op_array, op->op_size * sizeof(op->op_array[0])); in lov_ost_pool_init() 331 if (op->op_array == NULL) { in lov_ost_pool_init() 332 op->op_size = 0; in lov_ost_pool_init() 339 int lov_ost_pool_extend(struct ost_pool *op, unsigned int min_count) in lov_ost_pool_extend() argument 346 if (op->op_count < op->op_size) in lov_ost_pool_extend() [all …]
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | apply.c | 148 struct ovl_priv_data *op; in apply_init_priv() local 150 op = &dss_data.ovl_priv_data_array[i]; in apply_init_priv() 152 op->info.color_mode = OMAP_DSS_COLOR_RGB16; in apply_init_priv() 153 op->info.rotation_type = OMAP_DSS_ROT_DMA; in apply_init_priv() 155 op->info.global_alpha = 255; in apply_init_priv() 159 op->info.zorder = 0; in apply_init_priv() 162 op->info.zorder = in apply_init_priv() 166 op->info.zorder = in apply_init_priv() 170 op->info.zorder = in apply_init_priv() 175 op->user_info = op->info; in apply_init_priv() [all …]
|
/linux-4.1.27/drivers/tty/vt/ |
D | vt_ioctl.c | 223 …fontx_ioctl(int cmd, struct consolefontdesc __user *user_cfd, int perm, struct console_font_op *op) in do_fontx_ioctl() argument 235 op->op = KD_FONT_OP_SET; in do_fontx_ioctl() 236 op->flags = KD_FONT_FLAG_OLD; in do_fontx_ioctl() 237 op->width = 8; in do_fontx_ioctl() 238 op->height = cfdarg.charheight; in do_fontx_ioctl() 239 op->charcount = cfdarg.charcount; in do_fontx_ioctl() 240 op->data = cfdarg.chardata; in do_fontx_ioctl() 241 return con_font_op(vc_cons[fg_console].d, op); in do_fontx_ioctl() 243 op->op = KD_FONT_OP_GET; in do_fontx_ioctl() 244 op->flags = KD_FONT_FLAG_OLD; in do_fontx_ioctl() [all …]
|
/linux-4.1.27/sound/oss/ |
D | dev_table.c | 56 struct audio_operations *op; in sound_install_audiodrv() local 74 …op = (struct audio_operations *) (sound_mem_blocks[sound_nblocks] = vzalloc(sizeof(struct audio_op… in sound_install_audiodrv() 79 if (d == NULL || op == NULL) { in sound_install_audiodrv() 84 init_waitqueue_head(&op->in_sleeper); in sound_install_audiodrv() 85 init_waitqueue_head(&op->out_sleeper); in sound_install_audiodrv() 86 init_waitqueue_head(&op->poll_sleeper); in sound_install_audiodrv() 92 op->d = d; in sound_install_audiodrv() 93 strlcpy(op->name, name, sizeof(op->name)); in sound_install_audiodrv() 94 op->flags = flags; in sound_install_audiodrv() 95 op->format_mask = format_mask; in sound_install_audiodrv() [all …]
|
D | opl3.c | 404 opl3_command(map->ioaddr, KSL_LEVEL + map->op[0], vol1); in set_voice_volume() 405 opl3_command(map->ioaddr, KSL_LEVEL + map->op[1], vol2); in set_voice_volume() 450 opl3_command(map->ioaddr, KSL_LEVEL + map->op[0], vol1); in set_voice_volume() 451 opl3_command(map->ioaddr, KSL_LEVEL + map->op[1], vol2); in set_voice_volume() 452 opl3_command(map->ioaddr, KSL_LEVEL + map->op[2], vol3); in set_voice_volume() 453 opl3_command(map->ioaddr, KSL_LEVEL + map->op[3], vol4); in set_voice_volume() 485 opl3_command(map->ioaddr, KSL_LEVEL + map->op[1], 0xff); /* in opl3_start_note() 490 opl3_command(map->ioaddr, KSL_LEVEL + map->op[0], 0xff); /* in opl3_start_note() 497 opl3_command(map->ioaddr, KSL_LEVEL + map->op[2], 0xff); in opl3_start_note() 498 opl3_command(map->ioaddr, KSL_LEVEL + map->op[3], 0xff); in opl3_start_note() [all …]
|
/linux-4.1.27/arch/sh/include/asm/ |
D | atomic-llsc.h | 18 #define ATOMIC_OP(op) \ argument 19 static inline void atomic_##op(int i, atomic_t *v) \ 24 "1: movli.l @%2, %0 ! atomic_" #op "\n" \ 25 " " #op " %1, %0 \n" \ 33 #define ATOMIC_OP_RETURN(op) \ argument 34 static inline int atomic_##op##_return(int i, atomic_t *v) \ 39 "1: movli.l @%2, %0 ! atomic_" #op "_return \n" \ 40 " " #op " %1, %0 \n" \ 51 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) argument
|
D | atomic-grb.h | 4 #define ATOMIC_OP(op) \ argument 5 static inline void atomic_##op(int i, atomic_t *v) \ 15 " " #op " %2, %0 \n\t" /* $op */ \ 24 #define ATOMIC_OP_RETURN(op) \ argument 25 static inline int atomic_##op##_return(int i, atomic_t *v) \ 35 " " #op " %2, %0 \n\t" /* $op */ \ 46 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) argument
|
D | atomic-irq.h | 12 #define ATOMIC_OP(op, c_op) \ argument 13 static inline void atomic_##op(int i, atomic_t *v) \ 22 #define ATOMIC_OP_RETURN(op, c_op) \ argument 23 static inline int atomic_##op##_return(int i, atomic_t *v) \ 36 #define ATOMIC_OPS(op, c_op) ATOMIC_OP(op, c_op) ATOMIC_OP_RETURN(op, c_op) argument
|
/linux-4.1.27/arch/arc/include/asm/ |
D | bitops.h | 31 #define BIT_OP(op, c_op, asm_op) \ argument 32 static inline void op##_bit(unsigned long nr, volatile unsigned long *m)\ 77 #define TEST_N_BIT_OP(op, c_op, asm_op) \ argument 78 static inline int test_and_##op##_bit(unsigned long nr, volatile unsigned long *m)\ 124 #define BIT_OP(op, c_op, asm_op) \ argument 125 static inline void op##_bit(unsigned long nr, volatile unsigned long *m)\ 141 #define TEST_N_BIT_OP(op, c_op, asm_op) \ argument 142 static inline int test_and_##op##_bit(unsigned long nr, volatile unsigned long *m)\ 163 #define __BIT_OP(op, c_op, asm_op) \ argument 164 static inline void __##op##_bit(unsigned long nr, volatile unsigned long *m) \ [all …]
|
D | atomic.h | 26 #define ATOMIC_OP(op, c_op, asm_op) \ argument 27 static inline void atomic_##op(int i, atomic_t *v) \ 41 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument 42 static inline int atomic_##op##_return(int i, atomic_t *v) \ 100 #define ATOMIC_OP(op, c_op, asm_op) \ argument 101 static inline void atomic_##op(int i, atomic_t *v) \ 110 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument 111 static inline int atomic_##op##_return(int i, atomic_t *v) \ 130 #define ATOMIC_OPS(op, c_op, asm_op) \ argument 131 ATOMIC_OP(op, c_op, asm_op) \ [all …]
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | atomic.h | 62 #define ATOMIC_OP(op) \ argument 63 static inline void atomic_##op(int i, atomic_t * v) \ 71 " " #op " %0, %1, %2\n" \ 80 #define ATOMIC_OP_RETURN(op) \ argument 81 static inline int atomic_##op##_return(int i, atomic_t * v) \ 89 " " #op " %0, %1, %2\n" \ 92 " " #op " %0, %0, %2\n" \ 103 #define ATOMIC_OP(op) \ argument 104 static inline void atomic_##op(int i, atomic_t * v) \ 111 " " #op " %0, %0, %1\n" \ [all …]
|
/linux-4.1.27/drivers/media/dvb-frontends/ |
D | mt352.c | 171 struct dtv_frontend_properties *op = &fe->dtv_property_cache; in mt352_set_parameters() local 178 switch (op->code_rate_HP) { in mt352_set_parameters() 198 switch (op->code_rate_LP) { in mt352_set_parameters() 215 if (op->hierarchy == HIERARCHY_AUTO || in mt352_set_parameters() 216 op->hierarchy == HIERARCHY_NONE) in mt352_set_parameters() 222 switch (op->modulation) { in mt352_set_parameters() 236 switch (op->transmission_mode) { in mt352_set_parameters() 247 switch (op->guard_interval) { in mt352_set_parameters() 264 switch (op->hierarchy) { in mt352_set_parameters() 290 mt352_calc_nominal_rate(state, op->bandwidth_hz, buf+4); in mt352_set_parameters() [all …]
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | atomic.h | 47 #define ATOMIC_OP(op, asm_op) \ argument 48 static inline void atomic_##op(int i, atomic_t *v) \ 53 asm volatile("// atomic_" #op "\n" \ 62 #define ATOMIC_OP_RETURN(op, asm_op) \ argument 63 static inline int atomic_##op##_return(int i, atomic_t *v) \ 68 asm volatile("// atomic_" #op "_return\n" \ 81 #define ATOMIC_OPS(op, asm_op) \ argument 82 ATOMIC_OP(op, asm_op) \ 83 ATOMIC_OP_RETURN(op, asm_op) 145 #define ATOMIC64_OP(op, asm_op) \ argument [all …]
|
/linux-4.1.27/drivers/mtd/maps/ |
D | sun_uflash.c | 50 int uflash_devinit(struct platform_device *op, struct device_node *dp) in uflash_devinit() argument 54 if (op->resource[1].flags) { in uflash_devinit() 59 dp->full_name, (unsigned long long)op->resource[0].start); in uflash_devinit() 73 up->map.size = resource_size(&op->resource[0]); in uflash_devinit() 79 up->map.phys = op->resource[0].start; in uflash_devinit() 81 up->map.virt = of_ioremap(&op->resource[0], 0, up->map.size, in uflash_devinit() 95 of_iounmap(&op->resource[0], up->map.virt, up->map.size); in uflash_devinit() 105 dev_set_drvdata(&op->dev, up); in uflash_devinit() 110 static int uflash_probe(struct platform_device *op) in uflash_probe() argument 112 struct device_node *dp = op->dev.of_node; in uflash_probe() [all …]
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | parport.h | 106 static int ecpp_probe(struct platform_device *op) in ecpp_probe() argument 108 unsigned long base = op->resource[0].start; in ecpp_probe() 109 unsigned long config = op->resource[1].start; in ecpp_probe() 110 unsigned long d_base = op->resource[2].start; in ecpp_probe() 116 parent = op->dev.of_node->parent; in ecpp_probe() 119 op->archdata.irqs[0], PARPORT_DMA_NOFIFO, in ecpp_probe() 120 op->dev.parent->parent, 0); in ecpp_probe() 123 dev_set_drvdata(&op->dev, p); in ecpp_probe() 137 d_len = (op->resource[2].end - d_base) + 1UL; in ecpp_probe() 139 of_ioremap(&op->resource[2], 0, d_len, "ECPP DMA"); in ecpp_probe() [all …]
|
D | atomic_64.h | 23 #define ATOMIC_OP(op) \ argument 24 void atomic_##op(int, atomic_t *); \ 25 void atomic64_##op(long, atomic64_t *); 27 #define ATOMIC_OP_RETURN(op) \ argument 28 int atomic_##op##_return(int, atomic_t *); \ 29 long atomic64_##op##_return(long, atomic64_t *); 31 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) argument
|
D | floppy_64.h | 547 struct platform_device *op; in sun_floppy_init() local 555 op = NULL; in sun_floppy_init() 560 op = of_find_device_by_node(dp); in sun_floppy_init() 561 if (op) in sun_floppy_init() 564 if (op) { in sun_floppy_init() 565 floppy_op = op; in sun_floppy_init() 566 FLOPPY_IRQ = op->archdata.irqs[0]; in sun_floppy_init() 584 op = of_find_device_by_node(dp); in sun_floppy_init() 585 if (!op) in sun_floppy_init() 588 state_prop = of_get_property(op->dev.of_node, "status", NULL); in sun_floppy_init() [all …]
|
D | floppy_32.h | 277 struct platform_device *op; in sun_floppy_init() local 324 op = NULL; in sun_floppy_init() 326 op = of_find_device_by_node(dp); in sun_floppy_init() 327 if (op) in sun_floppy_init() 330 if (!op) { in sun_floppy_init() 332 op = of_find_device_by_node(dp); in sun_floppy_init() 333 if (op) in sun_floppy_init() 337 if (!op) in sun_floppy_init() 340 FLOPPY_IRQ = op->archdata.irqs[0]; in sun_floppy_init()
|
/linux-4.1.27/drivers/md/bcache/ |
D | request.c | 57 struct data_insert_op *op = container_of(cl, struct data_insert_op, cl); in bch_data_insert_keys() local 59 struct bkey *replace_key = op->replace ? &op->replace_key : NULL; in bch_data_insert_keys() 74 if (!op->replace) in bch_data_insert_keys() 75 journal_ref = bch_journal(op->c, &op->insert_keys, in bch_data_insert_keys() 76 op->flush_journal ? cl : NULL); in bch_data_insert_keys() 78 ret = bch_btree_insert(op->c, &op->insert_keys, in bch_data_insert_keys() 81 op->replace_collision = true; in bch_data_insert_keys() 83 op->error = -ENOMEM; in bch_data_insert_keys() 84 op->insert_data_done = true; in bch_data_insert_keys() 90 if (!op->insert_data_done) in bch_data_insert_keys() [all …]
|
D | movinggc.c | 17 struct data_insert_op op; member 53 if (io->op.replace_collision) in write_moving_finish() 56 bch_keybuf_del(&io->op.c->moving_gc_keys, io->w); in write_moving_finish() 58 up(&io->op.c->moving_in_flight); in write_moving_finish() 70 io->op.error = error; in read_moving_endio() 72 ptr_stale(io->op.c, &b->key, 0)) { in read_moving_endio() 73 io->op.error = -EINTR; in read_moving_endio() 76 bch_bbio_endio(io->op.c, bio, error, "reading data to move"); in read_moving_endio() 98 struct data_insert_op *op = &io->op; in write_moving() local 100 if (!op->error) { in write_moving() [all …]
|
D | btree.c | 116 #define btree(fn, key, b, op, ...) \ argument 119 bool _w = l <= (op)->lock; \ 120 struct btree *_child = bch_btree_node_get((b)->c, op, key, l, \ 123 _r = bch_btree_ ## fn(_child, op, ##__VA_ARGS__); \ 136 #define btree_root(fn, c, op, ...) \ argument 141 bool _w = insert_lock(op, _b); \ 144 _w == insert_lock(op, _b)) { \ 145 _r = bch_btree_ ## fn(_b, op, ##__VA_ARGS__); \ 153 finish_wait(&(c)->btree_cache_wait, &(op)->wait); \ 837 static int mca_cannibalize_lock(struct cache_set *c, struct btree_op *op) in mca_cannibalize_lock() argument [all …]
|
D | btree.h | 218 static inline void bch_btree_op_init(struct btree_op *op, int write_lock_level) in bch_btree_op_init() argument 220 memset(op, 0, sizeof(struct btree_op)); in bch_btree_op_init() 221 init_wait(&op->wait); in bch_btree_op_init() 222 op->lock = write_lock_level; in bch_btree_op_init() 279 static inline int bch_btree_map_nodes(struct btree_op *op, struct cache_set *c, in bch_btree_map_nodes() argument 282 return __bch_btree_map_nodes(op, c, from, fn, MAP_ALL_NODES); in bch_btree_map_nodes() 285 static inline int bch_btree_map_leaf_nodes(struct btree_op *op, in bch_btree_map_leaf_nodes() argument 290 return __bch_btree_map_nodes(op, c, from, fn, MAP_LEAF_NODES); in bch_btree_map_leaf_nodes()
|
/linux-4.1.27/drivers/scsi/ |
D | sun_esp.c | 83 struct platform_device *op = esp->dev; in esp_sbus_map_regs() local 90 res = &op->resource[1]; in esp_sbus_map_regs() 92 res = &op->resource[0]; in esp_sbus_map_regs() 103 struct platform_device *op = esp->dev; in esp_sbus_map_command_block() local 105 esp->command_block = dma_alloc_coherent(&op->dev, 16, in esp_sbus_map_command_block() 116 struct platform_device *op = esp->dev; in esp_sbus_register_irq() local 118 host->irq = op->archdata.irqs[0]; in esp_sbus_register_irq() 124 struct platform_device *op = esp->dev; in esp_get_scsi_id() local 127 dp = op->dev.of_node; in esp_get_scsi_id() 146 struct platform_device *op = esp->dev; in esp_get_differential() local [all …]
|
D | qlogicpti.c | 477 err = request_firmware(&fw, fwname, &qpti->op->dev); in qlogicpti_load_firmware() 706 struct platform_device *op = qpti->op; in qpti_map_regs() local 708 qpti->qregs = of_ioremap(&op->resource[0], 0, in qpti_map_regs() 709 resource_size(&op->resource[0]), in qpti_map_regs() 716 qpti->sreg = of_ioremap(&op->resource[0], (16 * 4096), in qpti_map_regs() 729 struct platform_device *op = qpti->op; in qpti_register_irq() local 731 qpti->qhost->irq = qpti->irq = op->archdata.irqs[0]; in qpti_register_irq() 754 struct platform_device *op = qpti->op; in qpti_get_scsi_id() local 757 dp = op->dev.of_node; in qpti_get_scsi_id() 775 struct platform_device *op = qpti->op; in qpti_get_bursts() local [all …]
|
/linux-4.1.27/sound/soc/fsl/ |
D | pcm030-audio-fabric.c | 54 static int pcm030_fabric_probe(struct platform_device *op) in pcm030_fabric_probe() argument 56 struct device_node *np = op->dev.of_node; in pcm030_fabric_probe() 66 pdata = devm_kzalloc(&op->dev, sizeof(struct pcm030_audio_data), in pcm030_fabric_probe() 71 card->dev = &op->dev; in pcm030_fabric_probe() 77 dev_err(&op->dev, "ac97 not registered\n"); in pcm030_fabric_probe() 86 dev_err(&op->dev, "request_module returned: %d\n", ret); in pcm030_fabric_probe() 90 dev_err(&op->dev, "platform_device_alloc() failed\n"); in pcm030_fabric_probe() 94 dev_err(&op->dev, "platform_device_add() failed: %d\n", ret); in pcm030_fabric_probe() 98 dev_err(&op->dev, "snd_soc_register_card() failed: %d\n", ret); in pcm030_fabric_probe() 100 platform_set_drvdata(op, pdata); in pcm030_fabric_probe() [all …]
|
D | mpc5200_psc_i2s.c | 159 static int psc_i2s_of_probe(struct platform_device *op) in psc_i2s_of_probe() argument 165 rc = mpc5200_audio_dma_create(op); in psc_i2s_of_probe() 169 rc = snd_soc_register_component(&op->dev, &psc_i2s_component, in psc_i2s_of_probe() 176 psc_dma = dev_get_drvdata(&op->dev); in psc_i2s_of_probe() 187 if (!of_get_property(op->dev.of_node, "codec-handle", NULL)) in psc_i2s_of_probe() 212 static int psc_i2s_of_remove(struct platform_device *op) in psc_i2s_of_remove() argument 214 mpc5200_audio_dma_destroy(op); in psc_i2s_of_remove() 215 snd_soc_unregister_component(&op->dev); in psc_i2s_of_remove()
|
/linux-4.1.27/drivers/i2c/busses/ |
D | i2c-parport-light.c | 62 static inline void line_set(int state, const struct lineop *op) in line_set() argument 64 u8 oldval = port_read(op->port); in line_set() 67 if ((op->inverted && !state) || (!op->inverted && state)) in line_set() 68 port_write(op->port, oldval | op->val); in line_set() 70 port_write(op->port, oldval & ~op->val); in line_set() 73 static inline int line_get(const struct lineop *op) in line_get() argument 75 u8 oldval = port_read(op->port); in line_get() 77 return ((op->inverted && (oldval & op->val) != op->val) in line_get() 78 || (!op->inverted && (oldval & op->val) == op->val)); in line_get()
|
D | i2c-parport.c | 92 const struct lineop *op) in line_set() argument 94 u8 oldval = port_read[op->port](data); in line_set() 97 if ((op->inverted && !state) || (!op->inverted && state)) in line_set() 98 port_write[op->port](data, oldval | op->val); in line_set() 100 port_write[op->port](data, oldval & ~op->val); in line_set() 104 const struct lineop *op) in line_get() argument 106 u8 oldval = port_read[op->port](data); in line_get() 108 return ((op->inverted && (oldval & op->val) != op->val) in line_get() 109 || (!op->inverted && (oldval & op->val) == op->val)); in line_get()
|
/linux-4.1.27/net/rds/ |
D | ib_send.c | 106 struct rm_data_op *op, in rds_ib_send_unmap_data() argument 109 if (op->op_nents) in rds_ib_send_unmap_data() 111 op->op_sg, op->op_nents, in rds_ib_send_unmap_data() 116 struct rm_rdma_op *op, in rds_ib_send_unmap_rdma() argument 119 if (op->op_mapped) { in rds_ib_send_unmap_rdma() 121 op->op_sg, op->op_nents, in rds_ib_send_unmap_rdma() 122 op->op_write ? DMA_TO_DEVICE : DMA_FROM_DEVICE); in rds_ib_send_unmap_rdma() 123 op->op_mapped = 0; in rds_ib_send_unmap_rdma() 146 rds_ib_send_complete(container_of(op, struct rds_message, rdma), in rds_ib_send_unmap_rdma() 149 if (op->op_write) in rds_ib_send_unmap_rdma() [all …]
|
D | iw_send.c | 67 struct rm_rdma_op *op) in rds_iw_send_unmap_rdma() argument 69 if (op->op_mapped) { in rds_iw_send_unmap_rdma() 71 op->op_sg, op->op_nents, in rds_iw_send_unmap_rdma() 72 op->op_write ? DMA_TO_DEVICE : DMA_FROM_DEVICE); in rds_iw_send_unmap_rdma() 73 op->op_mapped = 0; in rds_iw_send_unmap_rdma() 788 int rds_iw_xmit_rdma(struct rds_connection *conn, struct rm_rdma_op *op) in rds_iw_xmit_rdma() argument 798 u64 remote_addr = op->op_remote_addr; in rds_iw_xmit_rdma() 810 if (!op->op_mapped) { in rds_iw_xmit_rdma() 811 op->op_count = ib_dma_map_sg(ic->i_cm_id->device, in rds_iw_xmit_rdma() 812 op->op_sg, op->op_nents, (op->op_write) ? in rds_iw_xmit_rdma() [all …]
|
D | rdma.c | 550 struct rm_rdma_op *op = &rm->rdma; in rds_cmsg_rdma_args() local 602 op->op_write = !!(args->flags & RDS_RDMA_READWRITE); in rds_cmsg_rdma_args() 603 op->op_fence = !!(args->flags & RDS_RDMA_FENCE); in rds_cmsg_rdma_args() 604 op->op_notify = !!(args->flags & RDS_RDMA_NOTIFY_ME); in rds_cmsg_rdma_args() 605 op->op_silent = !!(args->flags & RDS_RDMA_SILENT); in rds_cmsg_rdma_args() 606 op->op_active = 1; in rds_cmsg_rdma_args() 607 op->op_recverr = rs->rs_recverr; in rds_cmsg_rdma_args() 609 op->op_sg = rds_message_alloc_sgs(rm, nr_pages); in rds_cmsg_rdma_args() 610 if (!op->op_sg) { in rds_cmsg_rdma_args() 615 if (op->op_notify || op->op_recverr) { in rds_cmsg_rdma_args() [all …]
|
/linux-4.1.27/drivers/block/paride/ |
D | on20.c | 27 #define op(f) w2(4);w0(f);w2(5);w2(0xd);w2(5);w2(0xd);w2(5);w2(4); macro 42 op(1); vl(r); op(0); in on20_read_regr() 65 op(1); vl(r); in on20_write_regr() 66 op(0); vl(val); in on20_write_regr() 67 op(0); vl(val); in on20_write_regr() 76 if (pi->mode) { op(2); vl(8); op(2); vl(9); } in on20_connect() 77 else { op(2); vl(0); op(2); vl(8); } in on20_connect() 91 op(1); vl(1); op(0); in on20_read_block() 108 op(1); vl(1); op(0); in on20_write_block()
|
/linux-4.1.27/arch/mips/include/asm/ |
D | r4kcache.h | 41 #define cache_op(op,addr) \ argument 49 : "i" (op), "R" (*(unsigned char *)(addr))) 149 #define protected_cache_op(op,addr) \ argument 160 : "i" (op), "r" (addr)) 162 #define protected_cachee_op(op,addr) \ argument 174 : "i" (op), "r" (addr)) 225 #define cache16_unroll32(base,op) \ argument 249 "i" (op)); 251 #define cache32_unroll32(base,op) \ argument 275 "i" (op)); [all …]
|
D | uasm.h | 34 #define ISAOPC(op) CL_uasm_i##op argument 37 #define ISAOPC(op) uasm_i##op argument 42 #define ISAOPC(op) uasm_i##op argument 45 #define ISAOPC(op) MM_uasm_i##op argument 52 #define Ip_u1u2u3(op) \ argument 53 void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b, unsigned int c) 55 #define Ip_u2u1u3(op) \ argument 56 void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b, unsigned int c) 58 #define Ip_u3u2u1(op) \ argument 59 void ISAOPC(op)(u32 **buf, unsigned int a, unsigned int b, unsigned int c) [all …]
|
D | atomic.h | 44 #define ATOMIC_OP(op, c_op, asm_op) \ argument 45 static __inline__ void atomic_##op(int i, atomic_t * v) \ 52 "1: ll %0, %1 # atomic_" #op " \n" \ 65 " ll %0, %1 # atomic_" #op "\n" \ 81 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument 82 static __inline__ int atomic_##op##_return(int i, atomic_t * v) \ 93 "1: ll %1, %2 # atomic_" #op "_return \n" \ 108 " ll %1, %2 # atomic_" #op "_return \n" \ 133 #define ATOMIC_OPS(op, c_op, asm_op) \ argument 134 ATOMIC_OP(op, c_op, asm_op) \ [all …]
|
/linux-4.1.27/tools/perf/tests/ |
D | evsel-roundtrip-name.c | 10 int type, op, err = 0, ret = 0, i, idx; in perf_evsel__roundtrip_cache_name_test() local 18 for (op = 0; op < PERF_COUNT_HW_CACHE_OP_MAX; op++) { in perf_evsel__roundtrip_cache_name_test() 20 if (!perf_evsel__is_cache_op_valid(type, op)) in perf_evsel__roundtrip_cache_name_test() 24 __perf_evsel__hw_cache_type_op_res_name(type, op, i, in perf_evsel__roundtrip_cache_name_test() 37 for (op = 0; op < PERF_COUNT_HW_CACHE_OP_MAX; op++) { in perf_evsel__roundtrip_cache_name_test() 39 if (!perf_evsel__is_cache_op_valid(type, op)) in perf_evsel__roundtrip_cache_name_test() 43 __perf_evsel__hw_cache_type_op_res_name(type, op, i, in perf_evsel__roundtrip_cache_name_test()
|
/linux-4.1.27/fs/nfsd/ |
D | fault_inject.c | 34 struct nfsd_fault_inject_op *op = file_inode(file)->i_private; in fault_inject_read() local 37 val = op->get(); in fault_inject_read() 50 struct nfsd_fault_inject_op *op = file_inode(file)->i_private; in fault_inject_write() local 67 val = op->set_clnt(&sa, size); in fault_inject_write() 70 op->file, write_buf, val); in fault_inject_write() 74 pr_info("NFSD Fault Injection: %s (all)", op->file); in fault_inject_write() 77 op->file, val); in fault_inject_write() 78 val = op->set_val(val); in fault_inject_write() 79 pr_info("NFSD: %s: found %llu", op->file, val); in fault_inject_write() 133 struct nfsd_fault_inject_op *op; in nfsd_fault_inject_init() local [all …]
|
D | nfs4proc.c | 484 …2 nfsd4_open_omfg(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate, struct nfsd4_op *op) in nfsd4_open_omfg() argument 486 struct nfsd4_open *open = (struct nfsd4_open *)&op->u; in nfsd4_open_omfg() 488 if (!seqid_mutating_err(ntohl(op->status))) in nfsd4_open_omfg() 489 return op->status; in nfsd4_open_omfg() 491 return op->status; in nfsd4_open_omfg() 492 open->op_xdr_error = op->status; in nfsd4_open_omfg() 1458 typedef u32(*nfsd4op_rsize)(struct svc_rqst *, struct nfsd4_op *op); 1520 struct nfsd4_op *op = &args->ops[0]; in nfs41_check_op_ordering() local 1528 if (op->status == nfserr_op_illegal) in nfs41_check_op_ordering() 1530 if (!(nfsd4_ops[op->opnum].op_flags & ALLOWED_AS_FIRST_OP)) in nfs41_check_op_ordering() [all …]
|
/linux-4.1.27/drivers/video/fbdev/via/ |
D | accel.c | 53 static int hw_bitblt_1(void __iomem *engine, u8 op, u32 width, u32 height, in hw_bitblt_1() argument 61 if (!op || op > 3) { in hw_bitblt_1() 62 printk(KERN_WARNING "hw_bitblt_1: Invalid operation: %d\n", op); in hw_bitblt_1() 66 if (op != VIA_BITBLT_FILL && !src_mem && src_addr == dst_addr) { in hw_bitblt_1() 79 if (op == VIA_BITBLT_FILL) { in hw_bitblt_1() 97 if (op != VIA_BITBLT_FILL) { in hw_bitblt_1() 98 if (src_x & (op == VIA_BITBLT_MONO ? 0xFFFF8000 : 0xFFFFF000) in hw_bitblt_1() 124 if (op != VIA_BITBLT_COLOR) in hw_bitblt_1() 127 if (op == VIA_BITBLT_MONO) in hw_bitblt_1() 130 if (op != VIA_BITBLT_FILL) { in hw_bitblt_1() [all …]
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
D | ioctl.c | 28 uint32_t size, enum wil_memio_op op) in wil_ioc_addr() argument 33 switch (op & wil_mmio_addr_mask) { in wil_ioc_addr() 44 wil_err(wil, "Unsupported address mode, op = 0x%08x\n", op); in wil_ioc_addr() 68 io.addr, io.val, io.op); in wil_ioc_memio_dword() 70 a = wil_ioc_addr(wil, io.addr, sizeof(u32), io.op); in wil_ioc_memio_dword() 73 io.op); in wil_ioc_memio_dword() 77 switch (io.op & wil_mmio_op_mask) { in wil_ioc_memio_dword() 87 wil_err(wil, "Unsupported operation, op = 0x%08x\n", io.op); in wil_ioc_memio_dword() 94 io.addr, io.val, io.op); in wil_ioc_memio_dword() 113 io.addr, io.size, io.op); in wil_ioc_memio_block() [all …]
|
/linux-4.1.27/arch/arm/include/asm/ |
D | atomic.h | 41 #define ATOMIC_OP(op, c_op, asm_op) \ argument 42 static inline void atomic_##op(int i, atomic_t *v) \ 48 __asm__ __volatile__("@ atomic_" #op "\n" \ 59 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument 60 static inline int atomic_##op##_return(int i, atomic_t *v) \ 68 __asm__ __volatile__("@ atomic_" #op "_return\n" \ 140 #define ATOMIC_OP(op, c_op, asm_op) \ argument 141 static inline void atomic_##op(int i, atomic_t *v) \ 150 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument 151 static inline int atomic_##op##_return(int i, atomic_t *v) \ [all …]
|
/linux-4.1.27/drivers/usb/host/ |
D | uhci-grlib.c | 89 static int uhci_hcd_grlib_probe(struct platform_device *op) in uhci_hcd_grlib_probe() argument 91 struct device_node *dn = op->dev.of_node; in uhci_hcd_grlib_probe() 101 dev_dbg(&op->dev, "initializing GRUSBHC UHCI USB Controller\n"); in uhci_hcd_grlib_probe() 108 op->dev.dma_mask = &op->dev.coherent_dma_mask; in uhci_hcd_grlib_probe() 109 hcd = usb_create_hcd(&uhci_grlib_hc_driver, &op->dev, in uhci_hcd_grlib_probe() 124 hcd->regs = devm_ioremap_resource(&op->dev, &res); in uhci_hcd_grlib_probe() 149 static int uhci_hcd_grlib_remove(struct platform_device *op) in uhci_hcd_grlib_remove() argument 151 struct usb_hcd *hcd = platform_get_drvdata(op); in uhci_hcd_grlib_remove() 153 dev_dbg(&op->dev, "stopping GRLIB GRUSBHC UHCI USB Controller\n"); in uhci_hcd_grlib_remove() 170 static void uhci_hcd_grlib_shutdown(struct platform_device *op) in uhci_hcd_grlib_shutdown() argument [all …]
|
D | ehci-grlib.c | 85 static int ehci_hcd_grlib_probe(struct platform_device *op) in ehci_hcd_grlib_probe() argument 87 struct device_node *dn = op->dev.of_node; in ehci_hcd_grlib_probe() 98 dev_dbg(&op->dev, "initializing GRUSBHC EHCI USB Controller\n"); in ehci_hcd_grlib_probe() 105 op->dev.dma_mask = &op->dev.coherent_dma_mask; in ehci_hcd_grlib_probe() 106 hcd = usb_create_hcd(&ehci_grlib_hc_driver, &op->dev, in ehci_hcd_grlib_probe() 116 dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n", in ehci_hcd_grlib_probe() 122 hcd->regs = devm_ioremap_resource(&op->dev, &res); in ehci_hcd_grlib_probe() 156 static int ehci_hcd_grlib_remove(struct platform_device *op) in ehci_hcd_grlib_remove() argument 158 struct usb_hcd *hcd = platform_get_drvdata(op); in ehci_hcd_grlib_remove() 160 dev_dbg(&op->dev, "stopping GRLIB GRUSBHC EHCI USB Controller\n"); in ehci_hcd_grlib_remove()
|
D | ehci-xilinx-of.c | 130 static int ehci_hcd_xilinx_of_probe(struct platform_device *op) in ehci_hcd_xilinx_of_probe() argument 132 struct device_node *dn = op->dev.of_node; in ehci_hcd_xilinx_of_probe() 143 dev_dbg(&op->dev, "initializing XILINX-OF USB Controller\n"); in ehci_hcd_xilinx_of_probe() 149 hcd = usb_create_hcd(&ehci_xilinx_of_hc_driver, &op->dev, in ehci_hcd_xilinx_of_probe() 159 dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n", in ehci_hcd_xilinx_of_probe() 165 hcd->regs = devm_ioremap_resource(&op->dev, &res); in ehci_hcd_xilinx_of_probe() 214 static int ehci_hcd_xilinx_of_remove(struct platform_device *op) in ehci_hcd_xilinx_of_remove() argument 216 struct usb_hcd *hcd = platform_get_drvdata(op); in ehci_hcd_xilinx_of_remove() 218 dev_dbg(&op->dev, "stopping XILINX-OF USB Controller\n"); in ehci_hcd_xilinx_of_remove()
|
D | ehci-ppc-of.c | 93 static int ehci_hcd_ppc_of_probe(struct platform_device *op) in ehci_hcd_ppc_of_probe() argument 95 struct device_node *dn = op->dev.of_node; in ehci_hcd_ppc_of_probe() 107 dev_dbg(&op->dev, "initializing PPC-OF USB Controller\n"); in ehci_hcd_ppc_of_probe() 113 hcd = usb_create_hcd(&ehci_ppc_of_hc_driver, &op->dev, "PPC-OF USB"); in ehci_hcd_ppc_of_probe() 122 dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n", in ehci_hcd_ppc_of_probe() 128 hcd->regs = devm_ioremap_resource(&op->dev, &res); in ehci_hcd_ppc_of_probe() 140 devm_ioremap(&op->dev, in ehci_hcd_ppc_of_probe() 185 static int ehci_hcd_ppc_of_remove(struct platform_device *op) in ehci_hcd_ppc_of_remove() argument 187 struct usb_hcd *hcd = platform_get_drvdata(op); in ehci_hcd_ppc_of_remove() 193 dev_dbg(&op->dev, "stopping PPC-OF USB Controller\n"); in ehci_hcd_ppc_of_remove()
|
D | ohci-ppc-of.c | 86 static int ohci_hcd_ppc_of_probe(struct platform_device *op) in ohci_hcd_ppc_of_probe() argument 88 struct device_node *dn = op->dev.of_node; in ohci_hcd_ppc_of_probe() 105 dev_dbg(&op->dev, "initializing PPC-OF USB Controller\n"); in ohci_hcd_ppc_of_probe() 111 hcd = usb_create_hcd(&ohci_ppc_of_hc_driver, &op->dev, "PPC-OF USB"); in ohci_hcd_ppc_of_probe() 118 hcd->regs = devm_ioremap_resource(&op->dev, &res); in ohci_hcd_ppc_of_probe() 126 dev_err(&op->dev, "%s: irq_of_parse_and_map failed\n", in ohci_hcd_ppc_of_probe() 180 static int ohci_hcd_ppc_of_remove(struct platform_device *op) in ohci_hcd_ppc_of_remove() argument 182 struct usb_hcd *hcd = platform_get_drvdata(op); in ohci_hcd_ppc_of_remove() 184 dev_dbg(&op->dev, "stopping PPC-OF USB Controller\n"); in ohci_hcd_ppc_of_remove()
|
/linux-4.1.27/drivers/fmc/ |
D | fmc-trivial.c | 27 fmc->op->irq_ack(fmc); in t_handler() 49 if (fmc->op->validate) in t_probe() 50 index = fmc->op->validate(fmc, &t_drv); in t_probe() 54 ret = fmc->op->irq_request(fmc, t_handler, "fmc-trivial", IRQF_SHARED); in t_probe() 58 fmc->op->gpio_config(fmc, t_gpio, ARRAY_SIZE(t_gpio)); in t_probe() 62 if (fmc->op->reprogram) in t_probe() 63 ret = fmc->op->reprogram(fmc, &t_drv, ""); in t_probe() 67 fmc->op->irq_free(fmc); in t_probe() 75 fmc->op->irq_free(fmc); in t_remove()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | atomic.h | 29 #define ATOMIC_OP(op, asm_op) \ argument 30 static __inline__ void atomic_##op(int a, atomic_t *v) \ 35 "1: lwarx %0,0,%3 # atomic_" #op "\n" \ 45 #define ATOMIC_OP_RETURN(op, asm_op) \ argument 46 static __inline__ int atomic_##op##_return(int a, atomic_t *v) \ 52 "1: lwarx %0,0,%2 # atomic_" #op "_return\n" \ 65 #define ATOMIC_OPS(op, asm_op) ATOMIC_OP(op, asm_op) ATOMIC_OP_RETURN(op, asm_op) argument 269 #define ATOMIC64_OP(op, asm_op) \ argument 270 static __inline__ void atomic64_##op(long a, atomic64_t *v) \ 275 "1: ldarx %0,0,%3 # atomic64_" #op "\n" \ [all …]
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | atomic.h | 32 #define ATOMIC_OP(op) \ argument 33 static __inline__ void atomic_##op(int i, atomic_t * v) \ 38 " " #op "l %0,%2,%0\n" \ 48 #define ATOMIC_OP_RETURN(op) \ argument 49 static inline int atomic_##op##_return(int i, atomic_t *v) \ 55 " " #op "l %0,%3,%2\n" \ 56 " " #op "l %0,%3,%0\n" \ 68 #define ATOMIC64_OP(op) \ argument 69 static __inline__ void atomic64_##op(long i, atomic64_t * v) \ 74 " " #op "q %0,%2,%0\n" \ [all …]
|
/linux-4.1.27/lib/ |
D | asn1_decoder.c | 171 enum asn1_opcode op; in asn1_ber_decoder() local 200 op = machine[pc]; in asn1_ber_decoder() 201 if (unlikely(pc + asn1_op_lengths[op] > machlen)) in asn1_ber_decoder() 207 if (op <= ASN1_OP__MATCHES_TAG) { in asn1_ber_decoder() 211 if ((op & ASN1_OP_MATCH__COND && in asn1_ber_decoder() 214 pc += asn1_op_lengths[op]; in asn1_ber_decoder() 228 if (op & ASN1_OP_MATCH__ANY) { in asn1_ber_decoder() 245 if (op & ASN1_OP_MATCH__SKIP) { in asn1_ber_decoder() 246 pc += asn1_op_lengths[op]; in asn1_ber_decoder() 303 switch (op) { in asn1_ber_decoder() [all …]
|
D | atomic64.c | 73 #define ATOMIC64_OP(op, c_op) \ argument 74 void atomic64_##op(long long a, atomic64_t *v) \ 83 EXPORT_SYMBOL(atomic64_##op); 85 #define ATOMIC64_OP_RETURN(op, c_op) \ argument 86 long long atomic64_##op##_return(long long a, atomic64_t *v) \ 97 EXPORT_SYMBOL(atomic64_##op##_return); 99 #define ATOMIC64_OPS(op, c_op) \ argument 100 ATOMIC64_OP(op, c_op) \ 101 ATOMIC64_OP_RETURN(op, c_op)
|
/linux-4.1.27/drivers/input/misc/ |
D | sparcspkr.c | 185 static int bbc_beep_probe(struct platform_device *op) in bbc_beep_probe() argument 210 info->regs = of_ioremap(&op->resource[0], 0, 6, "bbc beep"); in bbc_beep_probe() 214 platform_set_drvdata(op, state); in bbc_beep_probe() 216 err = sparcspkr_probe(&op->dev); in bbc_beep_probe() 223 of_iounmap(&op->resource[0], info->regs, 6); in bbc_beep_probe() 231 static int bbc_remove(struct platform_device *op) in bbc_remove() argument 233 struct sparcspkr_state *state = platform_get_drvdata(op); in bbc_remove() 242 of_iounmap(&op->resource[0], info->regs, 6); in bbc_remove() 267 static int grover_beep_probe(struct platform_device *op) in grover_beep_probe() argument 282 info->freq_regs = of_ioremap(&op->resource[2], 0, 2, "grover beep freq"); in grover_beep_probe() [all …]
|
/linux-4.1.27/arch/metag/include/asm/ |
D | atomic_lnkget.h | 30 #define ATOMIC_OP(op) \ argument 31 static inline void atomic_##op(int i, atomic_t *v) \ 37 " " #op " %0, %0, %2\n" \ 48 #define ATOMIC_OP_RETURN(op) \ argument 49 static inline int atomic_##op##_return(int i, atomic_t *v) \ 57 " " #op " %1, %1, %3\n" \ 72 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) argument
|
D | atomic_lock1.h | 40 #define ATOMIC_OP(op, c_op) \ argument 41 static inline void atomic_##op(int i, atomic_t *v) \ 51 #define ATOMIC_OP_RETURN(op, c_op) \ argument 52 static inline int atomic_##op##_return(int i, atomic_t *v) \ 67 #define ATOMIC_OPS(op, c_op) ATOMIC_OP(op, c_op) ATOMIC_OP_RETURN(op, c_op) argument
|
/linux-4.1.27/arch/hexagon/include/asm/ |
D | atomic.h | 97 #define ATOMIC_OP(op) \ argument 98 static inline void atomic_##op(int i, atomic_t *v) \ 104 " %0 = "#op "(%0,%2);\n" \ 113 #define ATOMIC_OP_RETURN(op) \ argument 114 static inline int atomic_##op##_return(int i, atomic_t *v) \ 120 " %0 = "#op "(%0,%2);\n" \ 130 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) argument
|
/linux-4.1.27/net/netfilter/ |
D | xt_tcpmss.c | 34 const u_int8_t *op; in tcpmss_mt() local 52 op = skb_header_pointer(skb, par->thoff + sizeof(*th), optlen, _opt); in tcpmss_mt() 53 if (op == NULL) in tcpmss_mt() 57 if (op[i] == TCPOPT_MSS in tcpmss_mt() 59 && op[i+1] == TCPOLEN_MSS) { in tcpmss_mt() 62 mssval = (op[i+2] << 8) | op[i+3]; in tcpmss_mt() 67 if (op[i] < 2) in tcpmss_mt() 70 i += op[i+1] ? : 1; in tcpmss_mt()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/phy/ |
D | phy_qmath.c | 109 s32 qm_shl32(s32 op, int shift) in qm_shl32() argument 113 result = op; in qm_shl32() 134 s16 qm_shl16(s16 op, int shift) in qm_shl16() argument 138 result = op; in qm_shl16() 158 s16 qm_shr16(s16 op, int shift) in qm_shr16() argument 160 return qm_shl16(op, -shift); in qm_shr16() 167 s16 qm_norm32(s32 op) in qm_norm32() argument 170 if (op == 0) { in qm_norm32() 174 while ((op >> 31) == (op >> 30)) { in qm_norm32() 176 op = op << 1; in qm_norm32()
|
D | phy_qmath.h | 32 s32 qm_shl32(s32 op, int shift); 34 s16 qm_shl16(s16 op, int shift); 36 s16 qm_shr16(s16 op, int shift); 38 s16 qm_norm32(s32 op);
|
/linux-4.1.27/include/linux/ceph/ |
D | rados.h | 311 #define GENERATE_ENUM_ENTRY(op, opcode, str) CEPH_OSD_OP_##op = (opcode), argument 316 static inline int ceph_osd_op_type_lock(int op) in ceph_osd_op_type_lock() argument 318 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_LOCK; in ceph_osd_op_type_lock() 320 static inline int ceph_osd_op_type_data(int op) in ceph_osd_op_type_data() argument 322 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_DATA; in ceph_osd_op_type_data() 324 static inline int ceph_osd_op_type_attr(int op) in ceph_osd_op_type_attr() argument 326 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_ATTR; in ceph_osd_op_type_attr() 328 static inline int ceph_osd_op_type_exec(int op) in ceph_osd_op_type_exec() argument 330 return (op & CEPH_OSD_OP_TYPE) == CEPH_OSD_OP_TYPE_EXEC; in ceph_osd_op_type_exec() 332 static inline int ceph_osd_op_type_pg(int op) in ceph_osd_op_type_pg() argument [all …]
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | sunqe.c | 683 struct platform_device *op; in qe_get_drvinfo() local 688 op = qep->op; in qe_get_drvinfo() 689 regs = of_get_property(op->dev.of_node, "reg", NULL); in qe_get_drvinfo() 715 static void qec_init_once(struct sunqec *qecp, struct platform_device *op) in qec_init_once() argument 733 sbus_writel((resource_size(&op->resource[1]) >> 2), in qec_init_once() 739 sbus_writel((resource_size(&op->resource[1]) >> 2) >> 1, in qec_init_once() 741 sbus_writel((resource_size(&op->resource[1]) >> 2) >> 1, in qec_init_once() 767 struct platform_device *op = to_platform_device(child->dev.parent); in get_qec() local 770 qecp = platform_get_drvdata(op); in get_qec() 776 qecp->op = op; in get_qec() [all …]
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | atomic.h | 48 #define ATOMIC_OP(op) \ argument 49 static __inline__ void atomic_##op(int i, atomic_t *v) \ 56 "# atomic_" #op " \n\t" \ 59 #op " %0, %2; \n\t" \ 69 #define ATOMIC_OP_RETURN(op) \ argument 70 static __inline__ int atomic_##op##_return(int i, atomic_t *v) \ 77 "# atomic_" #op "_return \n\t" \ 80 #op " %0, %2; \n\t" \ 92 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) argument
|
/linux-4.1.27/drivers/rtc/ |
D | rtc-mpc5121.c | 312 static int mpc5121_rtc_probe(struct platform_device *op) in mpc5121_rtc_probe() argument 317 rtc = devm_kzalloc(&op->dev, sizeof(*rtc), GFP_KERNEL); in mpc5121_rtc_probe() 321 rtc->regs = of_iomap(op->dev.of_node, 0); in mpc5121_rtc_probe() 323 dev_err(&op->dev, "%s: couldn't map io space\n", __func__); in mpc5121_rtc_probe() 327 device_init_wakeup(&op->dev, 1); in mpc5121_rtc_probe() 329 platform_set_drvdata(op, rtc); in mpc5121_rtc_probe() 331 rtc->irq = irq_of_parse_and_map(op->dev.of_node, 1); in mpc5121_rtc_probe() 333 "mpc5121-rtc", &op->dev); in mpc5121_rtc_probe() 335 dev_err(&op->dev, "%s: could not request irq: %i\n", in mpc5121_rtc_probe() 340 rtc->irq_periodic = irq_of_parse_and_map(op->dev.of_node, 0); in mpc5121_rtc_probe() [all …]
|
/linux-4.1.27/fs/isofs/ |
D | joliet.c | 20 unsigned char *op; in uni16_to_x8() local 23 op = ascii; in uni16_to_x8() 27 llen = nls->uni2char(be16_to_cpu(ch), op, NLS_MAX_CHARSET_SIZE); in uni16_to_x8() 29 op += llen; in uni16_to_x8() 31 *op++ = '?'; in uni16_to_x8() 36 *op = 0; in uni16_to_x8() 37 return (op - ascii); in uni16_to_x8()
|
/linux-4.1.27/include/asm-generic/ |
D | atomic64.h | 24 #define ATOMIC64_OP(op) \ argument 25 extern void atomic64_##op(long long a, atomic64_t *v); 27 #define ATOMIC64_OP_RETURN(op) \ argument 28 extern long long atomic64_##op##_return(long long a, atomic64_t *v); 30 #define ATOMIC64_OPS(op) ATOMIC64_OP(op) ATOMIC64_OP_RETURN(op) argument
|
D | atomic.h | 42 #define ATOMIC_OP(op, c_op) \ argument 43 static inline void atomic_##op(int i, atomic_t *v) \ 52 #define ATOMIC_OP_RETURN(op, c_op) \ argument 53 static inline int atomic_##op##_return(int i, atomic_t *v) \ 68 #define ATOMIC_OP(op, c_op) \ argument 69 static inline void atomic_##op(int i, atomic_t *v) \ 78 #define ATOMIC_OP_RETURN(op, c_op) \ argument 79 static inline int atomic_##op##_return(int i, atomic_t *v) \
|
/linux-4.1.27/drivers/video/fbdev/ |
D | tcx.c | 345 static void tcx_unmap_regs(struct platform_device *op, struct fb_info *info, in tcx_unmap_regs() argument 349 of_iounmap(&op->resource[7], in tcx_unmap_regs() 352 of_iounmap(&op->resource[9], in tcx_unmap_regs() 355 of_iounmap(&op->resource[8], in tcx_unmap_regs() 358 of_iounmap(&op->resource[4], in tcx_unmap_regs() 361 of_iounmap(&op->resource[0], in tcx_unmap_regs() 365 static int tcx_probe(struct platform_device *op) in tcx_probe() argument 367 struct device_node *dp = op->dev.of_node; in tcx_probe() 372 info = framebuffer_alloc(sizeof(struct tcx_par), &op->dev); in tcx_probe() 393 par->tec = of_ioremap(&op->resource[7], 0, in tcx_probe() [all …]
|
D | cg14.c | 449 static void cg14_unmap_regs(struct platform_device *op, struct fb_info *info, in cg14_unmap_regs() argument 453 of_iounmap(&op->resource[0], in cg14_unmap_regs() 456 of_iounmap(&op->resource[0], in cg14_unmap_regs() 459 of_iounmap(&op->resource[0], in cg14_unmap_regs() 462 of_iounmap(&op->resource[1], in cg14_unmap_regs() 466 static int cg14_probe(struct platform_device *op) in cg14_probe() argument 468 struct device_node *dp = op->dev.of_node; in cg14_probe() 473 info = framebuffer_alloc(sizeof(struct cg14_par), &op->dev); in cg14_probe() 493 info->fix.smem_start = op->resource[0].start; in cg14_probe() 494 par->iospace = op->resource[0].flags & IORESOURCE_BITS; in cg14_probe() [all …]
|
D | bw2.c | 275 static int bw2_probe(struct platform_device *op) in bw2_probe() argument 277 struct device_node *dp = op->dev.of_node; in bw2_probe() 282 info = framebuffer_alloc(sizeof(struct bw2_par), &op->dev); in bw2_probe() 291 info->fix.smem_start = op->resource[0].start; in bw2_probe() 292 par->which_io = op->resource[0].flags & IORESOURCE_BITS; in bw2_probe() 303 par->regs = of_ioremap(&op->resource[0], BWTWO_REGISTER_OFFSET, in bw2_probe() 319 info->screen_base = of_ioremap(&op->resource[0], 0, in bw2_probe() 334 dev_set_drvdata(&op->dev, info); in bw2_probe() 342 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in bw2_probe() 345 of_iounmap(&op->resource[0], par->regs, sizeof(struct bw2_regs)); in bw2_probe() [all …]
|
D | p9100.c | 252 static int p9100_probe(struct platform_device *op) in p9100_probe() argument 254 struct device_node *dp = op->dev.of_node; in p9100_probe() 259 info = framebuffer_alloc(sizeof(struct p9100_par), &op->dev); in p9100_probe() 269 info->fix.smem_start = op->resource[2].start; in p9100_probe() 270 par->which_io = op->resource[2].flags & IORESOURCE_BITS; in p9100_probe() 280 par->regs = of_ioremap(&op->resource[0], 0, in p9100_probe() 287 info->screen_base = of_ioremap(&op->resource[2], 0, in p9100_probe() 305 dev_set_drvdata(&op->dev, info); in p9100_probe() 317 of_iounmap(&op->resource[2], info->screen_base, info->fix.smem_len); in p9100_probe() 320 of_iounmap(&op->resource[0], par->regs, sizeof(struct p9100_regs)); in p9100_probe() [all …]
|
D | leo.c | 532 static void leo_unmap_regs(struct platform_device *op, struct fb_info *info, in leo_unmap_regs() argument 536 of_iounmap(&op->resource[0], par->lc_ss0_usr, 0x1000); in leo_unmap_regs() 538 of_iounmap(&op->resource[0], par->ld_ss0, 0x1000); in leo_unmap_regs() 540 of_iounmap(&op->resource[0], par->ld_ss1, 0x1000); in leo_unmap_regs() 542 of_iounmap(&op->resource[0], par->lx_krn, 0x1000); in leo_unmap_regs() 544 of_iounmap(&op->resource[0], in leo_unmap_regs() 547 of_iounmap(&op->resource[0], info->screen_base, 0x800000); in leo_unmap_regs() 550 static int leo_probe(struct platform_device *op) in leo_probe() argument 552 struct device_node *dp = op->dev.of_node; in leo_probe() 557 info = framebuffer_alloc(sizeof(struct leo_par), &op->dev); in leo_probe() [all …]
|
D | sunxvr1000.c | 114 static int gfb_probe(struct platform_device *op) in gfb_probe() argument 116 struct device_node *dp = op->dev.of_node; in gfb_probe() 121 info = framebuffer_alloc(sizeof(struct gfb_info), &op->dev); in gfb_probe() 132 gp->fb_base_phys = op->resource[6].start; in gfb_probe() 142 gp->fb_base = of_ioremap(&op->resource[6], 0, in gfb_probe() 162 dev_set_drvdata(&op->dev, info); in gfb_probe() 167 of_iounmap(&op->resource[6], gp->fb_base, gp->fb_size); in gfb_probe() 176 static int gfb_remove(struct platform_device *op) in gfb_remove() argument 178 struct fb_info *info = dev_get_drvdata(&op->dev); in gfb_remove() 185 of_iounmap(&op->resource[6], gp->fb_base, gp->fb_size); in gfb_remove()
|
D | cg3.c | 349 static int cg3_probe(struct platform_device *op) in cg3_probe() argument 351 struct device_node *dp = op->dev.of_node; in cg3_probe() 356 info = framebuffer_alloc(sizeof(struct cg3_par), &op->dev); in cg3_probe() 365 info->fix.smem_start = op->resource[0].start; in cg3_probe() 366 par->which_io = op->resource[0].flags & IORESOURCE_BITS; in cg3_probe() 381 par->regs = of_ioremap(&op->resource[0], CG3_REGS_OFFSET, in cg3_probe() 388 info->screen_base = of_ioremap(&op->resource[0], CG3_RAM_OFFSET, in cg3_probe() 413 dev_set_drvdata(&op->dev, info); in cg3_probe() 424 of_iounmap(&op->resource[0], info->screen_base, info->fix.smem_len); in cg3_probe() 427 of_iounmap(&op->resource[0], par->regs, sizeof(struct cg3_regs)); in cg3_probe() [all …]
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | atomic.h | 48 #define ATOMIC_OP(op) \ argument 49 static inline void atomic_##op(int i, atomic_t *v) \ 56 " " #op " %5,%1 \n" \ 67 #define ATOMIC_OP_RETURN(op) \ argument 68 static inline int atomic_##op##_return(int i, atomic_t *v) \ 75 " " #op " %5,%1 \n" \ 87 #define ATOMIC_OPS(op) ATOMIC_OP(op) ATOMIC_OP_RETURN(op) argument
|
/linux-4.1.27/arch/sh/kernel/cpu/sh5/ |
D | unwind.c | 80 unsigned long op; in lookup_prev_stack_frame() local 84 op = *(unsigned long *)prologue; in lookup_prev_stack_frame() 86 major = (op >> 26) & 0x3f; in lookup_prev_stack_frame() 87 src = (op >> 20) & 0x3f; in lookup_prev_stack_frame() 88 minor = (op >> 16) & 0xf; in lookup_prev_stack_frame() 89 disp = (op >> 10) & 0x3f; in lookup_prev_stack_frame() 90 dest = (op >> 4) & 0x3f; in lookup_prev_stack_frame() 135 offset_r14 = (u64)(((((s64)op >> 10) & 0x3ff) << 54) >> 54); in lookup_prev_stack_frame() 143 offset_r18 = (u64)(((((s64)op >> 10) & 0x3ff) << 54) >> 54); in lookup_prev_stack_frame() 155 dest, op); in lookup_prev_stack_frame() [all …]
|
/linux-4.1.27/tools/net/ |
D | bpf_dbg.c | 218 const char *op, *fmt; in bpf_disasm() local 224 op = op_table[BPF_RET]; in bpf_disasm() 228 op = op_table[BPF_RET]; in bpf_disasm() 232 op = op_table[BPF_RET]; in bpf_disasm() 236 op = op_table[BPF_MISC_TAX]; in bpf_disasm() 240 op = op_table[BPF_MISC_TXA]; in bpf_disasm() 244 op = op_table[BPF_ST]; in bpf_disasm() 248 op = op_table[BPF_STX]; in bpf_disasm() 252 op = op_table[BPF_LD_W]; in bpf_disasm() 256 op = op_table[BPF_LD_H]; in bpf_disasm() [all …]
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | atomic.h | 101 #define ATOMIC_OP(op, c_op) \ argument 102 static __inline__ void atomic_##op(int i, atomic_t *v) \ 111 #define ATOMIC_OP_RETURN(op, c_op) \ argument 112 static __inline__ int atomic_##op##_return(int i, atomic_t *v) \ 124 #define ATOMIC_OPS(op, c_op) ATOMIC_OP(op, c_op) ATOMIC_OP_RETURN(op, c_op) argument 161 #define ATOMIC64_OP(op, c_op) \ argument 162 static __inline__ void atomic64_##op(s64 i, atomic64_t *v) \ 171 #define ATOMIC64_OP_RETURN(op, c_op) \ argument 172 static __inline__ s64 atomic64_##op##_return(s64 i, atomic64_t *v) \ 184 #define ATOMIC64_OPS(op, c_op) ATOMIC64_OP(op, c_op) ATOMIC64_OP_RETURN(op, c_op) argument
|
/linux-4.1.27/kernel/ |
D | kprobes.c | 368 struct optimized_kprobe *op; in free_aggr_kprobe() local 370 op = container_of(p, struct optimized_kprobe, kp); in free_aggr_kprobe() 371 arch_remove_optimized_kprobe(op); in free_aggr_kprobe() 373 kfree(op); in free_aggr_kprobe() 379 struct optimized_kprobe *op; in kprobe_optready() local 382 op = container_of(p, struct optimized_kprobe, kp); in kprobe_optready() 383 return arch_prepared_optinsn(&op->optinsn); in kprobe_optready() 392 struct optimized_kprobe *op; in kprobe_disarmed() local 398 op = container_of(p, struct optimized_kprobe, kp); in kprobe_disarmed() 400 return kprobe_disabled(p) && list_empty(&op->list); in kprobe_disarmed() [all …]
|
D | auditsc.c | 319 rc = audit_uid_comparator(uid, f->op, name->uid); in audit_compare_uid() 326 rc = audit_uid_comparator(uid, f->op, n->uid); in audit_compare_uid() 343 rc = audit_gid_comparator(gid, f->op, name->gid); in audit_compare_gid() 350 rc = audit_gid_comparator(gid, f->op, n->gid); in audit_compare_gid() 386 return audit_uid_comparator(cred->uid, f->op, tsk->loginuid); in audit_field_compare() 388 return audit_uid_comparator(cred->uid, f->op, cred->euid); in audit_field_compare() 390 return audit_uid_comparator(cred->uid, f->op, cred->suid); in audit_field_compare() 392 return audit_uid_comparator(cred->uid, f->op, cred->fsuid); in audit_field_compare() 395 return audit_uid_comparator(tsk->loginuid, f->op, cred->euid); in audit_field_compare() 397 return audit_uid_comparator(tsk->loginuid, f->op, cred->suid); in audit_field_compare() [all …]
|
/linux-4.1.27/drivers/vfio/ |
D | vfio_spapr_eeh.c | 38 struct vfio_eeh_pe_op op; in vfio_spapr_iommu_eeh_ioctl() local 54 minsz = offsetofend(struct vfio_eeh_pe_op, op); in vfio_spapr_iommu_eeh_ioctl() 55 if (copy_from_user(&op, (void __user *)arg, minsz)) in vfio_spapr_iommu_eeh_ioctl() 57 if (op.argsz < minsz || op.flags) in vfio_spapr_iommu_eeh_ioctl() 60 switch (op.op) { in vfio_spapr_iommu_eeh_ioctl()
|
/linux-4.1.27/arch/ia64/kernel/ |
D | smp.c | 145 send_IPI_single (int dest_cpu, int op) in send_IPI_single() argument 147 set_bit(op, &per_cpu(ipi_operation, dest_cpu)); in send_IPI_single() 155 send_IPI_allbutself (int op) in send_IPI_allbutself() argument 161 send_IPI_single(i, op); in send_IPI_allbutself() 169 send_IPI_mask(const struct cpumask *mask, int op) in send_IPI_mask() argument 174 send_IPI_single(cpu, op); in send_IPI_mask() 182 send_IPI_all (int op) in send_IPI_all() argument 187 send_IPI_single(i, op); in send_IPI_all() 195 send_IPI_self (int op) in send_IPI_self() argument 197 send_IPI_single(smp_processor_id(), op); in send_IPI_self()
|
/linux-4.1.27/drivers/crypto/caam/ |
D | desc_constr.h | 158 #define APPEND_CMD_RET(cmd, op) \ argument 163 append_cmd(desc, CMD_##op | options); \ 181 #define APPEND_CMD(cmd, op) \ argument 185 append_cmd(desc, CMD_##op | options); \ 189 #define APPEND_CMD_LEN(cmd, op) \ in APPEND_CMD() argument 193 append_cmd(desc, CMD_##op | len | options); \ in APPEND_CMD() 201 #define APPEND_CMD_PTR(cmd, op) \ argument 206 append_cmd_ptr(desc, ptr, len, CMD_##op | options); \ 230 #define APPEND_SEQ_PTR_INTLEN(cmd, op) \ argument 237 append_cmd(desc, CMD_SEQ_##op##_PTR | len | options); \ [all …]
|
/linux-4.1.27/drivers/gpu/drm/qxl/ |
D | qxl_fb.c | 51 } op; member 187 struct qxl_fb_op *op; in qxl_fb_delayed_fillrect() local 190 op = kmalloc(sizeof(struct qxl_fb_op), GFP_ATOMIC | __GFP_NOWARN); in qxl_fb_delayed_fillrect() 191 if (!op) in qxl_fb_delayed_fillrect() 194 op->op.fr = *fb_rect; in qxl_fb_delayed_fillrect() 195 op->img_data = NULL; in qxl_fb_delayed_fillrect() 196 op->op_type = QXL_FB_OP_FILLRECT; in qxl_fb_delayed_fillrect() 199 list_add_tail(&op->head, &qfbdev->delayed_ops); in qxl_fb_delayed_fillrect() 206 struct qxl_fb_op *op; in qxl_fb_delayed_copyarea() local 209 op = kmalloc(sizeof(struct qxl_fb_op), GFP_ATOMIC | __GFP_NOWARN); in qxl_fb_delayed_copyarea() [all …]
|
/linux-4.1.27/tools/power/cpupower/utils/helpers/ |
D | helpers.h | 157 unsigned int cpuid_eax(unsigned int op); 158 unsigned int cpuid_ebx(unsigned int op); 159 unsigned int cpuid_ecx(unsigned int op); 160 unsigned int cpuid_edx(unsigned int op); 189 static inline unsigned int cpuid_eax(unsigned int op) { return 0; }; in cpuid_eax() argument 190 static inline unsigned int cpuid_ebx(unsigned int op) { return 0; }; in cpuid_ebx() argument 191 static inline unsigned int cpuid_ecx(unsigned int op) { return 0; }; in cpuid_ecx() argument 192 static inline unsigned int cpuid_edx(unsigned int op) { return 0; }; in cpuid_edx() argument
|
/linux-4.1.27/arch/x86/lib/ |
D | msr-reg.S | 14 .macro op_safe_regs op 15 ENTRY(\op\()_safe_regs) 29 1: \op 48 ENDPROC(\op\()_safe_regs) 53 .macro op_safe_regs op 54 ENTRY(\op\()_safe_regs) 70 1: \op 95 ENDPROC(\op\()_safe_regs)
|
/linux-4.1.27/drivers/edac/ |
D | mpc85xx_edac.c | 241 int mpc85xx_pci_err_probe(struct platform_device *op) in mpc85xx_pci_err_probe() argument 248 if (!devres_open_group(&op->dev, mpc85xx_pci_err_probe, GFP_KERNEL)) in mpc85xx_pci_err_probe() 269 if (mpc85xx_pcie_find_capability(op->dev.of_node) > 0) in mpc85xx_pci_err_probe() 272 dev_set_drvdata(&op->dev, pci); in mpc85xx_pci_err_probe() 273 pci->dev = &op->dev; in mpc85xx_pci_err_probe() 276 pci->dev_name = dev_name(&op->dev); in mpc85xx_pci_err_probe() 287 res = of_address_to_resource(op->dev.of_node, 0, &r); in mpc85xx_pci_err_probe() 297 if (!devm_request_mem_region(&op->dev, r.start, resource_size(&r), in mpc85xx_pci_err_probe() 305 pdata->pci_vbase = devm_ioremap(&op->dev, r.start, resource_size(&r)); in mpc85xx_pci_err_probe() 342 pdata->irq = irq_of_parse_and_map(op->dev.of_node, 0); in mpc85xx_pci_err_probe() [all …]
|
/linux-4.1.27/drivers/s390/char/ |
D | tape_34xx.c | 95 request->op = TO_MSEN; in tape_34xx_medium_sense() 112 request->op = TO_MSEN; in tape_34xx_medium_sense_async() 121 enum tape_op op; member 142 switch(p->op) { in tape_34xx_work_handler() 154 tape_34xx_schedule_work(struct tape_device *device, enum tape_op op) in tape_34xx_schedule_work() argument 164 p->op = op; in tape_34xx_schedule_work() 176 DBF_EVENT(6, "%s done\n", tape_op_verbose[request->op]); in tape_34xx_done() 178 switch (request->op) { in tape_34xx_done() 197 tape_op_verbose[request->op], rc); in tape_34xx_erp_failed() 205 tape_op_verbose[request->op]); in tape_34xx_erp_succeeded() [all …]
|
D | tape_std.c | 64 request->op = TO_ASSIGN; in tape_std_assign() 113 request->op = TO_UNASSIGN; in tape_std_unassign() 140 request->op = TO_DIS; in tape_std_display() 168 request->op = TO_RBI; in tape_std_read_block_id() 280 request->op = TO_FSF; in tape_std_mtfsf() 305 request->op = TO_FSB; in tape_std_mtfsr() 337 request->op = TO_BSB; in tape_std_mtbsr() 367 request->op = TO_WTM; in tape_std_mtweof() 392 request->op = TO_BSF; in tape_std_mtbsfm() 417 request->op = TO_BSF; in tape_std_mtbsf() [all …]
|
/linux-4.1.27/arch/x86/kvm/ |
D | emulate.c | 237 struct opcode op[8]; member 314 #define FOP_START(op) \ argument 315 extern void em_##op(struct fastop *fake); \ 317 ".global em_" #op " \n\t" \ 319 "em_" #op ": \n\t" 326 #define FOP1E(op, dst) \ argument 327 FOP_ALIGN "10: " #op " %" #dst " \n\t" FOP_RET 329 #define FOP1EEX(op, dst) \ argument 330 FOP1E(op, dst) _ASM_EXTABLE(10b, kvm_fastop_exception) 332 #define FASTOP1(op) \ argument [all …]
|
/linux-4.1.27/fs/ceph/ |
D | strings.c | 33 const char *ceph_session_op_name(int op) in ceph_session_op_name() argument 35 switch (op) { in ceph_session_op_name() 50 const char *ceph_mds_op_name(int op) in ceph_mds_op_name() argument 52 switch (op) { in ceph_mds_op_name() 85 const char *ceph_cap_op_name(int op) in ceph_cap_op_name() argument 87 switch (op) { in ceph_cap_op_name()
|
/linux-4.1.27/kernel/trace/ |
D | trace_events_filter.c | 111 int op; member 116 int op; member 154 switch (pred->op) { \ 360 if (pred->op == OP_GLOB) { in filter_build_regex() 467 struct filter_pred *op, void *rec) in process_ops() argument 485 type = op->op == OP_OR; in process_ops() 487 for (i = 0; i < op->val; i++) { in process_ops() 488 pred = &preds[op->ops[i]]; in process_ops() 495 return !!match == !op->not; in process_ops() 534 if (!!d->match == (pred->op == OP_OR)) in filter_match_preds_cb() [all …]
|
/linux-4.1.27/Documentation/filesystems/caching/ |
D | operations.txt | 55 void fscache_operation_init(struct fscache_operation *op, 60 The op->flags parameter should be set to indicate the CPU time provision and 63 The op->fast_work, op->slow_work and op->processor flags should be set as 66 FSCACHE_OP_WAITING may be set in op->flags prior to each submission of the 88 If this option is to be used, FSCACHE_OP_WAITING must be set in op->flags 92 wait_on_bit(&op->flags, FSCACHE_OP_WAITING, 103 If this option is used, op->fast_work and op->processor must be 106 INIT_WORK(&op->fast_work, do_some_work); 116 If this option is used, op->slow_work and op->processor must be 119 fscache_operation_init_slow(op, processor) [all …]
|
/linux-4.1.27/fs/nls/ |
D | nls_base.c | 135 u16 *op; in utf8s_to_utf16s() local 139 op = pwcs; in utf8s_to_utf16s() 152 put_utf16(op++, SURROGATE_PAIR | in utf8s_to_utf16s() 155 put_utf16(op++, SURROGATE_PAIR | in utf8s_to_utf16s() 161 put_utf16(op++, u, endian); in utf8s_to_utf16s() 165 put_utf16(op++, *s++, endian); in utf8s_to_utf16s() 170 return op - pwcs; in utf8s_to_utf16s() 189 u8 *op; in utf16s_to_utf8s() local 193 op = s; in utf16s_to_utf8s() 219 size = utf32_to_utf8(u, op, maxout); in utf16s_to_utf8s() [all …]
|
/linux-4.1.27/drivers/spi/ |
D | spi-mpc52xx.c | 380 static int mpc52xx_spi_probe(struct platform_device *op) in mpc52xx_spi_probe() argument 390 dev_dbg(&op->dev, "probing mpc5200 SPI device\n"); in mpc52xx_spi_probe() 391 regs = of_iomap(op->dev.of_node, 0); in mpc52xx_spi_probe() 411 dev_err(&op->dev, "mode fault; is port_config correct?\n"); in mpc52xx_spi_probe() 416 dev_dbg(&op->dev, "allocating spi_master struct\n"); in mpc52xx_spi_probe() 417 master = spi_alloc_master(&op->dev, sizeof *ms); in mpc52xx_spi_probe() 426 master->dev.of_node = op->dev.of_node; in mpc52xx_spi_probe() 428 platform_set_drvdata(op, master); in mpc52xx_spi_probe() 433 ms->irq0 = irq_of_parse_and_map(op->dev.of_node, 0); in mpc52xx_spi_probe() 434 ms->irq1 = irq_of_parse_and_map(op->dev.of_node, 1); in mpc52xx_spi_probe() [all …]
|
/linux-4.1.27/arch/x86/include/asm/xen/ |
D | hypercall.h | 238 HYPERVISOR_mmuext_op(struct mmuext_op *op, int count, in HYPERVISOR_mmuext_op() argument 241 return _hypercall4(int, mmuext_op, op, count, success_count, domid); in HYPERVISOR_mmuext_op() 450 HYPERVISOR_nmi_op(unsigned long op, unsigned long arg) in HYPERVISOR_nmi_op() argument 452 return _hypercall2(int, nmi_op, op, arg); in HYPERVISOR_nmi_op() 456 HYPERVISOR_hvm_op(int op, void *arg) in HYPERVISOR_hvm_op() argument 458 return _hypercall2(unsigned long, hvm_op, op, arg); in HYPERVISOR_hvm_op() 463 struct tmem_op *op) in HYPERVISOR_tmem_op() argument 465 return _hypercall1(int, tmem_op, op); in HYPERVISOR_tmem_op() 471 mcl->op = __HYPERVISOR_fpu_taskswitch; in MULTI_fpu_taskswitch() 481 mcl->op = __HYPERVISOR_update_va_mapping; in MULTI_update_va_mapping() [all …]
|
/linux-4.1.27/drivers/char/hw_random/ |
D | n2-drv.c | 359 dev_err(&np->op->dev, in n2rng_grab_diag_control() 406 dev_err(&np->op->dev, "RNG error, restesting\n"); in n2rng_data_read() 484 dev_err(&np->op->dev, "Test buffer slot %d [0x%016llx]\n", in n2rng_dump_test_buffer() 504 dev_err(&np->op->dev, "Selftest failed on unit %lu\n", unit); in n2rng_check_selftest_buffer() 507 dev_info(&np->op->dev, "Selftest passed on unit %lu\n", unit); in n2rng_check_selftest_buffer() 606 dev_info(&np->op->dev, "RNG ready\n"); in n2rng_work() 622 static int n2rng_probe(struct platform_device *op) in n2rng_probe() argument 629 match = of_match_device(n2rng_match, &op->dev); in n2rng_probe() 635 np = devm_kzalloc(&op->dev, sizeof(*np), GFP_KERNEL); in n2rng_probe() 638 np->op = op; in n2rng_probe() [all …]
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | atomic.h | 33 #define ATOMIC_OP(op, c_op, asm_op) \ argument 34 static inline void atomic_##op(int i, atomic_t *v) \ 41 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument 42 static inline int atomic_##op##_return(int i, atomic_t *v) \ 58 #define ATOMIC_OP_RETURN(op, c_op, asm_op) \ argument 59 static inline int atomic_##op##_return(int i, atomic_t * v) \ 73 #define ATOMIC_OPS(op, c_op, asm_op) \ argument 74 ATOMIC_OP(op, c_op, asm_op) \ 75 ATOMIC_OP_RETURN(op, c_op, asm_op)
|
/linux-4.1.27/kernel/locking/ |
D | spinlock.c | 60 #define BUILD_LOCK_OPS(op, locktype) \ argument 61 void __lockfunc __raw_##op##_lock(locktype##_t *lock) \ 65 if (likely(do_raw_##op##_trylock(lock))) \ 71 while (!raw_##op##_can_lock(lock) && (lock)->break_lock)\ 72 arch_##op##_relax(&lock->raw_lock); \ 77 unsigned long __lockfunc __raw_##op##_lock_irqsave(locktype##_t *lock) \ 84 if (likely(do_raw_##op##_trylock(lock))) \ 91 while (!raw_##op##_can_lock(lock) && (lock)->break_lock)\ 92 arch_##op##_relax(&lock->raw_lock); \ 98 void __lockfunc __raw_##op##_lock_irq(locktype##_t *lock) \ [all …]
|
/linux-4.1.27/fs/ |
D | seq_file.c | 52 int seq_open(struct file *file, const struct seq_operations *op) in seq_open() argument 64 p->op = op; in seq_open() 108 p = m->op->start(m, &index); in traverse() 113 error = m->op->show(m, p); in traverse() 135 p = m->op->next(m, p, &index); in traverse() 137 m->op->stop(m, p); in traverse() 142 m->op->stop(m, p); in traverse() 222 p = m->op->start(m, &pos); in seq_read() 227 err = m->op->show(m, p); in seq_read() 233 p = m->op->next(m, p, &pos); in seq_read() [all …]
|
/linux-4.1.27/arch/arm/xen/ |
D | mm.c | 48 size_t size, enum dma_data_direction dir, enum dma_cache_op op) in dma_cache_maint() argument 65 cflush.op = 0; in dma_cache_maint() 70 if (op == DMA_UNMAP && dir != DMA_TO_DEVICE) in dma_cache_maint() 71 cflush.op = GNTTAB_CACHE_INVAL; in dma_cache_maint() 72 if (op == DMA_MAP) { in dma_cache_maint() 74 cflush.op = GNTTAB_CACHE_INVAL; in dma_cache_maint() 76 cflush.op = GNTTAB_CACHE_CLEAN; in dma_cache_maint() 78 if (cflush.op) in dma_cache_maint() 193 cflush.op = 0; in xen_mm_init()
|
/linux-4.1.27/drivers/crypto/nx/ |
D | nx-aes-xcbc.c | 105 nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg); in nx_xcbc_empty() 106 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_empty() 108 rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, in nx_xcbc_empty() 134 nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * sizeof(struct nx_sg); in nx_xcbc_empty() 135 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_empty() 137 rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, in nx_xcbc_empty() 224 nx_ctx->op.outlen = (nx_ctx->out_sg - out_sg) * sizeof(struct nx_sg); in nx_xcbc_update() 265 nx_ctx->op.inlen = (nx_ctx->in_sg - in_sg) * in nx_xcbc_update() 277 if (!nx_ctx->op.inlen || !nx_ctx->op.outlen) { in nx_xcbc_update() 282 rc = nx_hcall_sync(nx_ctx, &nx_ctx->op, in nx_xcbc_update() [all …]
|
/linux-4.1.27/arch/x86/xen/ |
D | trace.c | 11 static const char *xen_hypercall_name(unsigned op) in xen_hypercall_name() argument 13 if (op < ARRAY_SIZE(xen_hypercall_names) && xen_hypercall_names[op] != NULL) in xen_hypercall_name() 14 return xen_hypercall_names[op]; in xen_hypercall_name()
|
D | multicalls.c | 82 mc->result = privcmd_call(mc->op, in xen_mc_flush() 108 b->debug[i].op, in xen_mc_flush() 163 struct multicall_space xen_mc_extend_args(unsigned long op, size_t size) in xen_mc_extend_args() argument 172 b->entries[b->mcidx - 1].op != op)) { in xen_mc_extend_args() 173 trace_xen_mc_extend_args(op, size, XEN_MC_XE_BAD_OP); in xen_mc_extend_args() 178 trace_xen_mc_extend_args(op, size, XEN_MC_XE_NO_SPACE); in xen_mc_extend_args() 188 trace_xen_mc_extend_args(op, size, XEN_MC_XE_OK); in xen_mc_extend_args()
|
/linux-4.1.27/net/wimax/ |
D | Makefile | 6 op-msg.o \ 7 op-reset.o \ 8 op-rfkill.o \ 9 op-state-get.o \
|
/linux-4.1.27/net/ceph/ |
D | ceph_strings.c | 19 const char *ceph_osd_op_name(int op) in ceph_osd_op_name() argument 21 switch (op) { in ceph_osd_op_name() 22 #define GENERATE_CASE(op, opcode, str) case CEPH_OSD_OP_##op: return (str); in ceph_osd_op_name() argument
|
/linux-4.1.27/arch/ia64/include/asm/sn/ |
D | mspec.h | 26 #define FETCHOP_LOAD_OP(addr, op) ( \ argument 27 *(volatile long *)((char*) (addr) + (op))) 29 #define FETCHOP_STORE_OP(addr, op, x) ( \ argument 30 *(volatile long *)((char*) (addr) + (op)) = (long) (x))
|
/linux-4.1.27/drivers/infiniband/hw/qib/ |
D | qib_diag.c | 693 const struct diag_observer *op; member 697 const struct diag_observer *op) in qib_register_observer() argument 702 if (!dd || !op) in qib_register_observer() 711 olp->op = op; in qib_register_observer() 748 const struct diag_observer *op = NULL; in diag_get_observer() local 752 op = olp->op; in diag_get_observer() 753 if (addr >= op->bottom && addr <= op->top) in diag_get_observer() 758 op = NULL; in diag_get_observer() 760 return op; in diag_get_observer() 789 const struct diag_observer *op; in qib_diag_read() local [all …]
|
/linux-4.1.27/drivers/watchdog/ |
D | riowd.c | 176 static int riowd_probe(struct platform_device *op) in riowd_probe() argument 185 p = devm_kzalloc(&op->dev, sizeof(*p), GFP_KERNEL); in riowd_probe() 191 p->regs = of_ioremap(&op->resource[0], 0, 2, DRIVER_NAME); in riowd_probe() 208 platform_set_drvdata(op, p); in riowd_probe() 213 of_iounmap(&op->resource[0], p->regs, 2); in riowd_probe() 219 static int riowd_remove(struct platform_device *op) in riowd_remove() argument 221 struct riowd *p = platform_get_drvdata(op); in riowd_remove() 224 of_iounmap(&op->resource[0], p->regs, 2); in riowd_remove()
|
/linux-4.1.27/drivers/pci/ |
D | xen-pcifront.c | 112 static int do_pci_op(struct pcifront_device *pdev, struct xen_pci_op *op) in do_pci_op() argument 115 struct xen_pci_op *active_op = &pdev->sh_info->op; in do_pci_op() 124 memcpy(active_op, op, sizeof(struct xen_pci_op)); in do_pci_op() 170 memcpy(op, active_op, sizeof(struct xen_pci_op)); in do_pci_op() 172 err = op->err; in do_pci_op() 183 struct xen_pci_op op = { in pcifront_bus_read() local 200 err = do_pci_op(pdev, &op); in pcifront_bus_read() 205 op.value); in pcifront_bus_read() 207 *val = op.value; in pcifront_bus_read() 221 struct xen_pci_op op = { in pcifront_bus_write() local [all …]
|
/linux-4.1.27/arch/mips/math-emu/ |
D | cp1emu.c | 99 int func, fmt, op; in microMIPS32_to_MIPS32() local 143 op = insn.mm_fp0_format.func; in microMIPS32_to_MIPS32() 144 if (op == mm_32f_01_op) in microMIPS32_to_MIPS32() 146 else if (op == mm_32f_11_op) in microMIPS32_to_MIPS32() 148 else if (op == mm_32f_02_op) in microMIPS32_to_MIPS32() 150 else if (op == mm_32f_12_op) in microMIPS32_to_MIPS32() 152 else if (op == mm_32f_41_op) in microMIPS32_to_MIPS32() 154 else if (op == mm_32f_51_op) in microMIPS32_to_MIPS32() 156 else if (op == mm_32f_42_op) in microMIPS32_to_MIPS32() 169 op = insn.mm_fp5_format.op & 0x7; in microMIPS32_to_MIPS32() [all …]
|
/linux-4.1.27/drivers/infiniband/core/ |
D | netlink.c | 106 int len, int client, int op, int flags) in ibnl_put_msg() argument 111 *nlh = nlmsg_put(skb, 0, seq, RDMA_NL_GET_TYPE(client, op), in ibnl_put_msg() 146 int op = RDMA_NL_GET_OP(type); in ibnl_rcv_msg() local 150 if (op < 0 || op >= client->nops || in ibnl_rcv_msg() 151 !client->cb_table[op].dump) in ibnl_rcv_msg() 156 .dump = client->cb_table[op].dump, in ibnl_rcv_msg() 157 .module = client->cb_table[op].module, in ibnl_rcv_msg()
|
/linux-4.1.27/arch/ia64/sn/kernel/sn2/ |
D | sn_hwperf.c | 235 struct sn_hwperf_object_info *op; in sn_hwperf_get_nearest_node_objdata() local 263 for (i=0, op=objbuf; i < nobj; i++, op++) { in sn_hwperf_get_nearest_node_objdata() 264 if (!SN_HWPERF_IS_NODE(op) && !SN_HWPERF_IS_IONODE(op)) in sn_hwperf_get_nearest_node_objdata() 266 if (node == sn_hwperf_obj_to_cnode(op)) { in sn_hwperf_get_nearest_node_objdata() 267 nodeobj = op; in sn_hwperf_get_nearest_node_objdata() 277 sz = op->ports * sizeof(struct sn_hwperf_port_info); in sn_hwperf_get_nearest_node_objdata() 288 for (router=NULL, j=0; j < op->ports; j++) { in sn_hwperf_get_nearest_node_objdata() 347 for (i=0, op=objbuf; i < nobj; i++, op++) { in sn_hwperf_get_nearest_node_objdata() 348 if (SN_HWPERF_FOREIGN(op) || in sn_hwperf_get_nearest_node_objdata() 349 SN_HWPERF_IS_IONODE(op) || in sn_hwperf_get_nearest_node_objdata() [all …]
|
/linux-4.1.27/net/sunrpc/ |
D | stats.c | 192 static void _print_name(struct seq_file *seq, unsigned int op, in _print_name() argument 195 if (procs[op].p_name) in _print_name() 196 seq_printf(seq, "\t%12s: ", procs[op].p_name); in _print_name() 197 else if (op == 0) in _print_name() 200 seq_printf(seq, "\t%12u: ", op); in _print_name() 207 unsigned int op, maxproc = clnt->cl_maxproc; in rpc_print_iostats() local 223 for (op = 0; op < maxproc; op++) { in rpc_print_iostats() 224 struct rpc_iostats *metrics = &stats[op]; in rpc_print_iostats() 225 _print_name(seq, op, clnt->cl_procinfo); in rpc_print_iostats()
|
/linux-4.1.27/drivers/parport/ |
D | parport_sunbpp.c | 268 static int bpp_probe(struct platform_device *op) in bpp_probe() argument 277 irq = op->archdata.irqs[0]; in bpp_probe() 278 base = of_ioremap(&op->resource[0], 0, in bpp_probe() 279 resource_size(&op->resource[0]), in bpp_probe() 284 size = resource_size(&op->resource[0]); in bpp_probe() 297 p->dev = &op->dev; in bpp_probe() 314 dev_set_drvdata(&op->dev, p); in bpp_probe() 327 of_iounmap(&op->resource[0], base, size); in bpp_probe() 332 static int bpp_remove(struct platform_device *op) in bpp_remove() argument 334 struct parport *p = dev_get_drvdata(&op->dev); in bpp_remove() [all …]
|
/linux-4.1.27/drivers/hwmon/ |
D | ultra45_env.c | 253 static int env_probe(struct platform_device *op) in env_probe() argument 255 struct env *p = devm_kzalloc(&op->dev, sizeof(*p), GFP_KERNEL); in env_probe() 263 p->regs = of_ioremap(&op->resource[0], 0, REG_SIZE, "pic16f747"); in env_probe() 267 err = sysfs_create_group(&op->dev.kobj, &env_group); in env_probe() 271 p->hwmon_dev = hwmon_device_register(&op->dev); in env_probe() 277 platform_set_drvdata(op, p); in env_probe() 284 sysfs_remove_group(&op->dev.kobj, &env_group); in env_probe() 287 of_iounmap(&op->resource[0], p->regs, REG_SIZE); in env_probe() 292 static int env_remove(struct platform_device *op) in env_remove() argument 294 struct env *p = platform_get_drvdata(op); in env_remove() [all …]
|
/linux-4.1.27/arch/sparc/crypto/ |
D | camellia_glue.c | 91 ecb_crypt_op *op; in __ecb_crypt() local 95 op = camellia_sparc64_ecb_crypt_3_grand_rounds; in __ecb_crypt() 97 op = camellia_sparc64_ecb_crypt_4_grand_rounds; in __ecb_crypt() 117 op(src64, dst64, block_len, key); in __ecb_crypt() 154 cbc_crypt_op *op; in cbc_encrypt() local 158 op = camellia_sparc64_cbc_encrypt_3_grand_rounds; in cbc_encrypt() 160 op = camellia_sparc64_cbc_encrypt_4_grand_rounds; in cbc_encrypt() 177 op(src64, dst64, block_len, key, in cbc_encrypt() 193 cbc_crypt_op *op; in cbc_decrypt() local 197 op = camellia_sparc64_cbc_decrypt_3_grand_rounds; in cbc_decrypt() [all …]
|
/linux-4.1.27/include/scsi/ |
D | fc_encode.h | 105 unsigned int op, size_t req_size, in fc_ct_hdr_fill() argument 118 ct->hdr.ct_cmd = htons((u16) op); in fc_ct_hdr_fill() 133 unsigned int op, enum fc_rctl *r_ctl, in fc_ct_ns_fill() argument 139 switch (op) { in fc_ct_ns_fill() 141 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_gid_ft), in fc_ct_ns_fill() 147 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_fid), in fc_ct_ns_fill() 154 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rft), in fc_ct_ns_fill() 161 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rff_id), in fc_ct_ns_fill() 172 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rn_id), in fc_ct_ns_fill() 180 ct = fc_ct_hdr_fill(fp, op, sizeof(struct fc_ns_rspn) + len, in fc_ct_ns_fill() [all …]
|
/linux-4.1.27/drivers/ata/ |
D | pata_mpc52xx.c | 671 static int mpc52xx_ata_probe(struct platform_device *op) in mpc52xx_ata_probe() argument 685 ipb_freq = mpc5xxx_get_bus_frequency(op->dev.of_node); in mpc52xx_ata_probe() 687 dev_err(&op->dev, "could not determine IPB bus frequency\n"); in mpc52xx_ata_probe() 693 rv = of_address_to_resource(op->dev.of_node, 0, &res_mem); in mpc52xx_ata_probe() 695 dev_err(&op->dev, "could not determine device base address\n"); in mpc52xx_ata_probe() 699 if (!devm_request_mem_region(&op->dev, res_mem.start, in mpc52xx_ata_probe() 701 dev_err(&op->dev, "error requesting register region\n"); in mpc52xx_ata_probe() 705 ata_regs = devm_ioremap(&op->dev, res_mem.start, sizeof(*ata_regs)); in mpc52xx_ata_probe() 707 dev_err(&op->dev, "error mapping device registers\n"); in mpc52xx_ata_probe() 725 prop = of_get_property(op->dev.of_node, "mwdma-mode", &proplen); in mpc52xx_ata_probe() [all …]
|
/linux-4.1.27/net/ipv4/ |
D | inet_diag.c | 464 const struct inet_diag_bc_op *op = bc; in inet_diag_bc_run() local 466 switch (op->code) { in inet_diag_bc_run() 473 yes = entry->sport >= op[1].no; in inet_diag_bc_run() 476 yes = entry->sport <= op[1].no; in inet_diag_bc_run() 479 yes = entry->dport >= op[1].no; in inet_diag_bc_run() 482 yes = entry->dport <= op[1].no; in inet_diag_bc_run() 492 cond = (const struct inet_diag_hostcond *)(op + 1); in inet_diag_bc_run() 494 cond->port != (op->code == INET_DIAG_BC_S_COND ? in inet_diag_bc_run() 500 if (op->code == INET_DIAG_BC_S_COND) in inet_diag_bc_run() 531 len -= op->yes; in inet_diag_bc_run() [all …]
|
/linux-4.1.27/drivers/scsi/libfc/ |
D | fc_elsct.c | 44 struct fc_frame *fp, unsigned int op, in fc_elsct_send() argument 55 if ((op >= ELS_LS_RJT) && (op <= ELS_AUTH_ELS)) in fc_elsct_send() 56 rc = fc_els_fill(lport, did, fp, op, &r_ctl, &fh_type); in fc_elsct_send() 59 rc = fc_ct_fill(lport, did, fp, op, &r_ctl, &fh_type, &did); in fc_elsct_send()
|
/linux-4.1.27/drivers/input/touchscreen/ |
D | cyttsp4_spi.c | 47 u8 op, u16 reg, u8 *buf, int length) in cyttsp_spi_xfer() argument 66 wr_buf[0] = op + (((reg >> 8) & 0x1) ? CY_SPI_A8_BIT : 0); in cyttsp_spi_xfer() 67 if (op == CY_SPI_WR_OP) { in cyttsp_spi_xfer() 82 switch (op) { in cyttsp_spi_xfer() 98 dev_err(dev, "%s: bad operation code=%d\n", __func__, op); in cyttsp_spi_xfer() 105 __func__, retval, xfer[1].len, op); in cyttsp_spi_xfer() 115 dev_dbg(dev, "%s: operation %d failed\n", __func__, op); in cyttsp_spi_xfer()
|
D | cyttsp_spi.c | 44 u8 op, u16 reg, u8 *buf, int length) in cyttsp_spi_xfer() argument 66 wr_buf[3] = op; /* r/~w */ in cyttsp_spi_xfer() 67 if (op == CY_SPI_WR_OP) in cyttsp_spi_xfer() 79 switch (op) { in cyttsp_spi_xfer() 95 dev_err(dev, "%s: bad operation code=%d\n", __func__, op); in cyttsp_spi_xfer() 102 __func__, retval, xfer[1].len, op); in cyttsp_spi_xfer() 113 dev_dbg(dev, "%s: operation %d failed\n", __func__, op); in cyttsp_spi_xfer()
|