FreeBSD kernel usb device Code
musbotg_softc Struct Reference

#include <musb_otg.h>

Collaboration diagram for musbotg_softc:

Data Fields

struct usb_bus sc_bus
 
union musbotg_hub_temp sc_hub_temp
 
struct usb_hw_ep_profile sc_hw_ep_profile [MUSB2_EP_MAX]
 
struct usb_devicesc_devices [MUSB2_MAX_DEVICES]
 
struct resource * sc_io_res
 
struct resource * sc_irq_res
 
void * sc_intr_hdl
 
bus_size_t sc_io_size
 
bus_space_tag_t sc_io_tag
 
bus_space_handle_t sc_io_hdl
 
void(* sc_clocks_on )(void *arg)
 
void(* sc_clocks_off )(void *arg)
 
void(* sc_ep_int_set )(struct musbotg_softc *sc, int ep, int on)
 
void * sc_clocks_arg
 
uint32_t sc_bounce_buf [(1024 *3)/4]
 
uint8_t sc_ep_max
 
uint8_t sc_rt_addr
 
uint8_t sc_dv_addr
 
uint8_t sc_conf
 
uint8_t sc_ep0_busy
 
uint8_t sc_ep0_cmd
 
uint8_t sc_conf_data
 
uint8_t sc_hub_idata [1]
 
uint16_t sc_channel_mask
 
struct musbotg_flags sc_flags
 
uint8_t sc_id
 
uint8_t sc_mode
 
void * sc_platform_data
 
const struct musb_otg_ep_cfgsc_ep_cfg
 

Detailed Description

Definition at line 396 of file musb_otg.h.

Field Documentation

◆ sc_bounce_buf

◆ sc_bus

◆ sc_channel_mask

uint16_t musbotg_softc::sc_channel_mask

Definition at line 426 of file musb_otg.h.

Referenced by musbotg_channel_alloc(), and musbotg_channel_free().

◆ sc_clocks_arg

void* musbotg_softc::sc_clocks_arg

Definition at line 412 of file musb_otg.h.

Referenced by musbotg_clocks_off(), musbotg_clocks_on(), and musbotg_init().

◆ sc_clocks_off

void(* musbotg_softc::sc_clocks_off) (void *arg)

Definition at line 410 of file musb_otg.h.

Referenced by musbotg_clocks_off().

◆ sc_clocks_on

void(* musbotg_softc::sc_clocks_on) (void *arg)

Definition at line 409 of file musb_otg.h.

Referenced by musbotg_clocks_on(), and musbotg_init().

◆ sc_conf

uint8_t musbotg_softc::sc_conf

Definition at line 420 of file musb_otg.h.

Referenced by musbotg_roothub_exec().

◆ sc_conf_data

uint8_t musbotg_softc::sc_conf_data

Definition at line 423 of file musb_otg.h.

Referenced by musbotg_init().

◆ sc_devices

struct usb_device* musbotg_softc::sc_devices[MUSB2_MAX_DEVICES]

Definition at line 401 of file musb_otg.h.

Referenced by awusbdrd_attach().

◆ sc_dv_addr

uint8_t musbotg_softc::sc_dv_addr

Definition at line 419 of file musb_otg.h.

Referenced by musbotg_dev_ctrl_setup_rx(), and musbotg_dev_ctrl_status().

◆ sc_ep0_busy

uint8_t musbotg_softc::sc_ep0_busy

◆ sc_ep0_cmd

uint8_t musbotg_softc::sc_ep0_cmd

◆ sc_ep_cfg

const struct musb_otg_ep_cfg* musbotg_softc::sc_ep_cfg

Definition at line 432 of file musb_otg.h.

Referenced by awusbdrd_attach(), and musbotg_init().

◆ sc_ep_int_set

void(* musbotg_softc::sc_ep_int_set) (struct musbotg_softc *sc, int ep, int on)

Definition at line 411 of file musb_otg.h.

Referenced by musbotg_ep_int_set().

◆ sc_ep_max

uint8_t musbotg_softc::sc_ep_max

◆ sc_flags

◆ sc_hub_idata

uint8_t musbotg_softc::sc_hub_idata[1]

Definition at line 425 of file musb_otg.h.

Referenced by musbotg_root_intr().

◆ sc_hub_temp

union musbotg_hub_temp musbotg_softc::sc_hub_temp

Definition at line 398 of file musb_otg.h.

Referenced by musbotg_roothub_exec().

◆ sc_hw_ep_profile

struct usb_hw_ep_profile musbotg_softc::sc_hw_ep_profile[MUSB2_EP_MAX]

◆ sc_id

uint8_t musbotg_softc::sc_id

Definition at line 429 of file musb_otg.h.

Referenced by awusbdrd_attach().

◆ sc_intr_hdl

void* musbotg_softc::sc_intr_hdl

Definition at line 404 of file musb_otg.h.

Referenced by awusbdrd_attach(), and awusbdrd_detach().

◆ sc_io_hdl

◆ sc_io_res

struct resource* musbotg_softc::sc_io_res

Definition at line 402 of file musb_otg.h.

◆ sc_io_size

bus_size_t musbotg_softc::sc_io_size

Definition at line 405 of file musb_otg.h.

Referenced by awusbdrd_attach().

◆ sc_io_tag

◆ sc_irq_res

struct resource* musbotg_softc::sc_irq_res

Definition at line 403 of file musb_otg.h.

◆ sc_mode

◆ sc_platform_data

void* musbotg_softc::sc_platform_data

Definition at line 431 of file musb_otg.h.

Referenced by awusbdrd_attach().

◆ sc_rt_addr

uint8_t musbotg_softc::sc_rt_addr

Definition at line 418 of file musb_otg.h.

Referenced by musbotg_ep_init(), and musbotg_roothub_exec().


The documentation for this struct was generated from the following file: