Home
last modified time | relevance | path

Searched refs:s (Results 1 – 25 of 1540) sorted by relevance

12345678910>>...62

/linux-2.4.37.9/arch/m68k/ifpsp060/
DMISC34 freal.s : 2.4
36 x_fovfl.s : 2.16
37 x_funfl.s : 2.19
38 x_funsupp.s : 2.27
39 x_effadd.s : 2.21
40 x_foperr.s : 2.9
41 x_fsnan.s : 2.12
42 x_finex.s : 2.14
43 x_fdz.s : 2.5
44 x_fline.s : 2.5
[all …]
/linux-2.4.37.9/lib/zlib_deflate/
Ddeflate.c66 typedef block_state (*compress_func) OF((deflate_state *s, int flush));
69 local void fill_window OF((deflate_state *s));
70 local block_state deflate_stored OF((deflate_state *s, int flush));
71 local block_state deflate_fast OF((deflate_state *s, int flush));
72 local block_state deflate_slow OF((deflate_state *s, int flush));
73 local void lm_init OF((deflate_state *s));
74 local void putShortMSB OF((deflate_state *s, uInt b));
77 local uInt longest_match OF((deflate_state *s, IPos cur_match));
80 local void check_match OF((deflate_state *s, IPos start, IPos match,
142 #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) argument
[all …]
Ddeftree.c136 local void init_block OF((deflate_state *s));
137 local void pqdownheap OF((deflate_state *s, ct_data *tree, int k));
138 local void gen_bitlen OF((deflate_state *s, tree_desc *desc));
140 local void build_tree OF((deflate_state *s, tree_desc *desc));
141 local void scan_tree OF((deflate_state *s, ct_data *tree, int max_code));
142 local void send_tree OF((deflate_state *s, ct_data *tree, int max_code));
143 local int build_bl_tree OF((deflate_state *s));
144 local void send_all_trees OF((deflate_state *s, int lcodes, int dcodes,
146 local void compress_block OF((deflate_state *s, ct_data *ltree,
148 local void set_data_type OF((deflate_state *s));
[all …]
/linux-2.4.37.9/drivers/sound/
Desssolo1.c234 static inline void write_seq(struct solo1_state *s, unsigned char data) in write_seq() argument
243 if (!(inb(s->sbbase+0xc) & 0x80)) { in write_seq()
244 outb(data, s->sbbase+0xc); in write_seq()
251 outb(data, s->sbbase+0xc); in write_seq()
254 static inline int read_seq(struct solo1_state *s, unsigned char *data) in read_seq() argument
261 if (inb(s->sbbase+0xe) & 0x80) { in read_seq()
262 *data = inb(s->sbbase+0xa); in read_seq()
269 static int inline reset_ctrl(struct solo1_state *s) in reset_ctrl() argument
273 outb(3, s->sbbase+6); /* clear sequencer and FIFO */ in reset_ctrl()
275 outb(0, s->sbbase+6); in reset_ctrl()
[all …]
Des1371.c499 static unsigned wait_src_ready(struct es1371_state *s) in wait_src_ready() argument
504 if (!((r = inl(s->io + ES1371_REG_SRCONV)) & SRC_BUSY)) in wait_src_ready()
512 static unsigned src_read(struct es1371_state *s, unsigned reg) in src_read() argument
517 temp = wait_src_ready (s); in src_read()
525 s->io + ES1371_REG_SRCONV); in src_read()
528 temp = wait_src_ready (s); in src_read()
533 temp = inl (s->io + ES1371_REG_SRCONV); in src_read()
540 outl ((orig & SRC_CTLMASK) | (reg << SRC_RAMADDR_SHIFT), s->io + ES1371_REG_SRCONV); in src_read()
546 static void src_write(struct es1371_state *s, unsigned reg, unsigned data) in src_write() argument
551 r = wait_src_ready(s) & (SRC_DIS | SRC_DDAC1 | SRC_DDAC2 | SRC_DADC); in src_write()
[all …]
Dcmpci.c483 static void set_dmadac1(struct cm_state *s, unsigned int addr, unsigned int count) in set_dmadac1() argument
486 outl(addr, s->iobase + CODEC_CMI_ADC_FRAME1); in set_dmadac1()
487 outw(count - 1, s->iobase + CODEC_CMI_ADC_FRAME2); in set_dmadac1()
488 maskb(s->iobase + CODEC_CMI_FUNCTRL0, ~CHADC1, 0); in set_dmadac1()
491 static void set_dmaadc(struct cm_state *s, unsigned int addr, unsigned int count) in set_dmaadc() argument
493 outl(addr, s->iobase + CODEC_CMI_ADC_FRAME1); in set_dmaadc()
494 outw(count - 1, s->iobase + CODEC_CMI_ADC_FRAME2); in set_dmaadc()
495 maskb(s->iobase + CODEC_CMI_FUNCTRL0, ~0, CHADC1); in set_dmaadc()
498 static void set_dmadac(struct cm_state *s, unsigned int addr, unsigned int count) in set_dmadac() argument
500 outl(addr, s->iobase + CODEC_CMI_DAC_FRAME1); in set_dmadac()
[all …]
Des1370.c432 static void wrcodec(struct es1370_state *s, unsigned char idx, unsigned char data) in wrcodec() argument
438 if (!(inl(s->io+ES1370_REG_STATUS) & STAT_CSTAT)) { in wrcodec()
439 outw((((unsigned short)idx)<<8)|data, s->io+ES1370_REG_CODEC); in wrcodec()
449 static inline void stop_adc(struct es1370_state *s) in stop_adc() argument
453 spin_lock_irqsave(&s->lock, flags); in stop_adc()
454 s->ctrl &= ~CTRL_ADC_EN; in stop_adc()
455 outl(s->ctrl, s->io+ES1370_REG_CONTROL); in stop_adc()
456 spin_unlock_irqrestore(&s->lock, flags); in stop_adc()
459 static inline void stop_dac1(struct es1370_state *s) in stop_dac1() argument
463 spin_lock_irqsave(&s->lock, flags); in stop_dac1()
[all …]
Dsonicvibes.c430 static void set_dmaa(struct sv_state *s, unsigned int addr, unsigned int count) in set_dmaa() argument
433 unsigned io = s->iodmaa, u; in set_dmaa()
442 outl(addr, s->iodmaa + SV_DMA_ADDR0); in set_dmaa()
443 outl(count, s->iodmaa + SV_DMA_COUNT0); in set_dmaa()
445 outb(0x18, s->iodmaa + SV_DMA_MODE); in set_dmaa()
448 static void set_dmac(struct sv_state *s, unsigned int addr, unsigned int count) in set_dmac() argument
451 unsigned io = s->iodmac, u; in set_dmac()
462 outl(addr, s->iodmac + SV_DMA_ADDR0); in set_dmac()
463 outl(count, s->iodmac + SV_DMA_COUNT0); in set_dmac()
465 outb(0x14, s->iodmac + SV_DMA_MODE); in set_dmac()
[all …]
Dite8172.c410 static void set_adc_rate(struct it8172_state *s, unsigned rate) in set_adc_rate() argument
417 spin_lock_irqsave(&s->lock, flags); in set_adc_rate()
418 s->capcc &= ~CC_SR_MASK; in set_adc_rate()
419 s->capcc |= sr; in set_adc_rate()
420 outw(s->capcc, s->io+IT_AC_CAPCC); in set_adc_rate()
421 spin_unlock_irqrestore(&s->lock, flags); in set_adc_rate()
423 s->adcrate = rate; in set_adc_rate()
427 static void set_dac_rate(struct it8172_state *s, unsigned rate) in set_dac_rate() argument
434 spin_lock_irqsave(&s->lock, flags); in set_dac_rate()
435 s->pcc &= ~CC_SR_MASK; in set_dac_rate()
[all …]
Dmaestro3.c504 static void set_fmt(struct m3_state *s, unsigned char mask, unsigned char data) in set_fmt() argument
508 s->fmt = (s->fmt & mask) | data; in set_fmt()
510 tmp = (s->fmt >> ESS_DAC_SHIFT) & ESS_FMT_MASK; in set_fmt()
513 m3_assp_write(s->card, MEMTYPE_INTERNAL_DATA, in set_fmt()
514 s->dac_inst.data + SRC3_DIRECTION_OFFSET + 1, in set_fmt()
517 m3_assp_write(s->card, MEMTYPE_INTERNAL_DATA, in set_fmt()
518 s->dac_inst.data + SRC3_DIRECTION_OFFSET + 2, in set_fmt()
521 tmp = (s->fmt >> ESS_ADC_SHIFT) & ESS_FMT_MASK; in set_fmt()
524 m3_assp_write(s->card, MEMTYPE_INTERNAL_DATA, in set_fmt()
525 s->adc_inst.data + SRC3_DIRECTION_OFFSET + 1, in set_fmt()
[all …]
Dnec_vrc5477.c269 struct vrc5477_ac97_state *s = in rdcodec() local
274 spin_lock_irqsave(&s->lock, flags); in rdcodec()
277 while (inl(s->io + VRC5477_CODEC_WR) & 0x80000000); in rdcodec()
281 outl((addr << 16) | VRC5477_CODEC_WR_RWC, s->io + VRC5477_CODEC_WR); in rdcodec()
285 while ( (result = inl(s->io + VRC5477_CODEC_RD)) & in rdcodec()
296 spin_unlock_irqrestore(&s->lock, flags); in rdcodec()
304 struct vrc5477_ac97_state *s = in wrcodec() local
308 spin_lock_irqsave(&s->lock, flags); in wrcodec()
311 while (inl(s->io + VRC5477_CODEC_WR) & 0x80000000); in wrcodec()
314 outl((addr << 16) | data, s->io + VRC5477_CODEC_WR); in wrcodec()
[all …]
Dswarm_cs4297a.c98 static void stop_dac(struct cs4297a_state *s);
99 static void stop_adc(struct cs4297a_state *s);
100 static void start_dac(struct cs4297a_state *s);
101 static void start_adc(struct cs4297a_state *s);
202 #define VALIDATE_STATE(s) \ argument
204 if (!(s) || (s)->magic != CS4297a_MAGIC) { \
324 static int prog_dmabuf_adc(struct cs4297a_state *s) in prog_dmabuf_adc() argument
326 s->dma_adc.ready = 1; in prog_dmabuf_adc()
331 static int prog_dmabuf_dac(struct cs4297a_state *s) in prog_dmabuf_dac() argument
333 s->dma_dac.ready = 1; in prog_dmabuf_dac()
[all …]
/linux-2.4.37.9/net/802/pseudo/
Dopcd2num.sed1 s/NOP/0/
2 s/DUMMY_6/6/
3 s/DUMMY_8/8/
4 s/IF_F=1_CLEAR_REMOTE_BUSY/9/
5 s/CLEAR_REMOTE_BUSY/1/
6 s/CONNECT_CONFIRM/3/
7 s/DISCONNECT_INDICATION/5/
8 s/CONNECT_INDICATION/2/
9 s/IF_DATA_FLAG_=0_THEN_DATA_FLAG:=1/55/
10 s/DATA_FLAG:=0/53/
[all …]
/linux-2.4.37.9/drivers/net/hamradio/
Dhdlcdrv.c178 #define tenms_to_2flags(s,tenms) ((tenms * s->par.bitrate) / 100 / 16) argument
185 static int hdlc_rx_add_bytes(struct hdlcdrv_state *s, unsigned int bits, in hdlc_rx_add_bytes() argument
190 while (s->hdlcrx.rx_state && num >= 8) { in hdlc_rx_add_bytes()
191 if (s->hdlcrx.len >= sizeof(s->hdlcrx.buffer)) { in hdlc_rx_add_bytes()
192 s->hdlcrx.rx_state = 0; in hdlc_rx_add_bytes()
195 *s->hdlcrx.bp++ = bits >> (32-num); in hdlc_rx_add_bytes()
196 s->hdlcrx.len++; in hdlc_rx_add_bytes()
203 static void hdlc_rx_flag(struct net_device *dev, struct hdlcdrv_state *s) in hdlc_rx_flag() argument
209 if (s->hdlcrx.len < 4) in hdlc_rx_flag()
211 if (!check_crc_ccitt(s->hdlcrx.buffer, s->hdlcrx.len)) in hdlc_rx_flag()
[all …]
/linux-2.4.37.9/drivers/net/
Deexpress.h71 #define SCB_complete(s) ((s&0x8000)!=0) argument
72 #define SCB_rxdframe(s) ((s&0x4000)!=0) argument
73 #define SCB_CUdead(s) ((s&0x2000)!=0) argument
74 #define SCB_RUdead(s) ((s&0x1000)!=0) argument
75 #define SCB_ack(s) (s & 0xf000) argument
78 #define SCB_CUstat(s) ((s&0x0300)>>8) argument
81 #define SCB_RUstat(s) ((s&0x0070)>>4) argument
101 #define Stat_Done(s) ((s&0x8000)!=0) argument
102 #define Stat_Busy(s) ((s&0x4000)!=0) argument
103 #define Stat_OK(s) ((s&0x2000)!=0) argument
[all …]
/linux-2.4.37.9/drivers/sound/cs4281/
Dcs4281m.c97 int cs4281_suspend(struct cs4281_state *s);
98 int cs4281_resume(struct cs4281_state *s);
103 static void stop_dac(struct cs4281_state *s);
104 static void stop_adc(struct cs4281_state *s);
105 static void start_dac(struct cs4281_state *s);
106 static void start_adc(struct cs4281_state *s);
226 #define VALIDATE_STATE(s) \ argument
228 if (!(s) || (s)->magic != CS4281_MAGIC) { \
549 static int prog_dmabuf_adc(struct cs4281_state *s);
550 static void prog_codec(struct cs4281_state *s, unsigned type);
[all …]
/linux-2.4.37.9/fs/hpfs/
Dsuper.c16 static void mark_dirty(struct super_block *s) in mark_dirty() argument
18 if (s->s_hpfs_chkdsk && !(s->s_flags & MS_RDONLY)) { in mark_dirty()
21 if ((sb = hpfs_map_sector(s, 17, &bh, 0))) { in mark_dirty()
33 static void unmark_dirty(struct super_block *s) in unmark_dirty() argument
37 if (s->s_flags & MS_RDONLY) return; in unmark_dirty()
38 if ((sb = hpfs_map_sector(s, 17, &bh, 0))) { in unmark_dirty()
39 sb->dirty = s->s_hpfs_chkdsk > 1 - s->s_hpfs_was_error; in unmark_dirty()
40 sb->old_wrote = s->s_hpfs_chkdsk >= 2 && !s->s_hpfs_was_error; in unmark_dirty()
50 void hpfs_error(struct super_block *s, char *m,...) in hpfs_error() argument
62 if (!s->s_hpfs_was_error) { in hpfs_error()
[all …]
/linux-2.4.37.9/fs/reiserfs/
Dsuper.c50 static int reiserfs_remount (struct super_block * s, int * flags, char * data);
51 static int reiserfs_statfs (struct super_block * s, struct statfs * buf);
53 static void reiserfs_write_super (struct super_block * s) in reiserfs_write_super() argument
58 if (!(s->s_flags & MS_RDONLY)) { in reiserfs_write_super()
59 dirty = flush_old_commits(s, 1) ; in reiserfs_write_super()
61 s->s_dirt = dirty; in reiserfs_write_super()
65 static void reiserfs_write_super_lockfs (struct super_block * s) in reiserfs_write_super_lockfs() argument
71 if (!(s->s_flags & MS_RDONLY)) { in reiserfs_write_super_lockfs()
72 journal_begin(&th, s, 1) ; in reiserfs_write_super_lockfs()
73 reiserfs_prepare_for_journal(s, SB_BUFFER_WITH_SB(s), 1); in reiserfs_write_super_lockfs()
[all …]
Dresize.c19 int reiserfs_resize (struct super_block * s, unsigned long block_count_new) in reiserfs_resize() argument
35 sb = SB_DISK_SUPER_BLOCK(s); in reiserfs_resize()
37 if (SB_BLOCK_COUNT(s) >= block_count_new) { in reiserfs_resize()
38 reiserfs_warning(s, "can\'t shrink filesystem on-line\n"); in reiserfs_resize()
43 bh = sb_bread(s, block_count_new - 1); in reiserfs_resize()
45 reiserfs_warning(s, "reiserfs_resize: can\'t read last block\n"); in reiserfs_resize()
52 if (SB_BUFFER_WITH_SB(s)->b_blocknr * SB_BUFFER_WITH_SB(s)->b_size in reiserfs_resize()
54 …reiserfs_warning(s, "reiserfs_resize: unable to resize a reiserfs without distributed bitmap (fs v… in reiserfs_resize()
59 block_r = SB_BLOCK_COUNT(s) - in reiserfs_resize()
60 (SB_BMAP_NR(s) - 1) * s->s_blocksize * 8; in reiserfs_resize()
[all …]
/linux-2.4.37.9/lib/zlib_inflate/
Dinfblock.c68 void zlib_inflate_blocks_reset(s, z, c) in zlib_inflate_blocks_reset() argument
69 inflate_blocks_statef *s; in zlib_inflate_blocks_reset()
74 *c = s->check;
75 if (s->mode == CODES)
76 zlib_inflate_codes_free(s->sub.decode.codes, z);
77 s->mode = TYPE;
78 s->bitk = 0;
79 s->bitb = 0;
80 s->read = s->write = s->window;
81 if (s->checkfn != Z_NULL)
[all …]
/linux-2.4.37.9/drivers/ieee1394/
Damdtp.c334 static struct packet_list *stream_get_free_packet_list(struct stream *s) in stream_get_free_packet_list() argument
339 if (list_empty(&s->free_packet_lists)) in stream_get_free_packet_list()
342 spin_lock_irqsave(&s->packet_list_lock, flags); in stream_get_free_packet_list()
343 pl = list_entry(s->free_packet_lists.next, struct packet_list, link); in stream_get_free_packet_list()
345 spin_unlock_irqrestore(&s->packet_list_lock, flags); in stream_get_free_packet_list()
350 static void stream_start_dma(struct stream *s, struct packet_list *pl) in stream_start_dma() argument
354 cycle_count = reg_read(s->host->ohci, in stream_start_dma()
366 ohci1394_start_it_ctx(s->host->ohci, s->iso_tasklet.context, in stream_start_dma()
371 static void stream_put_dma_packet_list(struct stream *s, in stream_put_dma_packet_list() argument
378 pl->last_cycle_count = atomic_read(&s->cycle_count2) - 1; in stream_put_dma_packet_list()
[all …]
/linux-2.4.37.9/drivers/usb/
Ddabusb.c64 static int dabusb_add_buf_tail (pdabusb_t s, struct list_head *dst, struct list_head *src) in dabusb_add_buf_tail() argument
70 spin_lock_irqsave (&s->lock, flags); in dabusb_add_buf_tail()
81 err: spin_unlock_irqrestore (&s->lock, flags); in dabusb_add_buf_tail()
107 static int dabusb_cancel_queue (pdabusb_t s, struct list_head *q) in dabusb_cancel_queue() argument
115 spin_lock_irqsave (&s->lock, flags); in dabusb_cancel_queue()
125 spin_unlock_irqrestore (&s->lock, flags); in dabusb_cancel_queue()
154 static int dabusb_free_buffers (pdabusb_t s) in dabusb_free_buffers() argument
159 spin_lock_irqsave(&s->lock, flags); in dabusb_free_buffers()
161 dabusb_free_queue (&s->free_buff_list); in dabusb_free_buffers()
162 dabusb_free_queue (&s->rec_buff_list); in dabusb_free_buffers()
[all …]
/linux-2.4.37.9/drivers/fc4/
Dsoc.c55 #define soc_printk printk ("soc%d: ", s->soc_no); printk
63 #define for_each_soc(s) for (s = socs; s; s = s->next) argument
66 static inline void soc_disable(struct soc *s) in soc_disable() argument
68 sbus_writel(0, s->regs + IMASK); in soc_disable()
69 sbus_writel(SOC_CMD_SOFT_RESET, s->regs + CMD); in soc_disable()
72 static inline void soc_enable(struct soc *s) in soc_enable() argument
74 SOD(("enable %08x\n", s->cfg)) in soc_enable()
75 sbus_writel(0, s->regs + SAE); in soc_enable()
76 sbus_writel(s->cfg, s->regs + CFG); in soc_enable()
77 sbus_writel(SOC_CMD_RSP_QALL, s->regs + CMD); in soc_enable()
[all …]
Dsocal.c52 #define socal_printk printk ("socal%d: ", s->socal_no); printk
60 #define for_each_socal(s) for (s = socals; s; s = s->next) argument
73 static void socal_copy_to_xram(unsigned long xram, void *s, long size) in socal_copy_to_xram() argument
75 u32 *sp = (u32 *) s; in socal_copy_to_xram()
95 static inline void socal_disable(struct socal *s) in socal_disable() argument
97 sbus_writel(0, s->regs + IMASK); in socal_disable()
98 sbus_writel(SOCAL_CMD_SOFT_RESET, s->regs + CMD); in socal_disable()
101 static inline void socal_enable(struct socal *s) in socal_enable() argument
103 SOD(("enable %08x\n", s->cfg)) in socal_enable()
104 sbus_writel(0, s->regs + SAE); in socal_enable()
[all …]
/linux-2.4.37.9/drivers/scsi/sym53c8xx_2/
Dsym_fw.h58 #define SYM_GEN_FW_A(s) \ argument
59 SYM_GEN_A(s, start) SYM_GEN_A(s, getjob_begin) \
60 SYM_GEN_A(s, getjob_end) \
61 SYM_GEN_A(s, select) SYM_GEN_A(s, wf_sel_done) \
62 SYM_GEN_A(s, send_ident) \
63 SYM_GEN_A(s, dispatch) SYM_GEN_A(s, init) \
64 SYM_GEN_A(s, clrack) SYM_GEN_A(s, complete_error) \
65 SYM_GEN_A(s, done) SYM_GEN_A(s, done_end) \
66 SYM_GEN_A(s, idle) SYM_GEN_A(s, ungetjob) \
67 SYM_GEN_A(s, reselect) \
[all …]

12345678910>>...62