Home
last modified time | relevance | path

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

12345678910>>...109

/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
281 struct vchiq_service *service = NULL; in vchiq_add_service() local
293 service = vchiq_add_service_internal( in vchiq_add_service()
300 if (service) { in vchiq_add_service()
301 *phandle = service->handle; in vchiq_add_service()
319 struct vchiq_service *service = NULL; in vchiq_open_service() local
329 service = vchiq_add_service_internal(state, in vchiq_open_service()
335 if (service) { in vchiq_open_service()
336 *phandle = service->handle; in vchiq_open_service()
337 status = vchiq_open_service_internal(service, current->pid); in vchiq_open_service()
[all …]
/kernel/linux/linux-4.19/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_core.c158 vchiq_set_service_state(VCHIQ_SERVICE_T *service, int newstate) in vchiq_set_service_state() argument
161 service->state->id, service->localport, in vchiq_set_service_state()
162 srvstate_names[service->srvstate], in vchiq_set_service_state()
164 service->srvstate = newstate; in vchiq_set_service_state()
170 VCHIQ_SERVICE_T *service; in find_service_by_handle() local
173 service = handle_to_service(handle); in find_service_by_handle()
174 if (service && (service->srvstate != VCHIQ_SRVSTATE_FREE) && in find_service_by_handle()
175 (service->handle == handle)) { in find_service_by_handle()
176 WARN_ON(service->ref_count == 0); in find_service_by_handle()
177 service->ref_count++; in find_service_by_handle()
[all …]
Dvchiq_shim.c101 struct shim_service *service = (struct shim_service *)handle; in vchi_msg_peek() local
108 if (vchiu_queue_is_empty(&service->queue)) in vchi_msg_peek()
111 header = vchiu_queue_peek(&service->queue); in vchi_msg_peek()
133 struct shim_service *service = (struct shim_service *)handle; in vchi_msg_remove() local
136 header = vchiu_queue_pop(&service->queue); in vchi_msg_remove()
138 vchiq_release_message(service->handle, header); in vchi_msg_remove()
165 struct shim_service *service = (struct shim_service *)handle; in vchi_msg_queue() local
169 status = vchiq_queue_message(service->handle, in vchi_msg_queue()
264 struct shim_service *service = (struct shim_service *)handle; in vchi_bulk_queue_receive() local
271 WARN_ON(!service->callback); in vchi_bulk_queue_receive()
[all …]
Dvchiq_if.h47 #define VCHIQ_GET_SERVICE_USERDATA(service) vchiq_get_service_userdata(service) argument
48 #define VCHIQ_GET_SERVICE_FOURCC(service) vchiq_get_service_fourcc(service) argument
51 VCHIQ_SERVICE_OPENED, /* service, -, - */
52 VCHIQ_SERVICE_CLOSED, /* service, -, - */
53 VCHIQ_MESSAGE_AVAILABLE, /* service, header, - */
54 VCHIQ_BULK_TRANSMIT_DONE, /* service, -, bulk_userdata */
55 VCHIQ_BULK_RECEIVE_DONE, /* service, -, bulk_userdata */
56 VCHIQ_BULK_TRANSMIT_ABORTED, /* service, -, bulk_userdata */
57 VCHIQ_BULK_RECEIVE_ABORTED /* service, -, bulk_userdata */
138 extern VCHIQ_STATUS_T vchiq_close_service(VCHIQ_SERVICE_HANDLE_T service);
[all …]
/kernel/linux/linux-4.19/Documentation/PCI/
DPCIEBUS-HOWTO.txt8 and provides information on how to enable the service drivers to
31 and handled by corresponding service drivers.
38 services. To maintain a clean and simple solution each service
39 may have its own software service driver. In this case several
40 service drivers will compete for a single PCI-PCI Bridge device.
41 For example, if the PCI Express Root Port native hotplug service
43 kernel therefore does not load other service drivers for that Root
44 Port. In other words, it is impossible to have multiple service
48 To enable multiple service drivers running simultaneously requires
50 PCI Express Ports and distributes all provided service requests
[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-4.19/net/caif/
Dcfsrvl.c31 struct cfsrvl *service = container_obj(layr); in cfservl_ctrlcmd() local
38 service->open = true; in cfservl_ctrlcmd()
43 service->open = false; in cfservl_ctrlcmd()
47 if (phyid != service->dev_info.id) in cfservl_ctrlcmd()
49 if (service->modem_flow_on) in cfservl_ctrlcmd()
52 service->phy_flow_on = false; in cfservl_ctrlcmd()
55 if (phyid != service->dev_info.id) in cfservl_ctrlcmd()
57 if (service->modem_flow_on) { in cfservl_ctrlcmd()
62 service->phy_flow_on = true; in cfservl_ctrlcmd()
65 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_major, in dal_gpio_service_create()
76 if (!dal_hw_factory_init(&service->factory, dce_version_major, 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-4.19/drivers/crypto/qat/qat_common/
Dadf_init.c58 static void adf_service_add(struct service_hndl *service) in adf_service_add() argument
61 list_add(&service->list, &service_table); in adf_service_add()
65 int adf_service_register(struct service_hndl *service) in adf_service_register() argument
67 memset(service->init_status, 0, sizeof(service->init_status)); in adf_service_register()
68 memset(service->start_status, 0, sizeof(service->start_status)); in adf_service_register()
69 adf_service_add(service); in adf_service_register()
73 static void adf_service_remove(struct service_hndl *service) in adf_service_remove() argument
76 list_del(&service->list); in adf_service_remove()
80 int adf_service_unregister(struct service_hndl *service) in adf_service_unregister() argument
84 for (i = 0; i < ARRAY_SIZE(service->init_status); i++) { in adf_service_unregister()
[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-4.19/drivers/gpu/drm/amd/display/dc/gpio/
Dgpio_service.c58 struct gpio_service *service; in dal_gpio_service_create() local
62 service = kzalloc(sizeof(struct gpio_service), GFP_KERNEL); in dal_gpio_service_create()
64 if (!service) { in dal_gpio_service_create()
69 if (!dal_hw_translate_init(&service->translate, dce_version_major, in dal_gpio_service_create()
75 if (!dal_hw_factory_init(&service->factory, dce_version_major, in dal_gpio_service_create()
86 service->ctx = ctx; in dal_gpio_service_create()
90 service->factory.number_of_pins[index_of_id]; in dal_gpio_service_create()
118 service->busyness[index_of_id] = slot; in dal_gpio_service_create()
124 return service; in dal_gpio_service_create()
132 slot = service->busyness[index_of_id]; in dal_gpio_service_create()
[all …]
/kernel/linux/linux-4.19/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
213 * by the BIOS and the hot-plug service driver is not loaded. in get_port_device_capability()
226 * BIOS (the AER service driver will enable it when necessary). in get_port_device_capability()
243 * by the BIOS (the PME service driver will enable it when in get_port_device_capability()
257 * pcie_device_init - allocate and initialize PCI Express port service device
258 * @pdev: PCI Express port to associate the service device with
259 * @service: Type of service to associate with the service device
260 * @irq: Interrupt vector to associate with the service device
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dqrtr.h13 TP_PROTO(__le32 service, __le32 instance, __le32 node, __le32 port),
15 TP_ARGS(service, instance, node, port),
18 __field(__le32, service)
25 __entry->service = service;
32 __entry->service, __entry->instance, __entry->node,
39 TP_PROTO(__le32 service, __le32 instance, __le32 node, __le32 port),
41 TP_ARGS(service, instance, node, port),
44 __field(__le32, service)
51 __entry->service = service;
58 __entry->service, __entry->instance, __entry->node,
[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/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-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-4.19/block/
Dbfq-wf2q.c59 * expiration of the in-service entity
178 * as it must never become an in-service entity. in bfq_update_parent_budget()
192 * service, according to the restrictive definition of the field
194 * entity that is about to be set in service.
197 * next service according to the that definition, because entity is
198 * about to become the in-service queue. This function then returns
201 * In contrast, entity could still be a candidate for next service if
203 * even if one of its children is about to be set in service, other
206 * non-queue entity is not a candidate for next-service only if it has
222 * not account for the in-service entity in case the latter is in bfq_no_longer_next_in_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-4.19/Documentation/device-mapper/
Ddm-service-time.txt1 dm-service-time
4 dm-service-time is a path selector module for device-mapper targets,
5 which selects a path with the shortest estimated service time for
8 The service time for each path is estimated by dividing the total size
13 The path selector name is 'service-time'.
39 dm-service-time adds the I/O size to 'in-flight-size' when the I/O is
41 Basically, dm-service-time selects a path having minimum service time
59 If such optimizations can't be applied, calculate service time, and
60 compare service time.
61 If calculated service time is equal, the path having maximum
[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 …]
/kernel/linux/linux-5.10/Documentation/admin-guide/device-mapper/
Ddm-service-time.rst2 dm-service-time
5 dm-service-time is a path selector module for device-mapper targets,
6 which selects a path with the shortest estimated service time for
9 The service time for each path is estimated by dividing the total size
14 The path selector name is 'service-time'.
49 dm-service-time adds the I/O size to 'in-flight-size' when the I/O is
51 Basically, dm-service-time selects a path having minimum service time
69 If such optimizations can't be applied, calculate service time, and
70 compare service time.
71 If calculated service time is equal, the path having maximum
[all …]
/kernel/linux/linux-5.10/net/qrtr/
Dns.c43 unsigned int service; member
49 unsigned int service; member
57 unsigned int service; member
96 if (f->service != 0 && srv->service != f->service) in server_match()
111 trace_qrtr_ns_service_announce_new(srv->service, srv->instance, in service_announce_new()
119 pkt.server.service = cpu_to_le32(srv->service); in service_announce_new()
138 trace_qrtr_ns_service_announce_del(srv->service, srv->instance, in service_announce_del()
146 pkt.server.service = cpu_to_le32(srv->service); in service_announce_del()
156 pr_err("failed to announce del service\n"); in service_announce_del()
176 pkt.server.service = cpu_to_le32(srv->service); in lookup_notify()
[all …]
/kernel/linux/linux-5.10/drivers/firmware/
Dstratix10-svc.c26 * SVC_NUM_CHANNEL - number of channel supported by service layer driver
33 * service layer will return error to FPGA manager when timeout occurs,
41 /* stratix10 service layer clients */
59 * struct stratix10_svc_sh_memory - service shared memory structure
69 * Service layer driver uses the physical address and size to create a memory
70 * pool, then allocates data buffer from that memory pool for service client.
80 * struct stratix10_svc_data_mem - service memory structure
87 * been allocated or freed from the memory pool. Service layer driver also
98 * struct stratix10_svc_data - service data structure
99 * @chan: service channel
[all …]

12345678910>>...109