Searched refs:volume (Results 1 - 25 of 74) sorted by relevance

123

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ftape/zftape/
H A Dzftape-init.h56 const zft_position *pos, const zft_volinfo *volume);
60 const zft_position *pos, const zft_volinfo *volume);
62 zft_position *pos, const zft_volinfo *volume,
H A Dzftape-read.c82 /* the specs say that the volume table must be
166 const zft_volinfo *volume)
190 * volume: contains information on current volume (blk_sz etc.)
193 const zft_volinfo **volume,
220 *volume = zft_find_volume(pos->seg_pos);
222 remaining = zft_check_for_eof(*volume, pos);
225 LL(remaining), (*volume)->count);
233 if ((*req_len % (*volume)->blk_sz) != 0) {
239 *req_len, (*volume)
160 zft_simple_read(int *read_cnt, __u8 *dst_buf, const int to_do, const __u8 *src_buf, const int seg_sz, const zft_position *pos, const zft_volinfo *volume) argument
192 check_read_access(int *req_len, const zft_volinfo **volume, int *req_clipped, const zft_position *pos) argument
264 empty_deblock_buf(__u8 *usr_buf, const int req_len, const __u8 *src_buf, const int seg_sz, zft_position *pos, const zft_volinfo *volume) argument
311 static const zft_volinfo *volume = NULL; local
[all...]
H A Dzftape-write.c155 /* writing in the middle of a volume is NOT allowed
311 const zft_position *pos,const zft_volinfo *volume)
316 /* volume->size holds the tape capacity while volume is open */
317 if (pos->tape_pos + volume->blk_sz > volume->size) {
336 const zft_volinfo **volume,
357 * table and read the volume table segment
363 * Write start of volume now
366 *volume
308 zft_simple_write(int *cnt, __u8 *dst_buf, const int seg_sz, const __u8 *src_buf, const int req_len, const zft_position *pos,const zft_volinfo *volume) argument
335 check_write_access(int req_len, const zft_volinfo **volume, zft_position *pos, const unsigned int blk_sz) argument
389 fill_deblock_buf(__u8 *dst_buf, const int seg_sz, zft_position *pos, const zft_volinfo *volume, const char *usr_buf, const int req_len) argument
438 static const zft_volinfo *volume = NULL; local
[all...]
H A Dzftape-ctl.c129 /* need to keep track of the volume table and
132 * volume. This covers old ftape archives as
136 * additional volume in front of all others.
257 const zft_volinfo *volume; local
261 volume = zft_find_volume(pos->seg_pos);
262 if (volume->start_seg == 0 || volume->end_seg == 0) {
265 new_block_pos = (zft_div_blksz(data_offset, volume->blk_sz)
267 vol_block_count = zft_div_blksz(volume->size, volume
904 const zft_volinfo *volume; local
1107 const zft_volinfo *volume; local
[all...]
H A Dzftape-vtbl.h27 * This file defines a volume table as defined in the QIC-80
80 * volume table). The difference is simply, that we only store the
91 #define ZFT_VOL_NAME "zftape volume" /* volume label used by me */
103 unsigned int blk_sz; /* block size for this volume */
104 unsigned int zft_volume :1; /* zftape created this volume */
105 unsigned int use_compression:1; /* compressed volume */
141 KERN_INFO "zftape volume: %d\n" \
174 const zft_volinfo *volume);
184 const zft_volinfo *volume)
183 zft_position_before_eof(zft_position *pos, const zft_volinfo *volume) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/ftape/compressor/
H A Dzftape-compress.c83 const zft_position *pos, const zft_volinfo *volume);
87 const zft_position *pos, const zft_volinfo *volume);
89 zft_position *pos, const zft_volinfo *volume,
177 const zft_volinfo *volume)
205 if (volume->qic113) { /* > revision K */
215 if (cinfo->foffs > volume->size) {
217 KERN_INFO "offset in current volume: %d\n"
218 KERN_INFO "size of current volume : %d",
219 (int)(cinfo->foffs>>10), (int)(volume->size>>10));
221 if (cinfo->cmpr_pos + cinfo->count > volume
175 get_cseg(cmpr_info *cinfo, const __u8 *buff, const unsigned int seg_sz, const zft_volinfo *volume) argument
561 zftc_write(int *write_cnt, __u8 *dst_buf, const int seg_sz, const __u8 *src_buf, const int req_len, const zft_position *pos, const zft_volinfo *volume) argument
696 zftc_read(int *read_cnt, __u8 *dst_buf, const int to_do, const __u8 *src_buf, const int seg_sz, const zft_position *pos, const zft_volinfo *volume) argument
828 zftc_seek(unsigned int new_block_pos, zft_position *pos, const zft_volinfo *volume, __u8 *buf) argument
991 seek_in_segment(const unsigned int to_do, cmpr_info *c_info, const char *src_buf, const int seg_sz, const int seg_pos, const zft_volinfo *volume) argument
1049 slow_seek_forward_until_error(const unsigned int distance, cmpr_info *c_info, zft_position *pos, const zft_volinfo *volume, __u8 *buf) argument
1095 search_valid_segment(unsigned int segment, const unsigned int end_seg, const unsigned int max_foffs, zft_position *pos, cmpr_info *c_info, const zft_volinfo *volume, __u8 *buf) argument
1137 slow_seek_forward(unsigned int dest, cmpr_info *c_info, zft_position *pos, const zft_volinfo *volume, __u8 *buf) argument
1179 compute_seg_pos(const unsigned int dest, zft_position *pos, const zft_volinfo *volume) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/media/video/
H A Dtda7432.c4 * Handles audio functions: volume, balance, tone, loudness
21 * maxvol - set maximium volume to +20db (1), default is 0db(0)
24 * Revision: 0.7 - maxvol module parm to set maximium volume 0db or +20db
30 * Revision: 0.3 - Fixed silly reversed volume controls. :)
32 * fixed volume control
61 MODULE_PARM_DESC(maxvol,"Set maximium volume to +20db (0), default is 0db(1)");
90 int volume; member in struct:tda7432
109 * The TDA7432 controls basic audio functions like volume, balance,
154 /* Lower 7 bits control volume from -79dB to +32dB in 1dB steps
261 t->input,t->volume,
[all...]
H A Dtda9875.c85 #define TDA9875_CH1V 0x0c /*Channel 1 volume (mute)*/
86 #define TDA9875_CH2V 0x0d /*Channel 2 volume (mute)*/
93 #define TDA9875_MVL 0x1a /* Main volume gauche */
94 #define TDA9875_MVR 0x1b /* Main volume droite */
98 #define TDA9875_AVL 0x20 /* Auxilary volume gauche */
99 #define TDA9875_AVR 0x21 /* Auxilary volume droite */
192 tda9875_write(client, TDA9875_CH1V, 0x10 ); /* Channel volume 1 mute*/
193 tda9875_write(client, TDA9875_CH2V, 0x10 ); /* Channel volume 2 mute */
316 va->volume=MAX(left,right);
318 (va->volume
[all...]
H A Dtvmixer.c139 va.volume = MAX(left,right);
140 va.balance = (32768*MIN(left,right)) / (va.volume ? va.volume : 1);
147 va.volume) / 32768;
149 va.volume) / 32768;
307 printk("tvmixer: %s: has no volume control\n",
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Ddtlk.h74 unsigned char volume; /* nV; 0-9 */ member in struct:dtlk_settings
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Ddtlk.h74 unsigned char volume; /* nV; 0-9 */ member in struct:dtlk_settings
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/media/radio/
H A Dradio-terratec.c68 static void cardWriteVol(int volume) argument
71 volume = volume+(volume * 32); // change both channels
75 if (volume & (0x80>>i))
95 if(vol == dev->curvol) { /* requested volume = current */
104 if(vol == 0) { /* volume = 0 means mute the card */
106 dev->curvol = vol; /* track the volume state! */
252 v.volume=tt->curvol * 6554;
270 tt_setvol(tt,v.volume/655
[all...]
H A Dradio-aimslab.c77 outb(0x58, io); /* volume down + sigstr + on */
79 outb(0xd8, io); /* volume steady + sigstr + on */
84 outb(0x98, io); /* volume up + sigstr + on */
86 outb(0xd8, io); /* volume steady + sigstr + on */
93 outb(0xd0, io); /* volume steady, off */
103 if(vol == dev->curvol) { /* requested volume = current */
112 if(vol == 0) { /* volume = 0 means mute the card */
113 outb(0x48, io); /* volume down but still "on" */
115 outb(0xd0, io); /* volume steady, off */
116 dev->curvol = 0; /* track the volume stat
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/sgi-ip22/
H A Dip22-reset.c130 void inline sgi_volume_set(unsigned char volume) argument
132 sgi_volume = volume;
138 void inline sgi_volume_get(unsigned char *volume) argument
140 *volume = sgi_volume;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Ddm.h24 u8 volume; member in struct:dm_fm_voice
H A Dopl3.c50 int volume; member in struct:voice_info
289 devc->voc[voice].volume = 64;
328 * for i=0. This log-table converts a linear volume-scaling (0..127) to a
330 * 64 = 0 db = relative volume 0 and: Volume 32 = -6 db = relative
331 * volume -8 it was implemented as a table because it is only 128 bytes and
355 static void calc_vol(unsigned char *regbyte, int volume, int main_vol) argument
361 volume = (volume * main_vol) / 127;
364 level += fm_volume_table[volume];
374 static void set_voice_volume(int voice, int volume, in argument
461 opl3_start_note(int dev, int voice, int note, int volume) argument
[all...]
H A Dmidi_synth.h5 int midi_synth_start_note (int dev, int channel, int note, int volume);
H A Dwaveartist.c111 unsigned short *levels; /* cache of volume settings */
115 signed int slider_vol; /* hardware slider volume */
1105 * Mono devices have their right volume forced to their
1106 * left volume. (from ALSA driver OSS emulation).
1517 signed int volume = 255; local
1527 while (volume && (inb(0x201) & 0x01))
1528 volume--;
1534 volume = 0x00ffffff - *CSR_TIMER1_VALUE;
1538 volume = 150 - (volume >>
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/m68k/mac/
H A Dmacboing.c217 static void mac_quadra_start_bell( unsigned int freq, unsigned int length, unsigned int volume )
236 /* set the volume */
237 mac_asc_regs[ 0x806 ] = volume;
300 static void mac_av_start_bell( unsigned int freq, unsigned int length, unsigned int volume )
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/partitions/
H A Dsgi.c33 char name[8]; /* Name of volume */
36 } volume[15]; member in struct:sgi_disklabel
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc/platforms/
H A Dproc_rtas.c230 entry = create_proc_entry("volume", S_IWUSR|S_IRUGO, proc_rtas);
753 unsigned long volume; local
756 volume = simple_strtoul(buf, &dest, 10);
758 printk("ppc_rtas_tone_volume_write: Invalid tone volume\n");
761 if (volume < 0) volume = 0;
762 if (volume > 100) volume = 100;
764 rtas_tone_volume = volume; /* save it for later */
766 TONE_VOLUME, 0, volume);
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/ppc64/kernel/
H A Drtas-proc.c228 entry = create_proc_entry("volume", S_IWUSR|S_IRUGO, proc_rtas);
762 unsigned long volume; local
765 volume = simple_strtoul(buf, &dest, 10);
767 printk("ppc_rtas_tone_volume_write: Invalid tone volume\n");
770 if (volume < 0) volume = 0;
771 if (volume > 100) volume = 100;
773 rtas_tone_volume = volume; /* save it for later */
775 TONE_VOLUME, 0, volume);
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/dmasound/
H A Ddmasound.h176 int volume_left; /* volume (range is machine dependent) */
195 static inline int dmasound_set_volume(int volume) argument
197 return dmasound.mach.setVolume(volume);
H A Ddmasound_awacs.c212 static void awacs_burgundy_write_volume(unsigned address, int volume);
214 static void awacs_burgundy_write_mvolume(unsigned address, int volume);
240 int expand_bal; /* Balance factor for expanding (not volume!) */
255 static int PMacSetVolume(int volume);
263 static int awacs_volume_setter(int volume, int n, int mute, int lshift);
750 int volume; local
752 volume = AWACS_MASK_TO_VOLUME((reg >> lshift) & 0xf);
753 volume |= AWACS_MASK_TO_VOLUME(reg & 0xf) << 8;
754 return volume;
757 static int awacs_volume_setter(int volume, in argument
779 PMacSetVolume(int volume) argument
1517 awacs_burgundy_write_volume(unsigned address, int volume) argument
1558 awacs_burgundy_write_mvolume(unsigned address, int volume) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/affs/
H A Dsuper.c95 int *blocksize, char **prefix, char *volume, unsigned long *mount_opts)
107 volume[0] = ':';
108 volume[1] = 0;
155 } else if (!strcmp(this_char,"volume")) {
156 optn = "volume";
161 strncpy(volume,value,30);
392 printk(KERN_NOTICE "AFFS: Mounting volume \"%*s\": Type=%.3s\\%c, Blocksize=%d\n",
94 parse_options(char *options, uid_t *uid, gid_t *gid, int *mode, int *reserved, s32 *root, int *blocksize, char **prefix, char *volume, unsigned long *mount_opts) argument

Completed in 221 milliseconds

123