!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/src/linux-headers-5.4.0-204/include/linux/firmware/imx/   drwxr-xr-x
Free 13.14 GB of 57.97 GB (22.67%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     dsp.h (1.21 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0+ */
/*
 * Copyright 2019 NXP
 *
 * Header file for the DSP IPC implementation
 */

#ifndef _IMX_DSP_IPC_H
#define _IMX_DSP_IPC_H

#include <linux/device.h>
#include <linux/types.h>
#include <linux/mailbox_client.h>

#define DSP_MU_CHAN_NUM        4

struct imx_dsp_chan {
    struct imx_dsp_ipc *ipc;
    struct mbox_client cl;
    struct mbox_chan *ch;
    char *name;
    int idx;
};

struct imx_dsp_ops {
    void (*handle_reply)(struct imx_dsp_ipc *ipc);
    void (*handle_request)(struct imx_dsp_ipc *ipc);
};

struct imx_dsp_ipc {
    /* Host <-> DSP communication uses 2 txdb and 2 rxdb channels */
    struct imx_dsp_chan chans[DSP_MU_CHAN_NUM];
    struct device *dev;
    struct imx_dsp_ops *ops;
    void *private_data;
};

static inline void imx_dsp_set_data(struct imx_dsp_ipc *ipc, void *data)
{
    if (!ipc)
        return;

    ipc->private_data = data;
}

static inline void *imx_dsp_get_data(struct imx_dsp_ipc *ipc)
{
    if (!ipc)
        return NULL;

    return ipc->private_data;
}

#if IS_ENABLED(CONFIG_IMX_DSP)

int imx_dsp_ring_doorbell(struct imx_dsp_ipc *dsp, unsigned int chan_idx);

#else

static inline int imx_dsp_ring_doorbell(struct imx_dsp_ipc *ipc,
                    unsigned int chan_idx)
{
    return -ENOTSUPP;
}

#endif
#endif /* _IMX_DSP_IPC_H */

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0069 ]--