Lines Matching defs:dgm
27 struct cfsrvl *dgm = kmalloc(sizeof(struct cfsrvl), GFP_ATOMIC);
28 if (!dgm) {
33 memset(dgm, 0, sizeof(struct cfsrvl));
34 cfsrvl_init(dgm, channel_id, dev_info, true);
35 dgm->layer.receive = cfdgml_receive;
36 dgm->layer.transmit = cfdgml_transmit;
37 snprintf(dgm->layer.name, CAIF_LAYER_NAME_SZ - 1, "dgm%d", channel_id);
38 dgm->layer.name[CAIF_LAYER_NAME_SZ - 1] = '\0';
39 return &dgm->layer;