Home
last modified time | relevance | path

Searched full:service (Results 1 – 25 of 2865) sorted by relevance

12345678910>>...115

/kernel/linux/linux-5.10/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c136 vchiq_set_service_state(struct vchiq_service *service, int newstate) in vchiq_set_service_state() argument
139 service->state->id, service->localport, in vchiq_set_service_state()
140 srvstate_names[service->srvstate], in vchiq_set_service_state()
142 service->srvstate = newstate; in vchiq_set_service_state()
148 struct vchiq_service *service; in find_service_by_handle() local
151 service = handle_to_service(handle); in find_service_by_handle()
152 if (service && service->srvstate != VCHIQ_SRVSTATE_FREE && in find_service_by_handle()
153 service->handle == handle && in find_service_by_handle()
154 kref_get_unless_zero(&service->ref_count)) { in find_service_by_handle()
155 service = rcu_pointer_handoff(service); in find_service_by_handle()
[all …]
Dvchiq_arm.c55 struct vchiq_service *service; member
282 struct vchiq_service *service = NULL; in vchiq_add_service() local
294 service = vchiq_add_service_internal( in vchiq_add_service()
301 if (service) { in vchiq_add_service()
302 *phandle = service->handle; in vchiq_add_service()
320 struct vchiq_service *service = NULL; in vchiq_open_service() local
330 service = vchiq_add_service_internal(state, in vchiq_open_service()
336 if (service) { in vchiq_open_service()
337 *phandle = service->handle; in vchiq_open_service()
338 status = vchiq_open_service_internal(service, current->pid); in vchiq_open_service()
[all …]
/kernel/linux/linux-6.6/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c81 #define VCHIQ_SERVICE_STATS_INC(service, stat) (service->stats. stat++) argument
82 #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) \ argument
83 (service->stats. stat += addend)
86 #define VCHIQ_SERVICE_STATS_INC(service, stat) ((void)0) argument
87 #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) ((void)0) argument
228 set_service_state(struct vchiq_service *service, int newstate) in set_service_state() argument
231 service->state->id, service->localport, in set_service_state()
232 srvstate_names[service->srvstate], in set_service_state()
234 service->srvstate = newstate; in set_service_state()
246 struct vchiq_service *service; in find_service_by_handle() local
[all …]
Dvchiq_dev.c52 __func__, user_service->service->handle); in close_delivered()
55 /* Allow the underlying service to be culled */ in close_delivered()
56 vchiq_service_put(user_service->service); in close_delivered()
144 struct vchiq_service *service; in vchiq_ioc_create_service() local
170 service = vchiq_add_service_internal(instance->state, &params, in vchiq_ioc_create_service()
173 if (!service) { in vchiq_ioc_create_service()
178 user_service->service = service; in vchiq_ioc_create_service()
192 status = vchiq_open_service_internal(service, instance->pid); in vchiq_ioc_create_service()
194 vchiq_remove_service(instance, service->handle); in vchiq_ioc_create_service()
199 args->handle = service->handle; in vchiq_ioc_create_service()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dadf_init.c14 static void adf_service_add(struct service_hndl *service) in adf_service_add() argument
17 list_add(&service->list, &service_table); in adf_service_add()
21 int adf_service_register(struct service_hndl *service) in adf_service_register() argument
23 memset(service->init_status, 0, sizeof(service->init_status)); in adf_service_register()
24 memset(service->start_status, 0, sizeof(service->start_status)); in adf_service_register()
25 adf_service_add(service); in adf_service_register()
29 static void adf_service_remove(struct service_hndl *service) in adf_service_remove() argument
32 list_del(&service->list); in adf_service_remove()
36 int adf_service_unregister(struct service_hndl *service) in adf_service_unregister() argument
40 for (i = 0; i < ARRAY_SIZE(service->init_status); i++) { in adf_service_unregister()
[all …]
/kernel/linux/linux-6.6/net/caif/
Dcfsrvl.c30 struct cfsrvl *service = container_obj(layr); in cfservl_ctrlcmd() local
37 service->open = true; in cfservl_ctrlcmd()
42 service->open = false; in cfservl_ctrlcmd()
46 if (phyid != service->dev_info.id) in cfservl_ctrlcmd()
48 if (service->modem_flow_on) in cfservl_ctrlcmd()
51 service->phy_flow_on = false; in cfservl_ctrlcmd()
54 if (phyid != service->dev_info.id) in cfservl_ctrlcmd()
56 if (service->modem_flow_on) { in cfservl_ctrlcmd()
61 service->phy_flow_on = true; in cfservl_ctrlcmd()
64 if (service->phy_flow_on) { in cfservl_ctrlcmd()
[all …]
/kernel/linux/linux-5.10/net/caif/
Dcfsrvl.c30 struct cfsrvl *service = container_obj(layr); in cfservl_ctrlcmd() local
37 service->open = true; in cfservl_ctrlcmd()
42 service->open = false; in cfservl_ctrlcmd()
46 if (phyid != service->dev_info.id) in cfservl_ctrlcmd()
48 if (service->modem_flow_on) in cfservl_ctrlcmd()
51 service->phy_flow_on = false; in cfservl_ctrlcmd()
54 if (phyid != service->dev_info.id) in cfservl_ctrlcmd()
56 if (service->modem_flow_on) { in cfservl_ctrlcmd()
61 service->phy_flow_on = true; in cfservl_ctrlcmd()
64 if (service->phy_flow_on) { in cfservl_ctrlcmd()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/gpio/
Dgpio_service.c60 struct gpio_service *service; in dal_gpio_service_create() local
63 service = kzalloc(sizeof(struct gpio_service), GFP_KERNEL); in dal_gpio_service_create()
65 if (!service) { in dal_gpio_service_create()
70 if (!dal_hw_translate_init(&service->translate, dce_version, in dal_gpio_service_create()
76 if (!dal_hw_factory_init(&service->factory, dce_version, in dal_gpio_service_create()
85 service->ctx = ctx; in dal_gpio_service_create()
89 service->factory.number_of_pins[index_of_id]; in dal_gpio_service_create()
93 service->busyness[index_of_id] = in dal_gpio_service_create()
97 if (!service->busyness[index_of_id]) { in dal_gpio_service_create()
103 service->busyness[index_of_id][i] = 0; in dal_gpio_service_create()
[all …]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/gpio/
Dgpio_service.c58 struct gpio_service *service; in dal_gpio_service_create() local
61 service = kzalloc(sizeof(struct gpio_service), GFP_KERNEL); in dal_gpio_service_create()
63 if (!service) { in dal_gpio_service_create()
68 if (!dal_hw_translate_init(&service->translate, dce_version, in dal_gpio_service_create()
74 if (!dal_hw_factory_init(&service->factory, dce_version, in dal_gpio_service_create()
83 service->ctx = ctx; in dal_gpio_service_create()
87 service->factory.number_of_pins[index_of_id]; in dal_gpio_service_create()
91 service->busyness[index_of_id] = in dal_gpio_service_create()
95 if (!service->busyness[index_of_id]) { in dal_gpio_service_create()
101 service->busyness[index_of_id][i] = 0; in dal_gpio_service_create()
[all …]
/kernel/linux/linux-5.10/Documentation/PCI/
Dpciebus-howto.rst15 and provides information on how to enable the service drivers to
38 and handled by corresponding service drivers.
46 services. To maintain a clean and simple solution each service
47 may have its own software service driver. In this case several
48 service drivers will compete for a single PCI-PCI Bridge device.
49 For example, if the PCI Express Root Port native hotplug service
51 kernel therefore does not load other service drivers for that Root
52 Port. In other words, it is impossible to have multiple service
56 To enable multiple service drivers running simultaneously requires
58 PCI Express Ports and distributes all provided service requests
[all …]
/kernel/linux/linux-6.6/Documentation/PCI/
Dpciebus-howto.rst15 and provides information on how to enable the service drivers to
38 and handled by corresponding service drivers.
46 services. To maintain a clean and simple solution each service
47 may have its own software service driver. In this case several
48 service drivers will compete for a single PCI-PCI Bridge device.
49 For example, if the PCI Express Root Port native hotplug service
51 kernel therefore does not load other service drivers for that Root
52 Port. In other words, it is impossible to have multiple service
56 To enable multiple service drivers running simultaneously requires
58 PCI Express Ports and distributes all provided service requests
[all …]
/kernel/linux/common_modules/tzdriver/core/
Dsession_manager.c61 /* record all service node and need mutex to avoid race */
88 void get_service_struct(struct tc_ns_service *service) in get_service_struct() argument
90 if (!service) in get_service_struct()
93 atomic_inc(&service->usage); in get_service_struct()
94 tlogd("service->usage = %d\n", atomic_read(&service->usage)); in get_service_struct()
97 void put_service_struct(struct tc_ns_service *service) in put_service_struct() argument
99 if (!service) in put_service_struct()
102 tlogd("service->usage = %d\n", atomic_read(&service->usage)); in put_service_struct()
104 if (atomic_dec_and_test(&service->usage)) { in put_service_struct()
105 tlogd("del service [0x%x] from service list\n", in put_service_struct()
[all …]
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
Dadf_init.c16 static void adf_service_add(struct service_hndl *service) in adf_service_add() argument
19 list_add(&service->list, &service_table); in adf_service_add()
23 int adf_service_register(struct service_hndl *service) in adf_service_register() argument
25 memset(service->init_status, 0, sizeof(service->init_status)); in adf_service_register()
26 memset(service->start_status, 0, sizeof(service->start_status)); in adf_service_register()
27 adf_service_add(service); in adf_service_register()
31 static void adf_service_remove(struct service_hndl *service) in adf_service_remove() argument
34 list_del(&service->list); in adf_service_remove()
38 int adf_service_unregister(struct service_hndl *service) in adf_service_unregister() argument
42 for (i = 0; i < ARRAY_SIZE(service->init_status); i++) { in adf_service_unregister()
[all …]
/kernel/linux/linux-5.10/drivers/pci/pcie/
Dportdrv_core.c25 u32 service; member
29 * release_pcie_device - free PCI Express port service device structure
30 * @dev: Port service device to release
217 * by the BIOS and the hot-plug service driver is not loaded. in get_port_device_capability()
230 * BIOS (the AER service driver will enable it when necessary). in get_port_device_capability()
247 * by the BIOS (the PME service driver will enable it when in get_port_device_capability()
275 * pcie_device_init - allocate and initialize PCI Express port service device
276 * @pdev: PCI Express port to associate the service device with
277 * @service: Type of service to associate with the service device
278 * @irq: Interrupt vector to associate with the service device
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dqrtr.h13 TP_PROTO(unsigned int service, unsigned int instance,
16 TP_ARGS(service, instance, node, port),
19 __field(unsigned int, service)
26 __entry->service = service;
33 __entry->service, __entry->instance, __entry->node,
40 TP_PROTO(unsigned int service, unsigned int instance,
43 TP_ARGS(service, instance, node, port),
46 __field(unsigned int, service)
53 __entry->service = service;
60 __entry->service, __entry->instance, __entry->node,
[all …]
/kernel/linux/linux-6.6/include/trace/events/
Dqrtr.h13 TP_PROTO(unsigned int service, unsigned int instance,
16 TP_ARGS(service, instance, node, port),
19 __field(unsigned int, service)
26 __entry->service = service;
33 __entry->service, __entry->instance, __entry->node,
40 TP_PROTO(unsigned int service, unsigned int instance,
43 TP_ARGS(service, instance, node, port),
46 __field(unsigned int, service)
53 __entry->service = service;
60 __entry->service, __entry->instance, __entry->node,
[all …]
/kernel/linux/linux-5.10/include/linux/firmware/intel/
Dstratix10-svc-client.h10 * Service layer driver supports client names
22 * Secure firmware accepts the request issued by one of service clients.
25 * Service client successfully submits data buffer to secure firmware.
32 * Secure firmware completes service request successfully. In case of
36 * Service request is still in process.
39 * Error encountered during the process of the service request.
62 * Timeout settings for service clients:
73 * enum stratix10_svc_command_code - supported service commands
123 * struct stratix10_svc_client_msg - message sent by client to service
126 * @command: service command
[all …]
/kernel/linux/linux-6.6/include/linux/firmware/intel/
Dstratix10-svc-client.h10 * Service layer driver supports client names
23 * Secure firmware accepts the request issued by one of service clients.
26 * Service client successfully submits data buffer to secure firmware.
33 * Secure firmware completes service request successfully. In case of
37 * Service request is still in process.
40 * Error encountered during the process of the service request.
64 * Timeout settings for service clients:
77 * enum stratix10_svc_command_code - supported service commands
112 * @COMMAND_POLL_SERVICE_STATUS: poll if the service request is complete,
177 * struct stratix10_svc_client_msg - message sent by client to service
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/soc/qcom/
Dqcom,apr.txt26 Each subnode of the APR node represents service tied to this apr. The name
28 by the individual bindings for the specific service
34 Definition: APR Service ID
36 3 - DSP Core Service
37 4 - Audio Front End Service.
38 5 - Voice Stream Manager Service.
40 7 - Audio Stream Manager Service.
41 8 - Audio Device Manager Service.
51 Definition: Must list the protection domain service name and path
52 that the particular apr service has a dependency on.
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/qcom/
Dqcom,apr-services.yaml13 Common parts of a static service in Qualcomm APR/GPR (Asynchronous/Generic
21 APR Service ID
22 3 = DSP Core Service
23 4 = Audio Front End Service.
24 5 = Voice Stream Manager Service.
26 7 = Audio Stream Manager Service.
27 8 = Audio Device Manager Service.
33 GPR Service ID
34 1 = Audio Process Manager Service
35 2 = Proxy Resource Manager Service.
[all …]
/kernel/linux/linux-6.6/block/
Dbfq-wf2q.c56 * expiration of the in-service entity
162 * as it must never become an in-service entity. in bfq_update_parent_budget()
176 * service, according to the restrictive definition of the field
178 * entity that is about to be set in service.
181 * next service according to the that definition, because entity is
182 * about to become the in-service queue. This function then returns
185 * In contrast, entity could still be a candidate for next service if
187 * even if one of its children is about to be set in service, other
190 * non-queue entity is not a candidate for next-service only if it has
206 * not account for the in-service entity in case the latter is in bfq_no_longer_next_in_service()
[all …]
/kernel/linux/linux-6.6/drivers/pci/pcie/
Dportdrv.c31 #define get_descriptor_id(type, service) (((type - 4) << 8) | service) argument
36 u32 service; member
40 * release_pcie_device - free PCI Express port service device structure
41 * @dev: Port service device to release
230 * by the BIOS and the hot-plug service driver won't be loaded in get_port_device_capability()
254 * by the BIOS (the PME service driver will enable it when in get_port_device_capability()
282 * pcie_device_init - allocate and initialize PCI Express port service device
283 * @pdev: PCI Express port to associate the service device with
284 * @service: Type of service to associate with the service device
285 * @irq: Interrupt vector to associate with the service device
[all …]
/kernel/linux/linux-6.6/drivers/staging/vc04_services/include/linux/raspberrypi/
Dvchiq.h11 VCHIQ_SERVICE_OPENED, /* service, -, - */
12 VCHIQ_SERVICE_CLOSED, /* service, -, - */
13 VCHIQ_MESSAGE_AVAILABLE, /* service, header, - */
14 VCHIQ_BULK_TRANSMIT_DONE, /* service, -, bulk_userdata */
15 VCHIQ_BULK_RECEIVE_DONE, /* service, -, bulk_userdata */
16 VCHIQ_BULK_TRANSMIT_ABORTED, /* service, -, bulk_userdata */
17 VCHIQ_BULK_RECEIVE_ABORTED /* service, -, bulk_userdata */
88 unsigned int service);
89 extern int vchiq_use_service(struct vchiq_instance *instance, unsigned int service);
91 unsigned int service);
[all …]
/kernel/linux/linux-5.10/drivers/staging/vc04_services/include/linux/raspberrypi/
Dvchiq.h11 VCHIQ_SERVICE_OPENED, /* service, -, - */
12 VCHIQ_SERVICE_CLOSED, /* service, -, - */
13 VCHIQ_MESSAGE_AVAILABLE, /* service, header, - */
14 VCHIQ_BULK_TRANSMIT_DONE, /* service, -, bulk_userdata */
15 VCHIQ_BULK_RECEIVE_DONE, /* service, -, bulk_userdata */
16 VCHIQ_BULK_TRANSMIT_ABORTED, /* service, -, bulk_userdata */
17 VCHIQ_BULK_RECEIVE_ABORTED /* service, -, bulk_userdata */
91 extern enum vchiq_status vchiq_close_service(unsigned int service);
92 extern enum vchiq_status vchiq_use_service(unsigned int service);
93 extern enum vchiq_status vchiq_release_service(unsigned int service);
[all …]
/kernel/linux/linux-5.10/block/
Dbfq-wf2q.c56 * expiration of the in-service entity
175 * as it must never become an in-service entity. in bfq_update_parent_budget()
189 * service, according to the restrictive definition of the field
191 * entity that is about to be set in service.
194 * next service according to the that definition, because entity is
195 * about to become the in-service queue. This function then returns
198 * In contrast, entity could still be a candidate for next service if
200 * even if one of its children is about to be set in service, other
203 * non-queue entity is not a candidate for next-service only if it has
219 * not account for the in-service entity in case the latter is in bfq_no_longer_next_in_service()
[all …]

12345678910>>...115