parport_ip32_ecp_supported(9)
π parport_ip32_ecp_supported(9) π
okay bestie, welcome to the Kernel API Manual β¨ this one's a tiny lil function from the parport_ip32_ecp_supported corner of the kernel, and honestly? it's giving "short but crucial." let's get into it π«Ά
πΈ NAME πΈ
parport_ip32_ecp_supported β the vibe check for whether an ECP port is actually there π
β¨ SYNOPSIS β¨
unsigned int parport_ip32_ecp_supported (struct parport *p );
π ARGUMENTS π
pβ pointer to theparportstructure π that's the whole argument list, no cap, she's low maintenance
π¦ DESCRIPTION π¦
so here's the tea β this function returns 1 if it finds an ECP port, and 0 if it doesn't. literally that simple, periodt.
what it's actually doing under the hood is checking whether an Extended Control Register seems to be present π΅οΈββοΈ like, does this thing exist or are we delulu? that's the whole investigation.
and on a successful return, the port gets placed in SPP mode π important detail, don't forget it, iykyk.
no cap,1= found an ECP port,0= nope π keep those two numbers in your head forever.
π SEE ALSO π
the whole ip32 friend group π«Ά everyone's invited, and yes you have to say hi to all of them:
- kernel file
./drivers/parport/parport_ip32.c struct parport_ip32_regs(9)enum parport_ip32_irq_mode(9)struct parport_ip32_private(9)struct parport_ip32_dma_data(9)parport_ip32_dma_setup_context(9)parport_ip32_dma_interrupt(9)parport_ip32_dma_start(9)parport_ip32_dma_stop(9)parport_ip32_dma_get_residue(9)parport_ip32_dma_register(9)parport_ip32_dma_unregister(9)parport_ip32_wakeup(9)parport_ip32_interrupt(9)parport_ip32_read_econtrol(9)parport_ip32_write_econtrol(9)parport_ip32_frob_econtrol(9)parport_ip32_set_mode(9)parport_ip32_read_data(9)parport_ip32_write_data(9)parport_ip32_read_status(9)__parport_ip32_read_control(9)__parport_ip32_write_control(9)__parport_ip32_frob_control(9)parport_ip32_read_control(9)parport_ip32_write_control(9)parport_ip32_frob_control(9)parport_ip32_disable_irq(9)parport_ip32_enable_irq(9)parport_ip32_data_forward(9)parport_ip32_data_reverse(9)parport_ip32_init_state(9)parport_ip32_save_state(9)parport_ip32_restore_state(9)parport_ip32_clear_epp_timeout(9)parport_ip32_epp_read(9)parport_ip32_epp_write(9)parport_ip32_epp_read_data(9)parport_ip32_epp_write_data(9)parport_ip32_epp_read_addr(9)parport_ip32_epp_write_addr(9)parport_ip32_fifo_wait_break(9)parport_ip32_fwp_wait_polling(9)parport_ip32_fwp_wait_interrupt(9)parport_ip32_fifo_write_block_pio(9)parport_ip32_fifo_write_block_dma(9)parport_ip32_fifo_write_block(9)parport_ip32_drain_fifo(9)parport_ip32_get_fifo_residue(9)parport_ip32_compat_write_data(9)parport_ip32_ecp_write_data(9)parport_ip32_fifo_supported(9)parport_ip32_make_isa_registers(9)parport_ip32_probe_port(9)parport_ip32_unregister_port(9)parport_ip32_init(9)parport_ip32_exit(9)
(note the double-underscore girlies in there β __parport_ip32_read_control, __parport_ip32_write_control, __parport_ip32_frob_control β they're the β¨privateβ¨ ones, don't mix them up with the regular versions π§)
and that's the whole page, bestie, you ate that π
this cutie lives in ./drivers/parport and the manual's dated October 2026 β see you in the next one, mwah ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms