libhd  5.0
Data Fields
mmc_info_t Struct Reference

MMC/SD card detail information. More...

#include <hd.h>

Data Fields

unsigned manfid
 Manufacturer ID (from sysfs 'manfid'). More...
 
unsigned oemid
 OEM ID (from sysfs 'oemid'). More...
 
char * type
 Card type: "SD", "MMC", "SDIO" (from sysfs 'type'). More...
 
unsigned hwrev
 Hardware revision (from sysfs 'hwrev'). More...
 
unsigned fwrev
 Firmware revision (from sysfs 'fwrev'). More...
 
char * date
 Manufacturing date, e.g. More...
 

Detailed Description

MMC/SD card detail information.

Captures MMC-specific sysfs attributes read from /sys/class/block/mmcblkX/device/.

Field Documentation

◆ date

char* mmc_info_t::date

Manufacturing date, e.g.

"01/2021" (from sysfs 'date').

Referenced by add_mmc_sysfs_info(), dump_normal(), and free_hd_detail().

◆ fwrev

unsigned mmc_info_t::fwrev

Firmware revision (from sysfs 'fwrev').

Referenced by add_mmc_sysfs_info(), and dump_normal().

◆ hwrev

unsigned mmc_info_t::hwrev

Hardware revision (from sysfs 'hwrev').

Referenced by add_mmc_sysfs_info(), and dump_normal().

◆ manfid

unsigned mmc_info_t::manfid

Manufacturer ID (from sysfs 'manfid').

Referenced by add_mmc_sysfs_info(), and dump_normal().

◆ oemid

unsigned mmc_info_t::oemid

OEM ID (from sysfs 'oemid').

Referenced by add_mmc_sysfs_info(), and dump_normal().

◆ type

char* mmc_info_t::type

Card type: "SD", "MMC", "SDIO" (from sysfs 'type').

Referenced by add_mmc_sysfs_info(), dump_normal(), and free_hd_detail().


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