struct fimc_is_group *child_group;
struct devicemgr_sensor_tag_data *tag_data;
u32 stream;
-#endif
int i;
-
+#endif
switch (type) {
case FIMC_IS_DEVICE_SENSOR:
sensor = (struct fimc_is_device_sensor *)device;
#ifndef ENABLE_SENSOR_VC_FUNCTION
struct fimc_is_group *child_group;
u32 stream;
-#endif
int i;
+#endif
+
switch (type) {
case FIMC_IS_DEVICE_SENSOR:
struct fimc_is_hw_mcsc *hw_mcsc;
struct fimc_is_hw_mcsc_cap *cap;
struct hw_mcsc_setfile *setfile;
- struct cac_setfile_contents *cac;
enum exynos_sensor_position sensor_position;
u32 ni, backup_in;
+#if defined(USE_UVSP_CAC)
+ struct cac_setfile_contents *cac;
+#endif
BUG_ON(!hw_ip);
BUG_ON(!hw_ip->priv_info);
struct fimc_is_hw_mcsc *hw_mcsc;
struct fimc_is_hw_mcsc_cap *cap;
struct hw_mcsc_setfile *setfile;
+#if defined(USE_UVSP_CAC)
struct uvsp_setfile_contents *uvsp;
+#endif
struct cal_info *cal_info;
enum exynos_sensor_position sensor_position;
u32 ni;
#ifdef CONFIG_PM_SLEEP
static int fm_radio_suspend(struct device *dev)
{
- struct s610_radio *radio = dev_get_drvdata(dev);
+// struct s610_radio *radio = dev_get_drvdata(dev);
- FUNC_ENTRY(radio);
+// FUNC_ENTRY(radio);
return 0;
}
static int fm_radio_resume(struct device *dev)
{
- struct s610_radio *radio = dev_get_drvdata(dev);
+// struct s610_radio *radio = dev_get_drvdata(dev);
- FUNC_ENTRY(radio);
+// FUNC_ENTRY(radio);
return 0;
}
struct itmon_platdata *pdata = itmon->pdata;
struct itmon_tracedata *tracedata = &node->tracedata;
struct itmon_traceinfo *traceinfo = &pdata->traceinfo[trans_type];
- struct itmon_nodegroup *group = node->group;
struct itmon_masterinfo *master;
struct itmon_rpathinfo *port;
- unsigned int errcode, axid, val;
+ unsigned int errcode, axid;
errcode = BIT_ERR_CODE(tracedata->int_info);
axid = BIT_AXID(tracedata->int_info);
static int contexthub_ipc_drv_init(struct contexthub_ipc_info *chub)
{
struct device *chub_dev = chub->dev;
- int i;
chub->ipc_map = ipc_get_chub_map();
if (!chub->ipc_map)
int timeout)
{
unsigned long flag;
- int ret;
#ifdef USE_IPC_BUF
int size = 0;
- int lock;
- struct ipc_buf *ipc_buf = ipc_get_base(IPC_REG_IPC_C2A);
+ int ret;
if (!ipc->read_lock.flag) {
spin_lock_irqsave(&ipc->read_lock.event.lock, flag);
bool need_reset = 0;
bool alive = contexthub_lowlevel_alive(ipc);
int err = 0;
+#ifdef CHUB_RESET_ENABLE
int ret;
+#endif
int i;
dev_info(ipc->dev, "%s: fw_err:%d, alive:%d\n",
static void handle_irq(struct contexthub_ipc_info *ipc, enum irq_evt_chub evt)
{
+#ifndef USE_IPC_BUF
struct ipc_content *content;
-
+#endif
switch (evt) {
case IRQ_EVT_C2A_DEBUG:
schedule_work(&ipc->debug_work);
static const struct sched_param param = {
.sched_priority = (MAX_USER_RT_PRIO/2)-1,
};
-#ifdef CONFIG_NANOHUB_MAILBOX
-#ifndef CHUB_RESET_ENABLE
- struct contexthub_ipc_info *ipc;
-#endif
-#endif
data->kthread_err_cnt = 0;
sched_setscheduler(current, SCHED_FIFO, ¶m);
do {
reg = dwc3_readl(dwc->regs, DWC3_DCTL);
if (!(reg & DWC3_DCTL_CSFTRST))
- goto done;
+ return 0;
udelay(1);
} while (--retries);
struct dwc3_request *req, int status)
{
struct dwc3 *dwc = dep->dwc;
- unsigned int unmap_after_complete = false;
req->started = false;
/* Only delete from the list if the item isn't poisoned. */