Lines Matching defs:master

6  * bound to a master device.
20 * The codecs are typically have a "strong" binding to their master - so I
31 * The master sets up the structure videocodec_master and calls:
37 * and the slave can access any io registers of the master device (in the case
45 * to be set up for the master and the slave.
48 * The master should have "knowledge" of the slave and vice versa. So the data
59 * ==== master setup ====
61 * master_data -> data ref. for the master (e.g. the zr36055,57,67)
62 * readreg -> ref. to read-fn from register (setup by master, used by slave)
63 * writereg -> ref. to write-fn to register (setup by master, used by slave)
239 unsigned long magic; /* may be used for client<->master attaching */
243 /* -- these is filled in later during master device attach -- */
265 // interrupt setup / handling (for irq's delivered by master)
276 /* -- filled in by master device for registration -- */
278 unsigned long magic; /* may be used for client<->master attaching */
280 unsigned int type; /* master type */
282 void *data; /* private master data */
289 /* function prototypes of the master/slave interface */
292 /* attach and detach commands for the master */
293 // * master structure needs to be kmalloc'ed before calling attach
296 struct videocodec *videocodec_attach(struct videocodec_master *master);
311 static inline struct zoran *videocodec_master_to_zoran(struct videocodec_master *master)
313 struct zoran *zr = master->data;
320 struct videocodec_master *master = codec->master_data;
322 return videocodec_master_to_zoran(master);