#define NO_WAKEUP_LOCK
#define FREQ_MAX_LV (40)
-static const char const *dev_format_str[] = {
+static const char *dev_format_str[] = {
[IPC_FMT] = "FMT",
[IPC_RAW] = "RAW",
[IPC_RFS] = "RFS",
#endif
};
-static const char const *cp_state_str[] = {
+static const char *cp_state_str[] = {
[STATE_OFFLINE] = "OFFLINE",
[STATE_CRASH_RESET] = "CRASH_RESET",
[STATE_CRASH_EXIT] = "CRASH_EXIT",
MAX_IOD_RX_STATE
};
-static const char const *rx_state_str[] = {
+static const char *rx_state_str[] = {
[IOD_RX_ON_STANDBY] = "RX_ON_STANDBY",
[IOD_RX_HEADER] = "RX_HEADER",
[IOD_RX_PAYLOAD] = "RX_PAYLOAD",
return (ns > 0) ? (ns / 1000000) : 0;
}
-static const char const *exynos_layer_string[] = {
+static const char *exynos_layer_string[] = {
[LINK] = "LNK",
[IODEV] = "IOD",
[APP] = "APP",
return (dir == TX) ? RX : TX;
}
-static const char const *direction_string[] = {
+static const char *direction_string[] = {
[TX] = "TX",
[RX] = "RX"
};
return direction_string[dir];
}
-static const char const *ipc_direction_string[] = {
+static const char *ipc_direction_string[] = {
[TX] = "AP->CP",
[RX] = "AP<-CP"
};
return ipc_direction_string[dir];
}
-static const char const *arrow_direction[] = {
+static const char *arrow_direction[] = {
[TX] = "->",
[RX] = "<-"
};
MAX_IOD_RX_STATE
};
-static const char const *rx_state_string[] = {
+static const char *rx_state_string[] = {
[IOD_RX_ON_STANDBY] = "RX_ON_STANDBY",
[IOD_RX_HEADER] = "RX_HEADER",
[IOD_RX_PAYLOAD] = "RX_PAYLOAD",
MAX_SIPC_LAYER
};
-static const char const *sipc_layer_string[] = {
+static const char *sipc_layer_string[] = {
[LINK] = "LNK",
[IODEV] = "IOD",
[APP] = "APP",
return sipc_layer_string[layer];
}
-static const char const *dev_format_string[] = {
+static const char *dev_format_string[] = {
[IPC_FMT] = "FMT",
[IPC_RAW] = "RAW",
[IPC_RFS] = "RFS",
return (dir == TX) ? RX : TX;
}
-static const char const *direction_string[] = {
+static const char *direction_string[] = {
[TX] = "TX",
[RX] = "RX"
};
return direction_string[dir];
}
-static const char const *udl_string[] = {
+static const char *udl_string[] = {
[UL] = "UL",
[DL] = "DL"
};
return udl_string[dir];
}
-static const char const *q_direction_string[] = {
+static const char *q_direction_string[] = {
[TX] = "TXQ",
[RX] = "RXQ"
};
return q_direction_string[dir];
}
-static const char const *ipc_direction_string[] = {
+static const char *ipc_direction_string[] = {
[TX] = "AP->CP",
[RX] = "AP<-CP"
};
return ipc_direction_string[dir];
}
-static const char const *arrow_direction[] = {
+static const char *arrow_direction[] = {
[TX] = "->",
[RX] = "<-"
};
return arrow_direction[dir];
}
-static const char const *modem_state_string[] = {
+static const char *modem_state_string[] = {
[STATE_OFFLINE] = "OFFLINE",
[STATE_CRASH_RESET] = "CRASH_RESET",
[STATE_CRASH_EXIT] = "CRASH_EXIT",