Lines Matching refs:mega_passthru
526 mega_passthru *pthru; in mega_build_cmd()
701 memset(pthru, 0, sizeof(mega_passthru)); in mega_build_cmd()
953 static mega_passthru *
957 mega_passthru *pthru; in mega_prepare_passthru()
960 memset(pthru, 0, sizeof (mega_passthru)); in mega_prepare_passthru()
1422 mega_passthru *pthru = NULL; in mega_cmd_done()
1831 pci_free_consistent(adapter->dev, sizeof(mega_passthru), in mega_free_sgl()
2912 sizeof(mega_passthru), in mega_init_scb()
2988 mega_passthru __user *upthru; /* user address for passthru */ in megadev_ioctl()
2989 mega_passthru *pthru; /* copy user passthru here */ in megadev_ioctl()
3166 sizeof(mega_passthru), in megadev_ioctl()
3177 upthru = (mega_passthru __user *)(unsigned long)MBOX(uioc)->xferaddr; in megadev_ioctl()
3183 sizeof(mega_passthru)) ) { in megadev_ioctl()
3186 sizeof(mega_passthru), pthru, in megadev_ioctl()
3204 sizeof(mega_passthru), in megadev_ioctl()
3276 pci_free_consistent(pdev, sizeof(mega_passthru), in megadev_ioctl()
3526 mega_passthru __user *upthru; in mega_n_to_m()
3547 if (get_user(upthru, (mega_passthru __user * __user *)&umc->xferaddr)) in mega_n_to_m()
3564 if (get_user(upthru, (mega_passthru __user * __user *)&umc->xferaddr)) in mega_n_to_m()
4012 mega_passthru *pthru; in mega_internal_dev_inquiry()
4025 pthru = pci_alloc_consistent(pdev, sizeof(mega_passthru), in mega_internal_dev_inquiry()
4062 pci_free_consistent(pdev, sizeof(mega_passthru), pthru, in mega_internal_dev_inquiry()
4084 mega_internal_command(adapter_t *adapter, megacmd_t *mc, mega_passthru *pthru) in mega_internal_command()