Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/mmc/mmc_da.c
Show First 20 Lines • Show All 1,172 Lines • ▼ Show 20 Lines | *bus_width_str(enum mmc_bus_width w) | ||||
switch (w) { | switch (w) { | ||||
case bus_width_1: | case bus_width_1: | ||||
return ("1-bit"); | return ("1-bit"); | ||||
case bus_width_4: | case bus_width_4: | ||||
return ("4-bit"); | return ("4-bit"); | ||||
case bus_width_8: | case bus_width_8: | ||||
return ("8-bit"); | return ("8-bit"); | ||||
default: | |||||
__assert_unreachable(); | |||||
} | } | ||||
} | } | ||||
static uint32_t | static uint32_t | ||||
sdda_get_host_caps(struct cam_periph *periph, union ccb *ccb) | sdda_get_host_caps(struct cam_periph *periph, union ccb *ccb) | ||||
{ | { | ||||
struct ccb_trans_settings_mmc *cts; | struct ccb_trans_settings_mmc *cts; | ||||
▲ Show 20 Lines • Show All 818 Lines • Show Last 20 Lines |