• Home
  • Raw
  • Download

Lines Matching refs:hw

56 	struct hw *hw;  in amixer_set_input()  local
58 hw = amixer->rsc.hw; in amixer_set_input()
59 hw->amixer_set_mode(amixer->rsc.ctrl_blk, AMIXER_Y_IMMEDIATE); in amixer_set_input()
62 hw->amixer_set_x(amixer->rsc.ctrl_blk, BLANK_SLOT); in amixer_set_input()
64 hw->amixer_set_x(amixer->rsc.ctrl_blk, in amixer_set_input()
73 struct hw *hw; in amixer_set_y() local
75 hw = amixer->rsc.hw; in amixer_set_y()
76 hw->amixer_set_y(amixer->rsc.ctrl_blk, y); in amixer_set_y()
83 struct hw *hw; in amixer_set_invalid_squash() local
85 hw = amixer->rsc.hw; in amixer_set_invalid_squash()
86 hw->amixer_set_iv(amixer->rsc.ctrl_blk, iv); in amixer_set_invalid_squash()
93 struct hw *hw; in amixer_set_sum() local
95 hw = amixer->rsc.hw; in amixer_set_sum()
98 hw->amixer_set_se(amixer->rsc.ctrl_blk, 0); in amixer_set_sum()
100 hw->amixer_set_se(amixer->rsc.ctrl_blk, 1); in amixer_set_sum()
101 hw->amixer_set_sadr(amixer->rsc.ctrl_blk, in amixer_set_sum()
110 struct hw *hw; in amixer_commit_write() local
116 hw = amixer->rsc.hw; in amixer_commit_write()
129 hw->amixer_set_dirty_all(amixer->rsc.ctrl_blk); in amixer_commit_write()
131 hw->amixer_set_x(amixer->rsc.ctrl_blk, in amixer_commit_write()
136 hw->amixer_set_sadr(amixer->rsc.ctrl_blk, in amixer_commit_write()
141 hw->amixer_commit_write(hw, index, amixer->rsc.ctrl_blk); in amixer_commit_write()
156 struct hw *hw; in amixer_commit_raw_write() local
159 hw = amixer->rsc.hw; in amixer_commit_raw_write()
161 hw->amixer_commit_write(hw, index, amixer->rsc.ctrl_blk); in amixer_commit_raw_write()
168 struct hw *hw; in amixer_get_y() local
170 hw = amixer->rsc.hw; in amixer_get_y()
171 return hw->amixer_get_y(amixer->rsc.ctrl_blk); in amixer_get_y()
202 AMIXER, desc->msr, mgr->mgr.hw); in amixer_rsc_init()
295 int amixer_mgr_create(struct hw *hw, struct amixer_mgr **ramixer_mgr) in amixer_mgr_create() argument
305 err = rsc_mgr_init(&amixer_mgr->mgr, AMIXER, AMIXER_RESOURCE_NUM, hw); in amixer_mgr_create()
313 amixer_mgr->card = hw->card; in amixer_mgr_create()
367 err = rsc_init(&sum->rsc, sum->idx[0], SUM, desc->msr, mgr->mgr.hw); in sum_rsc_init()
449 int sum_mgr_create(struct hw *hw, struct sum_mgr **rsum_mgr) in sum_mgr_create() argument
459 err = rsc_mgr_init(&sum_mgr->mgr, SUM, SUM_RESOURCE_NUM, hw); in sum_mgr_create()
467 sum_mgr->card = hw->card; in sum_mgr_create()