atif              802 drivers/gpu/drm/amd/amdgpu/amdgpu.h 	struct amdgpu_atif		*atif;
atif               83 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c static union acpi_object *amdgpu_atif_call(struct amdgpu_atif *atif,
atif              108 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	status = acpi_evaluate_object(atif->handle, NULL, &atif_arg,
atif              174 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c static int amdgpu_atif_verify_interface(struct amdgpu_atif *atif)
atif              181 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	info = amdgpu_atif_call(atif, ATIF_FUNCTION_VERIFY_INTERFACE, NULL);
atif              200 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	amdgpu_atif_parse_notification(&atif->notifications, output.notification_mask);
atif              201 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	amdgpu_atif_parse_functions(&atif->functions, output.function_bits);
atif              249 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c static int amdgpu_atif_get_notification_params(struct amdgpu_atif *atif)
atif              252 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	struct amdgpu_atif_notification_cfg *n = &atif->notification_cfg;
atif              257 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	info = amdgpu_atif_call(atif, ATIF_FUNCTION_GET_SYSTEM_PARAMETERS,
atif              317 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c static int amdgpu_atif_query_backlight_caps(struct amdgpu_atif *atif)
atif              332 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	info = amdgpu_atif_call(atif,
atif              350 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	atif->backlight_caps.caps_valid = true;
atif              351 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	atif->backlight_caps.min_input_signal =
atif              353 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	atif->backlight_caps.max_input_signal =
atif              371 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c static int amdgpu_atif_get_sbios_requests(struct amdgpu_atif *atif,
atif              378 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	info = amdgpu_atif_call(atif, ATIF_FUNCTION_GET_SYSTEM_BIOS_REQUESTS,
atif              416 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	struct amdgpu_atif *atif = adev->atif;
atif              426 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	if (!atif ||
atif              427 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	    !atif->notification_cfg.enabled ||
atif              428 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	    event->type != atif->notification_cfg.command_code) {
atif              436 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	if (atif->functions.sbios_requests) {
atif              440 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 		count = amdgpu_atif_get_sbios_requests(atif, &req);
atif              450 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 			struct amdgpu_encoder *enc = atif->encoder_for_bl;
atif              774 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	struct amdgpu_atif *atif;
atif              795 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	atif = kzalloc(sizeof(*atif), GFP_KERNEL);
atif              796 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	if (!atif) {
atif              800 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	atif->handle = atif_handle;
atif              803 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	ret = amdgpu_atif_verify_interface(atif);
atif              806 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 		kfree(atif);
atif              809 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	adev->atif = atif;
atif              811 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	if (atif->notifications.brightness_change) {
atif              823 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 					atif->encoder_for_bl = enc;
atif              830 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	if (atif->functions.sbios_requests && !atif->functions.system_params) {
atif              835 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 		atif->functions.system_params = true;
atif              838 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	if (atif->functions.system_params) {
atif              839 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 		ret = amdgpu_atif_get_notification_params(atif);
atif              844 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 			atif->notification_cfg.enabled = false;
atif              848 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	if (atif->functions.query_backlight_transfer_characteristics) {
atif              849 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 		ret = amdgpu_atif_query_backlight_caps(atif);
atif              853 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 			atif->backlight_caps.caps_valid = false;
atif              856 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 		atif->backlight_caps.caps_valid = false;
atif              869 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	if (!adev->atif) {
atif              873 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	caps->caps_valid = adev->atif->backlight_caps.caps_valid;
atif              874 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	caps->min_input_signal = adev->atif->backlight_caps.min_input_signal;
atif              875 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	caps->max_input_signal = adev->atif->backlight_caps.max_input_signal;
atif              888 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c 	kfree(adev->atif);
atif             2437 drivers/gpu/drm/radeon/radeon.h 	struct radeon_atif		atif;
atif              211 drivers/gpu/drm/radeon/radeon_acpi.c 		struct radeon_atif *atif)
atif              237 drivers/gpu/drm/radeon/radeon_acpi.c 	radeon_atif_parse_notification(&atif->notifications, output.notification_mask);
atif              238 drivers/gpu/drm/radeon/radeon_acpi.c 	radeon_atif_parse_functions(&atif->functions, output.function_bits);
atif              361 drivers/gpu/drm/radeon/radeon_acpi.c 	struct radeon_atif *atif = &rdev->atif;
atif              372 drivers/gpu/drm/radeon/radeon_acpi.c 	if (!atif->notification_cfg.enabled ||
atif              373 drivers/gpu/drm/radeon/radeon_acpi.c 			event->type != atif->notification_cfg.command_code)
atif              387 drivers/gpu/drm/radeon/radeon_acpi.c 		struct radeon_encoder *enc = atif->encoder_for_bl;
atif              713 drivers/gpu/drm/radeon/radeon_acpi.c 	struct radeon_atif *atif = &rdev->atif;
atif              731 drivers/gpu/drm/radeon/radeon_acpi.c 	ret = radeon_atif_verify_interface(handle, atif);
atif              737 drivers/gpu/drm/radeon/radeon_acpi.c 	if (atif->notifications.brightness_change) {
atif              764 drivers/gpu/drm/radeon/radeon_acpi.c 		atif->encoder_for_bl = target;
atif              767 drivers/gpu/drm/radeon/radeon_acpi.c 	if (atif->functions.sbios_requests && !atif->functions.system_params) {
atif              772 drivers/gpu/drm/radeon/radeon_acpi.c 		atif->functions.system_params = true;
atif              775 drivers/gpu/drm/radeon/radeon_acpi.c 	if (atif->functions.system_params) {
atif              777 drivers/gpu/drm/radeon/radeon_acpi.c 				&atif->notification_cfg);
atif              782 drivers/gpu/drm/radeon/radeon_acpi.c 			atif->notification_cfg.enabled = false;
atif              129 include/linux/atalk.h extern void		 aarp_probe_network(struct atalk_iface *atif);
atif              130 include/linux/atalk.h extern int 		 aarp_proxy_probe_network(struct atalk_iface *atif,
atif              461 net/appletalk/aarp.c void aarp_probe_network(struct atalk_iface *atif)
atif              463 net/appletalk/aarp.c 	if (atif->dev->type == ARPHRD_LOCALTLK ||
atif              464 net/appletalk/aarp.c 	    atif->dev->type == ARPHRD_PPP)
atif              465 net/appletalk/aarp.c 		aarp_send_probe_phase1(atif);
atif              470 net/appletalk/aarp.c 			aarp_send_probe(atif->dev, &atif->address);
atif              475 net/appletalk/aarp.c 			if (atif->status & ATIF_PROBE_FAIL)
atif              481 net/appletalk/aarp.c int aarp_proxy_probe_network(struct atalk_iface *atif, struct atalk_addr *sa)
atif              491 net/appletalk/aarp.c 	if (atif->dev->type == ARPHRD_LOCALTLK ||
atif              492 net/appletalk/aarp.c 	    atif->dev->type == ARPHRD_PPP)
atif              508 net/appletalk/aarp.c 	entry->dev = atif->dev;
atif              517 net/appletalk/aarp.c 		aarp_send_probe(atif->dev, sa);
atif               88 net/appletalk/ddp.c 					struct atalk_iface *atif)
atif              113 net/appletalk/ddp.c 		    atif->address.s_node == at->src_node) {
atif              114 net/appletalk/ddp.c 			to->sat_addr.s_node = atif->address.s_node;
atif              242 net/appletalk/ddp.c static int atif_probe_device(struct atalk_iface *atif)
atif              244 net/appletalk/ddp.c 	int netrange = ntohs(atif->nets.nr_lastnet) -
atif              245 net/appletalk/ddp.c 			ntohs(atif->nets.nr_firstnet) + 1;
atif              246 net/appletalk/ddp.c 	int probe_net = ntohs(atif->address.s_net);
atif              247 net/appletalk/ddp.c 	int probe_node = atif->address.s_node;
atif              252 net/appletalk/ddp.c 		probe_net = ntohs(atif->nets.nr_firstnet);
atif              260 net/appletalk/ddp.c 	atif->status |= ATIF_PROBE;
atif              263 net/appletalk/ddp.c 		atif->address.s_net = htons(probe_net);
atif              265 net/appletalk/ddp.c 			atif->address.s_node = (nodect + probe_node) & 0xFF;
atif              266 net/appletalk/ddp.c 			if (atif->address.s_node > 0 &&
atif              267 net/appletalk/ddp.c 			    atif->address.s_node < 254) {
atif              269 net/appletalk/ddp.c 				aarp_probe_network(atif);
atif              271 net/appletalk/ddp.c 				if (!(atif->status & ATIF_PROBE_FAIL)) {
atif              272 net/appletalk/ddp.c 					atif->status &= ~ATIF_PROBE;
atif              276 net/appletalk/ddp.c 			atif->status &= ~ATIF_PROBE_FAIL;
atif              279 net/appletalk/ddp.c 		if (probe_net > ntohs(atif->nets.nr_lastnet))
atif              280 net/appletalk/ddp.c 			probe_net = ntohs(atif->nets.nr_firstnet);
atif              282 net/appletalk/ddp.c 	atif->status &= ~ATIF_PROBE;
atif              289 net/appletalk/ddp.c static int atif_proxy_probe_device(struct atalk_iface *atif,
atif              292 net/appletalk/ddp.c 	int netrange = ntohs(atif->nets.nr_lastnet) -
atif              293 net/appletalk/ddp.c 			ntohs(atif->nets.nr_firstnet) + 1;
atif              295 net/appletalk/ddp.c 	int probe_net = ntohs(atif->address.s_net);
atif              301 net/appletalk/ddp.c 		probe_net = ntohs(atif->nets.nr_firstnet);
atif              318 net/appletalk/ddp.c 				int ret = aarp_proxy_probe_network(atif,
atif              326 net/appletalk/ddp.c 		if (probe_net > ntohs(atif->nets.nr_lastnet))
atif              327 net/appletalk/ddp.c 			probe_net = ntohs(atif->nets.nr_firstnet);
atif              662 net/appletalk/ddp.c 	struct atalk_iface *atif;
atif              676 net/appletalk/ddp.c 	atif = atalk_find_dev(dev);
atif              716 net/appletalk/ddp.c 		if (atif) {
atif              718 net/appletalk/ddp.c 			if (atif->status & ATIF_PROBE)
atif              721 net/appletalk/ddp.c 			atif->address.s_net  = sa->sat_addr.s_net;
atif              722 net/appletalk/ddp.c 			atif->address.s_node = sa->sat_addr.s_node;
atif              725 net/appletalk/ddp.c 			atif = atif_add_device(dev, &sa->sat_addr);
atif              726 net/appletalk/ddp.c 			if (!atif)
atif              729 net/appletalk/ddp.c 		atif->nets = *nr;
atif              738 net/appletalk/ddp.c 		    atif_probe_device(atif) < 0) {
atif              746 net/appletalk/ddp.c 		sa->sat_addr.s_net  = atif->address.s_net;
atif              747 net/appletalk/ddp.c 		sa->sat_addr.s_node = atif->address.s_node;
atif              759 net/appletalk/ddp.c 			sa->sat_addr.s_net = atif->address.s_net;
atif              780 net/appletalk/ddp.c 		if (!atif)
atif              784 net/appletalk/ddp.c 		sa->sat_addr = atif->address;
atif              788 net/appletalk/ddp.c 		if (!atif)
atif              792 net/appletalk/ddp.c 		sa->sat_addr.s_net = atif->address.s_net;
atif              824 net/appletalk/ddp.c 		if (!atif)
atif              827 net/appletalk/ddp.c 		nr = (struct atalk_netrange *)&(atif->nets);
atif              843 net/appletalk/ddp.c 		if (atif_proxy_probe_device(atif, &(sa->sat_addr)) < 0)
atif              859 net/appletalk/ddp.c 		if (!atif)
atif              863 net/appletalk/ddp.c 		aarp_proxy_remove(atif->dev, &(sa->sat_addr));
atif             1417 net/appletalk/ddp.c 	struct atalk_iface *atif;
atif             1463 net/appletalk/ddp.c 		atif = atalk_find_anynet(ddp->deh_dnode, dev);
atif             1465 net/appletalk/ddp.c 		atif = atalk_find_interface(ddp->deh_dnet, ddp->deh_dnode);
atif             1467 net/appletalk/ddp.c 	if (!atif) {
atif             1485 net/appletalk/ddp.c 	sock = atalk_search_socket(&tosat, atif);