drivers/misc/ibmasm/r_heartbeat.c

Source file repositories/reference/linux-study-clean/drivers/misc/ibmasm/r_heartbeat.c

File Facts

System
Linux kernel
Corpus path
drivers/misc/ibmasm/r_heartbeat.c
Extension
.c
Size
1945 bytes
Lines
87
Domain
Driver Families
Bucket
drivers/misc
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

if (signal_pending(current) || rhb->stopped) {
			result = -EINTR;
			break;
		}
	}
	command_put(cmd);
	rhb->stopped = 0;

	return result;
}

void ibmasm_stop_reverse_heartbeat(struct reverse_heartbeat *rhb)
{
	rhb->stopped = 1;
	wake_up_interruptible(&rhb->wait);
}

Annotation

Implementation Notes