Home
last modified time | relevance | path

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

12345678910>>...14

/linux-6.1.9/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.c783 struct vchiq_service *service = NULL; in vchiq_add_service() local
792 service = vchiq_add_service_internal(state, params, srvstate, instance, NULL); in vchiq_add_service()
794 if (service) { in vchiq_add_service()
795 *phandle = service->handle; in vchiq_add_service()
813 struct vchiq_service *service = NULL; in vchiq_open_service() local
820 service = vchiq_add_service_internal(state, params, VCHIQ_SRVSTATE_OPENING, instance, NULL); in vchiq_open_service()
822 if (service) { in vchiq_open_service()
823 *phandle = service->handle; in vchiq_open_service()
824 status = vchiq_open_service_internal(service, current->pid); in vchiq_open_service()
826 vchiq_remove_service(instance, service->handle); in vchiq_open_service()
[all …]
Dvchiq_core.h471 vchiq_open_service_internal(struct vchiq_service *service, int client_id);
474 vchiq_close_service_internal(struct vchiq_service *service, int close_recvd);
477 vchiq_terminate_service_internal(struct vchiq_service *service);
480 vchiq_free_service_internal(struct vchiq_service *service);
497 vchiq_dump_service_state(void *dump_context, struct vchiq_service *service);
506 request_poll(struct vchiq_state *state, struct vchiq_service *service,
534 vchiq_service_get(struct vchiq_service *service);
537 vchiq_service_put(struct vchiq_service *service);
559 int vchiq_dump_platform_service_state(void *dump_context, struct vchiq_service *service);
561 int vchiq_use_service_internal(struct vchiq_service *service);
[all …]
/linux-6.1.9/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()
/linux-6.1.9/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.1.9/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 …]
/linux-6.1.9/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 …]
/linux-6.1.9/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.1.9/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()
176 pkt.server.service = cpu_to_le32(srv->service); in lookup_notify()
229 static struct qrtr_server *server_add(unsigned int service, in server_add() argument
[all …]
/linux-6.1.9/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.1.9/drivers/pci/pcie/
Dportdrv_core.c25 u32 service; member
270 static int pcie_device_init(struct pci_dev *pdev, int service, int irq) in pcie_device_init() argument
281 pcie->service = service; in pcie_device_init()
289 get_descriptor_id(pci_pcie_type(pdev), service)); in pcie_device_init()
345 int service = 1 << i; in pcie_port_device_register() local
346 if (!(capabilities & service)) in pcie_port_device_register()
348 if (!pcie_device_init(dev, service, irqs[i])) in pcie_port_device_register()
439 u32 service; in find_service_iter() local
442 service = pdrvs->service; in find_service_iter()
446 if (service_driver->service == service) { in find_service_iter()
[all …]
Dportdrv.h62 u32 service; /* Port service this device represents */ member
91 u32 service; /* Port service this device represents */ member
108 #define get_descriptor_id(type, service) (((type - 4) << 8) | service) argument
144 struct device *pcie_port_find_device(struct pci_dev *dev, u32 service);
/linux-6.1.9/drivers/staging/vc04_services/include/linux/raspberrypi/
Dvchiq.h96 unsigned int service);
97 extern enum vchiq_status vchiq_use_service(struct vchiq_instance *instance, unsigned int service);
99 unsigned int service);
102 extern void vchiq_release_message(struct vchiq_instance *instance, unsigned int service,
106 extern enum vchiq_status vchiq_bulk_transmit(struct vchiq_instance *instance, unsigned int service,
109 extern enum vchiq_status vchiq_bulk_receive(struct vchiq_instance *instance, unsigned int service,
112 extern void *vchiq_get_service_userdata(struct vchiq_instance *instance, unsigned int service);
/linux-6.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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.1.9/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>>...14