• Home
  • Raw
  • Download

Lines Matching refs:hw

61 	struct hw *hw;  in amixer_set_input()  local
63 hw = amixer->rsc.hw; in amixer_set_input()
64 hw->amixer_set_mode(amixer->rsc.ctrl_blk, AMIXER_Y_IMMEDIATE); in amixer_set_input()
67 hw->amixer_set_x(amixer->rsc.ctrl_blk, BLANK_SLOT); in amixer_set_input()
69 hw->amixer_set_x(amixer->rsc.ctrl_blk, in amixer_set_input()
78 struct hw *hw; in amixer_set_y() local
80 hw = amixer->rsc.hw; in amixer_set_y()
81 hw->amixer_set_y(amixer->rsc.ctrl_blk, y); in amixer_set_y()
88 struct hw *hw; in amixer_set_invalid_squash() local
90 hw = amixer->rsc.hw; in amixer_set_invalid_squash()
91 hw->amixer_set_iv(amixer->rsc.ctrl_blk, iv); in amixer_set_invalid_squash()
98 struct hw *hw; in amixer_set_sum() local
100 hw = amixer->rsc.hw; in amixer_set_sum()
103 hw->amixer_set_se(amixer->rsc.ctrl_blk, 0); in amixer_set_sum()
105 hw->amixer_set_se(amixer->rsc.ctrl_blk, 1); in amixer_set_sum()
106 hw->amixer_set_sadr(amixer->rsc.ctrl_blk, in amixer_set_sum()
115 struct hw *hw; in amixer_commit_write() local
121 hw = amixer->rsc.hw; in amixer_commit_write()
134 hw->amixer_set_dirty_all(amixer->rsc.ctrl_blk); in amixer_commit_write()
136 hw->amixer_set_x(amixer->rsc.ctrl_blk, in amixer_commit_write()
141 hw->amixer_set_sadr(amixer->rsc.ctrl_blk, in amixer_commit_write()
146 hw->amixer_commit_write(hw, index, amixer->rsc.ctrl_blk); in amixer_commit_write()
161 struct hw *hw; in amixer_commit_raw_write() local
164 hw = amixer->rsc.hw; in amixer_commit_raw_write()
166 hw->amixer_commit_write(hw, index, amixer->rsc.ctrl_blk); in amixer_commit_raw_write()
173 struct hw *hw; in amixer_get_y() local
175 hw = amixer->rsc.hw; in amixer_get_y()
176 return hw->amixer_get_y(amixer->rsc.ctrl_blk); in amixer_get_y()
207 AMIXER, desc->msr, mgr->mgr.hw); in amixer_rsc_init()
300 int amixer_mgr_create(struct hw *hw, struct amixer_mgr **ramixer_mgr) in amixer_mgr_create() argument
310 err = rsc_mgr_init(&amixer_mgr->mgr, AMIXER, AMIXER_RESOURCE_NUM, hw); in amixer_mgr_create()
318 amixer_mgr->card = hw->card; in amixer_mgr_create()
373 err = rsc_init(&sum->rsc, sum->idx[0], SUM, desc->msr, mgr->mgr.hw); in sum_rsc_init()
455 int sum_mgr_create(struct hw *hw, struct sum_mgr **rsum_mgr) in sum_mgr_create() argument
465 err = rsc_mgr_init(&sum_mgr->mgr, SUM, SUM_RESOURCE_NUM, hw); in sum_mgr_create()
473 sum_mgr->card = hw->card; in sum_mgr_create()