Home
last modified time | relevance | path

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

12345678910>>...15

/linux-6.6.21/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()
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()
208 struct vchiq_service *service; in vchiq_ioc_dequeue_message() local
[all …]
Dvchiq_arm.c789 struct vchiq_service *service = NULL; in vchiq_add_service() local
798 service = vchiq_add_service_internal(state, params, srvstate, instance, NULL); in vchiq_add_service()
800 if (service) { in vchiq_add_service()
801 *phandle = service->handle; in vchiq_add_service()
819 struct vchiq_service *service = NULL; in vchiq_open_service() local
826 service = vchiq_add_service_internal(state, params, VCHIQ_SRVSTATE_OPENING, instance, NULL); in vchiq_open_service()
828 if (service) { in vchiq_open_service()
829 *phandle = service->handle; in vchiq_open_service()
830 status = vchiq_open_service_internal(service, current->pid); in vchiq_open_service()
832 vchiq_remove_service(instance, service->handle); in vchiq_open_service()
[all …]
Dvchiq_core.h489 vchiq_open_service_internal(struct vchiq_service *service, int client_id);
492 vchiq_close_service_internal(struct vchiq_service *service, int close_recvd);
495 vchiq_terminate_service_internal(struct vchiq_service *service);
498 vchiq_free_service_internal(struct vchiq_service *service);
515 vchiq_dump_service_state(void *dump_context, struct vchiq_service *service);
524 request_poll(struct vchiq_state *state, struct vchiq_service *service,
552 vchiq_service_get(struct vchiq_service *service);
555 vchiq_service_put(struct vchiq_service *service);
577 int vchiq_dump_platform_service_state(void *dump_context, struct vchiq_service *service);
579 int vchiq_use_service_internal(struct vchiq_service *service);
[all …]
/linux-6.6.21/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()
Dcfvidl.c49 struct cfsrvl *service = container_obj(layr); in cfvidl_transmit() local
54 if (!cfsrvl_ready(service, &ret)) { in cfvidl_transmit()
62 info->channel_id = service->layer.id; in cfvidl_transmit()
63 info->dev_info = &service->dev_info; in cfvidl_transmit()
/linux-6.6.21/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 …]
Dgpio_base.c111 return dal_gpio_service_lock(gpio->service, gpio->id, gpio->en); in dal_gpio_lock_pin()
117 return dal_gpio_service_unlock(gpio->service, gpio->id, gpio->en); in dal_gpio_unlock_pin()
160 return gpio->service->translate.funcs->id_to_offset( in dal_gpio_get_pin_info()
257 dal_gpio_service_close(gpio->service, &gpio->pin); in dal_gpio_close()
268 struct gpio_service *service, in dal_gpio_create() argument
280 gpio->service = service; in dal_gpio_create()
290 gpio->service->factory.funcs->init_ddc_data(&gpio->hw_container.ddc, service->ctx, id, en); in dal_gpio_create()
293 gpio->service->factory.funcs->init_ddc_data(&gpio->hw_container.ddc, service->ctx, id, en); in dal_gpio_create()
296 gpio->service->factory.funcs->init_generic(&gpio->hw_container.generic, service->ctx, id, en); in dal_gpio_create()
299 gpio->service->factory.funcs->init_hpd(&gpio->hw_container.hpd, service->ctx, id, en); in dal_gpio_create()
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/net/qrtr/
Dns.c44 unsigned int service; member
50 unsigned int service; member
58 unsigned int service; member
101 if (f->service != 0 && srv->service != f->service) in server_match()
116 trace_qrtr_ns_service_announce_new(srv->service, srv->instance, in service_announce_new()
124 pkt.server.service = cpu_to_le32(srv->service); in service_announce_new()
143 trace_qrtr_ns_service_announce_del(srv->service, srv->instance, in service_announce_del()
151 pkt.server.service = cpu_to_le32(srv->service); in service_announce_del()
181 pkt.server.service = cpu_to_le32(srv->service); in lookup_notify()
217 static struct qrtr_server *server_add(unsigned int service, in server_add() argument
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/staging/vc04_services/include/linux/raspberrypi/
Dvchiq.h88 unsigned int service);
89 extern int vchiq_use_service(struct vchiq_instance *instance, unsigned int service);
91 unsigned int service);
94 extern void vchiq_release_message(struct vchiq_instance *instance, unsigned int service,
98 extern int vchiq_bulk_transmit(struct vchiq_instance *instance, unsigned int service,
101 extern int vchiq_bulk_receive(struct vchiq_instance *instance, unsigned int service,
104 extern void *vchiq_get_service_userdata(struct vchiq_instance *instance, unsigned int service);
/linux-6.6.21/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,
/linux-6.6.21/drivers/pci/pcie/
Dportdrv.c31 #define get_descriptor_id(type, service) (((type - 4) << 8) | service) argument
36 u32 service; member
285 static int pcie_device_init(struct pci_dev *pdev, int service, int irq) in pcie_device_init() argument
296 pcie->service = service; in pcie_device_init()
304 get_descriptor_id(pci_pcie_type(pdev), service)); in pcie_device_init()
360 int service = 1 << i; in pcie_port_device_register() local
361 if (!(capabilities & service)) in pcie_port_device_register()
363 if (!pcie_device_init(dev, service, irqs[i])) in pcie_port_device_register()
454 u32 service; in find_service_iter() local
457 service = pdrvs->service; in find_service_iter()
[all …]
/linux-6.6.21/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 …]
/linux-6.6.21/net/tipc/
Dname_table.c261 struct tipc_service *service; in tipc_service_create() local
264 service = kzalloc(sizeof(*service), GFP_ATOMIC); in tipc_service_create()
265 if (!service) { in tipc_service_create()
270 spin_lock_init(&service->lock); in tipc_service_create()
271 service->type = ua->sr.type; in tipc_service_create()
272 service->ranges = RB_ROOT; in tipc_service_create()
273 INIT_HLIST_NODE(&service->service_list); in tipc_service_create()
274 INIT_LIST_HEAD(&service->subscriptions); in tipc_service_create()
276 hlist_add_head_rcu(&service->service_list, hd); in tipc_service_create()
277 return service; in tipc_service_create()
[all …]
/linux-6.6.21/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()
/linux-6.6.21/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()
/linux-6.6.21/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()
285 uint32_t service, in virtcrypto_algo_is_supported() argument
288 uint32_t service_mask = 1u << service; in virtcrypto_algo_is_supported()
300 switch (service) { in virtcrypto_algo_is_supported()
/linux-6.6.21/net/ceph/
Dauth_x.c120 get_ticket_handler(struct ceph_auth_client *ac, int service) in get_ticket_handler() argument
129 if (service < th->service) in get_ticket_handler()
131 else if (service > th->service) in get_ticket_handler()
141 th->service = service; in get_ticket_handler()
152 dout("remove_ticket_handler %p %d\n", th, th->service); in remove_ticket_handler()
260 xi->have_keys |= th->service; in process_one_ticket()
363 ceph_entity_type_name(th->service), au); in ceph_x_build_authorizer()
384 au->service = th->service; in ceph_x_build_authorizer()
391 msg_a->service_id = cpu_to_le32(th->service); in ceph_x_build_authorizer()
450 dout("ticket %d (%s) secret_id %llu expired\n", th->service, in have_key()
[all …]
/linux-6.6.21/net/rxrpc/
Dserver_key.c52 unsigned long service, sec_class; in rxrpc_vet_description_s() local
55 service = simple_strtoul(desc, &p, 10); in rxrpc_vet_description_s()
56 if (*p != ':' || service > 65535) in rxrpc_vet_description_s()
70 unsigned int service, sec_class; in rxrpc_preparse_s() local
78 if (sscanf(prep->orig_description, "%u:%u%n", &service, &sec_class, &n) != 2) in rxrpc_preparse_s()

12345678910>>...15