| /linux/drivers/platform/raspberrypi/vchiq-interface/ |
| H A D | vchiq_core.c | 87 #define VCHIQ_SERVICE_STATS_INC(service, stat) (service->stats. stat++) argument 88 #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) \ argument 89 (service->stats. stat += addend) 92 #define VCHIQ_SERVICE_STATS_INC(service, stat) ((void)0) argument 93 #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) ((void)0) argument 221 set_service_state(struct vchiq_service *service, int newstate) in set_service_state() argument 223 dev_dbg(service->state->dev, "core: %d: srv:%d %s->%s\n", in set_service_state() 224 service->state->id, service->localport, in set_service_state() 225 srvstate_names[service->srvstate], in set_service_state() 227 service->srvstate = newstate; in set_service_state() [all …]
|
| H A D | vchiq_dev.c | 51 dev_dbg(user_service->service->state->dev, in close_delivered() 52 "arm: (handle=%x)\n", 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, ¶ms, 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() [all …]
|
| H A D | vchiq_arm.c | 102 * This use count is not associated with a service, so needs to be 454 struct vchiq_service *service = NULL; in vchiq_add_service() local 463 service = vchiq_add_service_internal(state, params, srvstate, instance, NULL); in vchiq_add_service() 465 if (service) { in vchiq_add_service() 466 *phandle = service->handle; in vchiq_add_service() 483 struct vchiq_service *service = NULL; in vchiq_open_service() local 491 service = vchiq_add_service_internal(state, params, VCHIQ_SRVSTATE_OPENING, instance, NULL); in vchiq_open_service() 493 if (service) { in vchiq_open_service() 494 *phandle = service->handle; in vchiq_open_service() 495 ret = vchiq_open_service_internal(service, current->pid); in vchiq_open_service() [all …]
|
| /linux/drivers/gpu/drm/xe/tests/ |
| H A D | xe_sriov_pf_service_kunit.c | 33 KUNIT_ASSERT_NE(test, 0, xe->sriov.pf.service.version.base.major); in pf_service_test_init() 34 KUNIT_ASSERT_NE(test, 0, xe->sriov.pf.service.version.latest.major); in pf_service_test_init() 35 KUNIT_ASSERT_LE(test, xe->sriov.pf.service.version.base.major, in pf_service_test_init() 36 xe->sriov.pf.service.version.latest.major); in pf_service_test_init() 37 if (xe->sriov.pf.service.version.base.major == xe->sriov.pf.service.version.latest.major) in pf_service_test_init() 38 KUNIT_ASSERT_LE(test, xe->sriov.pf.service.version.base.minor, in pf_service_test_init() 39 xe->sriov.pf.service.version.latest.minor); in pf_service_test_init() 52 KUNIT_ASSERT_EQ(test, major, xe->sriov.pf.service.version.latest.major); in pf_negotiate_any() 53 KUNIT_ASSERT_EQ(test, minor, xe->sriov.pf.service.version.latest.minor); in pf_negotiate_any() 63 xe->sriov.pf.service.version.base.major, in pf_negotiate_base_match() [all …]
|
| /linux/drivers/gpu/drm/amd/display/dc/gpio/ |
| H A D | gpio_service.c | 58 struct gpio_service *service; in dal_gpio_service_create() local 61 service = kzalloc_obj(struct gpio_service); 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 …]
|
| H A D | gpio_base.c | 111 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/Documentation/PCI/ |
| H A D | pciebus-howto.rst | 15 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/include/trace/events/ |
| H A D | qrtr.h | 13 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 [all...] |
| /linux/block/ |
| H A D | bfq-wf2q.c | 56 * 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 …]
|
| /linux/drivers/pci/pcie/ |
| H A D | portdrv.c | 32 #define get_descriptor_id(type, service) (((type - 4) << 8) | service) argument 37 u32 service; member 41 * release_pcie_device - free PCI Express port service device structure 42 * @dev: Port service device to release 231 * by the BIOS and the hot-plug service driver won't be loaded in get_port_device_capability() 255 * by the BIOS (the PME service driver will enable it when in get_port_device_capability() 285 * pcie_device_init - allocate and initialize PCI Express port service device 286 * @pdev: PCI Express port to associate the service device with 287 * @service: Type of service to associate with the service device 288 * @irq: Interrupt vector to associate with the service device [all …]
|
| /linux/include/linux/raspberrypi/ |
| H A D | vchiq.h | 11 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 unsigned int service); 92 extern int vchiq_use_service(struct vchiq_instance *instance, unsigned int service); 94 unsigned int service); [all …]
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | dm-service-time.rst | 2 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/net/tipc/ |
| H A D | name_table.c | 52 * struct service_range - container for all bindings of a service range 53 * @lower: service range lower bound 54 * @upper: service range upper bound 55 * @tree_node: member of service range RB tree 72 * struct tipc_service - container for all published instances of a service type 73 * @type: 32 bit 'type' value for service 74 * @publ_cnt: increasing counter for publications in this service 75 * @ranges: rb tree containing all service ranges for this service 77 * @subscriptions: list of subscriptions for this service type 78 * @lock: spinlock controlling access to pertaining service ranges/publications [all …]
|
| /linux/net/qrtr/ |
| H A D | ns.c | 46 unsigned int service; member 52 unsigned int service; member 60 unsigned int service; member 121 if (f->service != 0 && srv->service != f->service) in server_match() 136 trace_qrtr_ns_service_announce_new(srv->service, srv->instance, in service_announce_new() 144 pkt.server.service = cpu_to_le32(srv->service); in service_announce_new() 163 trace_qrtr_ns_service_announce_del(srv->service, srv->instance, in service_announce_del() 171 pkt.server.service = cpu_to_le32(srv->service); in service_announce_del() 181 pr_err("failed to announce del service\n"); in service_announce_del() 201 pkt.server.service = cpu_to_le32(srv->service); in lookup_notify() [all …]
|
| /linux/include/uapi/linux/ |
| H A D | ip_vs.h | 19 * Virtual Service Flags 139 /* virtual service addresses */ 143 __u32 fwmark; /* firwall mark of service */ 145 /* virtual service options */ 147 unsigned int flags; /* virtual service flags */ 201 /* which service: user fills in these */ 205 __u32 fwmark; /* firwall mark of service */ 207 /* service options */ 209 unsigned int flags; /* virtual service flags */ 241 /* which service: user fills in these */ [all …]
|
| /linux/include/linux/rpmsg/ |
| H A D | ns.h | 12 * struct rpmsg_ns_msg - dynamic name service announcement message 13 * @name: name of remote service that is published 14 * @addr: address of remote service that is published 15 * @flags: indicates whether service is created or destroyed 17 * This message is sent across to publish a new service, or announce 30 * enum rpmsg_ns_flags - dynamic name service announcement flags 32 * @RPMSG_NS_CREATE: a new remote service was just created 33 * @RPMSG_NS_DESTROY: a known remote service was just destroyed
|
| /linux/drivers/firmware/ |
| H A D | stratix10-svc.c | 30 * SVC_NUM_CHANNEL - number of channel supported by service layer driver 37 * service layer will return error to FPGA manager when timeout occurs, 46 /* stratix10 service layer clients */ 51 /* Client ID for SIP Service Version 1. */ 73 /* Transaction ID mask for Stratix10 service layer */ 113 * struct stratix10_svc_sh_memory - service shared memory structure 117 * @invoke_fn: service clients to handle secure monitor or hypervisor calls 123 * Service layer driver uses the physical address and size to create a memory 124 * pool, then allocates data buffer from that memory pool for service client. 134 * struct stratix10_svc_data_mem - service memory structure [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_sriov_pf_service.c | 17 * xe_sriov_pf_service_init - Early initialization of the SR-IOV PF service. 20 * Performs early initialization of the SR-IOV PF service. 32 xe->sriov.pf.service.version.base.major = GUC_RELAY_VERSION_BASE_MAJOR; in xe_sriov_pf_service_init() 33 xe->sriov.pf.service.version.base.minor = GUC_RELAY_VERSION_BASE_MINOR; in xe_sriov_pf_service_init() 36 xe->sriov.pf.service.version.latest.major = GUC_RELAY_VERSION_LATEST_MAJOR; in xe_sriov_pf_service_init() 37 xe->sriov.pf.service.version.latest.minor = GUC_RELAY_VERSION_LATEST_MINOR; in xe_sriov_pf_service_init() 45 struct xe_sriov_pf_service_version base = xe->sriov.pf.service.version.base; in pf_negotiate_version() 46 struct xe_sriov_pf_service_version latest = xe->sriov.pf.service.version.latest; in pf_negotiate_version() 111 * Performs early initialization of the SR-IOV PF service. 129 * @wanted_major: the major service version expected by the VF [all …]
|
| /linux/drivers/soc/qcom/ |
| H A D | qcom_pd_mapper.c | 54 struct qcom_pdm_service *service; in qcom_pdm_find() local 56 list_for_each_entry(service, &data->services, list) { in qcom_pdm_find() 57 if (!strcmp(service->name, name)) in qcom_pdm_find() 58 return service; in qcom_pdm_find() 69 struct qcom_pdm_service *service; in qcom_pdm_add_service_domain() local 72 service = qcom_pdm_find(data, service_name); in qcom_pdm_add_service_domain() 73 if (service) { in qcom_pdm_add_service_domain() 74 list_for_each_entry(domain, &service->domains, list) { in qcom_pdm_add_service_domain() 79 service = kzalloc_obj(*service); in qcom_pdm_add_service_domain() 80 if (!service) in qcom_pdm_add_service_domain() [all …]
|
| H A D | qmi_interface.c | 24 * @service: service id of the new server 30 * server matching the currently registered service lookup. 33 unsigned int service, unsigned int instance, in qmi_recv_new_server() argument 51 svc->service = service; in qmi_recv_new_server() 147 le32_to_cpu(pkt->server.service), in qmi_recv_ctrl_pkt() 175 pkt.server.service = cpu_to_le32(svc->service); in qmi_send_new_lookup() 195 * qmi_add_lookup() - register a new lookup with the name service 197 * @service: service id of the request 207 int qmi_add_lookup(struct qmi_handle *qmi, unsigned int service, in qmi_add_lookup() argument 216 svc->service = service; in qmi_add_lookup() [all …]
|
| /linux/drivers/virt/acrn/ |
| H A D | hypercall.h | 53 * hcall_sos_remove_cpu() - Remove a vCPU of Service VM 65 * @vminfo: Service VM GPA of info of User VM creation 121 * @regs_state: Service VM GPA of registers state 133 * @msi: Service VM GPA of MSI message 145 * @addr: Service VM GPA of the shared page 157 * @op: Service VM GPA of interrupt line operations 169 * @buffer: Service VM GPA of the shared buffer 192 * @regions_pa: Service VM GPA of &struct vm_memory_region_batch 204 * @addr: Service VM GPA of the &struct acrn_vdev 216 * @addr: Service VM GPA of the &struct acrn_vdev [all …]
|
| /linux/include/net/ |
| H A D | nsh.h | 7 * Network Service Header: 13 * | Service Path Identifier (SPI) | Service Index | 49 * for service plane loop detection. The initial TTL value SHOULD be 66 * Header, the Service Path Header, the Fixed Length Context Header or 74 * and the Service Path Header. MD Type defines the format of the 84 * Service Path Header, but may contain optional variable length Context 95 * protocol remain unchanged due to NSH service function chaining. 115 * Service Path Identifier (SPI): Identifies a service path. 116 * Participating nodes MUST use this identifier for Service Function 120 * Service Index (SI): Provides location within the SFP. The initial [all …]
|
| /linux/sound/arm/ |
| H A D | pxa2xx-ac97-regs.h | |
| /linux/drivers/firmware/qcom/ |
| H A D | qcom_pas.c | 18 * devm_qcom_pas_context_alloc() - Allocate peripheral authentication service 25 * @pas_id: peripheral authentication service id 52 * qcom_pas_init_image() - Initialize peripheral authentication service state 54 * @pas_id: peripheral authentication service id 93 * @pas_id: peripheral authentication service id 122 * be provided by TrustZone PAS service. 166 * @pas_id: peripheral authentication service id 212 * @pas_id: peripheral authentication service id 227 * @pas_id: peripheral authentication service id 241 * qcom_pas_supported() - Check if the peripheral authentication service is [all …]
|
| /linux/net/ceph/ |
| H A D | auth_x.c | 156 get_ticket_handler(struct ceph_auth_client *ac, int service) in get_ticket_handler() argument 165 if (service < th->service) in get_ticket_handler() 167 else if (service > th->service) in get_ticket_handler() 177 th->service = service; in get_ticket_handler() 188 dout("remove_ticket_handler %p %d\n", th, th->service); in remove_ticket_handler() 262 /* ticket blob for service */ in process_one_ticket() 302 dout(" got ticket service %d (%s) secret_id %lld len %d\n", in process_one_ticket() 305 xi->have_keys |= th->service; in process_one_ticket() 410 ceph_entity_type_name(th->service), au); in ceph_x_build_authorizer() 436 au->service = th->service; in ceph_x_build_authorizer() [all …]
|