Searched refs:mgr (Results 1 - 25 of 41) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/pcxhr/
H A Dpcxhr_mixer.h27 int pcxhr_create_mixer(struct pcxhr_mgr *mgr);
H A Dpcxhr_hwdep.h37 int pcxhr_setup_firmware(struct pcxhr_mgr *mgr);
38 void pcxhr_reset_board(struct pcxhr_mgr *mgr);
H A Dpcxhr_hwdep.c49 static int pcxhr_init_board(struct pcxhr_mgr *mgr) argument
56 if (mgr->mono_capture)
57 card_streams = mgr->capture_chips * 2;
59 card_streams = mgr->capture_chips;
60 card_streams += mgr->playback_chips * PCXHR_PLAYBACK_STREAMS;
63 pcxhr_enable_dsp(mgr);
66 err = pcxhr_send_msg(mgr, &rmh);
70 snd_assert((rmh.stat[0] & MASK_FIRST_FIELD) == mgr->playback_chips*2,
74 mgr->capture_chips * 2, return -EINVAL);
82 rmh.cmd[0] |= mgr
120 pcxhr_reset_board(struct pcxhr_mgr *mgr) argument
146 pcxhr_dsp_allocate_pipe( struct pcxhr_mgr *mgr, struct pcxhr_pipe *pipe, int is_capture, int pin) argument
184 pcxhr_config_pipes(struct pcxhr_mgr *mgr) argument
212 pcxhr_start_pipes(struct pcxhr_mgr *mgr) argument
231 pcxhr_dsp_load(struct pcxhr_mgr *mgr, int index, const struct firmware *dsp) argument
303 pcxhr_setup_firmware(struct pcxhr_mgr *mgr) argument
361 struct pcxhr_mgr *mgr = hw->private_data; local
394 pcxhr_setup_firmware(struct pcxhr_mgr *mgr) argument
[all...]
H A Dpcxhr_core.c72 #define PCXHR_INPB(mgr,x) inb((mgr)->port[PCXHR_REG_TO_PORT(x)] + (x))
73 #define PCXHR_INPL(mgr,x) inl((mgr)->port[PCXHR_REG_TO_PORT(x)] + (x))
74 #define PCXHR_OUTPB(mgr,x,data) outb((data), (mgr)->port[PCXHR_REG_TO_PORT(x)] + (x))
75 #define PCXHR_OUTPL(mgr,x,data) outl((data), (mgr)->port[PCXHR_REG_TO_PORT(x)] + (x))
126 static int pcxhr_check_reg_bit(struct pcxhr_mgr *mgr, unsigned int reg, argument
133 *read = PCXHR_INPB(mgr, re
174 pcxhr_send_it_dsp(struct pcxhr_mgr *mgr, unsigned int itdsp, int atomic) argument
225 pcxhr_reset_xilinx_com(struct pcxhr_mgr *mgr) argument
232 pcxhr_enable_irq(struct pcxhr_mgr *mgr, int enable) argument
243 pcxhr_reset_dsp(struct pcxhr_mgr *mgr) argument
258 pcxhr_enable_dsp(struct pcxhr_mgr *mgr) argument
267 pcxhr_load_xilinx_binary(struct pcxhr_mgr *mgr, const struct firmware *xilinx, int second) argument
315 pcxhr_download_dsp(struct pcxhr_mgr *mgr, const struct firmware *dsp) argument
357 pcxhr_load_eeprom_binary(struct pcxhr_mgr *mgr, const struct firmware *eeprom) argument
386 pcxhr_load_boot_binary(struct pcxhr_mgr *mgr, const struct firmware *boot) argument
414 pcxhr_load_dsp_binary(struct pcxhr_mgr *mgr, const struct firmware *dsp) argument
508 pcxhr_read_rmh_status(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) argument
567 pcxhr_send_msg_nolock(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) argument
716 pcxhr_send_msg(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh) argument
726 pcxhr_pipes_running(struct pcxhr_mgr *mgr) argument
741 pcxhr_prepair_pipe_start(struct pcxhr_mgr *mgr, int audio_mask, int *retry) argument
777 pcxhr_stop_pipes(struct pcxhr_mgr *mgr, int audio_mask) argument
809 pcxhr_toggle_pipes(struct pcxhr_mgr *mgr, int audio_mask) argument
846 pcxhr_set_pipe_state(struct pcxhr_mgr *mgr, int playback_mask, int capture_mask, int start) argument
906 pcxhr_write_io_num_reg_cont(struct pcxhr_mgr *mgr, unsigned int mask, unsigned int value, int *changed) argument
951 pcxhr_handle_async_err(struct pcxhr_mgr *mgr, u32 err, enum pcxhr_async_err_src err_src, int pipe, int is_capture) argument
982 struct pcxhr_mgr *mgr = (struct pcxhr_mgr *)(arg); local
1039 pcxhr_stream_read_position(struct pcxhr_mgr *mgr, struct pcxhr_stream *stream) argument
1070 pcxhr_update_timer_pos(struct pcxhr_mgr *mgr, struct pcxhr_stream *stream, int samples_to_add) argument
1136 struct pcxhr_mgr *mgr = dev_id; local
[all...]
H A Dpcxhr.c160 static int pcxhr_get_clock_reg(struct pcxhr_mgr *mgr, unsigned int rate, argument
168 switch (mgr->use_clock_type) {
197 err = pcxhr_send_msg(mgr, &rmh);
220 int pcxhr_set_clock(struct pcxhr_mgr *mgr, unsigned int rate) argument
229 err = pcxhr_get_clock_reg(mgr, rate, &val, &realfreq);
240 if (mgr->codec_speed != speed) {
243 err = pcxhr_send_msg(mgr, &rmh);
251 err = pcxhr_send_msg(mgr, &rmh);
257 err = pcxhr_write_io_num_reg_cont(mgr, PCXHR_FREQ_REG_MASK, val, &changed);
260 mgr
291 pcxhr_get_external_clock(struct pcxhr_mgr *mgr, enum pcxhr_clock_type clock_type, int *sample_rate) argument
498 struct pcxhr_mgr *mgr = (struct pcxhr_mgr*)(arg); local
672 pcxhr_hardware_timer(struct pcxhr_mgr *mgr, int start) argument
694 struct pcxhr_mgr *mgr = chip->mgr; local
752 struct pcxhr_mgr *mgr = chip->mgr; local
826 struct pcxhr_mgr *mgr = chip->mgr; local
897 struct pcxhr_mgr *mgr = chip->mgr; local
999 pcxhr_create(struct pcxhr_mgr *mgr, struct snd_card *card, int idx) argument
1042 struct pcxhr_mgr *mgr = chip->mgr; local
1103 struct pcxhr_mgr *mgr = chip->mgr; local
1140 pcxhr_free(struct pcxhr_mgr *mgr) argument
1180 struct pcxhr_mgr *mgr; local
[all...]
H A Dpcxhr_mixer.c69 err = pcxhr_send_msg(chip->mgr, &rmh);
100 mutex_lock(&chip->mgr->mixer_mutex);
108 mutex_unlock(&chip->mgr->mixer_mutex);
119 mutex_lock(&chip->mgr->mixer_mutex);
131 mutex_unlock(&chip->mgr->mixer_mutex);
161 mutex_lock(&chip->mgr->mixer_mutex);
164 mutex_unlock(&chip->mgr->mixer_mutex);
173 mutex_lock(&chip->mgr->mixer_mutex);
181 mutex_unlock(&chip->mgr->mixer_mutex);
233 err = pcxhr_send_msg(chip->mgr,
627 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); local
643 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); local
651 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); local
689 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); local
700 struct pcxhr_mgr *mgr = snd_kcontrol_chip(kcontrol); local
929 pcxhr_create_mixer(struct pcxhr_mgr *mgr) argument
[all...]
H A Dpcxhr_core.h30 void pcxhr_reset_xilinx_com(struct pcxhr_mgr *mgr);
31 void pcxhr_reset_dsp(struct pcxhr_mgr *mgr);
32 void pcxhr_enable_dsp(struct pcxhr_mgr *mgr);
33 int pcxhr_load_xilinx_binary(struct pcxhr_mgr *mgr, const struct firmware *xilinx, int second);
34 int pcxhr_load_eeprom_binary(struct pcxhr_mgr *mgr, const struct firmware *eeprom);
35 int pcxhr_load_boot_binary(struct pcxhr_mgr *mgr, const struct firmware *boot);
36 int pcxhr_load_dsp_binary(struct pcxhr_mgr *mgr, const struct firmware *dsp);
102 int pcxhr_send_msg(struct pcxhr_mgr *mgr, struct pcxhr_rmh *rmh);
146 int pcxhr_set_pipe_state(struct pcxhr_mgr *mgr, int playback_mask, int capture_mask, int start);
148 int pcxhr_write_io_num_reg_cont(struct pcxhr_mgr *mgr, unsigne
[all...]
H A Dpcxhr.h153 struct pcxhr_mgr *mgr; member in struct:snd_pcxhr
186 int pcxhr_set_clock(struct pcxhr_mgr *mgr, unsigned int rate);
187 int pcxhr_get_external_clock(struct pcxhr_mgr *mgr, enum pcxhr_clock_type clock_type, int *sample_rate);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/mixart/
H A Dmixart_core.c49 static int retrieve_msg_frame(struct mixart_mgr *mgr, u32 *msg_frame) argument
54 tailptr = readl_be(MIXART_MEM(mgr, MSG_OUTBOUND_POST_TAIL));
55 headptr = readl_be(MIXART_MEM(mgr, MSG_OUTBOUND_POST_HEAD));
63 *msg_frame = readl_be(MIXART_MEM(mgr, tailptr));
69 writel_be(tailptr, MIXART_MEM(mgr, MSG_OUTBOUND_POST_TAIL));
74 static int get_msg(struct mixart_mgr *mgr, struct mixart_msg *resp, argument
85 spin_lock_irqsave(&mgr->msg_lock, flags);
89 size = readl_be(MIXART_MEM(mgr, msg_frame_address)); /* size of descriptor + response */
90 resp->message_id = readl_be(MIXART_MEM(mgr, msg_frame_address + 4)); /* dwMessageID */
91 resp->uid.object_id = readl_be(MIXART_MEM(mgr, msg_frame_addres
143 send_msg( struct mixart_mgr *mgr, struct mixart_msg *msg, int max_answersize, int mark_pending, u32 *msg_event) argument
236 snd_mixart_send_msg(struct mixart_mgr *mgr, struct mixart_msg *request, int max_resp_size, void *resp_data) argument
286 snd_mixart_send_msg_wait_notif(struct mixart_mgr *mgr, struct mixart_msg *request, u32 notif_event) argument
328 snd_mixart_send_msg_nonblock(struct mixart_mgr *mgr, struct mixart_msg *request) argument
352 struct mixart_mgr *mgr = ( struct mixart_mgr*)(arg); local
413 struct mixart_mgr *mgr = dev_id; local
569 snd_mixart_init_mailbox(struct mixart_mgr *mgr) argument
581 snd_mixart_exit_mailbox(struct mixart_mgr *mgr) argument
588 snd_mixart_reset_board(struct mixart_mgr *mgr) argument
[all...]
H A Dmixart_mixer.h29 int snd_mixart_create_mixer(struct mixart_mgr* mgr);
H A Dmixart_hwdep.c38 * @param mgr pointer to miXart manager structure
43 static int mixart_wait_nice_for_register_value(struct mixart_mgr *mgr, argument
55 read = readl_be( MIXART_MEM( mgr, offset ));
99 static int mixart_load_elf(struct mixart_mgr *mgr, const struct firmware *dsp ) argument
120 memcpy_toio( MIXART_MEM( mgr, be32_to_cpu(elf_programheader.p_vaddr)),
138 static int mixart_enum_connectors(struct mixart_mgr *mgr) argument
164 err = snd_mixart_send_msg(mgr, &request, sizeof(*connector), connector);
175 pipe = &mgr->chip[k/2]->pipe_out_ana;
177 pipe = &mgr->chip[(k-MIXART_FIRST_DIG_AUDIO_ID)/2]->pipe_out_dig;
193 err = snd_mixart_send_msg(mgr,
252 mixart_enum_physio(struct mixart_mgr *mgr) argument
302 mixart_first_init(struct mixart_mgr *mgr) argument
332 mixart_dsp_load(struct mixart_mgr* mgr, int index, const struct firmware *dsp) argument
543 snd_mixart_setup_firmware(struct mixart_mgr *mgr) argument
591 struct mixart_mgr *mgr = hw->private_data; local
606 struct mixart_mgr* mgr = hw->private_data; local
629 snd_mixart_setup_firmware(struct mixart_mgr *mgr) argument
[all...]
H A Dmixart.c72 static int mixart_set_pipe_state(struct mixart_mgr *mgr, argument
103 err = snd_mixart_send_msg_wait_notif(mgr, &request, system_msg_uid);
124 err = snd_mixart_send_msg(mgr, &request, sizeof(group_state_resp), &group_state_resp);
135 err = snd_mixart_send_msg(mgr, &request, sizeof(group_state_resp), &group_state_resp);
148 err = snd_mixart_send_msg(mgr, &request, sizeof(stat), &stat);
163 static int mixart_set_clock(struct mixart_mgr *mgr, argument
196 request.uid = mgr->uid_console_manager;
200 err = snd_mixart_send_msg(mgr, &request, sizeof(clock_prop_resp), &clock_prop_resp);
288 flowinfo = (struct mixart_flowinfo *)chip->mgr->flowinfo.area;
289 flowinfo[j].bufferinfo_array_phy_address = (u32)chip->mgr
325 snd_mixart_kill_ref_pipe(struct mixart_mgr *mgr, struct mixart_pipe *pipe, int monitoring) argument
454 mixart_sync_nonblock_events(struct mixart_mgr *mgr) argument
583 struct mixart_mgr *mgr = chip->mgr; local
698 struct mixart_mgr *mgr = chip->mgr; local
773 struct mixart_mgr *mgr = chip->mgr; local
852 struct mixart_mgr *mgr = chip->mgr; local
993 snd_mixart_create(struct mixart_mgr *mgr, struct snd_card *card, int idx) argument
1042 snd_mixart_free(struct mixart_mgr *mgr) argument
1149 struct mixart_mgr *mgr = entry->private_data; local
1168 struct mixart_mgr *mgr = entry->private_data; local
1260 struct mixart_mgr *mgr; local
[all...]
H A Dmixart_hwdep.h34 #define MIXART_MEM(mgr,x) ((mgr)->mem[0].virt + (x))
35 #define MIXART_REG(mgr,x) ((mgr)->mem[1].virt + (x))
143 int snd_mixart_setup_firmware(struct mixart_mgr *mgr);
H A Dmixart_mixer.c331 err = snd_mixart_send_msg(chip->mgr, &request, sizeof(resp), &resp);
359 mutex_lock(&chip->mgr->mixer_mutex);
367 mutex_unlock(&chip->mgr->mixer_mutex);
377 mutex_lock(&chip->mgr->mixer_mutex);
388 mutex_unlock(&chip->mgr->mixer_mutex);
419 mutex_lock(&chip->mgr->mixer_mutex);
422 mutex_unlock(&chip->mgr->mixer_mutex);
430 mutex_lock(&chip->mgr->mixer_mutex);
438 mutex_unlock(&chip->mgr->mixer_mutex);
756 err = snd_mixart_send_msg(chip->mgr,
1073 snd_mixart_create_mixer(struct mixart_mgr *mgr) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/txn/
H A Dtxn_region.c29 DB_TXNMGR *mgr; local
33 if ((ret = __os_calloc(env, 1, sizeof(DB_TXNMGR), &mgr)) != 0)
35 TAILQ_INIT(&mgr->txn_chain);
36 mgr->env = env;
39 mgr->reginfo.env = env;
40 mgr->reginfo.type = REGION_TYPE_TXN;
41 mgr->reginfo.id = INVALID_REGION_ID;
42 mgr->reginfo.flags = REGION_JOIN_OK;
44 F_SET(&mgr->reginfo, REGION_CREATE_OK);
46 &mgr
221 DB_TXNMGR *mgr; local
345 DB_TXNMGR *mgr; local
383 DB_TXNMGR *mgr; local
441 DB_TXNMGR *mgr; local
[all...]
H A Dtxn_failchk.c26 DB_TXNMGR *mgr; local
34 mgr = env->tx_handle;
36 region = mgr->reginfo.primary;
84 TAILQ_INSERT_TAIL(&mgr->txn_chain, txn, links);
H A Dtxn_chkpt.c100 DB_TXNMGR *mgr; local
111 mgr = env->tx_handle;
112 region = mgr->reginfo.primary;
293 DB_TXNMGR *mgr; local
297 mgr = env->tx_handle;
298 region = mgr->reginfo.primary;
323 DB_TXNMGR *mgr; local
326 mgr = env->tx_handle;
327 region = mgr->reginfo.primary;
353 DB_TXNMGR *mgr; local
[all...]
H A Dtxn_recover.c34 DB_TXNMGR *mgr; local
37 mgr = env->tx_handle;
38 region = mgr->reginfo.primary;
54 *offp = R_OFFSET(&mgr->reginfo, *tdp);
144 DB_TXNMGR *mgr; local
166 mgr = env->tx_handle;
167 region = mgr->reginfo.primary;
237 MUTEX_LOCK(env, mgr->mutex);
239 TAILQ_INSERT_TAIL(&mgr->txn_chain, txns[i].txn, links);
240 MUTEX_UNLOCK(env, mgr
[all...]
H A Dtxn.c291 DB_TXNMGR *mgr; local
297 mgr = env->tx_handle;
298 region = mgr->reginfo.primary;
362 DB_TXNMGR *mgr; local
369 mgr = txn->mgrp;
370 env = mgr->env;
372 region = mgr->reginfo.primary;
395 __env_alloc(&mgr->reginfo, sizeof(TXN_DETAIL), &td)) != 0) {
424 td->parent = R_OFFSET(&mgr->reginfo, txn->parent->td);
437 td->log_dbs = R_OFFSET(&mgr
934 DB_TXNMGR *mgr; local
1093 DB_TXNMGR *mgr; local
1180 DB_TXNMGR *mgr; local
1291 DB_TXNMGR *mgr; local
1485 DB_TXNMGR *mgr; local
1671 DB_TXNMGR *mgr; local
[all...]
H A Dtxn_stat.c69 DB_TXNMGR *mgr; local
78 mgr = env->tx_handle;
79 region = mgr->reginfo.primary;
112 ((TXN_DETAIL *)R_ADDR(&mgr->reginfo,
126 R_ADDR(&mgr->reginfo, td->name),
136 stats->st_regsize = mgr->reginfo.rp->size;
318 DB_TXNMGR *mgr; local
322 mgr = env->tx_handle;
323 region = mgr->reginfo.primary;
327 __db_print_reginfo(env, &mgr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/include/
H A Dbcm_mpool_pub.h127 * mgr: OUTPUT The handle is written with the new pools manager object/handle.
140 * mgr: INPUT Pointer to pool manager handle.
156 * mgr: INPUT The handle to the pool manager
172 int bcm_mpm_create_prealloc_pool(bcm_mpm_mgr_h mgr,
186 * mgr: INPUT The handle to the pools manager
194 int bcm_mpm_delete_prealloc_pool(bcm_mpm_mgr_h mgr, bcm_mp_pool_h *poolp);
204 * mgr: INPUT The handle to the pool manager
215 int bcm_mpm_create_heap_pool(bcm_mpm_mgr_h mgr, unsigned int obj_sz,
225 * mgr: INPUT The handle to the pools manager
233 int bcm_mpm_delete_heap_pool(bcm_mpm_mgr_h mgr, bcm_mp_pool_
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/emu10k1/
H A Defxmgr.c36 int emu10k1_find_control_gpr(struct patch_manager *mgr, const char *patch_name, const char *gpr_name) argument
46 rpatch = &mgr->rpatch;
52 for (i = 0; i < mgr->current_pages * PATCHES_PER_PAGE; i++) {
53 patch = PATCH(mgr, i);
66 if (mgr->gpr[i].type == GPR_TYPE_CONTROL &&
68 !strcmp(mgr->gpr[i].name, gpr_name))
76 struct patch_manager *mgr = &card->mgr; local
88 if (val > mgr->gpr[addr].max)
89 val = mgr
175 struct patch_manager *mgr = &card->mgr; local
[all...]
H A Defxmgr.h131 #define PATCH(mgr, i) ((struct dsp_patch *) (mgr)->patch[(i) / PATCHES_PER_PAGE] + (i) % PATCHES_PER_PAGE)
188 patch = PATCH(mgr, patch_n); \
205 patch = &mgr->rpatch; \
221 patch = PATCH(mgr, patch_n); \
237 mgr->gpr[(g) - GPR_BASE].type = GPR_TYPE_IO; \
238 mgr->gpr[(g) - GPR_BASE].usage++; \
239 mgr->gpr[(g) - GPR_BASE].line = ln; \
245 mgr->gpr[(g) - GPR_BASE].type = GPR_TYPE_IO; \
246 mgr
[all...]
H A Dmixer.c139 sblive_writeptr(card, (card->is_audigy ? A_GPR_BASE : GPR_BASE) + card->mgr.ctrl_gpr[SOUND_MIXER_BASS][0] + i, 0, bass_table[l][i]);
150 sblive_writeptr(card, (card->is_audigy ? A_GPR_BASE : GPR_BASE) + card->mgr.ctrl_gpr[SOUND_MIXER_TREBLE][0] + i , 0, treble_table[l][i]);
324 if (copy_to_user(argp, &card->mgr.rpatch, sizeof(struct dsp_rpatch)))
327 if ((ctl->val[0] - 1) / PATCHES_PER_PAGE >= card->mgr.current_pages) {
332 if (copy_to_user(argp, PATCH(&card->mgr, ctl->val[0] - 1), sizeof(struct dsp_patch)))
346 if (copy_to_user(argp, &card->mgr.gpr[id], sizeof(struct dsp_gpr)))
352 addr = emu10k1_find_control_gpr(&card->mgr, (char *) ctl->val, &((char *) ctl->val)[PATCH_NAME_SIZE]);
362 memcpy(&card->mgr.rpatch, &ctl->val[1], sizeof(struct dsp_rpatch));
370 if (page >= card->mgr.current_pages) {
371 for (i = card->mgr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/build_brew/
H A Dbrew_db.h126 #define FILE_MANAGER_CREATE(dbenv, mgr, ret) do { \
130 AEECLSID_FILEMGR, (void **)&(mgr))) == SUCCESS) \
142 #define FILE_MANAGER_ERR(dbenv, mgr, name, op, ret) do { \
144 __ret = IFILEMGR_GetLastError(mgr); \

Completed in 96 milliseconds

12