Home
last modified time | relevance | path

Searched refs:operation (Results 1 – 25 of 979) sorted by relevance

12345678910>>...40

/linux-6.6.21/drivers/greybus/
Doperation.c33 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 …]
Dgreybus_trace.h92 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 …]
Dsvc.c20 struct gb_operation *operation; member
23 static int gb_svc_queue_deferred_request(struct gb_operation *operation);
922 static void gb_svc_process_hello_deferred(struct gb_operation *operation) in gb_svc_process_hello_deferred() argument
924 struct gb_connection *connection = operation->connection; in gb_svc_process_hello_deferred()
954 static void gb_svc_process_module_inserted(struct gb_operation *operation) in gb_svc_process_module_inserted() argument
957 struct gb_connection *connection = operation->connection; in gb_svc_process_module_inserted()
967 request = operation->request->payload; in gb_svc_process_module_inserted()
1002 static void gb_svc_process_module_removed(struct gb_operation *operation) in gb_svc_process_module_removed() argument
1005 struct gb_connection *connection = operation->connection; in gb_svc_process_module_removed()
1011 request = operation->request->payload; in gb_svc_process_module_removed()
[all …]
Dconnection.c534 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-6.6.21/include/linux/greybus/
Doperation.h53 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-6.6.21/drivers/acpi/pmic/
DKconfig4 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-6.6.21/net/netfilter/
Dxt_ecn.c40 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-6.6.21/drivers/i2c/busses/
Di2c-mlxbf.c390 struct mlxbf_i2c_smbus_operation operation[MLXBF_I2C_SMBUS_MAX_OP_CNT]; member
739 struct mlxbf_i2c_smbus_operation *operation; in mlxbf_i2c_smbus_start_transaction() local
776 operation = &request->operation[op_idx]; in mlxbf_i2c_smbus_start_transaction()
777 flags = operation->flags; in mlxbf_i2c_smbus_start_transaction()
793 write_len += operation->length; in mlxbf_i2c_smbus_start_transaction()
794 if (data_idx + operation->length > in mlxbf_i2c_smbus_start_transaction()
800 operation->buffer, operation->length); in mlxbf_i2c_smbus_start_transaction()
801 data_idx += operation->length; in mlxbf_i2c_smbus_start_transaction()
812 read_len = operation->length - 1; in mlxbf_i2c_smbus_start_transaction()
813 read_buf = operation->buffer; in mlxbf_i2c_smbus_start_transaction()
[all …]
/linux-6.6.21/security/tomoyo/
Dfile.c169 [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 …]
Dnetwork.c27 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-6.6.21/drivers/staging/greybus/
Dloopback.c54 struct gb_operation *operation; member
373 struct gb_operation *operation; in gb_loopback_operation_sync() local
378 operation = gb_operation_create(gb->connection, type, request_size, in gb_loopback_operation_sync()
380 if (!operation) in gb_loopback_operation_sync()
384 memcpy(operation->request->payload, request, request_size); in gb_loopback_operation_sync()
386 ret = gb_operation_request_send_sync(operation); in gb_loopback_operation_sync()
392 if (response_size == operation->response->payload_size) { in gb_loopback_operation_sync()
393 memcpy(response, operation->response->payload, in gb_loopback_operation_sync()
398 operation->response->payload_size, in gb_loopback_operation_sync()
411 gb_operation_put(operation); in gb_loopback_operation_sync()
[all …]
Di2c.c83 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 …]
Dusb.c102 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-6.6.21/net/ipv4/netfilter/
Dipt_ECN.c55 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-6.6.21/drivers/net/ethernet/apm/xgene/
Dxgene_enet_cle.c96 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-6.6.21/tools/memory-model/Documentation/
Dcheatsheet.txt8 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-6.6.21/arch/arm/mm/
Dcache-uniphier.c117 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-6.6.21/drivers/net/ethernet/engleder/
Dtsnep_tc.c44 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-6.6.21/drivers/hv/
Dhv_snapshot.c114 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()
212 switch (vss_transaction.msg->vss_hdr.operation) { in vss_handle_request()
231 vss_transaction.msg->vss_hdr.operation); in vss_handle_request()
426 vss_msg->vss_hdr.operation = VSS_OP_THAW; in hv_vss_pre_suspend()
/linux-6.6.21/Documentation/crypto/
Dasync-tx-api.rst17 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-6.6.21/drivers/block/xen-blkback/
Dblkback.c450 enum req_op operation) in xen_vbd_translate() argument
455 if ((operation != REQ_OP_READ) && vbd->readonly) in xen_vbd_translate()
683 pending_req->operation, pending_req->status); in xen_blkbk_unmap_and_respond_callback()
908 (pending_req->operation != BLKIF_OP_READ)); in xen_blkbk_map_seg()
1005 make_response(ring, req->u.discard.id, req->operation, status); in dispatch_discard_io()
1015 make_response(ring, req->u.other.id, req->operation, in dispatch_other_io()
1041 if (pending_req->operation == BLKIF_OP_FLUSH_DISKCACHE && in __end_block_io_op()
1046 } else if (pending_req->operation == BLKIF_OP_WRITE_BARRIER && in __end_block_io_op()
1080 dst->operation = READ_ONCE(src->operation); in blkif_get_x86_32_req()
1082 switch (dst->operation) { in blkif_get_x86_32_req()
[all …]
/linux-6.6.21/tools/testing/selftests/tc-testing/
Dtdc_multibatch.py52 file_prefix = args.file_prefix + args.operation + "_"
55 operation = args.operation variable
63 num_filters, handle, operation, i + mac_prefix, device, file))
/linux-6.6.21/Documentation/userspace-api/media/dvb/
Dfe-set-frontend.rst31 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
/linux-6.6.21/Documentation/driver-api/pldmfw/
Ddriver-ops.rst13 The ``.match_record`` operation is used to determine whether a given PLDM
19 The ``.match_record`` operation should return true if a given record matches
25 The ``.send_package_data`` operation is used to send the device-specific
34 The ``.send_component_table`` operation is used to forward component
47 The ``.flash_component`` operation is used to inform the device driver to
54 The ``.finalize_update`` operation is used by the ``pldmfw`` library in
/linux-6.6.21/tools/perf/
Dbuiltin-mem.c37 int operation; member
54 mem->operation = 0; in parse_record_events()
123 (mem->operation & MEM_OPERATION_LOAD) && in __cmd_record()
124 (mem->operation & MEM_OPERATION_STORE)) { in __cmd_record()
128 if (mem->operation & MEM_OPERATION_LOAD) { in __cmd_record()
133 if (mem->operation & MEM_OPERATION_STORE) { in __cmd_record()
331 if (!(mem->operation & MEM_OPERATION_LOAD)) { in get_sort_order()
471 .operation = MEM_OPERATION_LOAD | MEM_OPERATION_STORE, in cmd_mem()
474 OPT_CALLBACK('t', "type", &mem.operation, in cmd_mem()
503 if (!argc || !(strncmp(argv[0], "rec", 3) || mem.operation)) in cmd_mem()

12345678910>>...40