dwc2_hc_do_ping(9)
π dwc2_hc_do_ping(9) β NAME π
okay bestie, welcome to the dwc2_hc_do_ping(9) page from the Kernel API Manual β yes, the one with the (9) and the whole kernel-api vibe. This function literally starts a PING transfer, and it's giving tiny-but-important host-channel moment. β¨
β¨ SYNOPSIS β¨
void dwc2_hc_do_ping (struct dwc2_hsotg *hsotg , struct dwc2_host_chan *chan );
π ARGUMENTS π
hsotgβ the programming view of theDWC_otgcontroller. Basically the controller's whole setup energy, handed over as a pointer. π«Άchanβ the information needed to initialize the host channel. Everything the host channel needs for its setup era. π
π¦ DESCRIPTION π¦
okay so real talk: this function should only be called in Slave mode. Do not freestyle it anywhere else, bestie β Slave mode only, no cap. π
Here's the whole sequence, and it's literally two steps: the Do Ping bit gets set in the HCTSIZ register, and then the channel is enabled. That's the transfer-starter slay. Periodt. π
π SEE ALSO π
- π Kernel file:
./drivers/usb/dwc2/hcd.cβ that's the source-file home base. - β¨
dwc2_enable_common_interrupts(9) - β¨
dwc2_enable_host_interrupts(9) - β¨
dwc2_disable_host_interrupts(9) - β¨
dwc2_calc_frame_interval(9) - β¨
dwc2_read_packet(9) - β¨
dwc2_dump_channel_info(9) - β¨
dwc2_hc_init(9) - β¨
dwc2_hc_halt(9) - β¨
dwc2_hc_cleanup(9) - β¨
dwc2_hc_set_even_odd_frame(9) - β¨
dwc2_hc_write_packet(9) - β¨
dwc2_hc_start_transfer(9) - β¨
dwc2_hc_start_transfer_ddma(9) - β¨
dwc2_hc_continue_transfer(9) - β¨
dwc2_hcd_start(9) - β¨
dwc2_hcd_connect(9) - β¨
dwc2_hcd_disconnect(9) - β¨
dwc2_hcd_rem_wakeup(9) - β¨
dwc2_hcd_stop(9) - β¨
dwc2_core_init(9) - β¨
dwc2_core_host_init(9) - β¨
dwc2_assign_and_init_hc(9) - β¨
dwc2_hcd_select_transactions(9) - β¨
dwc2_queue_transaction(9) - β¨
dwc2_hcd_queue_transactions(9) - β¨
dwc2_port_suspend(9) - β¨
dwc2_port_resume(9) - β¨
dwc2_host_get_tt_info(9) - β¨
dwc2_host_put_tt_info(9) - β¨
dwc2_backup_host_registers(9) - β¨
dwc2_restore_host_registers(9) - β¨
dwc2_host_enter_hibernation(9) - β¨
dwc2_host_enter_partial_power_down(9) - β¨
dwc2_host_enter_clock_gating(9) - β¨
dwc2_host_exit_clock_gating(9)
mwah π β this page came from the source path ./drivers/usb/dwc2, dated October 2026, and it's the dwc2_hc_do_ping(9) manual page. π
π¦ 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