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

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/usr/src/linux-headers-5.15.0-151/include/sound/   drwxr-xr-x
Free 28.57 GB of 117.98 GB (24.21%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     ak4xxx-adda.h (2.66 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef __SOUND_AK4XXX_ADDA_H
#define __SOUND_AK4XXX_ADDA_H

/*
 *   ALSA driver for AK4524 / AK4528 / AK4529 / AK4355 / AK4381
 *   AD and DA converters
 *
 *    Copyright (c) 2000 Jaroslav Kysela <perex@perex.cz>
 */      

#ifndef AK4XXX_MAX_CHIPS
#define AK4XXX_MAX_CHIPS    4
#endif

struct snd_akm4xxx;

struct snd_ak4xxx_ops {
    void (*lock)(struct snd_akm4xxx *ak, int chip);
    void (*unlock)(struct snd_akm4xxx *ak, int chip);
    void (*write)(struct snd_akm4xxx *ak, int chip, unsigned char reg,
              unsigned char val);
    void (*set_rate_val)(struct snd_akm4xxx *ak, unsigned int rate);
};

#define AK4XXX_IMAGE_SIZE    (AK4XXX_MAX_CHIPS * 16)    /* 64 bytes */

/* DAC label and channels */
struct snd_akm4xxx_dac_channel {
    char *name;        /* mixer volume name */
    unsigned int num_channels;
    char *switch_name;        /* mixer switch*/
};

/* ADC labels and channels */
struct snd_akm4xxx_adc_channel {
    char *name;        /* capture gain volume label */
    char *switch_name;    /* capture switch */
    unsigned int num_channels;
    char *selector_name;    /* capture source select label */
    const char **input_names; /* capture source names (NULL terminated) */
};

struct snd_akm4xxx {
    struct snd_card *card;
    unsigned int num_adcs;            /* AK4524 or AK4528 ADCs */
    unsigned int num_dacs;            /* AK4524 or AK4528 DACs */
    unsigned char images[AK4XXX_IMAGE_SIZE]; /* saved register image */
    unsigned char volumes[AK4XXX_IMAGE_SIZE]; /* saved volume values */
    unsigned long private_value[AK4XXX_MAX_CHIPS];    /* helper for driver */
    void *private_data[AK4XXX_MAX_CHIPS];        /* helper for driver */
    /* template should fill the following fields */
    unsigned int idx_offset;        /* control index offset */
    enum {
        SND_AK4524, SND_AK4528, SND_AK4529,
        SND_AK4355, SND_AK4358, SND_AK4381,
        SND_AK5365, SND_AK4620,
    } type;

    /* (array) information of combined codecs */
    const struct snd_akm4xxx_dac_channel *dac_info;
    const struct snd_akm4xxx_adc_channel *adc_info;

    struct snd_ak4xxx_ops ops;
    unsigned int num_chips;
    unsigned int total_regs;
    const char *name;
};

void snd_akm4xxx_write(struct snd_akm4xxx *ak, int chip, unsigned char reg,
               unsigned char val);
void snd_akm4xxx_reset(struct snd_akm4xxx *ak, int state);
void snd_akm4xxx_init(struct snd_akm4xxx *ak);
int snd_akm4xxx_build_controls(struct snd_akm4xxx *ak);

#define snd_akm4xxx_get(ak,chip,reg) \
    (ak)->images[(chip) * 16 + (reg)]
#define snd_akm4xxx_set(ak,chip,reg,val) \
    ((ak)->images[(chip) * 16 + (reg)] = (val))
#define snd_akm4xxx_get_vol(ak,chip,reg) \
    (ak)->volumes[(chip) * 16 + (reg)]
#define snd_akm4xxx_set_vol(ak,chip,reg,val) \
    ((ak)->volumes[(chip) * 16 + (reg)] = (val))

#endif /* __SOUND_AK4XXX_ADDA_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.0032 ]--