Home
last modified time | relevance | path

Searched refs:format (Results 1 – 25 of 415) sorted by relevance

12345678910>>...17

/linux-2.4.37.9/drivers/scsi/
Datari_scsi.h112 #define ARB_PRINTK(format, args...) \ argument
113 printk(KERN_DEBUG format , ## args)
115 #define ARB_PRINTK(format, args...) argument
118 #define ASEN_PRINTK(format, args...) \ argument
119 printk(KERN_DEBUG format , ## args)
121 #define ASEN_PRINTK(format, args...) argument
124 #define DMA_PRINTK(format, args...) \ argument
125 printk(KERN_DEBUG format , ## args)
127 #define DMA_PRINTK(format, args...) argument
130 #define HSH_PRINTK(format, args...) \ argument
[all …]
Dsun3_scsi.h253 #define ARB_PRINTK(format, args...) \ argument
254 printk(KERN_DEBUG format , ## args)
256 #define ARB_PRINTK(format, args...) argument
259 #define ASEN_PRINTK(format, args...) \ argument
260 printk(KERN_DEBUG format , ## args)
262 #define ASEN_PRINTK(format, args...) argument
265 #define DMA_PRINTK(format, args...) \ argument
266 printk(KERN_DEBUG format , ## args)
268 #define DMA_PRINTK(format, args...) argument
271 #define HSH_PRINTK(format, args...) \ argument
[all …]
/linux-2.4.37.9/drivers/sound/emu10k1/
Daudio.c166 if (woinst->format.passthrough) { in emu10k1_audio_write()
199 if (count % woinst->format.bytespersample) in emu10k1_audio_write()
369 struct wave_format format; local
373 format = wiinst->format;
374 format.samplingrate = val;
376 if (emu10k1_wavein_setformat(wave_dev, &format) < 0) {
381 val = wiinst->format.samplingrate;
389 struct wave_format format; local
393 format = woinst->format;
394 format.samplingrate = val;
[all …]
Dcardwo.c130 if (woinst->format.channels == 2) in get_voice()
133 if (woinst->format.bitsperchannel == 16) in get_voice()
142 voice->initial_pitch = (u16) (srToPitch(woinst->format.samplingrate) >> 8); in get_voice()
143 voice->pitch_target = samplerate_to_linearpitch(woinst->format.samplingrate); in get_voice()
148 woinst->format.bytespervoicesample; in get_voice()
149 voice->endloop = voice->startloop + woinst->buffer.size / woinst->format.bytespervoicesample; in get_voice()
250 (woinst->format.samplingrate * woinst->format.bytespervoicesample); in emu10k1_waveout_open()
294 int emu10k1_waveout_setformat(struct emu10k1_wavedevice *wave_dev, struct wave_format *format) in emu10k1_waveout_setformat() argument
306 query_format(wave_dev, format); in emu10k1_waveout_setformat()
308 if (woinst->format.samplingrate != format->samplingrate || in emu10k1_waveout_setformat()
[all …]
Dcardwi.c154 if (wiinst->format.bytesperchannel == 1) { in emu10k1_wavein_open()
179 delay = (48000 * wiinst->buffer.fragment_size) / wiinst->format.bytespersec; in emu10k1_wavein_open()
251 int emu10k1_wavein_setformat(struct emu10k1_wavedevice *wave_dev, struct wave_format *format) in emu10k1_wavein_setformat() argument
262 query_format(wiinst->recsrc, format); in emu10k1_wavein_setformat()
264 if ((wiinst->format.samplingrate != format->samplingrate) in emu10k1_wavein_setformat()
265 || (wiinst->format.bitsperchannel != format->bitsperchannel) in emu10k1_wavein_setformat()
266 || (wiinst->format.channels != format->channels)) { in emu10k1_wavein_setformat()
268 wiinst->format = *format; in emu10k1_wavein_setformat()
275 if (wiinst->format.bytesperchannel == 1) { in emu10k1_wavein_setformat()
283 delay = (48000 * wiinst->buffer.fragment_size) / wiinst->format.bytespersec; in emu10k1_wavein_setformat()
/linux-2.4.37.9/arch/mips/baget/
Dprint.c81 int format = 0; in balo_printf() local
86 if(format) { in balo_printf()
88 format = 0; in balo_printf()
93 if( format ){ in balo_printf()
94 format = 0; in balo_printf()
96 } else format = 1; in balo_printf()
99 if(format) puthex( *arg++ ); in balo_printf()
101 format = 0; in balo_printf()
104 if( format ) outs((char *)*arg++); in balo_printf()
106 format = 0; in balo_printf()
/linux-2.4.37.9/net/irda/irnet/
Dirnet.h325 #define DERROR(dbg, format, args...) \ argument
327 printk(KERN_INFO "irnet: %s(): " format, __FUNCTION__ , ##args);}
330 #define DEBUG(dbg, format, args...) \ argument
332 printk(KERN_DEBUG "irnet: %s(): " format, __FUNCTION__ , ##args);}
335 #define DENTER(dbg, format, args...) \ argument
337 printk(KERN_DEBUG "irnet: -> %s" format, __FUNCTION__ , ##args);}
340 #define DPASS(dbg, format, args...) \ argument
342 printk(KERN_DEBUG "irnet: <>%s" format, __FUNCTION__ , ##args);}
345 #define DEXIT(dbg, format, args...) \ argument
347 printk(KERN_DEBUG "irnet: <-%s()" format, __FUNCTION__ , ##args);}
/linux-2.4.37.9/drivers/atm/
Dhorizon.h51 #define PRINTK(severity,format,args...) \ argument
52 printk(severity DEV_LABEL ": " format "\n" , ## args)
73 #define PRINTDB(bits,format,args...) \ argument
74 ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format , ## args) : 1 )
75 #define PRINTDM(bits,format,args...) \ argument
76 ( (debug & (bits)) ? printk (format , ## args) : 1 )
77 #define PRINTDE(bits,format,args...) \ argument
78 ( (debug & (bits)) ? printk (format "\n" , ## args) : 1 )
79 #define PRINTD(bits,format,args...) \ argument
80 ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format "\n" , ## args) : 1 )
[all …]
Dambassador.h46 #define PRINTK(severity,format,args...) \ argument
47 printk(severity DEV_LABEL ": " format "\n" , ## args)
71 #define PRINTDB(bits,format,args...) \ argument
72 ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format , ## args) : 1 )
73 #define PRINTDM(bits,format,args...) \ argument
74 ( (debug & (bits)) ? printk (format , ## args) : 1 )
75 #define PRINTDE(bits,format,args...) \ argument
76 ( (debug & (bits)) ? printk (format "\n" , ## args) : 1 )
77 #define PRINTD(bits,format,args...) \ argument
78 ( (debug & (bits)) ? printk (KERN_INFO DEV_LABEL ": " format "\n" , ## args) : 1 )
[all …]
/linux-2.4.37.9/include/linux/
Dncp_fs.h152 #define PRINTK(format, args...) printk(KERN_DEBUG format , ## args) argument
156 #define PPRINTK(format, args...) PRINTK(format , ## args) argument
158 #define PPRINTK(format, args...) argument
165 #define DPRINTK(format, args...) PRINTK(format , ## args) argument
167 #define DPRINTK(format, args...) argument
170 #define DDPRINTK(format, args...) PRINTK(format , ## args) argument
172 #define DDPRINTK(format, args...) argument
Dkernel.h64 __attribute__ ((NORET_AND format (printf, 1, 2)));
75 __attribute__ ((format (printf, 2, 3)));
77 __attribute__ ((format (printf, 2, 0)));
79 __attribute__ ((format (printf, 3, 4)));
81 __attribute__ ((format (printf, 3, 0)));
84 __attribute__ ((format (scanf, 2, 3)));
86 __attribute__ ((format (scanf, 2, 0)));
97 __attribute__ ((format (printf, 1, 2)));
/linux-2.4.37.9/drivers/sound/
Dymfpci.c273 static int ymf_pcm_format_width(int format) in ymf_pcm_format_width() argument
277 if ((format & (format-1)) != 0) { in ymf_pcm_format_width()
278 printk(KERN_ERR "ymfpci: format 0x%x is not a power of 2\n", format); in ymf_pcm_format_width()
282 if (format == AFMT_IMA_ADPCM) return 4; in ymf_pcm_format_width()
283 if ((format & mask16) != 0) return 16; in ymf_pcm_format_width()
292 if (ymf_pcm_format_width(f->format) == 16) in ymf_pcm_update_shift()
366 w_16 = ymf_pcm_format_width(state->format.format) == 16; in prog_dmabuf()
398 redzone = ymf_calc_lend(state->format.rate); in prog_dmabuf()
399 redzone <<= state->format.shift; in prog_dmabuf()
436 state->format.rate, state->format.format, dmabuf->numfrag, in prog_dmabuf()
[all …]
/linux-2.4.37.9/drivers/hotplug/
Dacpiphp.h41 #define dbg(format, arg...) \ argument
44 printk(KERN_DEBUG "%s: " format, \
47 #define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME , ## arg) argument
48 #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME , ## arg) argument
49 #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME , ## arg) argument
Dpciehp.h49 #define dbg(format, arg...) do { if (pciehp_debug) printk("%s: " format, MY_NAME , ## arg); } while… argument
50 #define err(format, arg...) printk(KERN_ERR "%s: " format, MY_NAME , ## arg) argument
51 #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME , ## arg) argument
52 #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME , ## arg) argument
/linux-2.4.37.9/arch/mips/au1000/db1x00/
Dmirage_ts.c68 #define err(format, arg...) printk(KERN_ERR TS_NAME ": " format "\n" , ## arg) argument
69 #define info(format, arg...) printk(KERN_INFO TS_NAME ": " format "\n" , ## arg) argument
70 #define warn(format, arg...) printk(KERN_WARNING TS_NAME ": " format "\n" , ## arg) argument
71 #define DPRINTK(format, arg...) printk(__FUNCTION__ ": " format "\n" , ## arg) argument
/linux-2.4.37.9/drivers/ide/pci/
Dsc1200.c349 unsigned int format; in sc1200_tuneproc() local
371 pci_read_config_dword (hwif->pci_dev, basereg+4, &format); in sc1200_tuneproc()
372 format = (format >> 31) & 1; in sc1200_tuneproc()
373 if (format) in sc1200_tuneproc()
374 format += sc1200_get_pci_clock(); in sc1200_tuneproc()
375 …onfig_dword(hwif->pci_dev, basereg + (drive->select.b.unit << 3), sc1200_pio_timings[format][pio]); in sc1200_tuneproc()
458 unsigned int basereg, r, d, format; in sc1200_resume() local
474 pci_read_config_dword(hwif->pci_dev, basereg+4, &format); in sc1200_resume()
475 format = (format >> 31) & 1; in sc1200_resume()
476 if (format) in sc1200_resume()
[all …]
/linux-2.4.37.9/drivers/net/
Dgt96100eth.h33 #define dbg(lvl, format, arg...) \ argument
35 printk(KERN_DEBUG "%s: " format, dev->name , ## arg)
36 #define err(format, arg...) \ argument
37 printk(KERN_ERR "%s: " format, dev->name , ## arg)
38 #define info(format, arg...) \ argument
39 printk(KERN_INFO "%s: " format, dev->name , ## arg)
40 #define warn(format, arg...) \ argument
41 printk(KERN_WARNING "%s: " format, dev->name , ## arg)
/linux-2.4.37.9/drivers/scsi/aic7xxx/aicasm/
Daicasm.c340 f3_instr = &cur_instr->format.format3; in back_patch()
373 cur_instr->format.bytes[0], in output_code()
374 cur_instr->format.bytes[1], in output_code()
375 cur_instr->format.bytes[2], in output_code()
376 cur_instr->format.bytes[3]); in output_code()
378 cur_instr->format.bytes[3], in output_code()
379 cur_instr->format.bytes[2], in output_code()
380 cur_instr->format.bytes[1], in output_code()
381 cur_instr->format.bytes[0]); in output_code()
617 cur_instr->format.bytes[0], in output_listing()
[all …]
/linux-2.4.37.9/drivers/sound/dmasound/
Ddmasound_q40.c48 static int Q40SetFormat(int format);
66 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8; in q40_ct_law()
123 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctx_law()
233 (dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8: dmasound_alaw2dma8); in q40_ctc_law()
547 static int Q40SetFormat(int format) in Q40SetFormat() argument
551 switch (format) { in Q40SetFormat()
553 return(dmasound.soft.format); in Q40SetFormat()
560 format = AFMT_S8; in Q40SetFormat()
563 dmasound.soft.format = format; in Q40SetFormat()
566 dmasound.dsp.format = format; in Q40SetFormat()
[all …]
Ddmasound_paula.c81 static int AmiSetFormat(int format);
398 static int AmiSetFormat(int format) in AmiSetFormat() argument
404 switch (format) { in AmiSetFormat()
406 return dmasound.soft.format; in AmiSetFormat()
421 format = AFMT_S8; in AmiSetFormat()
424 dmasound.soft.format = format; in AmiSetFormat()
427 dmasound.dsp.format = format; in AmiSetFormat()
432 return format; in AmiSetFormat()
684 format: AFMT_S8,
691 format: AFMT_U8,
Ddmasound_atari.c128 static int TTSetFormat(int format);
133 static int FalconSetFormat(int format);
159 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ct_law()
381 char *table = dmasound.soft.format == AFMT_MU_LAW ? dmasound_ulaw2dma8 in ata_ctx_law()
948 static int TTSetFormat(int format) in TTSetFormat() argument
952 switch (format) { in TTSetFormat()
954 return dmasound.soft.format; in TTSetFormat()
961 format = AFMT_S8; in TTSetFormat()
964 dmasound.soft.format = format; in TTSetFormat()
967 dmasound.dsp.format = format; in TTSetFormat()
[all …]
/linux-2.4.37.9/drivers/acpi/utilities/
Dutdebug.c137 char *format, in acpi_ut_debug_print() argument
178 va_start (args, format); in acpi_ut_debug_print()
179 acpi_os_vprintf (format, args); in acpi_ut_debug_print()
208 char *format, in acpi_ut_debug_print_raw() argument
219 va_start (args, format); in acpi_ut_debug_print_raw()
220 acpi_os_vprintf (format, args); in acpi_ut_debug_print_raw()
/linux-2.4.37.9/drivers/isdn/eicon/
Dsys.h55 extern void DivasSprintf(char *buffer, char *format, ...);
56 extern void DivasPrintf(char *format, ...);
70 void _PRINTF(char *format, ...);
/linux-2.4.37.9/drivers/usb/
Daudio.c268 unsigned int format; member
277 unsigned int format; member
334 unsigned int format; /* USB data format */ member
351 unsigned int format; /* USB data format */ member
531 bytepersec = db->srate * AFMT_SAMPLEBYTES(db->format); in dmabuf_init()
560 memset(db->sgbuf[nr], AFMT_SIGN(db->format) ? 0 : 0x80, PAGE_SIZE); in dmabuf_init()
570 db->numfrag, db->dmasize, db->bufsize, db->format, db->srate)); in dmabuf_init()
905 unsigned int ufmtb = AFMT_SAMPLEBYTES(u->format); in usbin_convert()
906 unsigned int dfmtb = AFMT_SAMPLEBYTES(u->dma.format); in usbin_convert()
915 conversion(buffer, u->format, tmp, u->dma.format, scnt); in usbin_convert()
[all …]
/linux-2.4.37.9/net/atm/
Dipcommon.c19 #define DPRINTK(format,args...) printk(KERN_DEBUG format,##args)
21 #define DPRINTK(format,args...) argument

12345678910>>...17