| /linux/drivers/greybus/ |
| H A D | operation.c | 33 static int gb_operation_response_send(struct gb_operation *operation, 42 static int gb_operation_get_active(struct gb_operation *operation) in gb_operation_get_active() argument 44 struct gb_connection *connection = operation->connection; in gb_operation_get_active() 52 if (gb_operation_is_incoming(operation)) in gb_operation_get_active() 56 if (!gb_operation_is_core(operation)) in gb_operation_get_active() 63 if (operation->active++ == 0) in gb_operation_get_active() 64 list_add_tail(&operation->links, &connection->operations); in gb_operation_get_active() 66 trace_gb_operation_get_active(operation); in gb_operation_get_active() 79 static void gb_operation_put_active(struct gb_operation *operation) in gb_operation_put_active() argument 81 struct gb_connection *connection = operation->connection; in gb_operation_put_active() [all …]
|
| H A D | greybus_trace.h | 92 TP_PROTO(struct gb_operation *operation), 94 TP_ARGS(operation), 107 __entry->cport_id = operation->connection->hd_cport_id; 108 __entry->id = operation->id; 109 __entry->type = operation->type; 110 __entry->flags = operation->flags; 111 __entry->active = operation->active; 112 __entry->waiters = atomic_read(&operation->waiters); 113 __entry->errno = operation->errno; 123 TP_PROTO(struct gb_operation *operation), \ [all …]
|
| H A D | connection.c | 534 struct gb_operation *operation; in gb_connection_shutdown_operation() local 537 operation = gb_operation_create_core(connection, in gb_connection_shutdown_operation() 541 if (!operation) in gb_connection_shutdown_operation() 544 req = operation->request->payload; in gb_connection_shutdown_operation() 547 ret = gb_operation_request_send_sync(operation); in gb_connection_shutdown_operation() 549 gb_operation_put(operation); in gb_connection_shutdown_operation() 605 struct gb_operation *operation; in gb_connection_cancel_operations() local 608 operation = list_last_entry(&connection->operations, in gb_connection_cancel_operations() 610 gb_operation_get(operation); in gb_connection_cancel_operations() 613 if (gb_operation_is_incoming(operation)) in gb_connection_cancel_operations() [all …]
|
| /linux/drivers/md/dm-vdo/ |
| H A D | admin-state.c | 159 const struct admin_state_code *operation) in get_next_state() argument 166 if (operation == VDO_ADMIN_STATE_SAVING) in get_next_state() 169 if (operation == VDO_ADMIN_STATE_SUSPENDING) { in get_next_state() 175 if (operation == VDO_ADMIN_STATE_STOPPING) in get_next_state() 178 if (operation == VDO_ADMIN_STATE_PRE_LOADING) in get_next_state() 181 if (operation == VDO_ADMIN_STATE_SUSPENDED_OPERATION) { in get_next_state() 228 const struct admin_state_code *operation, in begin_operation() argument 233 const struct admin_state_code *next_state = get_next_state(state, operation); in begin_operation() 238 operation->name, in begin_operation() 243 operation->name); in begin_operation() [all …]
|
| H A D | io-submitter.h | 30 blk_opf_t operation, char *data, int size); 34 blk_opf_t operation) in vdo_submit_metadata_vio() argument 37 operation, vio->data, vio->block_count * VDO_BLOCK_SIZE); in vdo_submit_metadata_vio() 44 blk_opf_t operation, in vdo_submit_metadata_vio_with_size() argument 48 operation, vio->data, size); in vdo_submit_metadata_vio_with_size()
|
| H A D | admin-state.h | 139 bool __must_check vdo_assert_load_operation(const struct admin_state_code *operation, 143 const struct admin_state_code *operation, 151 const struct admin_state_code *operation, 161 const struct admin_state_code *operation, 169 const struct admin_state_code *operation); 172 const struct admin_state_code *operation,
|
| /linux/include/linux/greybus/ |
| H A D | operation.h | 53 struct gb_operation *operation; member 117 gb_operation_is_incoming(struct gb_operation *operation) in gb_operation_is_incoming() argument 119 return operation->flags & GB_OPERATION_FLAG_INCOMING; in gb_operation_is_incoming() 123 gb_operation_is_unidirectional(struct gb_operation *operation) in gb_operation_is_unidirectional() argument 125 return operation->flags & GB_OPERATION_FLAG_UNIDIRECTIONAL; in gb_operation_is_unidirectional() 129 gb_operation_short_response_allowed(struct gb_operation *operation) in gb_operation_short_response_allowed() argument 131 return operation->flags & GB_OPERATION_FLAG_SHORT_RESPONSE; in gb_operation_short_response_allowed() 134 static inline bool gb_operation_is_core(struct gb_operation *operation) in gb_operation_is_core() argument 136 return operation->flags & GB_OPERATION_FLAG_CORE; in gb_operation_is_core() 142 int gb_operation_result(struct gb_operation *operation); [all …]
|
| /linux/drivers/acpi/pmic/ |
| H A D | Kconfig | 4 bool "PMIC (Power Management Integrated Circuit) operation region support" 6 Select this option to enable support for ACPI operation 7 region of the PMIC chip. The operation region can be used 14 bool "ACPI operation region support for Bay Trail Crystal Cove PMIC" 17 This config adds ACPI operation region support for the Bay Trail 21 bool "ACPI operation region support for Cherry Trail Crystal Cove PMIC" 24 This config adds ACPI operation region support for the Cherry Trail 28 bool "ACPI operation region support for XPower AXP288 PMIC" 31 This config adds ACPI operation region support for XPower AXP288 PMIC. 34 bool "ACPI operation region support for BXT WhiskeyCove PMIC" [all …]
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-mlxbf.c | 394 struct mlxbf_i2c_smbus_operation operation[MLXBF_I2C_SMBUS_MAX_OP_CNT]; member 688 struct mlxbf_i2c_smbus_operation *operation; in mlxbf_i2c_smbus_start_transaction() local 739 operation = &request->operation[op_idx]; in mlxbf_i2c_smbus_start_transaction() 740 flags = operation->flags; in mlxbf_i2c_smbus_start_transaction() 756 write_len += operation->length; in mlxbf_i2c_smbus_start_transaction() 757 if (data_idx + operation->length > in mlxbf_i2c_smbus_start_transaction() 763 operation->buffer, operation->length); in mlxbf_i2c_smbus_start_transaction() 764 data_idx += operation->length; in mlxbf_i2c_smbus_start_transaction() 784 read_len = operation->length - 1; in mlxbf_i2c_smbus_start_transaction() 785 read_buf = operation->buffer; in mlxbf_i2c_smbus_start_transaction() [all …]
|
| /linux/net/netfilter/ |
| H A D | xt_ecn.c | 40 if (einfo->operation & XT_ECN_OP_MATCH_ECE) { in match_tcp() 50 if (einfo->operation & XT_ECN_OP_MATCH_CWR) { in match_tcp() 74 if (info->operation & XT_ECN_OP_MATCH_IP && !match_ip(skb, info)) in ecn_mt4() 77 if (info->operation & (XT_ECN_OP_MATCH_ECE | XT_ECN_OP_MATCH_CWR) && in ecn_mt4() 89 if (info->operation & XT_ECN_OP_MATCH_MASK) in ecn_mt_check4() 95 if (info->operation & (XT_ECN_OP_MATCH_ECE | XT_ECN_OP_MATCH_CWR) && in ecn_mt_check4() 116 if (info->operation & XT_ECN_OP_MATCH_IP && !match_ipv6(skb, info)) in ecn_mt6() 119 if (info->operation & (XT_ECN_OP_MATCH_ECE | XT_ECN_OP_MATCH_CWR) && in ecn_mt6() 131 if (info->operation & XT_ECN_OP_MATCH_MASK) in ecn_mt_check6() 137 if (info->operation & (XT_ECN_OP_MATCH_ECE | XT_ECN_OP_MATCH_CWR) && in ecn_mt_check6()
|
| /linux/security/tomoyo/ |
| H A D | file.c | 169 [r->param.path.operation], in tomoyo_audit_path_log() 183 [tomoyo_pp2mac[r->param.path2.operation]], in tomoyo_audit_path2_log() 199 [tomoyo_pnnn2mac[r->param.mkdev.operation]], in tomoyo_audit_mkdev_log() 214 const u8 type = r->param.path_number.operation; in tomoyo_audit_path_number_log() 258 if (acl->perm & (1 << r->param.path.operation)) { in tomoyo_check_path_acl() 281 return (acl->perm & (1 << r->param.path_number.operation)) && in tomoyo_check_path_number_acl() 302 return (acl->perm & (1 << r->param.path2.operation)) && in tomoyo_check_path2_acl() 322 return (acl->perm & (1 << r->param.mkdev.operation)) && in tomoyo_check_mkdev_acl() 573 static int tomoyo_path_permission(struct tomoyo_request_info *r, u8 operation, in tomoyo_path_permission() argument 578 r->type = tomoyo_p2mac[operation]; in tomoyo_path_permission() [all …]
|
| H A D | network.c | 27 u8 operation; member 288 const char *operation = tomoyo_read_token(param); in tomoyo_write_inet_network() local 294 if (tomoyo_permstr(operation, tomoyo_socket_keyword[type])) in tomoyo_write_inet_network() 333 const char *operation = tomoyo_read_token(param); in tomoyo_write_unix_network() local 339 if (tomoyo_permstr(operation, tomoyo_socket_keyword[type])) in tomoyo_write_unix_network() 365 const u8 operation, const char *address) in tomoyo_audit_net_log() argument 369 tomoyo_socket_keyword[operation], address); in tomoyo_audit_net_log() 394 r->param.inet_network.operation, buf); in tomoyo_audit_inet_log() 407 r->param.unix_network.operation, in tomoyo_audit_unix_log() 426 if (!(acl->perm & (1 << r->param.inet_network.operation)) || in tomoyo_check_inet_acl() [all …]
|
| /linux/drivers/staging/greybus/ |
| H A D | loopback.c | 54 struct gb_operation *operation; member 374 struct gb_operation *operation; in gb_loopback_operation_sync() local 379 operation = gb_operation_create(gb->connection, type, request_size, in gb_loopback_operation_sync() 381 if (!operation) in gb_loopback_operation_sync() 385 memcpy(operation->request->payload, request, request_size); in gb_loopback_operation_sync() 387 ret = gb_operation_request_send_sync(operation); in gb_loopback_operation_sync() 393 if (response_size == operation->response->payload_size) { in gb_loopback_operation_sync() 394 memcpy(response, operation->response->payload, in gb_loopback_operation_sync() 399 operation->response->payload_size, in gb_loopback_operation_sync() 412 gb_operation_put(operation); in gb_loopback_operation_sync() [all …]
|
| H A D | i2c.c | 83 struct gb_operation *operation; in gb_i2c_operation_create() local 116 operation = gb_operation_create(connection, GB_I2C_TYPE_TRANSFER, in gb_i2c_operation_create() 118 if (!operation) in gb_i2c_operation_create() 121 request = operation->request->payload; in gb_i2c_operation_create() 130 return operation; in gb_i2c_operation_create() 143 return operation; in gb_i2c_operation_create() 178 struct gb_operation *operation; in gb_i2c_transfer_operation() local 181 operation = gb_i2c_operation_create(connection, msgs, msg_count); in gb_i2c_transfer_operation() 182 if (!operation) in gb_i2c_transfer_operation() 189 ret = gb_operation_request_send_sync(operation); in gb_i2c_transfer_operation() [all …]
|
| H A D | usb.c | 102 struct gb_operation *operation; in hub_control() local 111 operation = gb_operation_create(dev->connection, in hub_control() 116 if (!operation) in hub_control() 119 request = operation->request->payload; in hub_control() 125 ret = gb_operation_request_send_sync(operation); in hub_control() 131 response = operation->response->payload; in hub_control() 135 gb_operation_put(operation); in hub_control()
|
| /linux/net/ipv4/netfilter/ |
| H A D | ipt_ECN.c | 55 if ((!(einfo->operation & IPT_ECN_OP_SET_ECE) || in set_ect_tcp() 57 (!(einfo->operation & IPT_ECN_OP_SET_CWR) || in set_ect_tcp() 66 if (einfo->operation & IPT_ECN_OP_SET_ECE) in set_ect_tcp() 68 if (einfo->operation & IPT_ECN_OP_SET_CWR) in set_ect_tcp() 81 if (einfo->operation & IPT_ECN_OP_SET_IP) in ecn_tg() 85 if (einfo->operation & (IPT_ECN_OP_SET_ECE | IPT_ECN_OP_SET_CWR) && in ecn_tg() 98 if (einfo->operation & IPT_ECN_OP_MASK) in ecn_tg_check() 104 if ((einfo->operation & (IPT_ECN_OP_SET_ECE|IPT_ECN_OP_SET_CWR)) && in ecn_tg_check()
|
| /linux/drivers/net/ethernet/apm/xgene/ |
| H A D | xgene_enet_cle.c | 96 SET_VAL(CLE_BR_OP, br->operation) | in xgene_cle_dn_to_hw() 214 .operation = EQT, 225 .operation = EQT, 250 .operation = EQT, 262 .operation = EQT, 273 .operation = EQT, 298 .operation = EQT, 310 .operation = EQT, 322 .operation = EQT, 334 .operation = EQT, [all …]
|
| /linux/arch/arm/mm/ |
| H A D | cache-uniphier.c | 117 u32 operation) in __uniphier_cache_maint_common() argument 151 writel_relaxed(UNIPHIER_SSCOQM_CE | operation, in __uniphier_cache_maint_common() 155 if (likely(UNIPHIER_SSCOQM_S_IS_RANGE(operation))) { in __uniphier_cache_maint_common() 171 u32 operation) in __uniphier_cache_maint_all() argument 174 UNIPHIER_SSCOQM_S_ALL | operation); in __uniphier_cache_maint_all() 181 u32 operation) in __uniphier_cache_maint_range() argument 195 __uniphier_cache_maint_all(data, operation); in __uniphier_cache_maint_range() 210 UNIPHIER_SSCOQM_S_RANGE | operation); in __uniphier_cache_maint_range() 239 u32 operation) in uniphier_cache_maint_range() argument 244 __uniphier_cache_maint_range(data, start, end, operation); in uniphier_cache_maint_range() [all …]
|
| /linux/tools/memory-model/Documentation/ |
| H A D | cheatsheet.txt | 8 Relaxed RMW operation Y Y Y Y 20 Key: Relaxed: A relaxed operation is either READ_ONCE(), WRITE_ONCE(), 21 a *_relaxed() RMW operation, an unsuccessful RMW 22 operation, a non-value-returning RMW operation such 30 a: Provides ordering given intervening RMW atomic operation 33 RMW: Atomic read-modify-write operation
|
| /linux/drivers/net/ethernet/engleder/ |
| H A D | tsnep_tc.c | 44 gcl->operation[index].properties = properties; in tsnep_write_gcl_operation() 45 gcl->operation[index].interval = interval; in tsnep_write_gcl_operation() 75 duration += gcl->operation[index].interval; in tsnep_change_duration() 169 change -= gcl->operation[index].interval; in tsnep_set_gcl_change() 176 gcl->operation[index].properties |= TSNEP_GCL_INSERT; in tsnep_set_gcl_change() 177 iowrite32(gcl->operation[index].properties, addr); in tsnep_set_gcl_change() 191 if (gcl->operation[i].properties & ~mask) { in tsnep_clean_gcl() 195 gcl->operation[i].properties &= mask; in tsnep_clean_gcl() 196 iowrite32(gcl->operation[i].properties, addr); in tsnep_clean_gcl() 208 properties = gcl->operation[ref].properties & TSNEP_GCL_MASK; in tsnep_insert_gcl_operation() [all …]
|
| /linux/drivers/hv/ |
| H A D | hv_snapshot.c | 114 switch (vss_msg->vss_hdr.operation) { in vss_handle_handshake() 142 if (vss_msg->vss_hdr.operation == VSS_OP_REGISTER || in vss_on_msg() 143 vss_msg->vss_hdr.operation == VSS_OP_REGISTER1) { in vss_on_msg() 157 if (vss_msg->vss_hdr.operation == VSS_OP_HOT_BACKUP) in vss_on_msg() 177 int op = vss_transaction.msg->vss_hdr.operation; in vss_send_op() 191 vss_msg->vss_hdr.operation = op; in vss_send_op() 213 switch (vss_transaction.msg->vss_hdr.operation) { in vss_handle_request() 232 vss_transaction.msg->vss_hdr.operation); in vss_handle_request() 433 vss_msg->vss_hdr.operation = VSS_OP_THAW; in hv_vss_pre_suspend()
|
| /linux/Documentation/crypto/ |
| H A D | async-tx-api.rst | 17 3.4 When does the operation execute? 18 3.5 When does the operation complete? 35 that is written to the API can optimize for asynchronous operation and 51 operation will be offloaded when an engine is available and carried out 55 API automatically handles cases where the transition from one operation 57 3. dmaengine extensions to support multiple clients and operation types 69 async_<operation>(<op specific parameters>, struct async_submit_ctl *submit) 94 The return value is non-NULL and points to a 'descriptor' when the operation 109 3.4 When does the operation execute? 113 async_<operation> call. Offload engine drivers batch operations to [all …]
|
| /linux/Documentation/edac/ |
| H A D | memory_repair.rst | 27 Post Package Repair is a maintenance operation which requests the memory 28 device to perform repair operation on its media. It is a memory self-healing 43 processed during a repair operation. In such case, the repair operation should 69 operation vary in terms of the scope of the sparing being performed. 74 to be replaced. Rank sparing is defined as an operation in which an entire DDR 91 host of the need for a repair maintenance operation by using an event 96 rasdaemon) initiate a repair maintenance operation in response to the 99 3. Userspace tools, such as rasdaemon, request a repair operation on a memory 132 for this operation, cacheline/row/bank/rank sparing, vary in terms of the 136 implement CXL.mem protocol. A sparing maintenance operation requests the [all …]
|
| /linux/Documentation/gpu/ |
| H A D | drm-vm-bind-async.rst | 15 * ``VM_BIND``: An operation or a list of operations to modify a gpu_vm using 24 * ``in-syncobj``: Argument to a VM_BIND IOCTL, the VM_BIND operation waits 27 * ``out-syncobj``: Argument to a VM_BIND_IOCTL, the VM_BIND operation 28 signals these when the bind operation is complete. 57 operation. VM_BIND operations that use the same bind context can be 66 Synchronous / Asynchronous VM_BIND operation 86 immediately available for preparing the asynchronous operation. 89 the in-syncobjs needs to signal before the first operation starts to 90 execute, and the out-syncobjs signal after the last operation 91 completes. Operations in the operation list can be assumed, where it [all …]
|
| /linux/Documentation/userspace-api/media/dvb/ |
| H A D | fe-set-frontend.rst | 31 Points to parameters for tuning operation. 36 This ioctl call starts a tuning operation using specified parameters. 38 and the tuning could be initiated. The result of the tuning operation in 42 operation is initiated before the previous one was completed, the 43 previous operation will be aborted in favor of the new one. This command
|