Home
last modified time | relevance | path

Searched refs:mrvldev (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/bluetooth/
H A Dhci_mrvl.c464 struct mrvl_serdev *mrvldev; in mrvl_serdev_probe() local
467 mrvldev = devm_kzalloc(&serdev->dev, sizeof(*mrvldev), GFP_KERNEL); in mrvl_serdev_probe()
468 if (!mrvldev) in mrvl_serdev_probe()
471 mrvldev->hu.oper_speed = mrvl_proto->oper_speed; in mrvl_serdev_probe()
473 of_property_read_u32(serdev->dev.of_node, "max-speed", &mrvldev->hu.oper_speed); in mrvl_serdev_probe()
475 mrvldev->hu.serdev = serdev; in mrvl_serdev_probe()
476 serdev_device_set_drvdata(serdev, mrvldev); in mrvl_serdev_probe()
478 return hci_uart_register_device(&mrvldev->hu, mrvl_proto); in mrvl_serdev_probe()
483 struct mrvl_serdev *mrvldev = serdev_device_get_drvdata(serdev); in mrvl_serdev_remove() local
485 hci_uart_unregister_device(&mrvldev->hu); in mrvl_serdev_remove()