/linux-2.6.39/sound/pci/ctxfi/ |
D | ctsrc.c | 42 hw = src->rsc.hw; in src_set_state() 43 hw->src_set_state(src->rsc.ctrl_blk, state); in src_set_state() 52 hw = src->rsc.hw; in src_set_bm() 53 hw->src_set_bm(src->rsc.ctrl_blk, bm); in src_set_bm() 62 hw = src->rsc.hw; in src_set_sf() 63 hw->src_set_sf(src->rsc.ctrl_blk, sf); in src_set_sf() 72 hw = src->rsc.hw; in src_set_pm() 73 hw->src_set_pm(src->rsc.ctrl_blk, pm); in src_set_pm() 82 hw = src->rsc.hw; in src_set_rom() 83 hw->src_set_rom(src->rsc.ctrl_blk, rom); in src_set_rom() [all …]
|
D | ctamixer.c | 30 static int amixer_master(struct rsc *rsc) in amixer_master() argument 32 rsc->conj = 0; in amixer_master() 33 return rsc->idx = container_of(rsc, struct amixer, rsc)->idx[0]; in amixer_master() 36 static int amixer_next_conj(struct rsc *rsc) in amixer_next_conj() argument 38 rsc->conj++; in amixer_next_conj() 39 return container_of(rsc, struct amixer, rsc)->idx[rsc->conj]; in amixer_next_conj() 42 static int amixer_index(const struct rsc *rsc) in amixer_index() argument 44 return container_of(rsc, struct amixer, rsc)->idx[rsc->conj]; in amixer_index() 47 static int amixer_output_slot(const struct rsc *rsc) in amixer_output_slot() argument 49 return (amixer_index(rsc) << 4) + 0x4; in amixer_output_slot() [all …]
|
D | ctresource.c | 106 static int rsc_index(const struct rsc *rsc) in rsc_index() argument 108 return rsc->conj; in rsc_index() 111 static int audio_ring_slot(const struct rsc *rsc) in audio_ring_slot() argument 113 return (rsc->conj << 4) + offset_in_audio_slot_block[rsc->type]; in audio_ring_slot() 116 static int rsc_next_conj(struct rsc *rsc) in rsc_next_conj() argument 119 for (i = 0; (i < 8) && (!(rsc->msr & (0x1 << i))); ) in rsc_next_conj() 121 rsc->conj += (AUDIO_SLOT_BLOCK_NUM >> i); in rsc_next_conj() 122 return rsc->conj; in rsc_next_conj() 125 static int rsc_master(struct rsc *rsc) in rsc_master() argument 127 return rsc->conj = rsc->idx; in rsc_master() [all …]
|
D | ctresource.h | 35 struct rsc { struct 46 int (*master)(struct rsc *rsc); /* Move to master resource */ argument 47 int (*next_conj)(struct rsc *rsc); /* Move to next conjugate resource */ 48 int (*index)(const struct rsc *rsc); /* Return the index of resource */ 50 int (*output_slot)(const struct rsc *rsc); 53 int rsc_init(struct rsc *rsc, u32 idx, enum RSCTYP type, u32 msr, void *hw); 54 int rsc_uninit(struct rsc *rsc);
|
D | ctamixer.h | 27 struct rsc rsc; /* Basic resource info */ member 55 struct rsc rsc; /* Basic resource info */ member 57 struct rsc *input; /* pointer to a resource acting as source */ 63 int (*set_input)(struct amixer *amixer, struct rsc *rsc); 70 int (*setup)(struct amixer *amixer, struct rsc *input,
|
D | ctmixer.h | 53 struct rsc **rleft, struct rsc **rright); 56 enum MIXER_PORT_T type, struct rsc *rsc); 58 enum MIXER_PORT_T type, struct rsc *rsc);
|
D | ctdaio.h | 45 struct rsc rscl; /* Basic resource info for left TX/RX */ 46 struct rsc rscr; /* Basic resource info for right TX/RX */ 76 int (*set_left_input)(struct dao *dao, struct rsc *input); 77 int (*set_right_input)(struct dao *dao, struct rsc *input); 83 int (*set_srt_srcl)(struct dai *dai, struct rsc *src); 84 int (*set_srt_srcr)(struct dai *dai, struct rsc *src);
|
D | ctsrc.h | 48 struct rsc rsc; /* Basic resource info */ member 106 struct rsc rsc; member 115 int (*map)(struct srcimp *srcimp, struct src *user, struct rsc *input);
|
D | ctdaio.c | 68 static int daio_master(struct rsc *rsc) in daio_master() argument 73 return rsc->conj = rsc->idx; in daio_master() 76 static int daio_index(const struct rsc *rsc) in daio_index() argument 78 return rsc->conj; in daio_index() 81 static int daio_out_next_conj(struct rsc *rsc) in daio_out_next_conj() argument 83 return rsc->conj += 2; in daio_out_next_conj() 86 static int daio_in_next_conj_20k1(struct rsc *rsc) in daio_in_next_conj_20k1() argument 88 return rsc->conj += 0x200; in daio_in_next_conj_20k1() 91 static int daio_in_next_conj_20k2(struct rsc *rsc) in daio_in_next_conj_20k2() argument 93 return rsc->conj += 0x100; in daio_in_next_conj_20k2() [all …]
|
D | ctmixer.c | 869 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); in ct_mixer_topology_build() 872 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); in ct_mixer_topology_build() 880 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build() 883 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build() 889 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build() 892 amix_d->ops->setup(amix_d, &amix_s->rsc, INIT_VOL, NULL); in ct_mixer_topology_build() 931 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); in ct_mixer_topology_build() 934 amix_d->ops->setup(amix_d, &sum->rsc, INIT_VOL, NULL); in ct_mixer_topology_build() 971 static int mixer_set_input_port(struct amixer *amixer, struct rsc *rsc) in mixer_set_input_port() argument 973 amixer->ops->set_input(amixer, rsc); in mixer_set_input_port() [all …]
|
D | ctatc.c | 300 amixer->ops->setup(amixer, &src->rsc, in atc_pcm_playback_prepare() 384 max_cisz = src->multi * src->rsc.msr; in atc_pcm_playback_start() 438 max_cisz = src->multi * src->rsc.msr; in atc_pcm_playback_position() 644 struct rsc *out_ports[8] = {NULL}; in atc_pcm_capture_prepare() 668 out_ports[0] = &mono->rsc; in atc_pcm_capture_prepare() 678 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in atc_pcm_capture_prepare() 679 out_ports[i%multi] = &amixer->rsc; in atc_pcm_capture_prepare() 700 &amixer->rsc); in atc_pcm_capture_prepare() 910 amixer->ops->setup(amixer, &src->rsc, INIT_VOL, NULL); in spdif_passthru_playback_prepare() 919 dao->ops->set_left_input(dao, &amixer->rsc); in spdif_passthru_playback_prepare() [all …]
|
/linux-2.6.39/drivers/s390/cio/ |
D | crw.c | 29 int crw_register_handler(int rsc, crw_handler_t handler) in crw_register_handler() argument 33 if ((rsc < 0) || (rsc >= NR_RSCS)) in crw_register_handler() 36 if (crw_handlers[rsc]) in crw_register_handler() 39 crw_handlers[rsc] = handler; in crw_register_handler() 48 void crw_unregister_handler(int rsc) in crw_unregister_handler() argument 50 if ((rsc < 0) || (rsc >= NR_RSCS)) in crw_unregister_handler() 53 crw_handlers[rsc] = NULL; in crw_unregister_handler() 85 tmp_crw.chn, tmp_crw.rsc, tmp_crw.anc, in crw_collect_info() 100 crw[chain].rsc, crw[chain].anc, crw[chain].erc, in crw_collect_info() 121 handler = crw_handlers[crw[chain].rsc]; in crw_collect_info()
|
/linux-2.6.39/arch/ia64/kernel/ |
D | pal.S | 67 mov loc4=ar.rsc // save RSE configuration 69 mov ar.rsc=0 // put RSE in enforced lazy, LE mode 83 mov ar.rsc = loc4 // restore RSE configuration 164 mov loc4=ar.rsc // save RSE configuration 169 mov ar.rsc=0 // put RSE in enforced lazy, LE mode 182 mov ar.rsc=0 // put RSE in enforced lazy, LE mode 192 mov ar.rsc=loc4 // restore RSE configuration 217 mov loc4=ar.rsc // save RSE configuration 220 mov ar.rsc=0 // put RSE in enforced lazy, LE mode 239 mov ar.rsc=0 // put RSE in enforced lazy, LE mode [all …]
|
D | esi_stub.S | 70 mov loc4=ar.rsc // save RSE configuration 71 mov ar.rsc=0 // put RSE in enforced lazy, LE mode 86 .ret1: mov ar.rsc=0 // put RSE in enforced lazy, LE mode 91 .ret2: mov ar.rsc=loc4 // restore RSE configuration
|
D | efi_stub.S | 53 mov loc4=ar.rsc // save RSE configuration 54 mov ar.rsc=0 // put RSE in enforced lazy, LE mode 76 .ret1: mov ar.rsc=0 // put RSE in enforced lazy, LE mode 81 .ret2: mov ar.rsc=loc4 // restore RSE configuration
|
D | jprobes.S | 73 mov r16=ar.rsc 75 mov ar.rsc=r0 79 mov ar.rsc=r16
|
D | gate.S | 196 mov ar.rsc=0 // put RSE into enforced lazy mode 216 mov ar.rsc=0xf // set RSE into eager mode, pl 3 251 mov ar.rsc=r17 // put RSE into enforced lazy mode 293 mov ar.rsc=0xf // (will be restored later on from sc_ar_rsc) 355 mov r27=ar.rsc // M2 (12 cyc)
|
D | minstate.h | 49 mov r27=ar.rsc; /* M */ \ 69 (pUStk) mov ar.rsc=0; /* set enforced lazy mode, pl 0, little-endian, loadrs=0 */ \ 83 (pUStk) mov ar.rsc=0x3; /* set eager mode, pl 0, little-endian, loadrs=0 */ \ 237 mov ar.rsc=r0 \
|
/linux-2.6.39/net/sunrpc/auth_gss/ |
D | svcauth_gss.c | 333 struct rsc { struct 344 static struct rsc *rsc_update(struct rsc *new, struct rsc *old); argument 345 static struct rsc *rsc_lookup(struct rsc *item); 347 static void rsc_free(struct rsc *rsci) in rsc_free() 359 struct rsc *rsci = container_of(ref, struct rsc, h.ref); in rsc_put() 366 rsc_hash(struct rsc *rsci) in rsc_hash() 374 struct rsc *new = container_of(a, struct rsc, h); in rsc_match() 375 struct rsc *tmp = container_of(b, struct rsc, h); in rsc_match() 383 struct rsc *new = container_of(cnew, struct rsc, h); in rsc_init() 384 struct rsc *tmp = container_of(ctmp, struct rsc, h); in rsc_init() [all …]
|
/linux-2.6.39/arch/s390/include/asm/ |
D | crw.h | 23 __u32 rsc : 4; /* reporting source code */ member 32 extern int crw_register_handler(int rsc, crw_handler_t handler); 33 extern void crw_unregister_handler(int rsc);
|
/linux-2.6.39/arch/ia64/include/asm/xen/ |
D | minstate.h | 38 mov r27=ar.rsc; /* M */ \ 57 (pUStk) mov ar.rsc=0; /* set enforced lazy mode, pl 0, little-endian, loadrs=0 */ \ 71 (pUStk) mov ar.rsc=0x3; /* set eager mode, pl 0, little-endian, loadrs=0 */ \
|
/linux-2.6.39/drivers/block/ |
D | mg_disk.c | 831 struct resource *rsc; in mg_probe() local 857 rsc = platform_get_resource(plat_dev, IORESOURCE_MEM, 0); in mg_probe() 858 if (!rsc) { in mg_probe() 864 host->dev_base = ioremap(rsc->start, resource_size(rsc)); in mg_probe() 874 rsc = platform_get_resource_byname(plat_dev, IORESOURCE_IO, in mg_probe() 876 if (!rsc) { in mg_probe() 882 host->rst = rsc->start; in mg_probe() 895 rsc = platform_get_resource_byname(plat_dev, IORESOURCE_IO, in mg_probe() 897 if (!rsc) { in mg_probe() 903 host->rstout = rsc->start; in mg_probe()
|
/linux-2.6.39/arch/ia64/include/asm/ |
D | mca_asm.h | 85 mov ar.rsc = 0 ; \ 168 mov ar.rsc = 0; \
|
/linux-2.6.39/drivers/net/wireless/orinoco/ |
D | hw.c | 991 int set_tx, u8 *key, u8 *rsc, size_t rsc_len, in __orinoco_hw_set_tkip_key() argument 996 u8 rsc[ORINOCO_SEQ_LEN]; in __orinoco_hw_set_tkip_key() member 1017 if (rsc_len > sizeof(buf.rsc)) in __orinoco_hw_set_tkip_key() 1018 rsc_len = sizeof(buf.rsc); in __orinoco_hw_set_tkip_key() 1023 memset(buf.rsc, 0, sizeof(buf.rsc)); in __orinoco_hw_set_tkip_key() 1026 if (rsc != NULL) in __orinoco_hw_set_tkip_key() 1027 memcpy(buf.rsc, rsc, rsc_len); in __orinoco_hw_set_tkip_key()
|
/linux-2.6.39/arch/ia64/kvm/ |
D | kvm_minstate.h | 32 mov ar.rsc = 0;/* set enforced lazy mode, pl 0, little-endian, loadrs=0 */\ 44 mov ar.rsc = 0x3; /* set eager mode, pl 0, little-endian, loadrs=0 */ 102 mov r27 = ar.rsc; /* M */ \
|