#include "tw5864.h"
void tw5864_indir_writeb(struct tw5864_dev *dev, u16 addr, u8 data) { int retries = 30000; while (tw_readl(TW5864_IND_CTL) & BIT(31) && --retries) ; if (!retries) dev_err(&dev->pci->dev, "tw_indir_writel() retries exhausted before writing\n"); tw_writel(TW5864_IND_DATA, data); tw_writel(TW5864_IND_CTL, addr << 2 | TW5864_RW | TW5864_ENABLE); }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Andrey Utkin | 74 | 100.00% | 1 | 100.00% |
Total | 74 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Andrey Utkin | 105 | 100.00% | 1 | 100.00% |
Total | 105 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Andrey Utkin | 182 | 100.00% | 1 | 100.00% |
Total | 182 | 100.00% | 1 | 100.00% |