Home
last modified time | relevance | path

Searched refs:service (Results 1 – 25 of 345) sorted by relevance

12345678910>>...14

/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 …]
Dvchiq_core.h145 #define VCHIQ_SERVICE_STATS_INC(service, stat) (service->stats. stat++) argument
146 #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) \ argument
147 (service->stats. stat += addend)
150 #define VCHIQ_SERVICE_STATS_INC(service, stat) ((void)0) argument
151 #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) ((void)0) argument
544 vchiq_open_service_internal(struct vchiq_service *service, int client_id);
547 vchiq_close_service_internal(struct vchiq_service *service, int close_recvd);
550 vchiq_terminate_service_internal(struct vchiq_service *service);
553 vchiq_free_service_internal(struct vchiq_service *service);
570 vchiq_dump_service_state(void *dump_context, struct vchiq_service *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-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 …]
Dcfutill.c43 struct cfsrvl *service = container_obj(layr); in cfutill_receive() local
68 service->open = false; in cfutill_receive()
83 struct cfsrvl *service = container_obj(layr); in cfutill_transmit() local
88 if (!cfsrvl_ready(service, &ret)) { in cfutill_transmit()
96 info->channel_id = service->layer.id; in cfutill_transmit()
102 info->dev_info = &service->dev_info; in cfutill_transmit()
Dcfdbgl.c40 struct cfsrvl *service = container_obj(layr); in cfdbgl_transmit() local
44 if (!cfsrvl_ready(service, &ret)) { in cfdbgl_transmit()
51 info->channel_id = service->layer.id; in cfdbgl_transmit()
52 info->dev_info = &service->dev_info; in cfdbgl_transmit()
/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 …]
Dgpio_base.c113 return dal_gpio_service_lock(gpio->service, gpio->id, gpio->en); in dal_gpio_lock_pin()
119 return dal_gpio_service_unlock(gpio->service, gpio->id, gpio->en); in dal_gpio_unlock_pin()
162 return gpio->service->translate.funcs->id_to_offset( in dal_gpio_get_pin_info()
259 dal_gpio_service_close(gpio->service, &gpio->pin); in dal_gpio_close()
270 struct gpio_service *service, in dal_gpio_create() argument
282 gpio->service = service; in dal_gpio_create()
292 gpio->service->factory.funcs->init_ddc_data(&gpio->hw_container.ddc, service->ctx, id, en); in dal_gpio_create()
295 gpio->service->factory.funcs->init_ddc_data(&gpio->hw_container.ddc, service->ctx, id, en); in dal_gpio_create()
298 gpio->service->factory.funcs->init_generic(&gpio->hw_container.generic, service->ctx, id, en); in dal_gpio_create()
301 gpio->service->factory.funcs->init_hpd(&gpio->hw_container.hpd, service->ctx, id, en); in dal_gpio_create()
/kernel/linux/common_modules/tzdriver/core/
Dsession_manager.c88 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()
106 *(uint32_t *)service->uuid); in put_service_struct()
107 list_del(&service->head); in put_service_struct()
[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-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-5.10/net/qrtr/
Dns.c43 unsigned int service; member
49 unsigned int service; member
57 unsigned int service; member
99 if (f->service != 0 && srv->service != f->service) in server_match()
114 trace_qrtr_ns_service_announce_new(srv->service, srv->instance, in service_announce_new()
122 pkt.server.service = cpu_to_le32(srv->service); in service_announce_new()
141 trace_qrtr_ns_service_announce_del(srv->service, srv->instance, in service_announce_del()
149 pkt.server.service = cpu_to_le32(srv->service); in service_announce_del()
179 pkt.server.service = cpu_to_le32(srv->service); in lookup_notify()
232 static struct qrtr_server *server_add(unsigned int service, in server_add() argument
[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/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
51 Definition: Must list the protection domain service name and path
52 that the particular apr service has a dependency on.
68 apr-service@3 {
73 apr-service@4 {
85 apr-service@7 {
91 apr-service@8 {
109 apr-service@3 {
114 q6afe: apr-service@4 {
[all …]
/kernel/linux/linux-5.10/drivers/staging/vc04_services/include/linux/raspberrypi/
Dvchiq.h91 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);
95 extern void vchiq_release_message(unsigned int service,
99 extern enum vchiq_status vchiq_bulk_transmit(unsigned int service,
102 extern enum vchiq_status vchiq_bulk_receive(unsigned int service,
105 extern void *vchiq_get_service_userdata(unsigned int service);
/kernel/linux/linux-5.10/drivers/pci/pcie/
Dportdrv_core.c25 u32 service; member
280 static int pcie_device_init(struct pci_dev *pdev, int service, int irq) in pcie_device_init() argument
291 pcie->service = service; in pcie_device_init()
299 get_descriptor_id(pci_pcie_type(pdev), service)); in pcie_device_init()
355 int service = 1 << i; in pcie_port_device_register() local
356 if (!(capabilities & service)) in pcie_port_device_register()
358 if (!pcie_device_init(dev, service, irqs[i])) in pcie_port_device_register()
449 u32 service; in find_service_iter() local
452 service = pdrvs->service; in find_service_iter()
456 if (service_driver->service == service) { in find_service_iter()
[all …]
Dportdrv.h62 u32 service; /* Port service this device represents */ member
92 u32 service; /* Port service this device represents */ member
109 #define get_descriptor_id(type, service) (((type - 4) << 8) | service) argument
146 struct device *pcie_port_find_device(struct pci_dev *dev, u32 service);
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/include/
Dgpio_service_interface.h36 struct gpio_service *service,
50 struct gpio_service *service,
55 struct gpio_service *service,
67 struct gpio_service *service,
72 struct gpio_service *service,
94 struct gpio_service *service,
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dqcom,q6core.txt1 Qualcomm ADSP Core service binding
3 Q6CORE is one of the APR audio service on Q6DSP.
4 Please refer to qcom,apr.txt for details of the common apr service bindings
5 used by the apr service device.
18 apr-service@3 {
/kernel/linux/linux-5.10/drivers/s390/char/
Dtape_3590.c959 char *exception, *service; in tape_3590_print_mim_msg_f0() local
962 service = kmalloc(BUFSIZE, GFP_ATOMIC); in tape_3590_print_mim_msg_f0()
964 if (!exception || !service) in tape_3590_print_mim_msg_f0()
999 snprintf(service, BUFSIZE, "Reference Media maintenance " in tape_3590_print_mim_msg_f0()
1003 snprintf(service, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0()
1009 "service %s\n", exception, service); in tape_3590_print_mim_msg_f0()
1013 kfree(service); in tape_3590_print_mim_msg_f0()
1023 char *exception, *service; in tape_3590_print_io_sim_msg_f1() local
1026 service = kmalloc(BUFSIZE, GFP_ATOMIC); in tape_3590_print_io_sim_msg_f1()
1028 if (!exception || !service) in tape_3590_print_io_sim_msg_f1()
[all …]
/kernel/linux/linux-5.10/net/tipc/
Dname_table.c253 struct tipc_service *service = kzalloc(sizeof(*service), GFP_ATOMIC); in tipc_service_create() local
255 if (!service) { in tipc_service_create()
260 spin_lock_init(&service->lock); in tipc_service_create()
261 service->type = type; in tipc_service_create()
262 service->ranges = RB_ROOT; in tipc_service_create()
263 INIT_HLIST_NODE(&service->service_list); in tipc_service_create()
264 INIT_LIST_HEAD(&service->subscriptions); in tipc_service_create()
265 hlist_add_head_rcu(&service->service_list, hd); in tipc_service_create()
266 return service; in tipc_service_create()
399 static void tipc_service_subscribe(struct tipc_service *service, in tipc_service_subscribe() argument
[all …]
/kernel/linux/linux-5.10/arch/powerpc/boot/
Doflib.c20 __be32 service; /* Address of service name string. */ member
41 int of_call_prom(const char *service, int nargs, int nret, ...) in of_call_prom() argument
47 args.service = cpu_to_be32(ADDR(service)); in of_call_prom()
65 static int of_call_prom_ret(const char *service, int nargs, int nret, in of_call_prom_ret() argument
72 args.service = cpu_to_be32(ADDR(service)); in of_call_prom_ret()
/kernel/linux/linux-5.10/drivers/crypto/virtio/
Dvirtio_crypto_mgr.c184 struct virtio_crypto *virtcrypto_get_dev_node(int node, uint32_t service, in virtcrypto_get_dev_node() argument
197 virtcrypto_algo_is_supported(tmp_dev, service, algo)) { in virtcrypto_get_dev_node()
214 service, algo)) { in virtcrypto_get_dev_node()
278 uint32_t service, in virtcrypto_algo_is_supported() argument
281 uint32_t service_mask = 1u << service; in virtcrypto_algo_is_supported()
293 switch (service) { in virtcrypto_algo_is_supported()
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
Dgss_mech_switch.c237 u32 service) in gss_svc_to_pseudoflavor() argument
243 gm->gm_pfs[i].service == service) { in gss_svc_to_pseudoflavor()
266 pseudoflavor = gss_svc_to_pseudoflavor(gm, info->qop, info->service); in gss_mech_info2flavor()
295 info->service = gm->gm_pfs[i].service; in gss_mech_flavor2info()
312 return gm->gm_pfs[i].service; in gss_pseudoflavor_to_service()
331 gss_service_to_auth_domain_name(struct gss_api_mech *gm, u32 service) in gss_service_to_auth_domain_name() argument
336 if (gm->gm_pfs[i].service == service) in gss_service_to_auth_domain_name()

12345678910>>...14