var_to_depth
int depth = var_to_depth(mode);
switch (var_to_depth(&v)) {
switch (var_to_depth(var)) {
switch (var_to_depth(var)) {
switch (var_to_depth(var)) {
pxafb_set_pixfmt(var, var_to_depth(var));
pxafb_set_pixfmt(var, var_to_depth(var));