Lines Matching refs:bndev
230 static int bam_dmux_send_cmd(struct bam_dmux_netdev *bndev, u8 cmd) in bam_dmux_send_cmd() argument
232 struct bam_dmux *dmux = bndev->dmux; in bam_dmux_send_cmd()
245 hdr->ch = bndev->ch; in bam_dmux_send_cmd()
279 struct bam_dmux_netdev *bndev = netdev_priv(netdev); in bam_dmux_netdev_open() local
282 ret = bam_dmux_send_cmd(bndev, BAM_DMUX_CMD_OPEN); in bam_dmux_netdev_open()
292 struct bam_dmux_netdev *bndev = netdev_priv(netdev); in bam_dmux_netdev_stop() local
295 bam_dmux_send_cmd(bndev, BAM_DMUX_CMD_CLOSE); in bam_dmux_netdev_stop()
306 static int bam_dmux_tx_prepare_skb(struct bam_dmux_netdev *bndev, in bam_dmux_tx_prepare_skb() argument
326 hdr->ch = bndev->ch; in bam_dmux_tx_prepare_skb()
337 struct bam_dmux_netdev *bndev = netdev_priv(netdev); in bam_dmux_netdev_start_xmit() local
338 struct bam_dmux *dmux = bndev->dmux; in bam_dmux_netdev_start_xmit()
350 ret = bam_dmux_tx_prepare_skb(bndev, skb); in bam_dmux_netdev_start_xmit()
436 struct bam_dmux_netdev *bndev; in bam_dmux_register_netdev_work() local
444 netdev = alloc_netdev(sizeof(*bndev), "wwan%d", NET_NAME_ENUM, in bam_dmux_register_netdev_work()
452 bndev = netdev_priv(netdev); in bam_dmux_register_netdev_work()
453 bndev->dmux = dmux; in bam_dmux_register_netdev_work()
454 bndev->ch = ch; in bam_dmux_register_netdev_work()