Searched refs:mrvldev (Results 1 – 1 of 1) sorted by relevance
464 struct mrvl_serdev *mrvldev; in mrvl_serdev_probe() local467 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() local485 hci_uart_unregister_device(&mrvldev->hu); in mrvl_serdev_remove()