cdns3_clear_register_bit(9)
π
cdns3_clear_register_bit β like, the NAME section, bestie
okay so this is a page straight out of the Kernel API Manual and the star of the show is cdns3_clear_register_bit (9) β¨ she's a tiny little function, but she's important, and honestly? she ate.
short version: she clears a bit in a given register. that's it. that's the whole gig. no cap. π
β¨ SYNOPSIS β¨
void cdns3_clear_register_bit (void __iomem *ptr , u32 mask );
look at her go. two args, no return value, zero drama. π¦
π«Ά ARGUMENTS π«Ά
ptrβ the address of the device controller register that's gonna get read and changed. think of it as the address of the vibe you're about to edit πmaskβ the bits requested to clar. yes, the manpage literally says clar π iconic typo, we're keeping her, she's part of the lore. anyway: these are the bits you want cleared.
ngl if you're passing garbage in ptr that's on you β this page only tells you what it does, not how to be careful about it π
π SEE ALSO π
okay this is the part where the whole group chat gets tagged, because our girl does not work alone. the source lives in the kernel file ./drivers/usb/cdns3/cdns3-gadget.c β go say hi π
and then, in the order the original lists them (no skipping, we don't do that here π):
cdns3_set_register_bit(9)cdns3_ep_addr_to_index(9)cdns3_next_request(9)cdns3_next_align_buf(9)cdns3_next_priv_request(9)cdns3_select_ep(9)cdns3_get_tdl(9)cdns3_allocate_trb_pool(9)cdns3_ep_stall_flush(9)cdns3_hw_reset_eps_config(9)cdns3_ep_inc_trb(9)cdns3_ep_inc_enq(9)cdns3_ep_inc_deq(9)cdns3_allow_enable_l1(9)cdns3_start_all_request(9)cdns3_wa2_descmiss_copy_data(9)cdns3_wa2_descmissing_packet(9)cdns3_gadget_giveback(9)cdns3_ep_run_transfer(9)cdns3_trb_handled(9)cdns3_check_ep_interrupt_proceed(9)cdns3_check_usb_interrupt_proceed(9)cdns3_device_irq_handler(9)cdns3_device_thread_irq_handler(9)cdns3_ep_onchip_buffer_reserve(9)cdns3_ep_config(9)cdns3_gadget_ep_alloc_request(9)cdns3_gadget_ep_free_request(9)cdns3_gadget_ep_enable(9)cdns3_gadget_ep_disable(9)__cdns3_gadget_ep_queue(9)cdns3_gadget_ep_dequeue(9)__cdns3_gadget_ep_set_halt(9)__cdns3_gadget_ep_clear_halt(9)cdns3_gadget_ep_set_halt(9)cdns3_gadget_get_frame(9)cdns3_gadget_udc_start(9)cdns3_gadget_udc_stop(9)cdns3_gadget_check_config(9)cdns3_init_eps(9)cdns3_gadget_init(9)
like, that's the whole extended friend group right there π₯ main character energy from every single one of them.
that's the page, bestie!! source lives at ./drivers/usb/cdns3, the version vibes are dated October 2026, and the whole thing is filed under cdns3_clear_register_bit(9) β go clear some bits, slay, and remember: the typo stays π
π¦ 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