cdns_uart_clk_notifier_cb(9)
π cdns_uart_clk_notifier_cb β Clock notifier callback π
okay bestie, so this is cdns_uart_clk_notifier_cb(9) straight out of the Kernel API Manual β it's the little callback that gets pinged when the clock does Something, and honestly? she's short, she's sweet, she's iconic. let's get into it π
β¨ NAME β¨
cdns_uart_clk_notifier_cb β Clock notifier callback. that's it, that's the whole vibe. a notifier callback. for clocks. slay π
πΈ SYNOPSIS πΈ
int cdns_uart_clk_notifier_cb (struct notifier_block *nb , unsigned long
event , void *data );
three little parameters, one int return, no cap π«Ά
π¦ ARGUMENTS π¦
nbβ the Notifier block, aka the notifier block, bestie. she's the one doing the notifying.eventβ the Notify event β anunsigned longtelling you what just went down.dataβ the Notifier data, avoid *carrying whatever payload comes along for the ride. very main character energy tbh.
π RETURN π
NOTIFY_OK or NOTIFY_DONE on success, and NOTIFY_BAD on error π₯
so like β success can be eitherNOTIFY_OKorNOTIFY_DONE, don't @ me, that's just how it is. error isNOTIFY_BAD. periodt.
π SEE ALSO π
the whole friend group π first up, the source file: kernel file ./drivers/tty/serial/xilinx_uartps.c, then all these icons:
struct cdns_uart(9)cdns_uart_handle_rx(9)cdns_rts_gpio_enable(9)cdns_rs485_tx_setup(9)cdns_rs485_rx_setup(9)cdns_uart_tx_empty(9)cdns_rs485_rx_callback(9)cdns_calc_after_tx_delay(9)cdns_uart_handle_tx(9)cdns_uart_isr(9)cdns_uart_calc_baud_divs(9)cdns_uart_set_baud_rate(9)cdns_rs485_tx_callback(9)cdns_uart_start_tx(9)cdns_uart_stop_tx(9)cdns_uart_stop_rx(9)cdns_uart_break_ctl(9)cdns_uart_set_termios(9)cdns_uart_startup(9)cdns_uart_shutdown(9)cdns_uart_type(9)cdns_uart_verify_port(9)cdns_uart_request_port(9)cdns_uart_release_port(9)cdns_uart_config_port(9)cdns_uart_get_mctrl(9)cdns_uart_console_putchar(9)cdns_uart_console_write(9)cdns_uart_console_setup(9)cdns_uart_suspend(9)cdns_uart_resume(9)cdns_rs485_config(9)cdns_uart_probe(9)cdns_uart_remove(9)
like, the entire roster. go read them all, iykyk πβ¨
and that's the whole page, bestie!! this little gem lives under ./drivers/tty/serial, it's dated October 2026, and it's pure Kernel API Manual energy. mwah π go forth and notify some clocks πππ¦
π¦ 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