iPXE
Data Fields
usbblk_device Struct Reference

A USB mass storage device. More...

#include <usbblk.h>

Data Fields

struct refcnt refcnt
 Reference count. More...
 
struct list_head list
 List of devices. More...
 
struct usb_functionfunc
 USB function. More...
 
struct usb_endpoint out
 Bulk OUT endpoint. More...
 
struct usb_endpoint in
 Bulk IN endpoint. More...
 
struct interface scsi
 SCSI command-issuing interface. More...
 
struct interface data
 SCSI data interface. More...
 
struct process process
 Command process. More...
 
int opened
 Device opened flag. More...
 
struct usbblk_command cmd
 Current command (if any) More...
 

Detailed Description

A USB mass storage device.

Definition at line 77 of file usbblk.h.

Field Documentation

◆ refcnt

struct refcnt usbblk_device::refcnt

Reference count.

Definition at line 79 of file usbblk.h.

Referenced by usbblk_probe(), and usbblk_remove().

◆ list

struct list_head usbblk_device::list

List of devices.

Definition at line 81 of file usbblk.h.

Referenced by usbblk_find(), usbblk_probe(), and usbblk_remove().

◆ func

struct usb_function* usbblk_device::func

◆ out

struct usb_endpoint usbblk_device::out

Bulk OUT endpoint.

Definition at line 86 of file usbblk.h.

Referenced by usbblk_close(), usbblk_open(), usbblk_out_command(), usbblk_out_data(), usbblk_out_refill(), and usbblk_probe().

◆ in

struct usb_endpoint usbblk_device::in

Bulk IN endpoint.

Definition at line 88 of file usbblk.h.

Referenced by usbblk_close(), usbblk_in_refill(), usbblk_open(), usbblk_probe(), and usbblk_scsi_command().

◆ scsi

struct interface usbblk_device::scsi

SCSI command-issuing interface.

Definition at line 91 of file usbblk.h.

Referenced by usbblk_open_uri(), usbblk_probe(), usbblk_remove(), and usbblk_scsi_close().

◆ data

struct interface usbblk_device::data

SCSI data interface.

Definition at line 93 of file usbblk.h.

Referenced by usbblk_probe(), usbblk_remove(), usbblk_scsi_close(), usbblk_scsi_command(), and usbblk_stop().

◆ process

struct process usbblk_device::process

Command process.

Definition at line 95 of file usbblk.h.

Referenced by usbblk_in_complete(), usbblk_out_complete(), usbblk_probe(), usbblk_start(), and usbblk_stop().

◆ opened

int usbblk_device::opened

Device opened flag.

Definition at line 97 of file usbblk.h.

Referenced by usbblk_open_uri(), and usbblk_scsi_close().

◆ cmd

struct usbblk_command usbblk_device::cmd

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