/linux-2.4.37.9/drivers/net/ |
D | eexpress.h | 71 #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/pcmcia/ |
D | cs.c | 244 static int register_callback(socket_info_t *s, void (*handler)(void *, unsigned int), void * info) in register_callback() 249 static int get_socket_status(socket_info_t *s, int *val) in get_socket_status() 254 static int set_socket(socket_info_t *s, socket_state_t *state) in set_socket() 259 static int set_io_map(socket_info_t *s, struct pccard_io_map *io) in set_io_map() 264 static int set_mem_map(socket_info_t *s, struct pccard_mem_map *mem) in set_mem_map() 269 static int suspend_socket(socket_info_t *s) in suspend_socket() 275 static int init_socket(socket_info_t *s) in init_socket() 287 socket_info_t *s = data; in proc_read_clients() local 315 socket_info_t *s; in pcmcia_register_socket() local 374 void pcmcia_unregister_socket(socket_info_t *s) in pcmcia_unregister_socket() [all …]
|
/linux-2.4.37.9/net/bluetooth/bnep/ |
D | core.c | 73 struct bnep_session *s; in __bnep_get_session() local 86 static void __bnep_link_session(struct bnep_session *s) in __bnep_link_session() 92 static void __bnep_unlink_session(struct bnep_session *s) in __bnep_unlink_session() 98 static int bnep_send(struct bnep_session *s, void *data, size_t len) in bnep_send() 107 static int bnep_send_rsp(struct bnep_session *s, u8 ctrl, u16 resp) in bnep_send_rsp() 117 static inline void bnep_set_default_proto_filter(struct bnep_session *s) in bnep_set_default_proto_filter() 131 static int bnep_ctrl_set_netfilter(struct bnep_session *s, u16 *data, int len) in bnep_ctrl_set_netfilter() 176 static int bnep_ctrl_set_mcfilter(struct bnep_session *s, u8 *data, int len) in bnep_ctrl_set_mcfilter() 230 static int bnep_rx_control(struct bnep_session *s, void *data, int len) in bnep_rx_control() 267 static int bnep_rx_extension(struct bnep_session *s, struct sk_buff *skb) in bnep_rx_extension() [all …]
|
/linux-2.4.37.9/drivers/usb/ |
D | dabusb.c | 64 static int dabusb_add_buf_tail (pdabusb_t s, struct list_head *dst, struct list_head *src) in dabusb_add_buf_tail() 107 static int dabusb_cancel_queue (pdabusb_t s, struct list_head *q) in dabusb_cancel_queue() 154 static int dabusb_free_buffers (pdabusb_t s) in dabusb_free_buffers() 173 pdabusb_t s = b->s; in dabusb_iso_complete() local 208 static int dabusb_alloc_buffers (pdabusb_t s) in dabusb_alloc_buffers() 269 static int dabusb_bulk (pdabusb_t s, pbulk_transfer_t pb) in dabusb_bulk() 303 static int dabusb_writemem (pdabusb_t s, int pos, unsigned char *data, int len) in dabusb_writemem() 321 static int dabusb_8051_reset (pdabusb_t s, unsigned char reset_bit) in dabusb_8051_reset() 327 static int dabusb_loadmem (pdabusb_t s, const char *fname) in dabusb_loadmem() 353 static int dabusb_fpga_clear (pdabusb_t s, pbulk_transfer_t b) in dabusb_fpga_clear() [all …]
|
/linux-2.4.37.9/arch/alpha/lib/ |
D | memcpy.c | 24 #define ALIGN_DEST_TO8_UP(d,s,n) \ argument 31 #define ALIGN_DEST_TO8_DN(d,s,n) \ argument 43 #define DO_REST_UP(d,s,n) \ argument 49 #define DO_REST_DN(d,s,n) \ argument 60 #define DO_REST_ALIGNED_UP(d,s,n) DO_REST_UP(d,s,n) argument 61 #define DO_REST_ALIGNED_DN(d,s,n) DO_REST_DN(d,s,n) argument 70 static inline void __memcpy_unaligned_up (unsigned long d, unsigned long s, in __memcpy_unaligned_up() 98 static inline void __memcpy_unaligned_dn (unsigned long d, unsigned long s, in __memcpy_unaligned_dn() 116 static inline void __memcpy_aligned_up (unsigned long d, unsigned long s, in __memcpy_aligned_up() 132 static inline void __memcpy_aligned_dn (unsigned long d, unsigned long s, in __memcpy_aligned_dn()
|
/linux-2.4.37.9/include/acpi/platform/ |
D | acenv.h | 230 #define ACPI_STRUPR(s) (void) acpi_ut_strupr ((s)) argument 231 #define ACPI_STRLEN(s) (acpi_size) strlen((s)) argument 232 #define ACPI_STRCPY(d,s) (void) strcpy((d), (s)) argument 233 #define ACPI_STRNCPY(d,s,n) (void) strncpy((d), (s), (acpi_size)(n)) argument 234 #define ACPI_STRNCMP(d,s,n) strncmp((d), (s), (acpi_size)(n)) argument 235 #define ACPI_STRCMP(d,s) strcmp((d), (s)) argument 236 #define ACPI_STRCAT(d,s) (void) strcat((d), (s)) argument 237 #define ACPI_STRNCAT(d,s,n) strncat((d), (s), (acpi_size)(n)) argument 238 #define ACPI_STRTOUL(d,s,n) strtoul((d), (s), (acpi_size)(n)) argument 239 #define ACPI_MEMCPY(d,s,n) (void) memcpy((d), (s), (acpi_size)(n)) argument [all …]
|
/linux-2.4.37.9/drivers/fc4/ |
D | soc.c | 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() 72 static inline void soc_enable(struct soc *s) in soc_enable() 85 struct soc *s = port->s; in soc_reset() local 106 static void inline soc_solicited (struct soc *s) in soc_solicited() 167 static void inline soc_request (struct soc *s, u32 cmd) in soc_request() 186 static void inline soc_unsolicited (struct soc *s) in soc_unsolicited() 341 register struct soc *s = (struct soc *)dev_id; in soc_intr() local 358 struct soc *s = port->s; in soc_hw_enque() local 519 static inline void soc_download_fw(struct soc *s) in soc_download_fw() [all …]
|
D | socal.c | 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() 95 static inline void socal_disable(struct socal *s) in socal_disable() 101 static inline void socal_enable(struct socal *s) in socal_enable() 114 struct socal *s = port->s; in socal_reset() local 135 static void inline socal_solicited(struct socal *s, unsigned long qno) in socal_solicited() 227 static void inline socal_request (struct socal *s, u32 cmd) in socal_request() 244 static void inline socal_unsolicited (struct socal *s, unsigned long qno) in socal_unsolicited() 411 register struct socal *s = (struct socal *)dev_id; in socal_intr() local 438 struct socal *s = port->s; in socal_hw_enque() local [all …]
|
/linux-2.4.37.9/lib/zlib_deflate/ |
D | deflate.c | 142 #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) argument 153 #define INSERT_STRING(s, str, match_head) \ argument 162 #define CLEAR_HASH(s) \ argument 191 deflate_state *s; local 262 deflate_state *s; local 303 deflate_state *s; local 335 deflate_state *s; local 370 local void putShortMSB (s, b) in putShortMSB() argument 387 deflate_state *s = (deflate_state *) strm->state; local 412 deflate_state *s; local [all …]
|
D | deftree.c | 156 # define send_code(s, c, tree) send_bits(s, tree[c].Code, tree[c].Len) argument 160 # define send_code(s, c, tree) \ argument 179 local void send_bits(s, value, length) in send_bits() argument 204 #define send_bits(s, value, length) \ argument 298 void zlib_tr_init(s) in zlib_tr_init() argument 328 local void init_block(s) in init_block() argument 351 #define pqremove(s, tree, top) \ argument 372 local void pqdownheap(s, tree, k) in pqdownheap() argument 407 local void gen_bitlen(s, desc) in gen_bitlen() argument 536 local void build_tree(s, desc) in build_tree() argument [all …]
|
/linux-2.4.37.9/fs/reiserfs/ |
D | super.c | 53 static void reiserfs_write_super (struct super_block * s) in reiserfs_write_super() 65 static void reiserfs_write_super_lockfs (struct super_block * s) in reiserfs_write_super_lockfs() 82 void reiserfs_unlockfs(struct super_block *s) { in reiserfs_unlockfs() 96 static void remove_save_link_only (struct super_block * s, struct key * key, int oid_free) in remove_save_link_only() 113 static void finish_unfinished (struct super_block * s) in finish_unfinished() 343 static void reiserfs_put_super (struct super_block * s) in reiserfs_put_super() 493 static int reiserfs_getopt ( struct super_block * s, char ** cur, opt_desc_t * opts, char ** opt_ar… in reiserfs_getopt() 594 static int reiserfs_parse_options (struct super_block * s, char * options, /* string given via moun… in reiserfs_parse_options() 652 int reiserfs_is_super(struct super_block *s) { in reiserfs_is_super() 657 static void handle_attrs( struct super_block *s ) in handle_attrs() [all …]
|
D | objectid.c | 14 #define objectid_map(s,rs) (old_format_only (s) ? \ argument 21 static void check_objectid_map (struct super_block * s, __u32 * map) in check_objectid_map() 31 static void check_objectid_map (struct super_block * s, __u32 * map) in check_objectid_map() 54 struct super_block * s = th->t_super; in reiserfs_get_unused_objectid() local 99 struct super_block * s = th->t_super; in reiserfs_release_objectid() local 171 int reiserfs_convert_objectid_map_v1(struct super_block *s) { in reiserfs_convert_objectid_map_v1()
|
D | resize.c | 19 int reiserfs_resize (struct super_block * s, unsigned long block_count_new) in reiserfs_resize() 140 SB_AP_BITMAP(s)[bmap_nr - 1].free_count += s->s_blocksize * 8 - block_r; in reiserfs_resize() local 142 SB_AP_BITMAP(s)[bmap_nr - 1].first_zero_hint = block_r; in reiserfs_resize() local 151 SB_AP_BITMAP(s)[bmap_nr_new - 1].free_count -= s->s_blocksize * 8 - block_r_new; in reiserfs_resize() local 154 SB_AP_BITMAP(s)[bmap_nr_new - 1].first_zero_hint = 0; in reiserfs_resize() local
|
/linux-2.4.37.9/fs/hpfs/ |
D | alloc.c | 16 static int chk_if_allocated(struct super_block *s, secno sec, char *msg) in chk_if_allocated() 47 int hpfs_chk_sectors(struct super_block *s, secno start, int len, char *msg) in hpfs_chk_sectors() 62 static secno alloc_in_bmp(struct super_block *s, secno near, unsigned n, unsigned forward) in alloc_in_bmp() 156 secno hpfs_alloc_sector(struct super_block *s, secno near, unsigned n, int forward, int lock) in hpfs_alloc_sector() 226 static secno alloc_in_dirband(struct super_block *s, secno near, int lock) in alloc_in_dirband() 245 int hpfs_alloc_if_possible_nolock(struct super_block *s, secno sec) in hpfs_alloc_if_possible_nolock() 264 int hpfs_alloc_if_possible(struct super_block *s, secno sec) in hpfs_alloc_if_possible() 275 void hpfs_free_sectors(struct super_block *s, secno sec, unsigned n) in hpfs_free_sectors() 321 int hpfs_check_free_dnodes(struct super_block *s, int n) in hpfs_check_free_dnodes() 367 void hpfs_free_dnode(struct super_block *s, dnode_secno dno) in hpfs_free_dnode() [all …]
|
D | buffer.c | 12 void hpfs_lock_creation(struct super_block *s) in hpfs_lock_creation() 21 void hpfs_unlock_creation(struct super_block *s) in hpfs_unlock_creation() 30 void hpfs_lock_iget(struct super_block *s, int mode) in hpfs_lock_iget() 39 void hpfs_unlock_iget(struct super_block *s) in hpfs_unlock_iget() 122 void *hpfs_map_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp, in hpfs_map_sector() 140 void *hpfs_get_sector(struct super_block *s, unsigned secno, struct buffer_head **bhp) in hpfs_get_sector() 159 void *hpfs_map_4sectors(struct super_block *s, unsigned secno, struct quad_buffer_head *qbh, in hpfs_map_4sectors() 215 void *hpfs_get_4sectors(struct super_block *s, unsigned secno, in hpfs_get_4sectors()
|
D | map.c | 11 unsigned *hpfs_map_dnode_bitmap(struct super_block *s, struct quad_buffer_head *qbh) in hpfs_map_dnode_bitmap() 16 unsigned int *hpfs_map_bitmap(struct super_block *s, unsigned bmp_block, in hpfs_map_bitmap() 38 char *hpfs_load_code_page(struct super_block *s, secno cps) in hpfs_load_code_page() 92 secno *hpfs_load_bitmap_directory(struct super_block *s, secno bmp) in hpfs_load_bitmap_directory() 118 struct fnode *hpfs_map_fnode(struct super_block *s, ino_t ino, struct buffer_head **bhp) in hpfs_map_fnode() 167 struct anode *hpfs_map_anode(struct super_block *s, anode_secno ano, struct buffer_head **bhp) in hpfs_map_anode() 198 struct dnode *hpfs_map_dnode(struct super_block *s, unsigned secno, in hpfs_map_dnode() 262 dnode_secno hpfs_fnode_dno(struct super_block *s, ino_t ino) in hpfs_fnode_dno()
|
/linux-2.4.37.9/drivers/usb/host/ |
D | usb-uhci.c | 139 void clean_descs(uhci_t *s, int force) in clean_descs() 157 _static void uhci_switch_timer_int(uhci_t *s) in uhci_switch_timer_int() 173 _static void enable_desc_loop(uhci_t *s, struct urb *urb) in enable_desc_loop() 188 _static void disable_desc_loop(uhci_t *s, struct urb *urb) in disable_desc_loop() 209 _static void queue_urb_unlocked (uhci_t *s, struct urb *urb) in queue_urb_unlocked() 229 _static void queue_urb (uhci_t *s, struct urb *urb) in queue_urb() 238 _static void dequeue_urb (uhci_t *s, struct urb *urb) in dequeue_urb() 255 _static int alloc_td (uhci_t *s, uhci_desc_t ** new, int flags) in alloc_td() 274 _static void append_qh(uhci_t *s, uhci_desc_t *td, uhci_desc_t* qh, int flags) in append_qh() 287 _static int insert_td (uhci_t *s, uhci_desc_t *qh, uhci_desc_t* new, int flags) in insert_td() [all …]
|
/linux-2.4.37.9/net/bluetooth/rfcomm/ |
D | core.c | 238 static void rfcomm_dlc_link(struct rfcomm_session *s, struct rfcomm_dlc *d) in rfcomm_dlc_link() 251 struct rfcomm_session *s = d->session; in rfcomm_dlc_unlink() local 262 static struct rfcomm_dlc *rfcomm_dlc_get(struct rfcomm_session *s, u8 dlci) in rfcomm_dlc_get() 277 struct rfcomm_session *s; in __rfcomm_dlc_open() local 338 struct rfcomm_session *s = d->session; in __rfcomm_dlc_close() local 466 struct rfcomm_session *s = kmalloc(sizeof(*s), GFP_KERNEL); in rfcomm_session_add() local 489 void rfcomm_session_del(struct rfcomm_session *s) in rfcomm_session_del() 509 struct rfcomm_session *s; in rfcomm_session_get() local 523 void rfcomm_session_close(struct rfcomm_session *s, int err) in rfcomm_session_close() 546 struct rfcomm_session *s = NULL; in rfcomm_session_create() local [all …]
|
/linux-2.4.37.9/drivers/sound/ |
D | cmpci.c | 483 static void set_dmadac1(struct cm_state *s, unsigned int addr, unsigned int count) in set_dmadac1() 491 static void set_dmaadc(struct cm_state *s, unsigned int addr, unsigned int count) in set_dmaadc() 498 static void set_dmadac(struct cm_state *s, unsigned int addr, unsigned int count) in set_dmadac() 507 static void set_countadc(struct cm_state *s, unsigned count) in set_countadc() 512 static void set_countdac(struct cm_state *s, unsigned count) in set_countdac() 519 static unsigned get_dmadac(struct cm_state *s) in get_dmadac() 530 static unsigned get_dmaadc(struct cm_state *s) in get_dmaadc() 541 static void wrmixer(struct cm_state *s, unsigned char idx, unsigned char data) in wrmixer() 583 static unsigned char rdmixer(struct cm_state *s, unsigned char idx) in rdmixer() 619 static void set_fmt_unlocked(struct cm_state *s, unsigned char mask, unsigned char data) in set_fmt_unlocked() [all …]
|
D | esssolo1.c | 234 static inline void write_seq(struct solo1_state *s, unsigned char data) in write_seq() 254 static inline int read_seq(struct solo1_state *s, unsigned char *data) in read_seq() 269 static int inline reset_ctrl(struct solo1_state *s) in reset_ctrl() 285 static void write_ctrl(struct solo1_state *s, unsigned char reg, unsigned char data) in write_ctrl() 303 static void write_mixer(struct solo1_state *s, unsigned char reg, unsigned char data) in write_mixer() 309 static unsigned char read_mixer(struct solo1_state *s, unsigned char reg) in read_mixer() 344 static inline void stop_dac(struct solo1_state *s) in stop_dac() 354 static void start_dac(struct solo1_state *s) in start_dac() 368 static inline void stop_adc(struct solo1_state *s) in stop_adc() 378 static void start_adc(struct solo1_state *s) in start_adc() [all …]
|
/linux-2.4.37.9/drivers/net/hamradio/ |
D | hdlcdrv.c | 178 #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() 203 static void hdlc_rx_flag(struct net_device *dev, struct hdlcdrv_state *s) in hdlc_rx_flag() 229 void hdlcdrv_receiver(struct net_device *dev, struct hdlcdrv_state *s) in hdlcdrv_receiver() 285 static inline void do_kiss_params(struct hdlcdrv_state *s, in do_kiss_params() 326 void hdlcdrv_transmitter(struct net_device *dev, struct hdlcdrv_state *s) in hdlcdrv_transmitter() 424 static void start_tx(struct net_device *dev, struct hdlcdrv_state *s) in start_tx() 446 void hdlcdrv_arbitrate(struct net_device *dev, struct hdlcdrv_state *s) in hdlcdrv_arbitrate() 543 struct hdlcdrv_state *s; in hdlcdrv_open() local 583 struct hdlcdrv_state *s; in hdlcdrv_close() local [all …]
|
/linux-2.4.37.9/drivers/char/mwave/ |
D | mwavedd.h | 72 #define PRINTK_1(f,s) \ argument 77 #define PRINTK_2(f,s,v1) \ argument 82 #define PRINTK_3(f,s,v1,v2) \ argument 87 #define PRINTK_4(f,s,v1,v2,v3) \ argument 92 #define PRINTK_5(f,s,v1,v2,v3,v4) \ argument 97 #define PRINTK_6(f,s,v1,v2,v3,v4,v5) \ argument 102 #define PRINTK_7(f,s,v1,v2,v3,v4,v5,v6) \ argument 107 #define PRINTK_8(f,s,v1,v2,v3,v4,v5,v6,v7) \ argument 113 #define PRINTK_1(f,s) argument 114 #define PRINTK_2(f,s,v1) argument [all …]
|
/linux-2.4.37.9/drivers/sound/cs4281/ |
D | cs4281m.c | 226 #define VALIDATE_STATE(s) \ argument 561 static void delayus(struct cs4281_state *s, u32 delay) in delayus() 1003 static void printpm(struct cs4281_state *s) in printpm() 1057 static void printpipelines(struct cs4281_state *s) in printpipelines() 1073 void cs4281_ac97_suspend(struct cs4281_state *s) in cs4281_ac97_suspend() 1115 void cs4281_ac97_resume(struct cs4281_state *s) in cs4281_ac97_resume() 1188 void cs4281_SuspendFIFO(struct cs4281_state *s, struct cs4281_pipeline *pl) in cs4281_SuspendFIFO() 1196 void cs4281_ResumeFIFO(struct cs4281_state *s, struct cs4281_pipeline *pl) in cs4281_ResumeFIFO() 1204 void cs4281_SuspendDMAengine(struct cs4281_state *s, struct cs4281_pipeline *pl) in cs4281_SuspendDMAengine() 1216 void cs4281_ResumeDMAengine(struct cs4281_state *s, struct cs4281_pipeline *pl) in cs4281_ResumeDMAengine() [all …]
|
/linux-2.4.37.9/include/net/ |
D | af_unix.h | 26 static inline unix_socket *next_unix_socket(int *i, unix_socket *s) in next_unix_socket() 39 #define forall_unix_sockets(i, s) \ argument 59 #define unix_state_rlock(s) read_lock(&(s)->protinfo.af_unix.lock) argument 60 #define unix_state_runlock(s) read_unlock(&(s)->protinfo.af_unix.lock) argument 61 #define unix_state_wlock(s) write_lock(&(s)->protinfo.af_unix.lock) argument 62 #define unix_state_wunlock(s) write_unlock(&(s)->protinfo.af_unix.lock) argument
|
/linux-2.4.37.9/include/acpi/ |
D | acmacros.h | 126 #define ACPI_STORE_POINTER(d,s) ACPI_MOVE_32_TO_32(d,s) argument 154 #define ACPI_MOVE_16_TO_16(d,s) {(( u8 *)(void *)(d))[0] = ((u8 *)(void *)(s))[1];\ argument 157 #define ACPI_MOVE_16_TO_32(d,s) {(*(u32 *)(void *)(d))=0;\ argument 161 #define ACPI_MOVE_16_TO_64(d,s) {(*(u64 *)(void *)(d))=0;\ argument 167 #define ACPI_MOVE_32_TO_16(d,s) ACPI_MOVE_16_TO_16(d,s) /* Truncate to 16 */ argument 169 #define ACPI_MOVE_32_TO_32(d,s) {(( u8 *)(void *)(d))[0] = ((u8 *)(void *)(s))[3];\ argument 174 #define ACPI_MOVE_32_TO_64(d,s) {(*(u64 *)(void *)(d))=0;\ argument 182 #define ACPI_MOVE_64_TO_16(d,s) ACPI_MOVE_16_TO_16(d,s) /* Truncate to 16 */ argument 184 #define ACPI_MOVE_64_TO_32(d,s) ACPI_MOVE_32_TO_32(d,s) /* Truncate to 32 */ argument 186 #define ACPI_MOVE_64_TO_64(d,s) {(( u8 *)(void *)(d))[0] = ((u8 *)(void *)(s))[7];\ argument [all …]
|