• Home
  • Raw
  • Download

Lines Matching refs:ssicr

133 	unsigned long ssicr = SSIREG(SSICR);  in ssi_hw_params()  local
140 pr_debug("ssi_hw_params() enter\nssicr was %08lx\n", ssicr); in ssi_hw_params()
143 ssicr &= ~(CR_TRMD | CR_CHNL_MASK | CR_DWL_MASK | CR_PDTA | in ssi_hw_params()
148 ssicr |= CR_TRMD; /* transmit */ in ssi_hw_params()
155 ssicr |= ((channels >> 1) - 1) << CR_CHNL_SHIFT; in ssi_hw_params()
166 ssicr |= i << CR_DWL_SHIFT; in ssi_hw_params()
195 ssicr |= i << CR_SWL_SHIFT; in ssi_hw_params()
202 SSIREG(SSICR) = ssicr; in ssi_hw_params()
204 pr_debug("ssi_hw_params() leave\nssicr is now %08lx\n", ssicr); in ssi_hw_params()
225 unsigned long ssicr; in ssi_set_clkdiv() local
229 ssicr = SSIREG(SSICR) & ~CR_CKDIV_MASK; in ssi_set_clkdiv()
235 SSIREG(SSICR) = ssicr | (i << CR_CKDIV_SHIFT); in ssi_set_clkdiv()
248 unsigned long ssicr = SSIREG(SSICR); in ssi_set_fmt() local
250 pr_debug("ssi_set_fmt()\nssicr was 0x%08lx\n", ssicr); in ssi_set_fmt()
252 ssicr &= ~(CR_DEL | CR_PDTA | CR_BREN | CR_SWSP | CR_SCKP | in ssi_set_fmt()
259 ssicr |= CR_DEL | CR_PDTA; in ssi_set_fmt()
262 ssicr |= CR_DEL; in ssi_set_fmt()
273 ssicr |= CR_BREN; in ssi_set_fmt()
279 ssicr |= CR_SCKP; /* sample data at low clkedge */ in ssi_set_fmt()
282 ssicr |= CR_SCKP | CR_SWSP; in ssi_set_fmt()
287 ssicr |= CR_SWSP; /* word select starts low */ in ssi_set_fmt()
298 ssicr |= CR_SCK_MASTER; in ssi_set_fmt()
301 ssicr |= CR_SWS_MASTER; in ssi_set_fmt()
304 ssicr |= CR_SWS_MASTER | CR_SCK_MASTER; in ssi_set_fmt()
311 SSIREG(SSICR) = ssicr; in ssi_set_fmt()
312 pr_debug("ssi_set_fmt() leave\nssicr is now 0x%08lx\n", ssicr); in ssi_set_fmt()