Lines Matching refs:macc
56 struct memory_accessor macc;
442 static ssize_t at24_macc_read(struct memory_accessor *macc, char *buf,
445 struct at24_data *at24 = container_of(macc, struct at24_data, macc);
450 static ssize_t at24_macc_write(struct memory_accessor *macc, const char *buf,
453 struct at24_data *at24 = container_of(macc, struct at24_data, macc);
548 at24->macc.read = at24_macc_read;
557 at24->macc.write = at24_macc_write;
616 chip.setup(&at24->macc, chip.context);