Lines Matching defs:at93c
13 #include "at93c.h"
22 struct at93c_defs *at93c;
26 *at93c->reg = val;
31 u32 tmp = *at93c->reg;
37 u32 tmp = *at93c->rdata_reg;
43 at93c_reg_write(data | at93c->clk);
45 at93c_reg_write(data & ~at93c->clk);
53 data |= 1 << at93c->wdata_shift;
55 data &= ~(1 << at93c->wdata_shift);
67 data = (at93c_datareg_read() >> at93c->rdata_shift) & 1;
97 at93c_reg_write((at93c_reg_read() | at93c->cs) &
98 ~at93c->clk & ~(1 << at93c->rdata_shift));
104 at93c_reg_write(at93c_reg_read() & ~at93c->cs);