Lines Matching refs:amd_ec_write

127 static int amd_ec_write(struct amd_smbus *smbus, unsigned char address,  in amd_ec_write()  function
213 status = amd_ec_write(smbus, AMD_SMB_CMD, in amd8111_access()
222 status = amd_ec_write(smbus, AMD_SMB_CMD, command); in amd8111_access()
226 status = amd_ec_write(smbus, AMD_SMB_DATA, in amd8111_access()
235 status = amd_ec_write(smbus, AMD_SMB_CMD, command); in amd8111_access()
239 status = amd_ec_write(smbus, AMD_SMB_DATA, in amd8111_access()
243 status = amd_ec_write(smbus, AMD_SMB_DATA + 1, in amd8111_access()
252 status = amd_ec_write(smbus, AMD_SMB_CMD, command); in amd8111_access()
258 status = amd_ec_write(smbus, AMD_SMB_BCNT, len); in amd8111_access()
263 amd_ec_write(smbus, AMD_SMB_DATA + i, in amd8111_access()
275 status = amd_ec_write(smbus, AMD_SMB_CMD, command); in amd8111_access()
278 status = amd_ec_write(smbus, AMD_SMB_BCNT, len); in amd8111_access()
284 amd_ec_write(smbus, AMD_SMB_DATA + i, in amd8111_access()
293 status = amd_ec_write(smbus, AMD_SMB_CMD, command); in amd8111_access()
296 status = amd_ec_write(smbus, AMD_SMB_DATA, in amd8111_access()
300 status = amd_ec_write(smbus, AMD_SMB_DATA + 1, in amd8111_access()
311 status = amd_ec_write(smbus, AMD_SMB_CMD, command); in amd8111_access()
314 status = amd_ec_write(smbus, AMD_SMB_BCNT, len); in amd8111_access()
318 status = amd_ec_write(smbus, AMD_SMB_DATA + i, in amd8111_access()
332 status = amd_ec_write(smbus, AMD_SMB_ADDR, addr << 1); in amd8111_access()
335 status = amd_ec_write(smbus, AMD_SMB_PRTCL, protocol); in amd8111_access()