bcm63xx_ep0_spoof_set_cfg(9)
π bcm63xx_ep0_spoof_set_cfg(9) π
okay so welcome to the bcm63xx_ep0_spoof_set_cfg(9) page from the Kernel API Manual, bestie! this is the group-chat explainer for a function that synthesizes a SET_CONFIGURATION request, and we are keeping every single deet exactly as the manpage gives it. periodt. β¨
π NAME π
bcm63xx_ep0_spoof_set_cfg β synthesize a SET_CONFIGURATION request. literally the whole vibe. π
β¨ SYNOPSIS β¨
int bcm63xx_ep0_spoof_set_cfg (struct bcm63xx_udc *udc );
π ARGUMENTS π
udcβ a reference to the device controller. your main character pointer, basically. π«Ά
π DESCRIPTION π
okay so here's the tea: many standard requests are handled automatically in the hardware, but we still need to pass them to the gadget driver so that it can reconfigure the interfaces/endpoints if necessary. slay for delegation. β¨
unfortunately, we are not able to send a STALL response if the host requests an invalid configuration. π if this happens, we'll have to be content with printing a warning.
π no cap: invalid config request? no STALL response available here. the warning is the consolation prize.
π¦ SEE ALSO π¦
Kernel file: ./drivers/usb/gadget/udc/bcm63xx_udc.c
Structs and friends, in the exact order the page gives them:
struct iudma_ch_cfg(9)struct iudma_ch(9)struct bcm63xx_ep(9)struct bcm63xx_req(9)struct bcm63xx_udc(9)
Functions, also in original order:
bcm63xx_ep_dma_select(9)bcm63xx_set_stall(9)bcm63xx_fifo_setup(9)bcm63xx_fifo_reset_ep(9)bcm63xx_fifo_reset(9)bcm63xx_ep_init(9)bcm63xx_ep_setup(9)iudma_write(9)iudma_read(9)iudma_reset_channel(9)iudma_init_channel(9)iudma_init(9)iudma_uninit(9)bcm63xx_set_ctrl_irqs(9)bcm63xx_select_phy_mode(9)bcm63xx_select_pullup(9)bcm63xx_uninit_udc_hw(9)bcm63xx_init_udc_hw(9)bcm63xx_ep_enable(9)bcm63xx_ep_disable(9)bcm63xx_udc_alloc_request(9)bcm63xx_udc_free_request(9)bcm63xx_udc_queue(9)bcm63xx_udc_dequeue(9)bcm63xx_udc_set_halt(9)bcm63xx_udc_set_wedge(9)bcm63xx_ep0_setup_callback(9)bcm63xx_ep0_spoof_set_iface(9)bcm63xx_ep0_map_write(9)bcm63xx_ep0_complete(9)bcm63xx_ep0_nuke_reply(9)bcm63xx_ep0_read_complete(9)bcm63xx_ep0_internal_request(9)bcm63xx_ep0_do_setup(9)bcm63xx_ep0_do_idle(9)bcm63xx_ep0_one_round(9)bcm63xx_ep0_process(9)bcm63xx_udc_get_frame(9)bcm63xx_udc_pullup(9)bcm63xx_udc_start(9)bcm63xx_udc_stop(9)bcm63xx_update_cfg_iface(9)bcm63xx_update_link_speed(9)bcm63xx_update_wedge(9)bcm63xx_udc_ctrl_isr(9)bcm63xx_udc_data_isr(9)bcm63xx_udc_init_debugfs(9)bcm63xx_udc_cleanup_debugfs(9)bcm63xx_udc_probe(9)bcm63xx_udc_remove(9)
that's the whole page, bestie! π source/version: ./drivers/usb/gadget/udc; date: October 2026; page: bcm63xx_ep0_spoof_set_cfg(9) from the Kernel API Manual. go synthesize that SET_CONFIGURATION request and slay. πβ¨
π¦ 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