service             2 arch/arm/mach-tango/smc.h extern int tango_smc(unsigned int val, unsigned int service);
service            11 arch/powerpc/boot/of.h int of_call_prom(const char *service, int nargs, int nret, ...);
service            20 arch/powerpc/boot/oflib.c 	__be32 service;	/* Address of service name string. */
service            41 arch/powerpc/boot/oflib.c int of_call_prom(const char *service, int nargs, int nret, ...)
service            47 arch/powerpc/boot/oflib.c 	args.service = cpu_to_be32(ADDR(service));
service            65 arch/powerpc/boot/oflib.c static int of_call_prom_ret(const char *service, int nargs, int nret,
service            72 arch/powerpc/boot/oflib.c 	args.service = cpu_to_be32(ADDR(service));
service           352 arch/powerpc/include/asm/rtas.h extern int rtas_token(const char *service);
service           353 arch/powerpc/include/asm/rtas.h extern int rtas_service_present(const char *service);
service           111 arch/powerpc/kernel/prom_init.c         __be32 service;
service           361 arch/powerpc/kernel/prom_init.c static int __init call_prom(const char *service, int nargs, int nret, ...)
service           367 arch/powerpc/kernel/prom_init.c 	args.service = cpu_to_be32(ADDR(service));
service           385 arch/powerpc/kernel/prom_init.c static int __init call_prom_ret(const char *service, int nargs, int nret,
service           392 arch/powerpc/kernel/prom_init.c 	args.service = cpu_to_be32(ADDR(service));
service           316 arch/powerpc/kernel/rtas.c int rtas_token(const char *service)
service           321 arch/powerpc/kernel/rtas.c 	tokp = of_get_property(rtas.dev, service, NULL);
service           326 arch/powerpc/kernel/rtas.c int rtas_service_present(const char *service)
service           328 arch/powerpc/kernel/rtas.c 	return rtas_token(service) != RTAS_UNKNOWN_SERVICE;
service            91 arch/x86/pci/pcbios.c static unsigned long __init bios32_service(unsigned long service)
service           105 arch/x86/pci/pcbios.c 		: "0" (service),
service           114 arch/x86/pci/pcbios.c 			printk(KERN_WARNING "bios32_service(0x%lx): not present\n", service);
service           118 arch/x86/pci/pcbios.c 				service, return_code);
service           959 block/bfq-iosched.c 			   entity->service);
service          1313 block/bfq-iosched.c 	return entity->budget - entity->service;
service          1490 block/bfq-iosched.c 		entity->service = 0;
service          1498 block/bfq-iosched.c 	entity->service = 0;
service          2192 block/bfq-iosched.c 			bfqq->entity.budget = bfqq->entity.service = 0;
service          3649 block/bfq-iosched.c 			budget = max_t(int, bfqq->entity.service, min_budget);
service          3770 block/bfq-iosched.c 		slow = bfqq->entity.service < bfqd->bfq_max_budget / 2;
service          3943 block/bfq-iosched.c 	    entity->service <= 2 * entity->budget / 10)
service          4022 block/bfq-iosched.c 		entity->service = 0;
service          4043 block/bfq-iosched.c 		entity->service = 0;
service           166 block/bfq-iosched.h 	int service;
service           278 block/bfq-wf2q.c static u64 bfq_delta(unsigned long service, unsigned long weight)
service           280 block/bfq-wf2q.c 	u64 d = (u64)service << WFQ_SERVICE_SHIFT;
service           291 block/bfq-wf2q.c static void bfq_calc_finish(struct bfq_entity *entity, unsigned long service)
service           296 block/bfq-wf2q.c 		bfq_delta(service, entity->weight);
service           301 block/bfq-wf2q.c 			service, entity->weight);
service           305 block/bfq-wf2q.c 			bfq_delta(service, entity->weight));
service           850 block/bfq-wf2q.c 		entity->service += served;
service           893 block/bfq-wf2q.c 	int tot_serv_to_charge = max(serv_to_charge_for_time, entity->service);
service           900 block/bfq-wf2q.c 			max_t(int, 0, tot_serv_to_charge - entity->service));
service          1075 block/bfq-wf2q.c 		bfq_calc_finish(entity, entity->service);
service          1191 block/bfq-wf2q.c 	bfq_calc_finish(entity, entity->service);
service          1201 block/bfq-wf2q.c 		entity->service = 0;
service           691 drivers/atm/eni.c 		vci = readl(eni_dev->service+eni_dev->serv_read*4);
service          1839 drivers/atm/eni.c 	eni_dev->service = eni_dev->tx_dma+NR_DMA_TX*8;
service          1840 drivers/atm/eni.c 	buf = eni_dev->service+NR_SERVICE*4;
service          1843 drivers/atm/eni.c 	     eni_dev->service,buf);
service            83 drivers/atm/eni.h 	void __iomem *service;		/* service list */
service           270 drivers/atm/lanai.c 	struct lanai_buffer service;
service          1581 drivers/atm/lanai.c 	lanai_buf_allocate(&lanai->service, SERVICE_ENTRIES * 4, 8,
service          1583 drivers/atm/lanai.c 	if (unlikely(lanai->service.start == NULL))
service          1586 drivers/atm/lanai.c 	    lanai->service.start,
service          1587 drivers/atm/lanai.c 	    lanai_buf_size(&lanai->service),
service          1588 drivers/atm/lanai.c 	    lanai_buf_size_cardorder(&lanai->service));
service          1593 drivers/atm/lanai.c 	    SSTUFF_SET_SIZE(lanai_buf_size_cardorder(&lanai->service)) |
service          1594 drivers/atm/lanai.c 	    SSTUFF_SET_ADDR(lanai->service.dmaaddr),
service          1601 drivers/atm/lanai.c 	lanai_buf_deallocate(&lanai->service, lanai->pci);
service          1714 drivers/atm/lanai.c 	const u32 *end = lanai->service.start + wreg;
service          1715 drivers/atm/lanai.c 	while (lanai->service.ptr != end) {
service          1717 drivers/atm/lanai.c 		    le32_to_cpup(lanai->service.ptr++));
service          1718 drivers/atm/lanai.c 		if (lanai->service.ptr >= lanai->service.end)
service          1719 drivers/atm/lanai.c 			lanai->service.ptr = lanai->service.start;
service          2465 drivers/atm/lanai.c 		    "aal0_rx=%zu\n", lanai_buf_size(&lanai->service),
service           101 drivers/crypto/qat/qat_common/adf_common_drv.h int adf_service_register(struct service_hndl *service);
service           102 drivers/crypto/qat/qat_common/adf_common_drv.h int adf_service_unregister(struct service_hndl *service);
service            58 drivers/crypto/qat/qat_common/adf_init.c static void adf_service_add(struct service_hndl *service)
service            61 drivers/crypto/qat/qat_common/adf_init.c 	list_add(&service->list, &service_table);
service            65 drivers/crypto/qat/qat_common/adf_init.c int adf_service_register(struct service_hndl *service)
service            67 drivers/crypto/qat/qat_common/adf_init.c 	memset(service->init_status, 0, sizeof(service->init_status));
service            68 drivers/crypto/qat/qat_common/adf_init.c 	memset(service->start_status, 0, sizeof(service->start_status));
service            69 drivers/crypto/qat/qat_common/adf_init.c 	adf_service_add(service);
service            73 drivers/crypto/qat/qat_common/adf_init.c static void adf_service_remove(struct service_hndl *service)
service            76 drivers/crypto/qat/qat_common/adf_init.c 	list_del(&service->list);
service            80 drivers/crypto/qat/qat_common/adf_init.c int adf_service_unregister(struct service_hndl *service)
service            84 drivers/crypto/qat/qat_common/adf_init.c 	for (i = 0; i < ARRAY_SIZE(service->init_status); i++) {
service            85 drivers/crypto/qat/qat_common/adf_init.c 		if (service->init_status[i] || service->start_status[i]) {
service            90 drivers/crypto/qat/qat_common/adf_init.c 	adf_service_remove(service);
service           105 drivers/crypto/qat/qat_common/adf_init.c 	struct service_hndl *service;
service           163 drivers/crypto/qat/qat_common/adf_init.c 		service = list_entry(list_itr, struct service_hndl, list);
service           164 drivers/crypto/qat/qat_common/adf_init.c 		if (service->event_hld(accel_dev, ADF_EVENT_INIT)) {
service           167 drivers/crypto/qat/qat_common/adf_init.c 				service->name);
service           170 drivers/crypto/qat/qat_common/adf_init.c 		set_bit(accel_dev->accel_id, service->init_status);
service           193 drivers/crypto/qat/qat_common/adf_init.c 	struct service_hndl *service;
service           210 drivers/crypto/qat/qat_common/adf_init.c 		service = list_entry(list_itr, struct service_hndl, list);
service           211 drivers/crypto/qat/qat_common/adf_init.c 		if (service->event_hld(accel_dev, ADF_EVENT_START)) {
service           214 drivers/crypto/qat/qat_common/adf_init.c 				service->name);
service           217 drivers/crypto/qat/qat_common/adf_init.c 		set_bit(accel_dev->accel_id, service->start_status);
service           247 drivers/crypto/qat/qat_common/adf_init.c 	struct service_hndl *service;
service           265 drivers/crypto/qat/qat_common/adf_init.c 		service = list_entry(list_itr, struct service_hndl, list);
service           266 drivers/crypto/qat/qat_common/adf_init.c 		if (!test_bit(accel_dev->accel_id, service->start_status))
service           268 drivers/crypto/qat/qat_common/adf_init.c 		ret = service->event_hld(accel_dev, ADF_EVENT_STOP);
service           270 drivers/crypto/qat/qat_common/adf_init.c 			clear_bit(accel_dev->accel_id, service->start_status);
service           273 drivers/crypto/qat/qat_common/adf_init.c 			clear_bit(accel_dev->accel_id, service->start_status);
service           299 drivers/crypto/qat/qat_common/adf_init.c 	struct service_hndl *service;
service           323 drivers/crypto/qat/qat_common/adf_init.c 		service = list_entry(list_itr, struct service_hndl, list);
service           324 drivers/crypto/qat/qat_common/adf_init.c 		if (!test_bit(accel_dev->accel_id, service->init_status))
service           326 drivers/crypto/qat/qat_common/adf_init.c 		if (service->event_hld(accel_dev, ADF_EVENT_SHUTDOWN))
service           329 drivers/crypto/qat/qat_common/adf_init.c 				service->name);
service           331 drivers/crypto/qat/qat_common/adf_init.c 			clear_bit(accel_dev->accel_id, service->init_status);
service           358 drivers/crypto/qat/qat_common/adf_init.c 	struct service_hndl *service;
service           362 drivers/crypto/qat/qat_common/adf_init.c 		service = list_entry(list_itr, struct service_hndl, list);
service           363 drivers/crypto/qat/qat_common/adf_init.c 		if (service->event_hld(accel_dev, ADF_EVENT_RESTARTING))
service           366 drivers/crypto/qat/qat_common/adf_init.c 				service->name);
service           373 drivers/crypto/qat/qat_common/adf_init.c 	struct service_hndl *service;
service           377 drivers/crypto/qat/qat_common/adf_init.c 		service = list_entry(list_itr, struct service_hndl, list);
service           378 drivers/crypto/qat/qat_common/adf_init.c 		if (service->event_hld(accel_dev, ADF_EVENT_RESTARTED))
service           381 drivers/crypto/qat/qat_common/adf_init.c 				service->name);
service            42 drivers/crypto/virtio/virtio_crypto_algs.c 	uint32_t service;
service           598 drivers/crypto/virtio/virtio_crypto_algs.c 	.service = VIRTIO_CRYPTO_SERVICE_CIPHER,
service           633 drivers/crypto/virtio/virtio_crypto_algs.c 		uint32_t service = virtio_crypto_algs[i].service;
service           636 drivers/crypto/virtio/virtio_crypto_algs.c 		if (!virtcrypto_algo_is_supported(vcrypto, service, algonum))
service           663 drivers/crypto/virtio/virtio_crypto_algs.c 		uint32_t service = virtio_crypto_algs[i].service;
service           667 drivers/crypto/virtio/virtio_crypto_algs.c 		    !virtcrypto_algo_is_supported(vcrypto, service, algonum))
service           108 drivers/crypto/virtio/virtio_crypto_common.h 				  uint32_t service,
service           111 drivers/crypto/virtio/virtio_crypto_common.h 					      uint32_t service,
service           184 drivers/crypto/virtio/virtio_crypto_mgr.c struct virtio_crypto *virtcrypto_get_dev_node(int node, uint32_t service,
service           197 drivers/crypto/virtio/virtio_crypto_mgr.c 		    virtcrypto_algo_is_supported(tmp_dev, service, algo)) {
service           214 drivers/crypto/virtio/virtio_crypto_mgr.c 			    service, algo)) {
service           278 drivers/crypto/virtio/virtio_crypto_mgr.c 				  uint32_t service,
service           281 drivers/crypto/virtio/virtio_crypto_mgr.c 	uint32_t service_mask = 1u << service;
service           293 drivers/crypto/virtio/virtio_crypto_mgr.c 	switch (service) {
service           113 drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c 	return dal_gpio_service_lock(gpio->service, gpio->id, gpio->en);
service           119 drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c 	return dal_gpio_service_unlock(gpio->service, gpio->id, gpio->en);
service           162 drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c 	return gpio->service->translate.funcs->id_to_offset(
service           259 drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c 	dal_gpio_service_close(gpio->service, &gpio->pin);
service           270 drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c 	struct gpio_service *service,
service           282 drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c 	gpio->service = service;
service           292 drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c 		gpio->service->factory.funcs->init_ddc_data(&gpio->hw_container.ddc, service->ctx, id, en);
service           295 drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c 		gpio->service->factory.funcs->init_ddc_data(&gpio->hw_container.ddc, service->ctx, id, en);
service           298 drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c 		gpio->service->factory.funcs->init_generic(&gpio->hw_container.generic, service->ctx, id, en);
service           301 drivers/gpu/drm/amd/display/dc/gpio/gpio_base.c 		gpio->service->factory.funcs->init_hpd(&gpio->hw_container.hpd, service->ctx, id, en);
service            60 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	struct gpio_service *service;
service            63 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	service = kzalloc(sizeof(struct gpio_service), GFP_KERNEL);
service            65 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	if (!service) {
service            70 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	if (!dal_hw_translate_init(&service->translate, dce_version_major,
service            76 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	if (!dal_hw_factory_init(&service->factory, dce_version_major,
service            85 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		service->ctx = ctx;
service            89 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 				service->factory.number_of_pins[index_of_id];
service            93 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 				service->busyness[index_of_id] =
service            97 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 				if (!service->busyness[index_of_id]) {
service           103 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 					service->busyness[index_of_id][i] = 0;
service           107 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 				service->busyness[index_of_id] = NULL;
service           114 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	return service;
service           119 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		kfree(service->busyness[index_of_id]);
service           123 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	kfree(service);
service           129 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	struct gpio_service *service,
service           136 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	if (!service->translate.funcs->offset_to_id(offset, mask, &id, &en)) {
service           141 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	return dal_gpio_create_irq(service, id, en);
service           145 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	struct gpio_service *service,
service           153 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	if (!service->translate.funcs->offset_to_id(offset, mask, &id, &en)) {
service           159 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		service, id, en, GPIO_PIN_OUTPUT_STATE_DEFAULT);
service           180 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	struct gpio_service *service,
service           186 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	if (service->translate.funcs->id_to_offset) {
service           187 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		service->translate.funcs->id_to_offset(id, en, &pin);
service           241 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	const struct gpio_service *service,
service           245 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	return service->busyness[id][en];
service           249 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	struct gpio_service *service,
service           253 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	service->busyness[id][en] = true;
service           257 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	struct gpio_service *service,
service           261 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	service->busyness[id][en] = false;
service           265 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	struct gpio_service *service,
service           269 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	if (!service->busyness[id]) {
service           274 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	set_pin_busy(service, id, en);
service           279 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	struct gpio_service *service,
service           283 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	if (!service->busyness[id]) {
service           288 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	set_pin_free(service, id, en);
service           295 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	struct gpio_service *service = gpio->service;
service           303 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	if (!service->busyness[id]) {
service           308 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	if (is_pin_busy(service, id, en)) {
service           315 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		*pin = service->factory.funcs->get_ddc_pin(gpio);
service           316 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		service->factory.funcs->define_ddc_registers(*pin, en);
service           319 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		*pin = service->factory.funcs->get_ddc_pin(gpio);
service           320 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		service->factory.funcs->define_ddc_registers(*pin, en);
service           323 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		*pin = service->factory.funcs->get_generic_pin(gpio);
service           324 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		service->factory.funcs->define_generic_registers(*pin, en);
service           327 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		*pin = service->factory.funcs->get_hpd_pin(gpio);
service           328 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		service->factory.funcs->define_hpd_registers(*pin, en);
service           347 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		dal_gpio_service_close(service, pin);
service           351 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	set_pin_busy(service, id, en);
service           356 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	struct gpio_service *service,
service           369 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		set_pin_free(service, pin->id, pin->en);
service           429 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	struct gpio_service *service,
service           446 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		service, id, en, GPIO_PIN_OUTPUT_STATE_DEFAULT);
service           471 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	struct gpio_service *service,
service           480 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	if (!service->translate.funcs->offset_to_id(offset, mask, &id, &en))
service           491 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		service, GPIO_ID_DDC_DATA, en, GPIO_PIN_OUTPUT_STATE_DEFAULT);
service           499 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 		service, GPIO_ID_DDC_CLOCK, en, GPIO_PIN_OUTPUT_STATE_DEFAULT);
service           508 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.c 	ddc->ctx = service->ctx;
service            48 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.h 	struct gpio_service *service,
service            52 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.h 	struct gpio_service *service,
service            57 drivers/gpu/drm/amd/display/dc/gpio/gpio_service.h 	struct gpio_service *service,
service            39 drivers/gpu/drm/amd/display/dc/inc/hw/gpio.h 	struct gpio_service *service;
service            36 drivers/gpu/drm/amd/display/include/gpio_service_interface.h 	struct gpio_service *service,
service            50 drivers/gpu/drm/amd/display/include/gpio_service_interface.h 	struct gpio_service *service,
service            55 drivers/gpu/drm/amd/display/include/gpio_service_interface.h 	struct gpio_service *service,
service            67 drivers/gpu/drm/amd/display/include/gpio_service_interface.h 	struct gpio_service *service,
service            72 drivers/gpu/drm/amd/display/include/gpio_service_interface.h 	struct gpio_service *service,
service            94 drivers/gpu/drm/amd/display/include/gpio_service_interface.h 	struct gpio_service *service,
service           362 drivers/gpu/drm/i915/gvt/gvt.h 		int service)
service           364 drivers/gpu/drm/i915/gvt/gvt.h 	set_bit(service, (void *)&gvt->service_request);
service           180 drivers/mfd/ezx-pcap.c 	u32 msr, isr, int_sel, service;
service           197 drivers/mfd/ezx-pcap.c 		service = isr & ~msr;
service           198 drivers/mfd/ezx-pcap.c 		for (irq = pcap->irq_base; service; service >>= 1, irq++) {
service           199 drivers/mfd/ezx-pcap.c 			if (service & 1)
service           458 drivers/net/wireless/admtek/adm8211.h 	u8 service;
service           877 drivers/net/wireless/ath/ath10k/qmi.c 				 struct qmi_service *service)
service           885 drivers/net/wireless/ath/ath10k/qmi.c 	sq->sq_node = service->node;
service           886 drivers/net/wireless/ath/ath10k/qmi.c 	sq->sq_port = service->port;
service           904 drivers/net/wireless/ath/ath10k/qmi.c 				  struct qmi_service *service)
service           673 drivers/net/wireless/broadcom/brcm80211/brcmsmac/d11.h 	u16 service;
service           707 drivers/net/wireless/broadcom/brcm80211/brcmsmac/d11.h 	u8 service;
service          1118 drivers/net/wireless/ralink/rt2x00/rt2400pci.c 	rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service);
service          1271 drivers/net/wireless/ralink/rt2x00/rt2500pci.c 	rt2x00_set_field32(&word, TXD_W3_PLCP_SERVICE, txdesc->u.plcp.service);
service          1093 drivers/net/wireless/ralink/rt2x00/rt2500usb.c 	rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service);
service           257 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c 	txdesc->u.plcp.service = 0x04;
service           276 drivers/net/wireless/ralink/rt2x00/rt2x00queue.c 				txdesc->u.plcp.service |= 0x80;
service           304 drivers/net/wireless/ralink/rt2x00/rt2x00queue.h 			u16 service;
service          1799 drivers/net/wireless/ralink/rt2x00/rt61pci.c 	rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service);
service          1492 drivers/net/wireless/ralink/rt2x00/rt73usb.c 	rt2x00_set_field32(&word, TXD_W2_PLCP_SERVICE, txdesc->u.plcp.service);
service           276 drivers/net/wireless/wl3501.h 	u8	service;
service           297 drivers/net/wireless/wl3501.h 	u8	service;
service           545 drivers/net/wireless/wl3501.h 	u8	service;
service           595 drivers/net/wireless/zydas/zd1211rw/zd_mac.c static int zd_calc_tx_length_us(u8 *service, u8 zd_rate, u16 tx_length)
service           628 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 		if (service) {
service           630 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 			*service &= ~ZD_PLCP_SERVICE_LENGTH_EXTENSION;
service           632 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 				*service |= ZD_PLCP_SERVICE_LENGTH_EXTENSION;
service           902 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 	cs->service = 0;
service           903 drivers/net/wireless/zydas/zd1211rw/zd_mac.c 	r = zd_calc_tx_length_us(&cs->service, ZD_RATE(cs->modulation),
service            23 drivers/net/wireless/zydas/zd1211rw/zd_mac.h 	u8     service;
service           226 drivers/net/wireless/zydas/zd1211rw/zd_mac.h 	__le16 service;
service           251 drivers/net/wireless/zydas/zd1211rw/zd_mac.h 	u8 service;
service           159 drivers/ntb/test/ntb_perf.c 	struct work_struct	service;
service           163 drivers/ntb/test/ntb_perf.c 	container_of(__work, struct perf_peer, service)
service           448 drivers/ntb/test/ntb_perf.c 	(void)queue_work(system_highpri_wq, &peer->service);
service           752 drivers/ntb/test/ntb_perf.c 		flush_work(&perf->peers[pidx].service);
service          1420 drivers/ntb/test/ntb_perf.c 		INIT_WORK(&peer->service, perf_service_work);
service           188 drivers/pci/hotplug/pciehp_core.c 	if (dev->service != PCIE_PORT_SERVICE_HP)
service           339 drivers/pci/hotplug/pciehp_core.c 	.service	= PCIE_PORT_SERVICE_HP,
service          1683 drivers/pci/pci-driver.c 	if (driver->service != pciedev->service)
service           533 drivers/pci/pci.h 		      u32 service);
service          1442 drivers/pci/pcie/aer.c 	.service	= PCIE_PORT_SERVICE_AER,
service           125 drivers/pci/pcie/bw_notification.c 	.service	= PCIE_PORT_SERVICE_BWNOTIF,
service           354 drivers/pci/pcie/dpc.c 	.service	= PCIE_PORT_SERVICE_DPC,
service           161 drivers/pci/pcie/err.c static pci_ers_result_t reset_link(struct pci_dev *dev, u32 service)
service           166 drivers/pci/pcie/err.c 	driver = pcie_port_find_service(dev, service);
service           187 drivers/pci/pcie/err.c 		      u32 service)
service           208 drivers/pci/pcie/err.c 	    reset_link(dev, service) != PCI_ERS_RESULT_RECOVERED)
service           449 drivers/pci/pcie/pme.c 	.service	= PCIE_PORT_SERVICE_PME,
service            64 drivers/pci/pcie/portdrv.h 	u32		service;    /* Port service this device represents */
service            97 drivers/pci/pcie/portdrv.h 	u32 service;    /* Port service this device represents */
service           114 drivers/pci/pcie/portdrv.h #define get_descriptor_id(type, service) (((type - 4) << 8) | service)
service           163 drivers/pci/pcie/portdrv.h 							u32 service);
service           164 drivers/pci/pcie/portdrv.h struct device *pcie_port_find_device(struct pci_dev *dev, u32 service);
service            25 drivers/pci/pcie/portdrv_core.c 	u32 service;
service           270 drivers/pci/pcie/portdrv_core.c static int pcie_device_init(struct pci_dev *pdev, int service, int irq)
service           281 drivers/pci/pcie/portdrv_core.c 	pcie->service = service;
service           289 drivers/pci/pcie/portdrv_core.c 		     get_descriptor_id(pci_pcie_type(pdev), service));
service           345 drivers/pci/pcie/portdrv_core.c 		int service = 1 << i;
service           346 drivers/pci/pcie/portdrv_core.c 		if (!(capabilities & service))
service           348 drivers/pci/pcie/portdrv_core.c 		if (!pcie_device_init(dev, service, irqs[i]))
service           439 drivers/pci/pcie/portdrv_core.c 	u32 service;
service           442 drivers/pci/pcie/portdrv_core.c 	service = pdrvs->service;
service           446 drivers/pci/pcie/portdrv_core.c 		if (service_driver->service == service) {
service           464 drivers/pci/pcie/portdrv_core.c 							u32 service)
service           470 drivers/pci/pcie/portdrv_core.c 	pdrvs.service = service;
service           485 drivers/pci/pcie/portdrv_core.c 				      u32 service)
service           491 drivers/pci/pcie/portdrv_core.c 	pdrvs.service = service;
service           205 drivers/pinctrl/nomadik/pinctrl-ab8505.c AB8505_FUNC_GROUPS(service, "service_d_1");
service           227 drivers/pinctrl/nomadik/pinctrl-ab8505.c 	FUNCTION(service),
service           959 drivers/s390/char/tape_3590.c 	char *exception, *service;
service           962 drivers/s390/char/tape_3590.c 	service = kmalloc(BUFSIZE, GFP_ATOMIC);
service           964 drivers/s390/char/tape_3590.c 	if (!exception || !service)
service           999 drivers/s390/char/tape_3590.c 		snprintf(service, BUFSIZE, "Reference Media maintenance "
service          1003 drivers/s390/char/tape_3590.c 		snprintf(service, BUFSIZE, "0x%02x",
service          1009 drivers/s390/char/tape_3590.c 		"service %s\n", exception, service);
service          1013 drivers/s390/char/tape_3590.c 	kfree(service);
service          1023 drivers/s390/char/tape_3590.c 	char *exception, *service;
service          1026 drivers/s390/char/tape_3590.c 	service = kmalloc(BUFSIZE, GFP_ATOMIC);
service          1028 drivers/s390/char/tape_3590.c 	if (!exception || !service)
service          1068 drivers/s390/char/tape_3590.c 		snprintf(service, BUFSIZE, "Repair impact is unknown");
service          1071 drivers/s390/char/tape_3590.c 		snprintf(service, BUFSIZE, "Repair will not impact cu "
service          1076 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable node "
service          1079 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable "
service          1085 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable "
service          1089 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable channel"
service          1095 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable device"
service          1098 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable device"
service          1104 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable "
service          1108 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable "
service          1113 drivers/s390/char/tape_3590.c 		snprintf(service, BUFSIZE, "Repair will disable access to CU");
service          1116 drivers/s390/char/tape_3590.c 		snprintf(service, BUFSIZE, "0x%02x",
service          1121 drivers/s390/char/tape_3590.c 		" %s, service %s\n", exception, service);
service          1124 drivers/s390/char/tape_3590.c 	kfree(service);
service          1134 drivers/s390/char/tape_3590.c 	char *exception, *service;
service          1137 drivers/s390/char/tape_3590.c 	service = kmalloc(BUFSIZE, GFP_ATOMIC);
service          1139 drivers/s390/char/tape_3590.c 	if (!exception || !service)
service          1177 drivers/s390/char/tape_3590.c 		snprintf(service, BUFSIZE, "Repair impact is unknown");
service          1180 drivers/s390/char/tape_3590.c 		snprintf(service, BUFSIZE, "Repair will not impact device "
service          1185 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable "
service          1189 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable "
service          1195 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable "
service          1198 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable "
service          1204 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable loader"
service          1207 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable loader"
service          1212 drivers/s390/char/tape_3590.c 		snprintf(service, BUFSIZE, "Repair will disable access to DV");
service          1216 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable "
service          1220 drivers/s390/char/tape_3590.c 			snprintf(service, BUFSIZE, "Repair will disable "
service          1225 drivers/s390/char/tape_3590.c 		snprintf(service, BUFSIZE, "Clean DV");
service          1228 drivers/s390/char/tape_3590.c 		snprintf(service, BUFSIZE, "0x%02x",
service          1233 drivers/s390/char/tape_3590.c 		" %s, service %s\n", exception, service);
service          1236 drivers/s390/char/tape_3590.c 	kfree(service);
service           451 drivers/scsi/aha152x.c 	int service;		/* bh needs to be run */
service          1342 drivers/scsi/aha152x.c 	if( HOSTDATA(shpnt)->service==0 ) {
service          1343 drivers/scsi/aha152x.c 		HOSTDATA(shpnt)->service=1;
service          2285 drivers/scsi/aha152x.c 	if( HOSTDATA(shpnt)->service==0 )  {
service          2290 drivers/scsi/aha152x.c 	HOSTDATA(shpnt)->service = 0;
service           121 drivers/scsi/gdth.c static int gdth_sync_event(gdth_ha_str *ha, int service, u8 index,
service           148 drivers/scsi/gdth.c static int gdth_internal_cmd(gdth_ha_str *ha, u8 service, u16 opcode,
service           956 drivers/scsi/gdth.c             ha->cmd_tab[i].service = ha->pccb->Service;
service          1084 drivers/scsi/gdth.c static int gdth_internal_cmd(gdth_ha_str *ha, u8 service, u16 opcode,
service          1090 drivers/scsi/gdth.c     TRACE2(("gdth_internal_cmd() service %d opcode %d\n",service,opcode));
service          1097 drivers/scsi/gdth.c         cmd_ptr->Service          = service;
service          1106 drivers/scsi/gdth.c         if (service == CACHESERVICE) {
service          1121 drivers/scsi/gdth.c         } else if (service == SCSIRAWSERVICE) {
service          1133 drivers/scsi/gdth.c         } else if (service == SCREENSERVICE) {
service          1147 drivers/scsi/gdth.c             printk("GDT: Initialization error (timeout service %d)\n",service);
service          1213 drivers/scsi/gdth.c     ha->fw_vers = ha->service;
service          2521 drivers/scsi/gdth.c             ha->service = readw(&dp6_ptr->u.ic.Service);
service          2535 drivers/scsi/gdth.c             ha->service = inw(PTR2USHORT(&ha->plx->service));
service          2550 drivers/scsi/gdth.c             ha->service = readw(&dp6m_ptr->i960r.service);
service          2555 drivers/scsi/gdth.c                 if (ha->service != SCREENSERVICE &&
service          2602 drivers/scsi/gdth.c         Service = ha->cmd_tab[IStatus-2].service;
service          2642 drivers/scsi/gdth.c static int gdth_sync_event(gdth_ha_str *ha, int service, u8 index,
service          2652 drivers/scsi/gdth.c            service,ha->status));
service          2654 drivers/scsi/gdth.c     if (service == SCREENSERVICE) {
service          2806 drivers/scsi/gdth.c             } else if (service == CACHESERVICE) {
service          2824 drivers/scsi/gdth.c                     ha->dvr.eu.sync.service = service;
service          2831 drivers/scsi/gdth.c                         gdth_store_event(ha, ES_SYNC, service, &ha->dvr);
service          3014 drivers/scsi/gdth.c             ha->hanum, ha->service));
service          3016 drivers/scsi/gdth.c     if (ha->service == SCREENSERVICE) {
service          3049 drivers/scsi/gdth.c             ha->dvr.eu.async.service = ha->service;
service          3054 drivers/scsi/gdth.c         gdth_store_event( ha, ES_ASYNC, ha->service, &ha->dvr );
service          3058 drivers/scsi/gdth.c         if (ha->service == CACHESERVICE && ha->status == 56) {
service          3081 drivers/scsi/gdth.c     } else if (dvr->eu.async.service == CACHESERVICE && 
service          3115 drivers/scsi/gdth.c                    dvr->eu.async.ionode,dvr->eu.async.service,dvr->eu.async.status);
service          3118 drivers/scsi/gdth.c                     dvr->eu.async.ionode,dvr->eu.async.service,dvr->eu.async.status);
service           744 drivers/scsi/gdth.h     u16              service;                /* service */
service           773 drivers/scsi/gdth.h     u16              service;                /* service */
service           837 drivers/scsi/gdth.h     u16              service;                /* service/firmware ver./.. */
service           870 drivers/scsi/gdth.h         u16          service;                /* service */
service           139 drivers/scsi/gdth_ioctl.h             u16          service;
service           144 drivers/scsi/gdth_ioctl.h             u16          service;
service           151 drivers/scsi/gdth_ioctl.h             u16          service;
service          1255 drivers/slimbus/qcom-ngd-ctrl.c 					struct qmi_service *service)
service          1263 drivers/slimbus/qcom-ngd-ctrl.c 	qmi->svc_info.sq_node = service->node;
service          1264 drivers/slimbus/qcom-ngd-ctrl.c 	qmi->svc_info.sq_port = service->port;
service          1272 drivers/slimbus/qcom-ngd-ctrl.c 					 struct qmi_service *service)
service           294 drivers/soc/fsl/dpio/dpio-service.c void dpaa2_io_service_deregister(struct dpaa2_io *service,
service            32 drivers/soc/qcom/qmi_interface.c 				unsigned int service, unsigned int instance,
service            50 drivers/soc/qcom/qmi_interface.c 	svc->service = service;
service           146 drivers/soc/qcom/qmi_interface.c 				    le32_to_cpu(pkt->server.service),
service           174 drivers/soc/qcom/qmi_interface.c 	pkt.server.service = cpu_to_le32(svc->service);
service           206 drivers/soc/qcom/qmi_interface.c int qmi_add_lookup(struct qmi_handle *qmi, unsigned int service,
service           215 drivers/soc/qcom/qmi_interface.c 	svc->service = service;
service           237 drivers/soc/qcom/qmi_interface.c 	pkt.server.service = cpu_to_le32(svc->service);
service           270 drivers/soc/qcom/qmi_interface.c int qmi_add_server(struct qmi_handle *qmi, unsigned int service,
service           279 drivers/soc/qcom/qmi_interface.c 	svc->service = service;
service            40 drivers/staging/vc04_services/interface/vchi/vchi.h 	struct opaque_vchi_service_t *service;
service           128 drivers/staging/vc04_services/interface/vchi/vchi_common.h 	struct opaque_vchi_service_t *service;
service            85 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	struct vchiq_service *service;
service           311 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	struct vchiq_service *service = NULL;
service           323 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	service = vchiq_add_service_internal(
service           330 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if (service) {
service           331 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		*phandle = service->handle;
service           350 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	struct vchiq_service *service = NULL;
service           360 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	service = vchiq_add_service_internal(state,
service           366 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if (service) {
service           367 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		*phandle = service->handle;
service           368 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		status = vchiq_open_service_internal(service, current->pid);
service           370 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			vchiq_remove_service(service->handle);
service           437 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	struct vchiq_service *service;
service           441 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	service = find_service_by_handle(handle);
service           442 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if (!service)
service           445 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	instance = service->instance;
service           447 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	unlock_service(service);
service           553 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	completion->service_userdata = user_service->service;
service           559 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		lock_service(user_service->service);
service           595 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	struct vchiq_service *service;
service           603 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	service = handle_to_service(handle);
service           604 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	BUG_ON(!service);
service           605 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	user_service = (struct user_service *)service->base.userdata;
service           615 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		service->localport, user_service->userdata,
service           712 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		__func__, user_service->service->handle);
service           716 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		unlock_service(user_service->service);
service           809 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	struct vchiq_service *service = NULL;
service           829 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		while ((service = next_service_by_instance(instance->state,
service           831 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			status = vchiq_remove_service(service->handle);
service           832 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			unlock_service(service);
service           836 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		service = NULL;
service           905 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		service = vchiq_add_service_internal(
service           910 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		if (service != NULL) {
service           911 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			user_service->service = service;
service           927 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 					(service, instance->pid);
service           929 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 					vchiq_remove_service(service->handle);
service           930 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 					service = NULL;
service           940 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				(const void *)&service->handle,
service           941 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				sizeof(service->handle))) {
service           943 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				vchiq_remove_service(service->handle);
service           946 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			service = NULL;
service           958 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		service = find_service_for_instance(instance, handle);
service           959 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		if (!service) {
service           964 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		user_service = service->base.userdata;
service           970 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				 vchiq_close_service(service->handle) :
service           971 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				 vchiq_remove_service(service->handle);
service           990 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		service = find_service_for_instance(instance, handle);
service           991 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		if (service != NULL) {
service           993 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				vchiq_use_service_internal(service) :
service           994 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				vchiq_release_service_internal(service);
service          1005 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 						service->base.fourcc),
service          1006 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 					service->client_id);
service          1022 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		service = find_service_for_instance(instance, args.handle);
service          1024 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		if ((service != NULL) && (args.count <= MAX_ELEMENTS)) {
service          1055 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		service = find_service_for_instance(instance, args.handle);
service          1056 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		if (!service) {
service          1173 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				struct vchiq_service *service;
service          1189 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				service = completion->service_userdata;
service          1190 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				user_service = service->base.userdata;
service          1239 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 					vchiq_release_message(service->handle,
service          1250 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 					unlock_service(service);
service          1299 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		service = find_service_for_instance(instance, args.handle);
service          1300 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		if (!service) {
service          1304 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		user_service = (struct user_service *)service->base.userdata;
service          1356 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 					service->handle,
service          1406 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		service = find_service_for_instance(instance, args.handle);
service          1407 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		if (!service) {
service          1428 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		service = find_closed_service_for_instance(instance, handle);
service          1429 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		if (service != NULL) {
service          1431 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				(struct user_service *)service->base.userdata;
service          1442 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if (service)
service          1443 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		unlock_service(service);
service          1956 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	struct vchiq_service *service;
service          1984 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	while ((service = next_service_by_instance(state, instance, &i))) {
service          1985 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		struct user_service *user_service = service->base.userdata;
service          1990 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		vchiq_terminate_service_internal(service);
service          1991 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		unlock_service(service);
service          1996 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	while ((service = next_service_by_instance(state, instance, &i))) {
service          1997 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		struct user_service *user_service = service->base.userdata;
service          1999 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		wait_for_completion(&service->remove_event);
service          2001 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		BUG_ON(service->srvstate != VCHIQ_SRVSTATE_FREE);
service          2014 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				vchiq_release_message(service->handle, header);
service          2020 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		unlock_service(service);
service          2027 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		struct vchiq_service *service;
service          2031 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		service = completion->service_userdata;
service          2034 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 							service->base.userdata;
service          2039 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			unlock_service(service);
service          2132 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		struct vchiq_service *service = state->services[i];
service          2135 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		if (service && (service->base.callback == service_callback)) {
service          2136 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			instance = service->instance;
service          2143 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		struct vchiq_service *service = state->services[i];
service          2146 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		if (service && (service->base.callback == service_callback)) {
service          2147 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			instance = service->instance;
service          2174 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 				  struct vchiq_service *service)
service          2177 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			(struct user_service *)service->base.userdata;
service          2181 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	len = snprintf(buf, sizeof(buf), "  instance %pK", service->instance);
service          2183 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if ((service->base.callback == service_callback) &&
service          2688 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c vchiq_use_internal(struct vchiq_state *state, struct vchiq_service *service,
service          2705 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	} else if (service) {
service          2707 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			VCHIQ_FOURCC_AS_4CHARS(service->base.fourcc),
service          2708 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			service->client_id);
service          2709 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		entity_uc = &service->service_use_count;
service          2821 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c vchiq_release_internal(struct vchiq_state *state, struct vchiq_service *service)
service          2833 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if (service) {
service          2835 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			VCHIQ_FOURCC_AS_4CHARS(service->base.fourcc),
service          2836 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			service->client_id);
service          2837 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		entity_uc = &service->service_use_count;
service          2902 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c vchiq_use_service_internal(struct vchiq_service *service)
service          2904 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	return vchiq_use_internal(service->state, service, USE_TYPE_SERVICE);
service          2908 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c vchiq_release_service_internal(struct vchiq_service *service)
service          2910 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	return vchiq_release_internal(service->state, service);
service          2922 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	struct vchiq_service *service;
service          2926 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	while ((service = next_service_by_instance(instance->state,
service          2928 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		use_count += service->service_use_count;
service          2929 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		unlock_service(service);
service          2949 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	struct vchiq_service *service;
service          2953 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	while ((service = next_service_by_instance(instance->state,
service          2955 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		service->trace = trace;
service          2956 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		unlock_service(service);
service          2976 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	struct vchiq_service *service = find_service_by_handle(handle);
service          2978 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if (service) {
service          2979 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		ret = vchiq_use_internal(service->state, service,
service          2981 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		unlock_service(service);
service          2990 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	struct vchiq_service *service = find_service_by_handle(handle);
service          2992 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if (service) {
service          2993 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		ret = vchiq_release_internal(service->state, service);
service          2994 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		unlock_service(service);
service          3092 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c vchiq_check_service(struct vchiq_service *service)
service          3097 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if (!service || !service->state)
service          3102 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	arm_state = vchiq_platform_get_arm_state(service->state);
service          3105 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 	if (service->service_use_count)
service          3113 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			VCHIQ_FOURCC_AS_4CHARS(service->base.fourcc),
service          3114 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 			service->client_id, service->service_use_count,
service          3118 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c 		vchiq_dump_service_use_state(service->state);
service           134 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h vchiq_check_service(struct vchiq_service *service);
service           158 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h vchiq_use_internal(struct vchiq_state *state, struct vchiq_service *service,
service           162 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.h 		       struct vchiq_service *service);
service           125 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c vchiq_set_service_state(struct vchiq_service *service, int newstate)
service           128 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->state->id, service->localport,
service           129 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		srvstate_names[service->srvstate],
service           131 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->srvstate = newstate;
service           137 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service;
service           140 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service = handle_to_service(handle);
service           141 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service && (service->srvstate != VCHIQ_SRVSTATE_FREE) &&
service           142 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		(service->handle == handle)) {
service           143 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		WARN_ON(service->ref_count == 0);
service           144 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->ref_count++;
service           146 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service = NULL;
service           149 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (!service)
service           153 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	return service;
service           159 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service = NULL;
service           163 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service = state->services[localport];
service           164 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (service && (service->srvstate != VCHIQ_SRVSTATE_FREE)) {
service           165 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			WARN_ON(service->ref_count == 0);
service           166 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service->ref_count++;
service           168 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service = NULL;
service           172 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (!service)
service           176 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	return service;
service           183 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service;
service           186 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service = handle_to_service(handle);
service           187 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service && (service->srvstate != VCHIQ_SRVSTATE_FREE) &&
service           188 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		(service->handle == handle) &&
service           189 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		(service->instance == instance)) {
service           190 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		WARN_ON(service->ref_count == 0);
service           191 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->ref_count++;
service           193 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service = NULL;
service           196 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (!service)
service           200 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	return service;
service           207 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service;
service           210 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service = handle_to_service(handle);
service           211 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service &&
service           212 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		((service->srvstate == VCHIQ_SRVSTATE_FREE) ||
service           213 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		 (service->srvstate == VCHIQ_SRVSTATE_CLOSED)) &&
service           214 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		(service->handle == handle) &&
service           215 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		(service->instance == instance)) {
service           216 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		WARN_ON(service->ref_count == 0);
service           217 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->ref_count++;
service           219 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service = NULL;
service           222 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (!service)
service           226 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	return service;
service           233 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service = NULL;
service           242 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service = srv;
service           243 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			WARN_ON(service->ref_count == 0);
service           244 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service->ref_count++;
service           252 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	return service;
service           256 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c lock_service(struct vchiq_service *service)
service           259 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	WARN_ON(!service);
service           260 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service) {
service           261 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		WARN_ON(service->ref_count == 0);
service           262 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->ref_count++;
service           268 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c unlock_service(struct vchiq_service *service)
service           271 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (!service) {
service           275 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (!service->ref_count) {
service           279 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->ref_count--;
service           280 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (!service->ref_count) {
service           281 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		struct vchiq_state *state = service->state;
service           283 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		WARN_ON(service->srvstate != VCHIQ_SRVSTATE_FREE);
service           284 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		state->services[service->localport] = NULL;
service           286 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service = NULL;
service           291 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service && service->userdata_term)
service           292 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->userdata_term(service->base.userdata);
service           294 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	kfree(service);
service           300 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service = find_service_by_handle(handle);
service           303 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	id = service ? service->client_id : 0;
service           304 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service)
service           305 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		unlock_service(service);
service           313 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service = handle_to_service(handle);
service           315 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	return service ? service->base.userdata : NULL;
service           321 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service = handle_to_service(handle);
service           323 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	return service ? service->base.fourcc : 0;
service           327 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c mark_service_closing_internal(struct vchiq_service *service, int sh_thread)
service           329 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_state *state = service->state;
service           332 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->closing = 1;
service           347 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service_quota = &state->service_quotas[service->localport];
service           352 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c mark_service_closing(struct vchiq_service *service)
service           354 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	mark_service_closing_internal(service, 0);
service           358 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c make_service_callback(struct vchiq_service *service, VCHIQ_REASON_T reason,
service           364 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->state->id, service->localport, reason_names[reason],
service           366 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	status = service->base.callback(reason, header, service->handle,
service           371 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service->state->id, service->handle);
service           472 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		struct vchiq_service *service = state->services[i];
service           474 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (service &&
service           475 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			(service->public_fourcc == fourcc) &&
service           476 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			((service->srvstate == VCHIQ_SRVSTATE_LISTENING) ||
service           477 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			((service->srvstate == VCHIQ_SRVSTATE_OPEN) &&
service           478 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			(service->remoteport == VCHIQ_PORT_FREE)))) {
service           479 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			lock_service(service);
service           480 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			return service;
service           494 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		struct vchiq_service *service = state->services[i];
service           496 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (service && (service->srvstate == VCHIQ_SRVSTATE_OPEN)
service           497 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			&& (service->remoteport == port)) {
service           498 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			lock_service(service);
service           499 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			return service;
service           506 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c request_poll(struct vchiq_state *state, struct vchiq_service *service,
service           511 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service) {
service           513 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			value = atomic_read(&service->poll_flags);
service           514 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		} while (atomic_cmpxchg(&service->poll_flags, value,
service           519 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->localport>>5]);
service           521 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			&state->poll_services[service->localport>>5],
service           522 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			value, value | (1 << (service->localport & 0x1f)))
service           783 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c queue_message(struct vchiq_state *state, struct vchiq_service *service,
service           809 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (!service) {
service           818 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (service->closing) {
service           824 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service_quota = &state->service_quotas[service->localport];
service           866 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				state->id, service->localport,
service           870 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			VCHIQ_SERVICE_STATS_INC(service, quota_stalls);
service           875 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (service->closing)
service           879 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (service->srvstate != VCHIQ_SRVSTATE_OPEN) {
service           895 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (service)
service           896 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			VCHIQ_SERVICE_STATS_INC(service, slot_stalls);
service           924 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			VCHIQ_SERVICE_STATS_INC(service,
service           929 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (SRVTRACE_ENABLED(service,
service           963 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				state->id, service->localport,
service           967 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		VCHIQ_SERVICE_STATS_INC(service, ctrl_tx_count);
service           968 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		VCHIQ_SERVICE_STATS_ADD(service, ctrl_tx_bytes, size);
service           997 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		svc_fourcc = service
service           998 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			? service->base.fourcc
service          1001 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		vchiq_log_info(SRVTRACE_LEVEL(service),
service          1018 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service && (type == VCHIQ_MSG_CLOSE))
service          1019 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		vchiq_set_service_state(service, VCHIQ_SRVSTATE_CLOSESENT);
service          1031 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c queue_message_sync(struct vchiq_state *state, struct vchiq_service *service,
service          1075 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		VCHIQ_SERVICE_STATS_INC(service,
service          1080 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service) {
service          1081 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (SRVTRACE_ENABLED(service,
service          1088 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		VCHIQ_SERVICE_STATS_INC(service, ctrl_tx_count);
service          1089 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		VCHIQ_SERVICE_STATS_ADD(service, ctrl_tx_bytes, size);
service          1100 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		svc_fourcc = service
service          1101 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			? service->base.fourcc
service          1130 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	     struct vchiq_header *header, struct vchiq_service *service)
service          1140 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			(service && service->closing)) {
service          1182 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c notify_bulks(struct vchiq_service *service, struct vchiq_bulk_queue *queue,
service          1189 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->state->id, service->localport,
service          1190 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		(queue == &service->bulk_tx) ? 't' : 'r',
service          1202 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (bulk->data && service->instance) {
service          1205 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						VCHIQ_SERVICE_STATS_INC(service,
service          1207 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						VCHIQ_SERVICE_STATS_ADD(service,
service          1211 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						VCHIQ_SERVICE_STATS_INC(service,
service          1213 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						VCHIQ_SERVICE_STATS_ADD(service,
service          1218 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					VCHIQ_SERVICE_STATS_INC(service,
service          1243 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					status = make_service_callback(service,
service          1251 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			complete(&service->bulk_remove_event);
service          1258 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		request_poll(service->state, service,
service          1259 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			(queue == &service->bulk_tx) ?
service          1277 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				struct vchiq_service *service =
service          1283 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				if (!service)
service          1286 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					atomic_xchg(&service->poll_flags, 0);
service          1291 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						state->id, service->localport,
service          1292 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						service->remoteport);
service          1297 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					service->public_fourcc =
service          1301 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						service, 0/*!close_recvd*/) !=
service          1303 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						request_poll(state, service,
service          1309 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						state->id, service->localport,
service          1310 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						service->remoteport);
service          1312 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						service, 0/*!close_recvd*/) !=
service          1314 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						request_poll(state, service,
service          1318 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					notify_bulks(service,
service          1319 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						&service->bulk_tx,
service          1322 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					notify_bulks(service,
service          1323 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						&service->bulk_rx,
service          1325 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				unlock_service(service);
service          1333 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c abort_outstanding_bulks(struct vchiq_service *service,
service          1336 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	int is_tx = (queue == &service->bulk_tx);
service          1340 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->state->id, service->localport, is_tx ? 't' : 'r',
service          1361 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			vchiq_log_info(SRVTRACE_LEVEL(service),
service          1365 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				VCHIQ_FOURCC_AS_4CHARS(service->base.fourcc),
service          1366 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->remoteport,
service          1386 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service = NULL;
service          1405 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service = get_listening_service(state, fourcc);
service          1407 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (service) {
service          1412 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if ((service->version < version_min) ||
service          1413 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				(version < service->version_min)) {
service          1419 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					state->id, service->localport,
service          1421 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					service->version, service->version_min,
service          1424 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				unlock_service(service);
service          1425 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service = NULL;
service          1428 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service->peer_version = version;
service          1430 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (service->srvstate == VCHIQ_SRVSTATE_LISTENING) {
service          1432 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					service->version
service          1437 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					service->sync = 0;
service          1440 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				if (service->sync) {
service          1446 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 							service->localport,
service          1458 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 							service->localport,
service          1468 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				vchiq_set_service_state(service,
service          1469 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					service->sync ? VCHIQ_SRVSTATE_OPENSYNC
service          1473 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service->remoteport = remoteport;
service          1474 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service->client_id = ((int *)header->data)[1];
service          1475 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (make_service_callback(service, VCHIQ_SERVICE_OPENED,
service          1478 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->remoteport = VCHIQ_PORT_FREE;
service          1483 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			unlock_service(service);
service          1498 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service)
service          1499 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		unlock_service(service);
service          1509 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service = NULL;
service          1562 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service = find_service_by_port(state, localport);
service          1563 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if ((!service ||
service          1564 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			     ((service->remoteport != remoteport) &&
service          1565 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			      (service->remoteport != VCHIQ_PORT_FREE))) &&
service          1571 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				if (service)
service          1572 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					unlock_service(service);
service          1573 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service = get_connected_service(state,
service          1575 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				if (service)
service          1580 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						service->localport);
service          1583 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (!service) {
service          1596 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (SRVTRACE_ENABLED(service, VCHIQ_LOG_INFO)) {
service          1599 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			svc_fourcc = service
service          1600 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				? service->base.fourcc
service          1602 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			vchiq_log_info(SRVTRACE_LEVEL(service),
service          1633 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->peer_version = payload->version;
service          1638 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->peer_version);
service          1639 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (service->srvstate ==
service          1641 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->remoteport = remoteport;
service          1642 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				vchiq_set_service_state(service,
service          1644 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				complete(&service->remove_event);
service          1648 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					srvstate_names[service->srvstate]);
service          1657 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			mark_service_closing_internal(service, 1);
service          1659 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (vchiq_close_service_internal(service,
service          1665 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				VCHIQ_FOURCC_AS_4CHARS(service->base.fourcc),
service          1666 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->localport,
service          1667 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->remoteport);
service          1674 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if ((service->remoteport == remoteport)
service          1675 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				&& (service->srvstate ==
service          1680 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				if (make_service_callback(service,
service          1686 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				VCHIQ_SERVICE_STATS_INC(service, ctrl_rx_count);
service          1687 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				VCHIQ_SERVICE_STATS_ADD(service, ctrl_rx_bytes,
service          1711 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if ((service->remoteport == remoteport)
service          1712 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				&& (service->srvstate !=
service          1718 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					&service->bulk_rx : &service->bulk_tx;
service          1721 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				if (mutex_lock_killable(&service->bulk_mutex)) {
service          1734 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					mutex_unlock(&service->bulk_mutex);
service          1742 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					mutex_unlock(&service->bulk_mutex);
service          1769 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				mutex_unlock(&service->bulk_mutex);
service          1771 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				notify_bulks(service, queue, 1/*retry_poll*/);
service          1832 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (service) {
service          1833 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			unlock_service(service);
service          1834 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service = NULL;
service          1850 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service)
service          1851 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		unlock_service(service);
service          1973 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		struct vchiq_service *service;
service          1988 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service = find_service_by_port(state, localport);
service          1990 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (!service) {
service          2002 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			svc_fourcc = service
service          2003 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				? service->base.fourcc
service          2021 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->peer_version = payload->version;
service          2026 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->peer_version);
service          2027 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (service->srvstate == VCHIQ_SRVSTATE_OPENING) {
service          2028 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->remoteport = remoteport;
service          2029 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				vchiq_set_service_state(service,
service          2031 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->sync = 1;
service          2032 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				complete(&service->remove_event);
service          2042 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if ((service->remoteport == remoteport) &&
service          2043 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				(service->srvstate ==
service          2045 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				if (make_service_callback(service,
service          2064 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		unlock_service(service);
service          2289 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service;
service          2294 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service = kmalloc(sizeof(*service), GFP_KERNEL);
service          2295 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (!service)
service          2296 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		return service;
service          2298 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->base.fourcc   = params->fourcc;
service          2299 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->base.callback = params->callback;
service          2300 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->base.userdata = params->userdata;
service          2301 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->handle        = VCHIQ_SERVICE_HANDLE_INVALID;
service          2302 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->ref_count     = 1;
service          2303 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->srvstate      = VCHIQ_SRVSTATE_FREE;
service          2304 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->userdata_term = userdata_term;
service          2305 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->localport     = VCHIQ_PORT_FREE;
service          2306 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->remoteport    = VCHIQ_PORT_FREE;
service          2308 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->public_fourcc = (srvstate == VCHIQ_SRVSTATE_OPENING) ?
service          2310 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->client_id     = 0;
service          2311 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->auto_close    = 1;
service          2312 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->sync          = 0;
service          2313 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->closing       = 0;
service          2314 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->trace         = 0;
service          2315 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	atomic_set(&service->poll_flags, 0);
service          2316 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->version       = params->version;
service          2317 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->version_min   = params->version_min;
service          2318 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->state         = state;
service          2319 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->instance      = instance;
service          2320 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->service_use_count = 0;
service          2321 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	init_bulk_queue(&service->bulk_tx);
service          2322 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	init_bulk_queue(&service->bulk_rx);
service          2323 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	init_completion(&service->remove_event);
service          2324 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	init_completion(&service->bulk_remove_event);
service          2325 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	mutex_init(&service->bulk_mutex);
service          2326 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	memset(&service->stats, 0, sizeof(service->stats));
service          2372 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->localport = (pservice - state->services);
service          2376 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->handle = handle_seq |
service          2378 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service->localport;
service          2380 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		*pservice = service;
service          2388 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		kfree(service);
service          2392 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service_quota = &state->service_quotas[service->localport];
service          2401 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	vchiq_set_service_state(service, srvstate);
service          2408 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->localport);
service          2412 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	return service;
service          2416 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c vchiq_open_service_internal(struct vchiq_service *service, int client_id)
service          2419 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->base.fourcc,
service          2421 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->version,
service          2422 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->version_min
service          2426 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	service->client_id = client_id;
service          2427 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	vchiq_use_service_internal(service);
service          2428 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	status = queue_message(service->state,
service          2431 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					      service->localport,
service          2439 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (wait_for_completion_interruptible(&service->remove_event)) {
service          2441 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			vchiq_release_service_internal(service);
service          2442 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		} else if ((service->srvstate != VCHIQ_SRVSTATE_OPEN) &&
service          2443 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			(service->srvstate != VCHIQ_SRVSTATE_OPENSYNC)) {
service          2444 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (service->srvstate != VCHIQ_SRVSTATE_CLOSEWAIT)
service          2447 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					service->state->id,
service          2448 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					srvstate_names[service->srvstate],
service          2449 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					service->ref_count);
service          2451 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			VCHIQ_SERVICE_STATS_INC(service, error_count);
service          2452 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			vchiq_release_service_internal(service);
service          2459 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c release_service_messages(struct vchiq_service *service)
service          2461 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_state *state = service->state;
service          2467 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service->sync) {
service          2471 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (VCHIQ_MSG_DSTPORT(header->msgid) == service->localport)
service          2499 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				if ((port == service->localport) &&
service          2520 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c do_abort_bulks(struct vchiq_service *service)
service          2525 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (mutex_lock_killable(&service->bulk_mutex))
service          2527 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	abort_outstanding_bulks(service, &service->bulk_tx);
service          2528 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	abort_outstanding_bulks(service, &service->bulk_rx);
service          2529 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	mutex_unlock(&service->bulk_mutex);
service          2531 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	status = notify_bulks(service, &service->bulk_tx, 0/*!retry_poll*/);
service          2533 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		status = notify_bulks(service, &service->bulk_rx,
service          2539 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c close_service_complete(struct vchiq_service *service, int failstate)
service          2542 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	int is_server = (service->public_fourcc != VCHIQ_FOURCC_INVALID);
service          2545 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	switch (service->srvstate) {
service          2550 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (service->auto_close) {
service          2551 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->client_id = 0;
service          2552 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->remoteport = VCHIQ_PORT_FREE;
service          2558 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		vchiq_set_service_state(service, newstate);
service          2565 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service->handle, srvstate_names[service->srvstate]);
service          2570 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	status = make_service_callback(service,
service          2574 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		int uc = service->service_use_count;
service          2580 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			vchiq_release_service_internal(service);
service          2582 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->client_id = 0;
service          2583 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->remoteport = VCHIQ_PORT_FREE;
service          2585 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (service->srvstate == VCHIQ_SRVSTATE_CLOSED)
service          2586 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			vchiq_free_service_internal(service);
service          2587 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		else if (service->srvstate != VCHIQ_SRVSTATE_CLOSEWAIT) {
service          2589 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->closing = 0;
service          2591 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			complete(&service->remove_event);
service          2594 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		vchiq_set_service_state(service, failstate);
service          2601 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c vchiq_close_service_internal(struct vchiq_service *service, int close_recvd)
service          2603 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_state *state = service->state;
service          2605 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	int is_server = (service->public_fourcc != VCHIQ_FOURCC_INVALID);
service          2608 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->state->id, service->localport, close_recvd,
service          2609 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		srvstate_names[service->srvstate]);
service          2611 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	switch (service->srvstate) {
service          2620 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				__func__, srvstate_names[service->srvstate]);
service          2622 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (service->srvstate == VCHIQ_SRVSTATE_LISTENING) {
service          2625 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->client_id = 0;
service          2626 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->remoteport = VCHIQ_PORT_FREE;
service          2627 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				if (service->srvstate ==
service          2629 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					vchiq_set_service_state(service,
service          2632 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			complete(&service->remove_event);
service          2634 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			vchiq_free_service_internal(service);
service          2639 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			vchiq_set_service_state(service,
service          2641 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			complete(&service->remove_event);
service          2644 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			status = queue_message(state, service,
service          2647 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->localport,
service          2648 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				VCHIQ_MSG_DSTPORT(service->remoteport)),
service          2658 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (!do_abort_bulks(service))
service          2662 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		release_service_messages(service);
service          2665 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			status = queue_message(state, service,
service          2668 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->localport,
service          2669 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				VCHIQ_MSG_DSTPORT(service->remoteport)),
service          2676 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				vchiq_set_service_state(service,
service          2679 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				if (service->sync)
service          2683 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		} else if (service->srvstate == VCHIQ_SRVSTATE_OPENSYNC) {
service          2690 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		vchiq_set_service_state(service, VCHIQ_SRVSTATE_CLOSERECVD);
service          2692 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (service->sync)
service          2695 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		status = close_service_complete(service,
service          2704 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (!do_abort_bulks(service)) {
service          2710 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			status = close_service_complete(service,
service          2717 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			vchiq_set_service_state(service,
service          2719 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		status = close_service_complete(service,
service          2726 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			close_recvd, srvstate_names[service->srvstate]);
service          2735 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c vchiq_terminate_service_internal(struct vchiq_service *service)
service          2737 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_state *state = service->state;
service          2740 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		state->id, service->localport, service->remoteport);
service          2742 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	mark_service_closing(service);
service          2745 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	request_poll(state, service, VCHIQ_POLL_REMOVE);
service          2750 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c vchiq_free_service_internal(struct vchiq_service *service)
service          2752 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_state *state = service->state;
service          2755 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		state->id, service->localport);
service          2757 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	switch (service->srvstate) {
service          2767 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			state->id, service->localport,
service          2768 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			srvstate_names[service->srvstate]);
service          2772 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	vchiq_set_service_state(service, VCHIQ_SRVSTATE_FREE);
service          2774 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	complete(&service->remove_event);
service          2777 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	unlock_service(service);
service          2783 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service;
service          2788 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	while ((service = next_service_by_instance(state, instance,
service          2790 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (service->srvstate == VCHIQ_SRVSTATE_HIDDEN)
service          2791 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			vchiq_set_service_state(service,
service          2793 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		unlock_service(service);
service          2819 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service;
service          2824 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	while ((service = next_service_by_instance(state, instance,
service          2826 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		(void)vchiq_remove_service(service->handle);
service          2827 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		unlock_service(service);
service          2837 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service = find_service_by_handle(handle);
service          2840 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (!service)
service          2845 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->state->id, service->localport);
service          2847 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if ((service->srvstate == VCHIQ_SRVSTATE_FREE) ||
service          2848 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		(service->srvstate == VCHIQ_SRVSTATE_LISTENING) ||
service          2849 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		(service->srvstate == VCHIQ_SRVSTATE_HIDDEN)) {
service          2850 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		unlock_service(service);
service          2854 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	mark_service_closing(service);
service          2856 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (current == service->state->slot_handler_thread) {
service          2857 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		status = vchiq_close_service_internal(service,
service          2862 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		request_poll(service->state, service, VCHIQ_POLL_TERMINATE);
service          2866 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (wait_for_completion_interruptible(&service->remove_event)) {
service          2871 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if ((service->srvstate == VCHIQ_SRVSTATE_FREE) ||
service          2872 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			(service->srvstate == VCHIQ_SRVSTATE_LISTENING) ||
service          2873 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			(service->srvstate == VCHIQ_SRVSTATE_OPEN))
service          2878 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service->state->id, service->localport,
service          2879 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			srvstate_names[service->srvstate]);
service          2883 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		(service->srvstate != VCHIQ_SRVSTATE_FREE) &&
service          2884 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		(service->srvstate != VCHIQ_SRVSTATE_LISTENING))
service          2887 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	unlock_service(service);
service          2896 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service = find_service_by_handle(handle);
service          2899 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (!service)
service          2904 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->state->id, service->localport);
service          2906 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service->srvstate == VCHIQ_SRVSTATE_FREE) {
service          2907 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		unlock_service(service);
service          2911 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	mark_service_closing(service);
service          2913 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if ((service->srvstate == VCHIQ_SRVSTATE_HIDDEN) ||
service          2914 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		(current == service->state->slot_handler_thread)) {
service          2917 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->public_fourcc = VCHIQ_FOURCC_INVALID;
service          2919 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		status = vchiq_close_service_internal(service,
service          2924 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		request_poll(service->state, service, VCHIQ_POLL_REMOVE);
service          2927 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (wait_for_completion_interruptible(&service->remove_event)) {
service          2932 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if ((service->srvstate == VCHIQ_SRVSTATE_FREE) ||
service          2933 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			(service->srvstate == VCHIQ_SRVSTATE_OPEN))
service          2938 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service->state->id, service->localport,
service          2939 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			srvstate_names[service->srvstate]);
service          2943 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		(service->srvstate != VCHIQ_SRVSTATE_FREE))
service          2946 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	unlock_service(service);
service          2963 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service = find_service_by_handle(handle);
service          2974 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (!service || service->srvstate != VCHIQ_SRVSTATE_OPEN ||
service          2975 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	    !offset || vchiq_check_service(service) != VCHIQ_SUCCESS)
service          2996 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	state = service->state;
service          2999 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		&service->bulk_tx : &service->bulk_rx;
service          3001 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (mutex_lock_killable(&service->bulk_mutex)) {
service          3007 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		VCHIQ_SERVICE_STATS_INC(service, bulk_stalls);
service          3009 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			mutex_unlock(&service->bulk_mutex);
service          3011 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 						&service->bulk_remove_event)) {
service          3015 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (mutex_lock_killable(&service->bulk_mutex)) {
service          3038 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		state->id, service->localport, service->remoteport, dir_char,
service          3048 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service->srvstate != VCHIQ_SRVSTATE_OPEN)
service          3056 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					      service->localport,
service          3057 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					      service->remoteport),
service          3070 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	mutex_unlock(&service->bulk_mutex);
service          3075 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->localport, dir_char,
service          3079 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	unlock_service(service);
service          3098 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	mutex_unlock(&service->bulk_mutex);
service          3101 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service)
service          3102 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		unlock_service(service);
service          3113 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service = find_service_by_handle(handle);
service          3116 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (!service ||
service          3117 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		(vchiq_check_service(service) != VCHIQ_SUCCESS))
service          3121 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		VCHIQ_SERVICE_STATS_INC(service, error_count);
service          3127 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		VCHIQ_SERVICE_STATS_INC(service, error_count);
service          3131 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	switch (service->srvstate) {
service          3133 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		status = queue_message(service->state, service,
service          3135 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					service->localport,
service          3136 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					service->remoteport),
service          3140 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		status = queue_message_sync(service->state, service,
service          3142 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					service->localport,
service          3143 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					service->remoteport),
service          3152 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service)
service          3153 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		unlock_service(service);
service          3162 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service = find_service_by_handle(handle);
service          3167 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (!service)
service          3170 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	state = service->state;
service          3183 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			release_slot(state, slot_info, header, service);
service          3188 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	unlock_service(service);
service          3202 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service = find_service_by_handle(handle);
service          3204 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (!service ||
service          3205 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	    (vchiq_check_service(service) != VCHIQ_SUCCESS) ||
service          3208 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	*peer_version = service->peer_version;
service          3212 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service)
service          3213 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		unlock_service(service);
service          3231 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	struct vchiq_service *service = find_service_by_handle(handle);
service          3234 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service) {
service          3237 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service->auto_close = value;
service          3243 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				&service->state->service_quotas[
service          3244 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					service->localport];
service          3246 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				value = service->state->default_slot_quota;
service          3263 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				&service->state->service_quotas[
service          3264 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					service->localport];
service          3266 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				value = service->state->default_message_quota;
service          3282 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if ((service->srvstate == VCHIQ_SRVSTATE_HIDDEN) ||
service          3283 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				(service->srvstate ==
service          3285 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->sync = value;
service          3291 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service->trace = value;
service          3298 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		unlock_service(service);
service          3404 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		struct vchiq_service *service = find_service_by_port(state, i);
service          3406 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (service) {
service          3407 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			vchiq_dump_service_state(dump_context, service);
service          3408 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			unlock_service(service);
service          3414 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c vchiq_dump_service_state(void *dump_context, struct vchiq_service *service)
service          3420 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->localport, srvstate_names[service->srvstate],
service          3421 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		service->ref_count - 1); /*Don't include the lock just taken*/
service          3423 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service->srvstate != VCHIQ_SRVSTATE_FREE) {
service          3426 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			&service->state->service_quotas[service->localport];
service          3427 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		int fourcc = service->base.fourcc;
service          3430 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		if (service->remoteport != VCHIQ_PORT_FREE) {
service          3432 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				"%u", service->remoteport);
service          3434 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			if (service->public_fourcc != VCHIQ_FOURCC_INVALID)
service          3437 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 					" (client %x)", service->client_id);
service          3452 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		tx_pending = service->bulk_tx.local_insert -
service          3453 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service->bulk_tx.remote_insert;
service          3455 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		rx_pending = service->bulk_rx.local_insert -
service          3456 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			service->bulk_rx.remote_insert;
service          3462 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			tx_pending ? service->bulk_tx.bulks[
service          3463 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			BULK_INDEX(service->bulk_tx.remove)].size : 0,
service          3465 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			rx_pending ? service->bulk_rx.bulks[
service          3466 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 			BULK_INDEX(service->bulk_rx.remove)].size : 0);
service          3474 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->stats.ctrl_tx_count,
service          3475 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->stats.ctrl_tx_bytes,
service          3476 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->stats.ctrl_rx_count,
service          3477 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->stats.ctrl_rx_bytes);
service          3483 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->stats.bulk_tx_count,
service          3484 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->stats.bulk_tx_bytes,
service          3485 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->stats.bulk_rx_count,
service          3486 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->stats.bulk_rx_bytes);
service          3492 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->stats.quota_stalls,
service          3493 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->stats.slot_stalls,
service          3494 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->stats.bulk_stalls,
service          3495 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->stats.bulk_aborted_count,
service          3496 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 				service->stats.error_count);
service          3502 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 	if (service->srvstate != VCHIQ_SRVSTATE_FREE)
service          3503 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.c 		vchiq_dump_platform_service_state(dump_context, service);
service           127 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h #define VCHIQ_SERVICE_STATS_INC(service, stat) (service->stats. stat++)
service           128 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) \
service           129 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h 	(service->stats. stat += addend)
service           132 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h #define VCHIQ_SERVICE_STATS_INC(service, stat) ((void)0)
service           133 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h #define VCHIQ_SERVICE_STATS_ADD(service, stat, addend) ((void)0)
service           507 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h vchiq_open_service_internal(struct vchiq_service *service, int client_id);
service           510 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h vchiq_close_service_internal(struct vchiq_service *service, int close_recvd);
service           513 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h vchiq_terminate_service_internal(struct vchiq_service *service);
service           516 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h vchiq_free_service_internal(struct vchiq_service *service);
service           533 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h vchiq_dump_service_state(void *dump_context, struct vchiq_service *service);
service           542 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h request_poll(struct vchiq_state *state, struct vchiq_service *service,
service           575 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h lock_service(struct vchiq_service *service);
service           578 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h unlock_service(struct vchiq_service *service);
service           616 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h 	struct vchiq_service *service);
service           619 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h vchiq_use_service_internal(struct vchiq_service *service);
service           622 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h vchiq_release_service_internal(struct vchiq_service *service);
service           634 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_core.h vchiq_check_service(struct vchiq_service *service);
service            15 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h #define VCHIQ_GET_SERVICE_USERDATA(service) vchiq_get_service_userdata(service)
service            16 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h #define VCHIQ_GET_SERVICE_FOURCC(service)   vchiq_get_service_fourcc(service)
service           107 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h extern VCHIQ_STATUS_T vchiq_close_service(VCHIQ_SERVICE_HANDLE_T service);
service           108 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h extern VCHIQ_STATUS_T vchiq_remove_service(VCHIQ_SERVICE_HANDLE_T service);
service           109 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h extern VCHIQ_STATUS_T vchiq_use_service(VCHIQ_SERVICE_HANDLE_T service);
service           110 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h extern VCHIQ_STATUS_T vchiq_release_service(VCHIQ_SERVICE_HANDLE_T service);
service           117 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h extern void           vchiq_release_message(VCHIQ_SERVICE_HANDLE_T service,
service           119 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h extern VCHIQ_STATUS_T vchiq_bulk_transmit(VCHIQ_SERVICE_HANDLE_T service,
service           122 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h extern VCHIQ_STATUS_T vchiq_bulk_receive(VCHIQ_SERVICE_HANDLE_T service,
service           125 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h extern VCHIQ_STATUS_T vchiq_bulk_transmit_handle(VCHIQ_SERVICE_HANDLE_T service,
service           128 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h extern VCHIQ_STATUS_T vchiq_bulk_receive_handle(VCHIQ_SERVICE_HANDLE_T service,
service           131 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h extern int   vchiq_get_client_id(VCHIQ_SERVICE_HANDLE_T service);
service           132 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h extern void *vchiq_get_service_userdata(VCHIQ_SERVICE_HANDLE_T service);
service           133 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h extern int   vchiq_get_service_fourcc(VCHIQ_SERVICE_HANDLE_T service);
service           135 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h extern VCHIQ_STATUS_T vchiq_set_service_option(VCHIQ_SERVICE_HANDLE_T service,
service           142 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_if.h extern VCHIQ_STATUS_T vchiq_dump_phys_mem(VCHIQ_SERVICE_HANDLE_T service,
service            44 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service = (struct shim_service *)handle;
service            51 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		if (vchiu_queue_is_empty(&service->queue))
service            54 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	header = vchiu_queue_peek(&service->queue);
service            76 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service = (struct shim_service *)handle;
service            79 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	header = vchiu_queue_pop(&service->queue);
service            81 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	vchiq_release_message(service->handle, header);
service           108 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service = (struct shim_service *)handle;
service           112 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		status = vchiq_queue_message(service->handle,
service           207 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service = (struct shim_service *)handle;
service           214 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		WARN_ON(!service->callback);
service           230 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		status = vchiq_bulk_receive(service->handle, data_dst,
service           267 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service = (struct shim_service *)handle;
service           274 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		WARN_ON(!service->callback);
service           291 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		status = vchiq_bulk_transmit(service->handle, data_src,
service           329 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service = (struct shim_service *)handle;
service           336 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		if (vchiu_queue_is_empty(&service->queue))
service           339 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	header = vchiu_queue_pop(&service->queue);
service           346 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	vchiq_release_message(service->handle, header);
service           373 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	vchiq_release_message((VCHIQ_SERVICE_HANDLE_T)(long)message->service,
service           403 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service = (struct shim_service *)handle;
service           410 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		if (vchiu_queue_is_empty(&service->queue))
service           413 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	header = vchiu_queue_pop(&service->queue);
service           426 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	message_handle->service =
service           427 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		(struct opaque_vchi_service_t *)(long)service->handle;
service           517 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service =
service           520 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	if (!service->callback)
service           525 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		vchiu_queue_push(&service->queue, header);
service           527 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		service->callback(service->callback_param,
service           533 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		service->callback(service->callback_param,
service           538 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		service->callback(service->callback_param,
service           543 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		service->callback(service->callback_param,
service           552 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		service->callback(service->callback_param,
service           558 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		service->callback(service->callback_param,
service           569 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	vchiq_release_message(service->handle, header);
service           577 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service = kzalloc(sizeof(struct shim_service), GFP_KERNEL);
service           581 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	if (service) {
service           582 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		if (vchiu_queue_init(&service->queue, 64)) {
service           583 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 			service->callback = setup->callback;
service           584 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 			service->callback_param = setup->callback_param;
service           586 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 			kfree(service);
service           587 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 			service = NULL;
service           591 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	return service;
service           594 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c static void service_free(struct shim_service *service)
service           596 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	if (service) {
service           597 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		vchiu_queue_delete(&service->queue);
service           598 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		kfree(service);
service           607 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service = service_alloc(instance, setup);
service           609 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	*handle = (VCHI_SERVICE_HANDLE_T)service;
service           611 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	if (service) {
service           618 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		params.userdata = service;
service           623 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 			&service->handle);
service           625 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 			service_free(service);
service           626 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 			service = NULL;
service           631 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	return (service != NULL) ? 0 : -1;
service           638 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service = (struct shim_service *)handle;
service           640 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	if (service) {
service           641 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		VCHIQ_STATUS_T status = vchiq_close_service(service->handle);
service           643 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 			service_free(service);
service           654 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service = (struct shim_service *)handle;
service           656 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	if (service) {
service           657 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		VCHIQ_STATUS_T status = vchiq_remove_service(service->handle);
service           660 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 			service_free(service);
service           661 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 			service = NULL;
service           675 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service = (struct shim_service *)handle;
service           686 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		service = NULL;
service           689 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	if (service) {
service           691 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 			vchiq_set_service_option(service->handle,
service           704 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service = (struct shim_service *)handle;
service           706 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	if (service) {
service           709 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		status = vchiq_get_peer_version(service->handle, peer_version);
service           730 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service = (struct shim_service *)handle;
service           731 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	if (service)
service           732 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 		ret = vchiq_status_to_vchi(vchiq_use_service(service->handle));
service           751 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	struct shim_service *service = (struct shim_service *)handle;
service           752 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 	if (service)
service           754 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c 			vchiq_release_service(service->handle));
service          1886 drivers/staging/vt6655/baseband.c 		phy->service = 0x00;
service          1888 drivers/staging/vt6655/baseband.c 			phy->service |= 0x80;
service          1891 drivers/staging/vt6655/baseband.c 		phy->service = 0x00;
service           241 drivers/staging/vt6655/desc.h 	u8 service;
service           309 drivers/staging/vt6656/baseband.c 		phy->service = 0x00;
service           311 drivers/staging/vt6656/baseband.c 			phy->service |= 0x80;
service           314 drivers/staging/vt6656/baseband.c 		phy->service = 0x00;
service            72 drivers/staging/vt6656/baseband.h 	u8 service;
service           307 drivers/staging/vt6656/card.c 	data[3] = phy[0].service;
service           311 drivers/staging/vt6656/card.c 	data[7] = phy[1].service;
service           315 drivers/staging/vt6656/card.c 	data[11] = phy[2].service;
service           319 drivers/staging/vt6656/card.c 	data[15] = phy[3].service;
service            29 fs/afs/addr_list.c 					 unsigned short service,
service            35 fs/afs/addr_list.c 	_enter("%u,%u,%u", nr, service, port);
service            50 fs/afs/addr_list.c 		srx->srx_service		= service;
service            66 fs/afs/addr_list.c 					       unsigned short service,
service           129 fs/afs/addr_list.c 	alist = afs_alloc_addrlist(nr, service, AFS_VL_PORT);
service          5442 fs/nfs/nfs4xdr.c 	flavor->flavor_info.service = be32_to_cpup(p);
service          2185 fs/nfsd/nfs4state.c 	u32 service;
service          2189 fs/nfsd/nfs4state.c 	service = gss_pseudoflavor_to_service(cr->cr_gss_mech, cr->cr_flavor);
service          2190 fs/nfsd/nfs4state.c 	return service == RPC_GSS_SVC_INTEGRITY ||
service          2191 fs/nfsd/nfs4state.c 	       service == RPC_GSS_SVC_PRIVACY;
service          3827 fs/nfsd/nfs4xdr.c 			*p++ = cpu_to_be32(info.service);
service           208 include/linux/dccp.h 					const __be32 service)
service           213 include/linux/dccp.h 			if (sl->dccpsl_list[i] == service)
service           117 include/linux/soc/qcom/qmi.h 	unsigned int service;
service           239 include/linux/soc/qcom/qmi.h int qmi_add_lookup(struct qmi_handle *qmi, unsigned int service,
service           241 include/linux/soc/qcom/qmi.h int qmi_add_server(struct qmi_handle *qmi, unsigned int service,
service            43 include/linux/sunrpc/gss_api.h 	u32			service;
service            77 include/linux/sunrpc/gss_api.h 					u32 service);
service            80 include/linux/sunrpc/gss_api.h char *gss_service_to_auth_domain_name(struct gss_api_mech *, u32 service);
service            85 include/linux/sunrpc/gss_api.h 	u32	service;
service            41 include/net/caif/cfsrvl.h void cfsrvl_init(struct cfsrvl *service,
service            45 include/net/caif/cfsrvl.h bool cfsrvl_ready(struct cfsrvl *service, int *err);
service            96 include/soc/fsl/dpaa2-io.h int dpaa2_io_service_register(struct dpaa2_io *service,
service            99 include/soc/fsl/dpaa2-io.h void dpaa2_io_service_deregister(struct dpaa2_io *service,
service           102 include/soc/fsl/dpaa2-io.h int dpaa2_io_service_rearm(struct dpaa2_io *service,
service           878 include/trace/events/sunrpc.h 		__string(service, name)
service           887 include/trace/events/sunrpc.h 		__assign_str(service, name);
service           894 include/trace/events/sunrpc.h 			__get_str(service), __entry->vers, __entry->proc)
service           149 include/uapi/linux/caif/caif_socket.h 			char	  service[16];
service           161 include/uapi/linux/caif/caif_socket.h 			__u8  service;		/* service:caif_debug_service */
service            36 include/uapi/linux/qrtr.h 			__le32 service;
service            41 include/uapi/linux/virtio_crypto.h #define VIRTIO_CRYPTO_OPCODE(service, op)   (((service) << 8) | (op))
service            77 net/bluetooth/bnep/bnep.h 	__u8 service[0];
service           278 net/caif/cfcnfg.c 		strlcpy(l->u.utility.name, s->sockaddr.u.util.service,
service           291 net/caif/cfcnfg.c 		l->endpoint = s->sockaddr.u.dbg.service;
service            40 net/caif/cfdbgl.c 	struct cfsrvl *service = container_obj(layr);
service            44 net/caif/cfdbgl.c 	if (!cfsrvl_ready(service, &ret)) {
service            51 net/caif/cfdbgl.c 	info->channel_id = service->layer.id;
service            52 net/caif/cfdbgl.c 	info->dev_info = &service->dev_info;
service            86 net/caif/cfdgml.c 	struct cfsrvl *service = container_obj(layr);
service            89 net/caif/cfdgml.c 	if (!cfsrvl_ready(service, &ret)) {
service           106 net/caif/cfdgml.c 	info->channel_id = service->layer.id;
service           111 net/caif/cfdgml.c 	info->dev_info = &service->dev_info;
service            31 net/caif/cfsrvl.c 	struct cfsrvl *service = container_obj(layr);
service            38 net/caif/cfsrvl.c 		service->open = true;
service            43 net/caif/cfsrvl.c 		service->open = false;
service            47 net/caif/cfsrvl.c 		if (phyid != service->dev_info.id)
service            49 net/caif/cfsrvl.c 		if (service->modem_flow_on)
service            52 net/caif/cfsrvl.c 		service->phy_flow_on = false;
service            55 net/caif/cfsrvl.c 		if (phyid != service->dev_info.id)
service            57 net/caif/cfsrvl.c 		if (service->modem_flow_on) {
service            62 net/caif/cfsrvl.c 		service->phy_flow_on = true;
service            65 net/caif/cfsrvl.c 		if (service->phy_flow_on) {
service            69 net/caif/cfsrvl.c 		service->modem_flow_on = false;
service            72 net/caif/cfsrvl.c 		if (service->phy_flow_on) {
service            76 net/caif/cfsrvl.c 		service->modem_flow_on = true;
service            90 net/caif/cfsrvl.c 		service->phy_flow_on = true;
service            97 net/caif/cfsrvl.c 	struct cfsrvl *service = container_obj(layr);
service           103 net/caif/cfsrvl.c 	if (!service->supports_flowctrl)
service           122 net/caif/cfsrvl.c 			info->channel_id = service->layer.id;
service           124 net/caif/cfsrvl.c 			info->dev_info = &service->dev_info;
service           143 net/caif/cfsrvl.c 			info->channel_id = service->layer.id;
service           145 net/caif/cfsrvl.c 			info->dev_info = &service->dev_info;
service           157 net/caif/cfsrvl.c 	struct cfsrvl *service = container_of(layer, struct cfsrvl, layer);
service           158 net/caif/cfsrvl.c 	kfree(service);
service           161 net/caif/cfsrvl.c void cfsrvl_init(struct cfsrvl *service,
service           167 net/caif/cfsrvl.c 	service->open = false;
service           168 net/caif/cfsrvl.c 	service->modem_flow_on = true;
service           169 net/caif/cfsrvl.c 	service->phy_flow_on = true;
service           170 net/caif/cfsrvl.c 	service->layer.id = channel_id;
service           171 net/caif/cfsrvl.c 	service->layer.ctrlcmd = cfservl_ctrlcmd;
service           172 net/caif/cfsrvl.c 	service->layer.modemcmd = cfservl_modemcmd;
service           173 net/caif/cfsrvl.c 	service->dev_info = *dev_info;
service           174 net/caif/cfsrvl.c 	service->supports_flowctrl = supports_flowctrl;
service           175 net/caif/cfsrvl.c 	service->release = cfsrvl_release;
service           178 net/caif/cfsrvl.c bool cfsrvl_ready(struct cfsrvl *service, int *err)
service           180 net/caif/cfsrvl.c 	if (!service->open) {
service           213 net/caif/cfsrvl.c 	struct cfsrvl *service;
service           217 net/caif/cfsrvl.c 	service = container_of(adapt_layer->dn, struct cfsrvl, layer);
service           218 net/caif/cfsrvl.c 	service->hold = hold;
service           219 net/caif/cfsrvl.c 	service->put = put;
service            43 net/caif/cfutill.c 	struct cfsrvl *service = container_obj(layr);
service            68 net/caif/cfutill.c 		service->open = false;
service            83 net/caif/cfutill.c 	struct cfsrvl *service = container_obj(layr);
service            88 net/caif/cfutill.c 	if (!cfsrvl_ready(service, &ret)) {
service            96 net/caif/cfutill.c 	info->channel_id = service->layer.id;
service           102 net/caif/cfutill.c 	info->dev_info = &service->dev_info;
service            80 net/caif/cfveil.c 	struct cfsrvl *service = container_obj(layr);
service            81 net/caif/cfveil.c 	if (!cfsrvl_ready(service, &ret))
service            94 net/caif/cfveil.c 	info->channel_id = service->layer.id;
service            96 net/caif/cfveil.c 	info->dev_info = &service->dev_info;
service            49 net/caif/cfvidl.c 	struct cfsrvl *service = container_obj(layr);
service            54 net/caif/cfvidl.c 	if (!cfsrvl_ready(service, &ret)) {
service            62 net/caif/cfvidl.c 	info->channel_id = service->layer.id;
service            63 net/caif/cfvidl.c 	info->dev_info = &service->dev_info;
service           117 net/ceph/auth_x.c get_ticket_handler(struct ceph_auth_client *ac, int service)
service           126 net/ceph/auth_x.c 		if (service < th->service)
service           128 net/ceph/auth_x.c 		else if (service > th->service)
service           138 net/ceph/auth_x.c 	th->service = service;
service           149 net/ceph/auth_x.c 	dout("remove_ticket_handler %p %d\n", th, th->service);
service           256 net/ceph/auth_x.c 	xi->have_keys |= th->service;
service           360 net/ceph/auth_x.c 	     ceph_entity_type_name(th->service), au);
service           381 net/ceph/auth_x.c 	au->service = th->service;
service           387 net/ceph/auth_x.c 	msg_a->service_id = cpu_to_le32(th->service);
service           457 net/ceph/auth_x.c 	int service;
service           461 net/ceph/auth_x.c 	for (service = 1; service <= want; service <<= 1) {
service           464 net/ceph/auth_x.c 		if (!(ac->want_keys & service))
service           467 net/ceph/auth_x.c 		if (*pneed & service)
service           470 net/ceph/auth_x.c 		th = get_ticket_handler(ac, service);
service           472 net/ceph/auth_x.c 			*pneed |= service;
service           477 net/ceph/auth_x.c 			*pneed |= service;
service           479 net/ceph/auth_x.c 			xi->have_keys &= ~service;
service           675 net/ceph/auth_x.c 		     au->service, au->secret_id, th->secret_id);
service            17 net/ceph/auth_x.h 	unsigned int service;
service            34 net/ceph/auth_x.h 	unsigned int service;
service           328 net/dccp/dccp.h 					const __be32 service)
service           332 net/dccp/dccp.h 	if (dp->dccps_service == service)
service           334 net/dccp/dccp.h 	return !dccp_list_has_service(dp->dccps_service_list, service);
service           578 net/dccp/ipv4.c 	const __be32 service = dccp_hdr_request(skb)->dccph_req_service;
service           585 net/dccp/ipv4.c 	if (dccp_bad_service_code(sk, service)) {
service           633 net/dccp/ipv4.c 	dreq->dreq_service = service;
service           313 net/dccp/ipv6.c 	const __be32 service = dccp_hdr_request(skb)->dccph_req_service;
service           322 net/dccp/ipv6.c 	if (dccp_bad_service_code(sk, service)) {
service           380 net/dccp/ipv6.c 	dreq->dreq_service = service;
service           404 net/dccp/proto.c static int dccp_setsockopt_service(struct sock *sk, const __be32 service,
service           410 net/dccp/proto.c 	if (service == DCCP_SERVICE_INVALID_VALUE ||
service           414 net/dccp/proto.c 	if (optlen > sizeof(service)) {
service           421 net/dccp/proto.c 				   optval + sizeof(service),
service           422 net/dccp/proto.c 				   optlen - sizeof(service)) ||
service           430 net/dccp/proto.c 	dp->dccps_service = service;
service           157 net/rxrpc/af_rxrpc.c 			if (rcu_access_pointer(local->service))
service           160 net/rxrpc/af_rxrpc.c 			rcu_assign_pointer(local->service, rx);
service           863 net/rxrpc/af_rxrpc.c 	if (rx->local && rcu_access_pointer(rx->local->service) == rx) {
service           865 net/rxrpc/af_rxrpc.c 		rcu_assign_pointer(rx->local->service, NULL);
service           274 net/rxrpc/ar-internal.h 	struct rxrpc_sock __rcu	*service;	/* Service(s) listening on this endpoint */
service          1313 net/rxrpc/input.c 		rx = rcu_dereference(local->service);
service           425 net/rxrpc/local_object.c 	ASSERT(!local->service);
service            72 net/sunrpc/auth_gss/auth_gss.c 	enum rpc_gss_svc service;
service           332 net/sunrpc/auth_gss/auth_gss.c 		if (auth && pos->auth->service != auth->service)
service          1047 net/sunrpc/auth_gss/auth_gss.c 	gss_auth->service = gss_pseudoflavor_to_service(gss_auth->mech, flavor);
service          1048 net/sunrpc/auth_gss/auth_gss.c 	if (gss_auth->service == 0)
service          1389 net/sunrpc/auth_gss/auth_gss.c 	cred->gc_service = gss_auth->service;
service           716 net/sunrpc/auth_gss/gss_krb5_mech.c 		.service = RPC_GSS_SVC_NONE,
service           722 net/sunrpc/auth_gss/gss_krb5_mech.c 		.service = RPC_GSS_SVC_INTEGRITY,
service           729 net/sunrpc/auth_gss/gss_krb5_mech.c 		.service = RPC_GSS_SVC_PRIVACY,
service           258 net/sunrpc/auth_gss/gss_mech_switch.c 					 u32 service)
service           264 net/sunrpc/auth_gss/gss_mech_switch.c 		    gm->gm_pfs[i].service == service) {
service           287 net/sunrpc/auth_gss/gss_mech_switch.c 	pseudoflavor = gss_svc_to_pseudoflavor(gm, info->qop, info->service);
service           316 net/sunrpc/auth_gss/gss_mech_switch.c 			info->service = gm->gm_pfs[i].service;
service           333 net/sunrpc/auth_gss/gss_mech_switch.c 			return gm->gm_pfs[i].service;
service           352 net/sunrpc/auth_gss/gss_mech_switch.c gss_service_to_auth_domain_name(struct gss_api_mech *gm, u32 service)
service           357 net/sunrpc/auth_gss/gss_mech_switch.c 		if (gm->gm_pfs[i].service == service)
service           122 net/tipc/name_table.c 	struct tipc_service *service = kzalloc(sizeof(*service), GFP_ATOMIC);
service           124 net/tipc/name_table.c 	if (!service) {
service           129 net/tipc/name_table.c 	spin_lock_init(&service->lock);
service           130 net/tipc/name_table.c 	service->type = type;
service           131 net/tipc/name_table.c 	service->ranges = RB_ROOT;
service           132 net/tipc/name_table.c 	INIT_HLIST_NODE(&service->service_list);
service           133 net/tipc/name_table.c 	INIT_LIST_HEAD(&service->subscriptions);
service           134 net/tipc/name_table.c 	hlist_add_head_rcu(&service->service_list, hd);
service           135 net/tipc/name_table.c 	return service;
service           285 net/tipc/name_table.c static void tipc_service_subscribe(struct tipc_service *service,
service           300 net/tipc/name_table.c 	list_add(&sub->service_list, &service->subscriptions);
service           305 net/tipc/name_table.c 	for (n = rb_first(&service->ranges); n; n = rb_next(n)) {
service           326 net/tipc/name_table.c 	struct tipc_service *service;
service           329 net/tipc/name_table.c 	hlist_for_each_entry_rcu(service, service_head, service_list) {
service           330 net/tipc/name_table.c 		if (service->type == type)
service           331 net/tipc/name_table.c 			return service;
service           780 net/tipc/name_table.c 	struct tipc_service *service;
service           791 net/tipc/name_table.c 		hlist_for_each_entry_rcu(service, service_head, service_list) {
service           792 net/tipc/name_table.c 			tipc_service_delete(net, service);
service           802 net/tipc/name_table.c 					struct tipc_service *service,
service           840 net/tipc/name_table.c 		if (nla_put_u32(msg->skb, TIPC_NLA_PUBL_TYPE, service->type))
service           899 net/tipc/name_table.c 	struct tipc_service *service = NULL;
service           914 net/tipc/name_table.c 			service = tipc_service_find(net, *last_type);
service           915 net/tipc/name_table.c 			if (!service)
service           918 net/tipc/name_table.c 			hlist_for_each_entry_rcu(service, head, service_list)
service           920 net/tipc/name_table.c 			if (!service)
service           924 net/tipc/name_table.c 		hlist_for_each_entry_from_rcu(service, service_list) {
service           925 net/tipc/name_table.c 			spin_lock_bh(&service->lock);
service           926 net/tipc/name_table.c 			err = __tipc_nl_service_range_list(msg, service,
service           931 net/tipc/name_table.c 				*last_type = service->type;
service           932 net/tipc/name_table.c 				spin_unlock_bh(&service->lock);
service           935 net/tipc/name_table.c 			spin_unlock_bh(&service->lock);
service           536 samples/qmi/qmi_sample_client.c 				 struct qmi_service *service)
service           539 samples/qmi/qmi_sample_client.c 	struct sockaddr_qrtr sq = { AF_QIPCRTR, service->node, service->port };
service           554 samples/qmi/qmi_sample_client.c 	service->priv = pdev;
service           565 samples/qmi/qmi_sample_client.c 				  struct qmi_service *service)
service           567 samples/qmi/qmi_sample_client.c 	struct platform_device *pdev = service->priv;
service           261 tools/usb/usbip/src/usbip_network.c int usbip_net_tcp_connect(char *hostname, char *service)
service           272 tools/usb/usbip/src/usbip_network.c 	ret = getaddrinfo(hostname, service, &hints, &res);
service           274 tools/usb/usbip/src/usbip_network.c 		dbg("getaddrinfo: %s service %s: %s", hostname, service,