Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/i2c/busses/
Di2c-tiny-usb.c57 unsigned char *pstatus; in usb_xfer() local
63 pstatus = kmalloc(sizeof(*pstatus), GFP_KERNEL); in usb_xfer()
64 if (!pstatus) in usb_xfer()
107 if (usb_read(adapter, CMD_GET_STATUS, 0, 0, pstatus, 1) != 1) { in usb_xfer()
113 dev_dbg(&adapter->dev, " status = %d\n", *pstatus); in usb_xfer()
114 if (*pstatus == STATUS_ADDRESS_NAK) { in usb_xfer()
122 kfree(pstatus); in usb_xfer()
/linux-4.19.296/drivers/pci/hotplug/
Dibmphp_hpc.c522 int ibmphp_hpc_readslot(struct slot *pslot, u8 cmd, u8 *pstatus) in ibmphp_hpc_readslot() argument
530 debug_polling("%s - Entry pslot[%p] cmd[%x] pstatus[%p]\n", __func__, pslot, cmd, pstatus); in ibmphp_hpc_readslot()
533 || ((pstatus == NULL) && (cmd != READ_ALLSTAT) && (cmd != READ_BUSSTATUS))) { in ibmphp_hpc_readslot()
587 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
592 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
597 *pstatus = status; in ibmphp_hpc_readslot()
604 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
607 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
611 *pstatus = ctrl_read(ctlr_ptr, wpg_bbar, index); in ibmphp_hpc_readslot()
1088 u8 *pstatus) in hpc_wait_ctlr_notworking() argument
[all …]