Lines Matching refs:up
61 int cfmuxl_set_uplayer(struct cflayer *layr, struct cflayer *up, u8 linkid)
65 cfsrvl_get(up);
66 list_add(&up->node, &muxl->srvl_list);
93 struct cflayer *up;
97 up = get_up(muxl, channel_id);
98 if (up != NULL)
99 phyid = cfsrvl_getphyid(up);
147 struct cflayer *up;
149 up = muxl->up_cache[idx];
150 if (up == NULL || up->id != id) {
151 up = get_from_id(&muxl->srvl_list, id);
152 muxl->up_cache[idx] = up;
154 return up;
172 struct cflayer *up;
175 up = get_up(muxl, id);
176 if (up == NULL)
179 list_del(&up->node);
180 cfsrvl_put(up);
183 return up;
191 struct cflayer *up;
199 up = get_up(muxl, id);
201 if (up == NULL) {
203 "(0x%x) up == NULL", __func__, id, id);
211 cfsrvl_get(up);
212 ret = up->receive(up, pkt);
213 cfsrvl_put(up);