Lines Matching refs:mux_id
68 u8 mux_id; member
74 u8 mux_id; member
106 hdr->mux_id = priv->mux_id; in qmimux_start_xmit()
153 static struct net_device *qmimux_find_dev(struct usbnet *dev, u8 mux_id) in qmimux_find_dev() argument
162 if (priv->mux_id == mux_id) { in qmimux_find_dev()
202 net = qmimux_find_dev(dev, hdr->mux_id); in qmimux_rx_fixup()
243 static int qmimux_register_device(struct net_device *real_dev, u8 mux_id) in qmimux_register_device() argument
256 priv->mux_id = mux_id; in qmimux_register_device()
393 "0x%02x\n", priv->mux_id); in add_mux_show()
403 u8 mux_id; in add_mux_store() local
406 if (kstrtou8(buf, 0, &mux_id)) in add_mux_store()
410 if (mux_id < 1 || mux_id > 254) in add_mux_store()
416 if (qmimux_find_dev(dev, mux_id)) { in add_mux_store()
422 ret = qmimux_register_device(dev->net, mux_id); in add_mux_store()
442 u8 mux_id; in del_mux_store() local
445 if (kstrtou8(buf, 0, &mux_id)) in del_mux_store()
451 del_dev = qmimux_find_dev(dev, mux_id); in del_mux_store()