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