Lines Matching +full:0 +full:us

34 int usb_stor_euscsi_init(struct us_data *us)  in usb_stor_euscsi_init()  argument
38 usb_stor_dbg(us, "Attempting to init eUSCSI bridge...\n"); in usb_stor_euscsi_init()
39 result = usb_stor_control_msg(us, us->send_ctrl_pipe, in usb_stor_euscsi_init()
40 0x0C, USB_RECIP_INTERFACE | USB_TYPE_VENDOR, in usb_stor_euscsi_init()
41 0x01, 0x0, NULL, 0x0, 5 * HZ); in usb_stor_euscsi_init()
42 usb_stor_dbg(us, "-- result is %d\n", result); in usb_stor_euscsi_init()
44 return 0; in usb_stor_euscsi_init()
51 int usb_stor_ucr61s2b_init(struct us_data *us) in usb_stor_ucr61s2b_init() argument
53 struct bulk_cb_wrap *bcb = (struct bulk_cb_wrap*) us->iobuf; in usb_stor_ucr61s2b_init()
54 struct bulk_cs_wrap *bcs = (struct bulk_cs_wrap*) us->iobuf; in usb_stor_ucr61s2b_init()
59 usb_stor_dbg(us, "Sending UCR-61S2B initialization packet...\n"); in usb_stor_ucr61s2b_init()
62 bcb->Tag = 0; in usb_stor_ucr61s2b_init()
63 bcb->DataTransferLength = cpu_to_le32(0); in usb_stor_ucr61s2b_init()
64 bcb->Flags = bcb->Lun = 0; in usb_stor_ucr61s2b_init()
66 memset(bcb->CDB, 0, sizeof(bcb->CDB)); in usb_stor_ucr61s2b_init()
69 res = usb_stor_bulk_transfer_buf(us, us->send_bulk_pipe, bcb, in usb_stor_ucr61s2b_init()
74 usb_stor_dbg(us, "Getting status packet...\n"); in usb_stor_ucr61s2b_init()
75 res = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, bcs, in usb_stor_ucr61s2b_init()
80 return 0; in usb_stor_ucr61s2b_init()
84 int usb_stor_huawei_e220_init(struct us_data *us) in usb_stor_huawei_e220_init() argument
88 result = usb_stor_control_msg(us, us->send_ctrl_pipe, in usb_stor_huawei_e220_init()
91 0x01, 0x0, NULL, 0x0, 1 * HZ); in usb_stor_huawei_e220_init()
92 usb_stor_dbg(us, "Huawei mode set result is %d\n", result); in usb_stor_huawei_e220_init()
93 return 0; in usb_stor_huawei_e220_init()