Lines Matching refs:dev
65 ret = pld_add_dev(pld_context, &pdev->dev, &interface->dev, in pld_usb_probe()
70 ret = pld_context->ops->probe(&pdev->dev, in pld_usb_probe()
96 errno = osif_psoc_sync_trans_start_wait(&pdev->dev, &psoc_sync); in pld_usb_remove()
100 osif_psoc_sync_unregister(&pdev->dev); in pld_usb_remove()
113 pld_context->ops->remove(&pdev->dev, PLD_BUS_TYPE_USB); in pld_usb_remove()
115 pld_del_dev(pld_context, &pdev->dev); in pld_usb_remove()
142 return pld_context->ops->suspend(&pdev->dev, PLD_BUS_TYPE_USB, state); in pld_usb_suspend()
160 return pld_context->ops->resume(&pdev->dev, PLD_BUS_TYPE_USB); in pld_usb_resume()
175 return pld_context->ops->reset_resume(&pdev->dev, PLD_BUS_TYPE_USB); in pld_usb_reset_resume()
194 return pld_context->ops->reinit(&pdev->dev, PLD_BUS_TYPE_USB, in pld_usb_reinit()
213 pld_context->ops->shutdown(&pdev->dev, PLD_BUS_TYPE_USB); in pld_usb_shutdown()
248 pld_context->ops->uevent(&pdev->dev, &data); in pld_usb_uevent()
280 int pld_usb_wlan_enable(struct device *dev, struct pld_wlan_enable_cfg *config, in pld_usb_wlan_enable() argument
297 return cnss_wlan_enable(dev, &cfg, cnss_mode, host_version); in pld_usb_wlan_enable()
300 int pld_usb_is_fw_down(struct device *dev) in pld_usb_is_fw_down() argument
302 return cnss_usb_is_device_down(dev); in pld_usb_is_fw_down()
305 int pld_usb_athdiag_read(struct device *dev, uint32_t offset, in pld_usb_athdiag_read() argument
309 return cnss_athdiag_read(dev, offset, memtype, datalen, output); in pld_usb_athdiag_read()
312 int pld_usb_athdiag_write(struct device *dev, uint32_t offset, in pld_usb_athdiag_write() argument
316 return cnss_athdiag_write(dev, offset, memtype, datalen, input); in pld_usb_athdiag_write()
368 int pld_usb_wlan_enable(struct device *dev, struct pld_wlan_enable_cfg *config, in pld_usb_wlan_enable() argument
374 int pld_usb_is_fw_down(struct device *dev) in pld_usb_is_fw_down() argument
379 int pld_usb_athdiag_read(struct device *dev, uint32_t offset, in pld_usb_athdiag_read() argument
386 int pld_usb_athdiag_write(struct device *dev, uint32_t offset, in pld_usb_athdiag_write() argument