Home
last modified time | relevance | path

Searched refs:chip (Results 1 – 25 of 4637) sorted by relevance

12345678910>>...186

/dports/audio/vgmplay/vgmplay-0.40.9_2/chips/
H A Dym3438.c235 chip->busy = chip->write_busy; in OPN2_DoIO()
237 chip->write_busy = (chip->write_busy && !(chip->write_busy_cnt >> 5)) || chip->write_d_en; in OPN2_DoIO()
523 chip->pg_inc[chip->slot] = (basefreq * chip->multi[chip->slot]) >> 1; in OPN2_PhaseCalcIncrement()
789 chip->eg_ksv = chip->pg_kcode >> (chip->ks[slot] ^ 0x03); in OPN2_EnvelopePrepare()
792 chip->eg_lfo_am = chip->lfo_am >> eg_am_shift[chip->ams[chip->channel]]; in OPN2_EnvelopePrepare()
1171 chip->eg_kon_latch[chip->slot] = chip->mode_kon[chip->slot]; in OPN2_KeyOn()
1270 chip->eg_timer = chip->eg_timer + chip->eg_timer_inc; in OPN2_Clock()
1282 chip->eg_timer = chip->eg_timer + chip->eg_timer_inc; in OPN2_Clock()
1291 …if (((chip->eg_timer >> chip->eg_cycle) | (chip->pin_test_in & chip->eg_custom_timer)) & chip->eg_… in OPN2_Clock()
1348 chip->pg_fnum = chip->fnum[(chip->channel + 1) % 6]; in OPN2_Clock()
[all …]
H A Dupd7759.c286 chip->fifo_in = chip->data_buf[chip->dbuf_pos_read]; in get_fifo_data()
314 chip->req_sample = chip->rom ? chip->fifo_in : 0x10; in advance_state()
342 chip->last_sample = chip->rom ? chip->rom[0] : chip->fifo_in; in advance_state()
365 chip->offset = (chip->rom ? chip->rom[chip->req_sample * 2 + 5] : chip->fifo_in) << 9; in advance_state()
377 chip->offset |= (chip->rom ? chip->rom[chip->req_sample * 2 + 6] : chip->fifo_in) << 1; in advance_state()
408 chip->block_header = chip->rom ? chip->rom[chip->offset++ & 0x1ffff] : chip->fifo_in; in advance_state()
451 chip->nibbles_left = (chip->rom ? chip->rom[chip->offset++ & 0x1ffff] : chip->fifo_in) + 1; in advance_state()
463 chip->adpcm_data = chip->rom ? chip->rom[chip->offset++ & 0x1ffff] : chip->fifo_in; in advance_state()
746 chip->rom = chip->rombase = NULL; in device_start_upd7759()
863 chip->rom = chip->rombase + base; in upd7759_set_bank_base()
[all …]
H A Ddac_control.c71 if (chip->DataStart + chip->RealPos >= chip->DataLen) in daccontrol_SendCommand()
75 ChipData = chip->Data + (chip->DataStart + chip->RealPos); in daccontrol_SendCommand()
244 chip->Pos += chip->DataStep; in daccontrol_update()
258 chip->Pos += chip->DataStep; in daccontrol_update()
273 chip->RealPos = (chip->CmdsToSend - 0x01) * chip->DataStep; in daccontrol_update()
363 chip->DataStep = chip->CmdSize * chip->StepSize; in daccontrol_setup_chip()
387 chip->DataStep = chip->CmdSize * chip->StepSize; in daccontrol_set_data()
422 chip->Step = chip->Step * chip->Frequency / Frequency; in daccontrol_set_frequency()
441 chip->DataStart = chip->DataLen; in daccontrol_start()
455 chip->CmdsToSend = (chip->DataLen - (chip->DataStart - CmdStepBase)) / chip->DataStep; in daccontrol_start()
[all …]
H A Dvsu.c128 memset(chip->WaveData, 0, sizeof(chip->WaveData)); in VSU_Power()
129 memset(chip->ModData, 0, sizeof(chip->ModData)); in VSU_Power()
178 chip->EffFreq[ch] = chip->Frequency[ch]; in VSU_Write()
275 WD = chip->WaveData[chip->RAMAddress[ch]][chip->WavePos[ch]]; // - 0x20; in VSU_CalcCurrentOutput()
380 chip->NoiseLatcher = ((chip->lfsr & 1) << 6) - (chip->lfsr & 1); in VSU_Update()
453 chip->EffFreq[ch] = (chip->EffFreq[ch] + (INT8)chip->ModData[chip->ModWavePos]); in VSU_Update()
575 chip->tm_clk = (int)((INT64)chip->tm_smpl * chip->clock / chip->smplrate); in vsu_stream_update()
578 if (chip->last_ts >= chip->clock) in vsu_stream_update()
580 chip->last_ts -= chip->clock; in vsu_stream_update()
581 chip->tm_clk -= chip->clock; in vsu_stream_update()
[all …]
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/opnmidi/chips/nuked/
H A Dym3438.c255 chip->busy = chip->write_busy; in OPN2_DoIO()
257 chip->write_busy = (chip->write_busy && !(chip->write_busy_cnt >> 5)) || chip->write_d_en; in OPN2_DoIO()
811 chip->eg_ksv = chip->pg_kcode >> (chip->ks[slot] ^ 0x03); in OPN2_EnvelopePrepare()
814 chip->eg_lfo_am = chip->lfo_am >> eg_am_shift[chip->ams[chip->channel]]; in OPN2_EnvelopePrepare()
1289 chip->eg_timer = chip->eg_timer + chip->eg_timer_inc; in OPN2_Clock()
1301 chip->eg_timer = chip->eg_timer + chip->eg_timer_inc; in OPN2_Clock()
1310 …if (((chip->eg_timer >> chip->eg_cycle) | (chip->pin_test_in & chip->eg_custom_timer)) & chip->eg_… in OPN2_Clock()
1359 chip->pg_fnum = chip->fnum[(chip->channel + 1) % 6]; in OPN2_Clock()
1367 chip->pg_fnum = chip->fnum[(chip->channel + 1) % 6]; in OPN2_Clock()
1368 chip->pg_block = chip->block[(chip->channel + 1) % 6]; in OPN2_Clock()
[all …]
/dports/games/libretro-genesis_plus_gx/Genesis-Plus-GX-7f83bc5/core/sound/
H A Dym3438.c246 chip->busy = chip->write_busy; in OPN2_DoIO()
248 chip->write_busy = (chip->write_busy && !(chip->write_busy_cnt >> 5)) || chip->write_d_en; in OPN2_DoIO()
534 chip->pg_inc[chip->slot] = (basefreq * chip->multi[chip->slot]) >> 1; in OPN2_PhaseCalcIncrement()
800 chip->eg_ksv = chip->pg_kcode >> (chip->ks[slot] ^ 0x03); in OPN2_EnvelopePrepare()
803 chip->eg_lfo_am = chip->lfo_am >> eg_am_shift[chip->ams[chip->channel]]; in OPN2_EnvelopePrepare()
1177 chip->eg_kon_latch[chip->slot] = chip->mode_kon[chip->slot]; in OPN2_KeyOn()
1262 chip->eg_timer = chip->eg_timer + chip->eg_timer_inc; in OPN2_Clock()
1274 chip->eg_timer = chip->eg_timer + chip->eg_timer_inc; in OPN2_Clock()
1283 …if (((chip->eg_timer >> chip->eg_cycle) | (chip->pin_test_in & chip->eg_custom_timer)) & chip->eg_… in OPN2_Clock()
1340 chip->pg_fnum = chip->fnum[(chip->channel + 1) % 6]; in OPN2_Clock()
[all …]
H A Dopll.c403 chip->c_fnum = chip->fnum[ch_offset[chip->cycles]]; in OPLL_PreparePatch2()
404 chip->c_block = chip->block[ch_offset[chip->cycles]]; in OPLL_PreparePatch2()
423 chip->pg_phase[(chip->cycles + 17) % 18] = chip->pg_phase_next + chip->pg_inc; in OPLL_PhaseGenerate()
719 chip->eg_kon |= chip->kon[ch_offset[chip->cycles]]; in OPLL_EnvelopeGenerate()
721 chip->eg_off |= (chip->eg_level[chip->cycles] >> 2) == 0x1f; in OPLL_EnvelopeGenerate()
772 if ((chip->eg_kon&1) && chip->eg_state[chip->cycles] == eg_num_release && !(chip->eg_off&1)) { in OPLL_EnvelopeGenerate()
775 if (!(chip->eg_kon&1) && !chip->son[ch_offset[chip->cycles]] && mcsel == 1 && !chip->c_et) { in OPLL_EnvelopeGenerate()
786 chip->eg_sl = chip->c_sl; in OPLL_EnvelopeGenerate()
885 if (chip->eg_silent || ((chip->op_neg&2) && (ismod1 ? (chip->c_dm&4) : (chip->c_dc&4)))) { in OPLL_Operator()
909chip->op_fbsum = (chip->op_fb1[(chip->cycles + 3) % 9] + chip->op_fb2[(chip->cycles + 3) % 9]) >> … in OPLL_Operator()
[all …]
/dports/games/kodi-addon-game.libretro.genplus/game.libretro.genplus-1.7.4.15-Matrix/depends/common/genplus/core/sound/
H A Dym3438.c246 chip->busy = chip->write_busy; in OPN2_DoIO()
248 chip->write_busy = (chip->write_busy && !(chip->write_busy_cnt >> 5)) || chip->write_d_en; in OPN2_DoIO()
534 chip->pg_inc[chip->slot] = (basefreq * chip->multi[chip->slot]) >> 1; in OPN2_PhaseCalcIncrement()
800 chip->eg_ksv = chip->pg_kcode >> (chip->ks[slot] ^ 0x03); in OPN2_EnvelopePrepare()
803 chip->eg_lfo_am = chip->lfo_am >> eg_am_shift[chip->ams[chip->channel]]; in OPN2_EnvelopePrepare()
1177 chip->eg_kon_latch[chip->slot] = chip->mode_kon[chip->slot]; in OPN2_KeyOn()
1262 chip->eg_timer = chip->eg_timer + chip->eg_timer_inc; in OPN2_Clock()
1274 chip->eg_timer = chip->eg_timer + chip->eg_timer_inc; in OPN2_Clock()
1283 …if (((chip->eg_timer >> chip->eg_cycle) | (chip->pin_test_in & chip->eg_custom_timer)) & chip->eg_… in OPN2_Clock()
1340 chip->pg_fnum = chip->fnum[(chip->channel + 1) % 6]; in OPN2_Clock()
[all …]
H A Dopll.c403 chip->c_fnum = chip->fnum[ch_offset[chip->cycles]]; in OPLL_PreparePatch2()
404 chip->c_block = chip->block[ch_offset[chip->cycles]]; in OPLL_PreparePatch2()
423 chip->pg_phase[(chip->cycles + 17) % 18] = chip->pg_phase_next + chip->pg_inc; in OPLL_PhaseGenerate()
719 chip->eg_kon |= chip->kon[ch_offset[chip->cycles]]; in OPLL_EnvelopeGenerate()
721 chip->eg_off |= (chip->eg_level[chip->cycles] >> 2) == 0x1f; in OPLL_EnvelopeGenerate()
772 if ((chip->eg_kon&1) && chip->eg_state[chip->cycles] == eg_num_release && !(chip->eg_off&1)) { in OPLL_EnvelopeGenerate()
775 if (!(chip->eg_kon&1) && !chip->son[ch_offset[chip->cycles]] && mcsel == 1 && !chip->c_et) { in OPLL_EnvelopeGenerate()
786 chip->eg_sl = chip->c_sl; in OPLL_EnvelopeGenerate()
885 if (chip->eg_silent || ((chip->op_neg&2) && (ismod1 ? (chip->c_dm&4) : (chip->c_dc&4)))) { in OPLL_Operator()
909chip->op_fbsum = (chip->op_fb1[(chip->cycles + 3) % 9] + chip->op_fb2[(chip->cycles + 3) % 9]) >> … in OPLL_Operator()
[all …]
/dports/audio/bambootracker/BambooTracker-0.4.5/BambooTracker/chips/nuked/
H A Dym3438.c322 chip->busy = chip->write_busy; in OPN2_DoIO()
324 chip->write_busy = (chip->write_busy && !(chip->write_busy_cnt >> 5)) || chip->write_d_en; in OPN2_DoIO()
959 chip->eg_ksv = chip->pg_kcode >> (chip->ks[slot] ^ 0x03); in OPN2_EnvelopePrepare()
962 chip->eg_lfo_am = chip->lfo_am >> eg_am_shift[chip->ams[chip->channel]]; in OPN2_EnvelopePrepare()
1609 chip->eg_timer = chip->eg_timer + chip->eg_timer_inc; in OPN2_Clock()
1621 chip->eg_timer = chip->eg_timer + chip->eg_timer_inc; in OPN2_Clock()
1630 …if (((chip->eg_timer >> chip->eg_cycle) | (chip->pin_test_in & chip->eg_custom_timer)) & chip->eg_… in OPN2_Clock()
1682 chip->pg_fnum = chip->fnum[(chip->channel + 1) % 6]; in OPN2_Clock()
1690 chip->pg_fnum = chip->fnum[(chip->channel + 1) % 6]; in OPN2_Clock()
1691 chip->pg_block = chip->block[(chip->channel + 1) % 6]; in OPN2_Clock()
[all …]
/dports/audio/zmusic/ZMusic-1.1.8/thirdparty/game-music-emu/gme/
H A DYm2612_Nuked.cpp447 chip->busy = chip->write_busy; in OPN2_DoIO()
449 chip->write_busy = (chip->write_busy && !(chip->write_busy_cnt >> 5)) || chip->write_d_en; in OPN2_DoIO()
1003 chip->eg_ksv = chip->pg_kcode >> (chip->ks[slot] ^ 0x03); in OPN2_EnvelopePrepare()
1006 chip->eg_lfo_am = chip->lfo_am >> eg_am_shift[chip->ams[chip->channel]]; in OPN2_EnvelopePrepare()
1484 chip->eg_timer = chip->eg_timer + chip->eg_timer_inc; in OPN2_Clock()
1496 chip->eg_timer = chip->eg_timer + chip->eg_timer_inc; in OPN2_Clock()
1505 …if (((chip->eg_timer >> chip->eg_cycle) | (chip->pin_test_in & chip->eg_custom_timer)) & chip->eg_… in OPN2_Clock()
1554 chip->pg_fnum = chip->fnum[(chip->channel + 1) % 6]; in OPN2_Clock()
1562 chip->pg_fnum = chip->fnum[(chip->channel + 1) % 6]; in OPN2_Clock()
1563 chip->pg_block = chip->block[(chip->channel + 1) % 6]; in OPN2_Clock()
[all …]
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gme/game-music-emu-0.6pre/vgmplay/VGMPlay/chips/
H A Dupd7759.c284 chip->fifo_in = chip->data_buf[chip->dbuf_pos_read]; in get_fifo_data()
312 chip->req_sample = chip->rom ? chip->fifo_in : 0x10; in advance_state()
340 chip->last_sample = chip->rom ? chip->rom[0] : chip->fifo_in; in advance_state()
363 chip->offset = (chip->rom ? chip->rom[chip->req_sample * 2 + 5] : chip->fifo_in) << 9; in advance_state()
375 chip->offset |= (chip->rom ? chip->rom[chip->req_sample * 2 + 6] : chip->fifo_in) << 1; in advance_state()
406 chip->block_header = chip->rom ? chip->rom[chip->offset++ & 0x1ffff] : chip->fifo_in; in advance_state()
449 chip->nibbles_left = (chip->rom ? chip->rom[chip->offset++ & 0x1ffff] : chip->fifo_in) + 1; in advance_state()
461 chip->adpcm_data = chip->rom ? chip->rom[chip->offset++ & 0x1ffff] : chip->fifo_in; in advance_state()
674 chip->rom = chip->rombase + chip->romoffset; in upd7759_postload()
742 chip->rom = chip->rombase = NULL; in device_start_upd7759()
[all …]
H A Ddac_control.c71 if (chip->DataStart + chip->RealPos >= chip->DataLen) in daccontrol_SendCommand()
75 ChipData = chip->Data + (chip->DataStart + chip->RealPos); in daccontrol_SendCommand()
223 chip->Pos += chip->DataStep; in daccontrol_update()
237 chip->Pos += chip->DataStep; in daccontrol_update()
246 chip->RemainCmds = chip->CmdsToSend; in daccontrol_update()
252 chip->RealPos = (chip->CmdsToSend - 0x01) * chip->DataStep; in daccontrol_update()
345 chip->DataStep = chip->CmdSize * chip->StepSize; in daccontrol_setup_chip()
369 chip->DataStep = chip->CmdSize * chip->StepSize; in daccontrol_set_data()
421 chip->DataStart = chip->DataLen; in daccontrol_start()
435 chip->CmdsToSend = (chip->DataLen - (chip->DataStart - CmdStepBase)) / chip->DataStep; in daccontrol_start()
[all …]
H A Dvsu.c123 memset(chip->WaveData, 0, sizeof(chip->WaveData)); in VSU_Power()
124 memset(chip->ModData, 0, sizeof(chip->ModData)); in VSU_Power()
173 chip->EffFreq[ch] = chip->Frequency[ch]; in VSU_Write()
270 WD = chip->WaveData[chip->RAMAddress[ch]][chip->WavePos[ch]]; // - 0x20; in VSU_CalcCurrentOutput()
375 chip->NoiseLatcher = ((chip->lfsr & 1) << 6) - (chip->lfsr & 1); in VSU_Update()
448 chip->EffFreq[ch] = (chip->EffFreq[ch] + (INT8)chip->ModData[chip->ModWavePos]); in VSU_Update()
570 chip->tm_clk = (int)((INT64)chip->tm_smpl * chip->clock / chip->smplrate); in vsu_stream_update()
573 if (chip->last_ts >= chip->clock) in vsu_stream_update()
575 chip->last_ts -= chip->clock; in vsu_stream_update()
576 chip->tm_clk -= chip->clock; in vsu_stream_update()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/staging/rts5208/
H A Drtsx_chip.c102 if (chip->ignore_sd && CHK_SDIO_EXIST(chip)) { in rtsx_pre_handle_sdio_old()
273 chip->aspm_level[0] = chip->aspm_l0s_l1_en; in rtsx_reset_aspm()
275 chip->aspm_level[1] = chip->aspm_l0s_l1_en; in rtsx_reset_aspm()
763 chip->vendor_id, chip->product_id); in rtsx_init_chip()
899 if (chip->card_exist && chip->blink_led) { in rtsx_blink_led()
1081 if (chip->auto_power_down && !chip->card_ready && !chip->sd_io) in rtsx_manage_idle()
1172 chip->card_ready || chip->card_ejected || chip->sd_io) { in rtsx_delink_stage()
1178 (chip->aspm_l0s_l1_en || chip->ss_en); in rtsx_delink_stage()
1243 if (chip->sd_io && !chip->sd_int) in rtsx_polling_func()
1972 if (chip->aspm_l0s_l1_en && chip->dynamic_aspm && !chip->aspm_enabled) { in rtsx_enable_aspm()
[all …]
H A Drtsx_card.c152 chip->rw_fail_cnt[chip->card2lun[SD_CARD]] = 0; in do_reset_sd_card()
177 chip->capacity[chip->card2lun[SD_CARD]] = 0; in do_reset_sd_card()
178 chip->rw_card[chip->card2lun[SD_CARD]] = NULL; in do_reset_sd_card()
206 chip->rw_fail_cnt[chip->card2lun[XD_CARD]] = 0; in do_reset_xd_card()
230 chip->capacity[chip->card2lun[XD_CARD]] = 0; in do_reset_xd_card()
278 chip->capacity[chip->card2lun[MS_CARD]] = 0; in do_reset_ms_card()
328 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in rtsx_release_cards()
406 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in rtsx_reinit_cards()
445 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in card_cd_debounce()
523 card_cd_debounce(chip, &chip->need_reset, &chip->need_release); in rtsx_init_cards()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/staging/rts5208/
H A Drtsx_chip.c102 if (chip->ignore_sd && CHK_SDIO_EXIST(chip)) { in rtsx_pre_handle_sdio_old()
273 chip->aspm_level[0] = chip->aspm_l0s_l1_en; in rtsx_reset_aspm()
275 chip->aspm_level[1] = chip->aspm_l0s_l1_en; in rtsx_reset_aspm()
763 chip->vendor_id, chip->product_id); in rtsx_init_chip()
899 if (chip->card_exist && chip->blink_led) { in rtsx_blink_led()
1081 if (chip->auto_power_down && !chip->card_ready && !chip->sd_io) in rtsx_manage_idle()
1172 chip->card_ready || chip->card_ejected || chip->sd_io) { in rtsx_delink_stage()
1178 (chip->aspm_l0s_l1_en || chip->ss_en); in rtsx_delink_stage()
1243 if (chip->sd_io && !chip->sd_int) in rtsx_polling_func()
1972 if (chip->aspm_l0s_l1_en && chip->dynamic_aspm && !chip->aspm_enabled) { in rtsx_enable_aspm()
[all …]
H A Drtsx_card.c152 chip->rw_fail_cnt[chip->card2lun[SD_CARD]] = 0; in do_reset_sd_card()
177 chip->capacity[chip->card2lun[SD_CARD]] = 0; in do_reset_sd_card()
178 chip->rw_card[chip->card2lun[SD_CARD]] = NULL; in do_reset_sd_card()
206 chip->rw_fail_cnt[chip->card2lun[XD_CARD]] = 0; in do_reset_xd_card()
230 chip->capacity[chip->card2lun[XD_CARD]] = 0; in do_reset_xd_card()
278 chip->capacity[chip->card2lun[MS_CARD]] = 0; in do_reset_ms_card()
328 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in rtsx_release_cards()
406 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in rtsx_reinit_cards()
445 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in card_cd_debounce()
523 card_cd_debounce(chip, &chip->need_reset, &chip->need_release); in rtsx_init_cards()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/staging/rts5208/
H A Drtsx_chip.c102 if (chip->ignore_sd && CHK_SDIO_EXIST(chip)) { in rtsx_pre_handle_sdio_old()
273 chip->aspm_level[0] = chip->aspm_l0s_l1_en; in rtsx_reset_aspm()
275 chip->aspm_level[1] = chip->aspm_l0s_l1_en; in rtsx_reset_aspm()
763 chip->vendor_id, chip->product_id); in rtsx_init_chip()
899 if (chip->card_exist && chip->blink_led) { in rtsx_blink_led()
1081 if (chip->auto_power_down && !chip->card_ready && !chip->sd_io) in rtsx_manage_idle()
1172 chip->card_ready || chip->card_ejected || chip->sd_io) { in rtsx_delink_stage()
1178 (chip->aspm_l0s_l1_en || chip->ss_en); in rtsx_delink_stage()
1243 if (chip->sd_io && !chip->sd_int) in rtsx_polling_func()
1972 if (chip->aspm_l0s_l1_en && chip->dynamic_aspm && !chip->aspm_enabled) { in rtsx_enable_aspm()
[all …]
H A Drtsx_card.c152 chip->rw_fail_cnt[chip->card2lun[SD_CARD]] = 0; in do_reset_sd_card()
177 chip->capacity[chip->card2lun[SD_CARD]] = 0; in do_reset_sd_card()
178 chip->rw_card[chip->card2lun[SD_CARD]] = NULL; in do_reset_sd_card()
206 chip->rw_fail_cnt[chip->card2lun[XD_CARD]] = 0; in do_reset_xd_card()
230 chip->capacity[chip->card2lun[XD_CARD]] = 0; in do_reset_xd_card()
278 chip->capacity[chip->card2lun[MS_CARD]] = 0; in do_reset_ms_card()
328 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in rtsx_release_cards()
406 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in rtsx_reinit_cards()
445 chip->int_reg = rtsx_readl(chip, RTSX_BIPR); in card_cd_debounce()
523 card_cd_debounce(chip, &chip->need_reset, &chip->need_release); in rtsx_init_cards()
[all …]
/dports/games/libretro-bluemsx/blueMSX-libretro-faf470e/Src/SoundChips/
H A DMameVLM5030.c268 chip->old_energy = chip->new_energy; in parse_frame()
269 chip->old_pitch = chip->new_pitch; in parse_frame()
271 chip->old_k[i] = chip->new_k[i]; in parse_frame()
274 cmd = chip->rom[chip->address&chip->address_mask]; in parse_frame()
522chip->current_k[i] = chip->old_k[i] + (chip->target_k[i] - chip->old_k[i]) * interp_effect / FR_SI… in VLM5030_restore_state()
541 chip->interp_count = chip->sample_count = chip->pitch_count = 0; in VLM5030_reset()
634 chip->address = (chip->vcu_addr_h&0xff00) + chip->latch_data; in VLM5030_ST()
640 chip->address = (((int)chip->rom[table&chip->address_mask])<<8) in VLM5030_ST()
676 chip = auto_malloc(sizeof(*chip)); in vlm5030_start()
677 memset(chip, 0, sizeof(*chip)); in vlm5030_start()
[all …]
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/snd/
H A Dvlm5030.cpp256 chip->old_energy = chip->new_energy; in parse_frame()
257 chip->old_pitch = chip->new_pitch; in parse_frame()
259 chip->old_k[i] = chip->new_k[i]; in parse_frame()
262 cmd = chip->rom[chip->address&chip->address_mask]; in parse_frame()
394chip->current_k[i] = chip->old_k[i] + (chip->target_k[i] - chip->old_k[i]) * interp_effect / FR_SI… in vlm5030_update()
524 chip->interp_count = chip->sample_count = chip->pitch_count = 0; in vlm5030_reset()
525 memset(chip->x, 0, sizeof(chip->x)); in vlm5030_reset()
645 chip->address = (chip->vcu_addr_h&0xff00) + chip->latch_data; in vlm5030_st()
651 chip->address = (((INT32)chip->rom[table&chip->address_mask])<<8) in vlm5030_st()
685 chip->pin_RST = chip->pin_ST = chip->pin_VCU= 0; in vlm5030Init()
[all …]
H A Ds14001a.cpp334 chip.uOutputP1 = chip.uOutputP2 = 7; in s14001a_reset()
427 chip.uStateP2 = chip.uStateP1; in Clock()
430 chip.uCWARP2 = chip.uCWARP1; in Clock()
431 chip.bStopP2 = chip.bStopP1; in Clock()
432 chip.bVoicedP2 = chip.bVoicedP1; in Clock()
495chip.uCWARP1 = chip.uCWARP2|(readmem(chip.uRomAddrP2,chip.bPhase1)>>4); // setup in previous sta… in Clock()
496 chip.RomAddrP1 = chip.uCWARP1; in Clock()
507 chip.RomAddrP1 = chip.uCWARP1; in Clock()
519 chip.uXRepeatP1 = readmem(chip.uRomAddrP2,chip.bPhase1)&0x03; in Clock()
530 …bprintf(0, _T("\n cw %d %d %d %d %d"),chip.bStopP1,chip.bVoicedP1,chip.bSilenceP1,chip.uLengthP1>>… in Clock()
[all …]
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/snd/
H A Dvlm5030.cpp256 chip->old_energy = chip->new_energy; in parse_frame()
257 chip->old_pitch = chip->new_pitch; in parse_frame()
259 chip->old_k[i] = chip->new_k[i]; in parse_frame()
262 cmd = chip->rom[chip->address&chip->address_mask]; in parse_frame()
394chip->current_k[i] = chip->old_k[i] + (chip->target_k[i] - chip->old_k[i]) * interp_effect / FR_SI… in vlm5030_update()
524 chip->interp_count = chip->sample_count = chip->pitch_count = 0; in vlm5030_reset()
525 memset(chip->x, 0, sizeof(chip->x)); in vlm5030_reset()
645 chip->address = (chip->vcu_addr_h&0xff00) + chip->latch_data; in vlm5030_st()
651 chip->address = (((INT32)chip->rom[table&chip->address_mask])<<8) in vlm5030_st()
685 chip->pin_RST = chip->pin_ST = chip->pin_VCU= 0; in vlm5030Init()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/char/tpm/
H A Dtpm-chip.c42 rc = chip->ops->request_locality(chip, 0); in tpm_request_locality()
57 rc = chip->ops->relinquish_locality(chip, chip->locality); in tpm_relinquish_locality()
69 return chip->ops->cmd_ready(chip); in tpm_cmd_ready()
77 return chip->ops->go_idle(chip); in tpm_go_idle()
83 chip->ops->clk_enable(chip, true); in tpm_clk_enable()
89 chip->ops->clk_enable(chip, false); in tpm_clk_disable()
327 chip = kzalloc(sizeof(*chip), GFP_KERNEL); in tpm_chip_alloc()
353 chip->dev.groups = chip->groups; in tpm_chip_alloc()
468 cdev_device_del(&chip->cdev, &chip->dev); in tpm_del_char_device()
544 chip->hwrng.name = chip->hwrng_name; in tpm_add_hwrng()
[all …]

12345678910>>...186