Lines Matching refs:layer
20 #define container_obj(layr) container_of(layr, struct cffrml, layer)
23 struct cflayer layer; member
46 caif_assert(offsetof(struct cffrml, layer) == 0); in cffrml_create()
48 this->layer.receive = cffrml_receive; in cffrml_create()
49 this->layer.transmit = cffrml_transmit; in cffrml_create()
50 this->layer.ctrlcmd = cffrml_ctrlcmd; in cffrml_create()
51 snprintf(this->layer.name, CAIF_LAYER_NAME_SZ, "frm%d", phyid); in cffrml_create()
53 this->layer.id = phyid; in cffrml_create()
57 void cffrml_free(struct cflayer *layer) in cffrml_free() argument
59 struct cffrml *this = container_obj(layer); in cffrml_free()
61 kfree(layer); in cffrml_free()