Lines Matching refs:data
41 static void at93c_cycle_clk(u32 data)
43 at93c_reg_write(data | at93c->clk);
45 at93c_reg_write(data & ~at93c->clk);
51 u32 data = at93c_reg_read();
53 data |= 1 << at93c->wdata_shift;
55 data &= ~(1 << at93c->wdata_shift);
57 at93c_reg_write(data);
59 at93c_cycle_clk(data);
64 u32 data;
67 data = (at93c_datareg_read() >> at93c->rdata_shift) & 1;
68 return data;
74 u8 data = 0;
77 data <<= 1;
78 data |= at93c_read_databit();
80 return data;
83 static void at93c_write_bits(u32 data, int size)
90 at93c_write_databit((data & mask) >> shift);
91 data <<= 1;
140 void at93c_write(u8 addr, u8 data)
145 at93c_write_bits(data, 8);