Home
last modified time | relevance | path

Searched refs:ptp (Results 1 – 25 of 83) sorted by relevance

1234

/external/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_linux.c398 struct sg_pt_linux_scsi * ptp; in construct_scsi_pt_obj_with_fd() local
406 ptp = (struct sg_pt_linux_scsi *) in construct_scsi_pt_obj_with_fd()
408 if (ptp) { in construct_scsi_pt_obj_with_fd()
409 err = set_pt_file_handle((struct sg_pt_base *)ptp, dev_fd, verbose); in construct_scsi_pt_obj_with_fd()
410 if ((0 == err) && (! ptp->is_nvme)) { in construct_scsi_pt_obj_with_fd()
411 ptp->io_hdr.guard = 'Q'; in construct_scsi_pt_obj_with_fd()
413 ptp->io_hdr.protocol = BSG_PROTOCOL_SCSI; in construct_scsi_pt_obj_with_fd()
416 ptp->io_hdr.subprotocol = BSG_SUB_PROTOCOL_SCSI_CMD; in construct_scsi_pt_obj_with_fd()
422 return (struct sg_pt_base *)ptp; in construct_scsi_pt_obj_with_fd()
434 struct sg_pt_linux_scsi * ptp = &vp->impl; in destruct_scsi_pt_obj() local
[all …]
Dsg_pt_linux_nvme.c193 mk_sense_asc_ascq(struct sg_pt_linux_scsi * ptp, int sk, int asc, int ascq, in mk_sense_asc_ascq() argument
196 bool dsense = ptp->scsi_dsense; in mk_sense_asc_ascq()
198 uint8_t * sbp = (uint8_t *)ptp->io_hdr.response; in mk_sense_asc_ascq()
200 ptp->io_hdr.device_status = SAM_STAT_CHECK_CONDITION; in mk_sense_asc_ascq()
201 n = ptp->io_hdr.max_response_len; in mk_sense_asc_ascq()
208 ptp->io_hdr.response_len = dsense ? 8 : ((n < 18) ? n : 18); in mk_sense_asc_ascq()
217 mk_sense_from_nvme_status(struct sg_pt_linux_scsi * ptp, int vb) in mk_sense_from_nvme_status() argument
220 bool dsense = ptp->scsi_dsense; in mk_sense_from_nvme_status()
223 uint8_t * sbp = (uint8_t *)ptp->io_hdr.response; in mk_sense_from_nvme_status()
225 ok = sg_nvme_status2scsi(ptp->nvme_status, &sstatus, &sk, &asc, &ascq); in mk_sense_from_nvme_status()
[all …]
/external/libmtp/src/
Dptp.c63 ptp_init_container(PTPContainer* ptp, uint16_t code, int n_param, ...) in ptp_init_container() argument
68 memset(ptp, 0, sizeof(*ptp)); in ptp_init_container()
69 ptp->Code = code; in ptp_init_container()
70 ptp->Nparam = n_param; in ptp_init_container()
74 (&ptp->Param1)[i] = va_arg(args, uint32_t); in ptp_init_container()
158 ptp_transaction_new (PTPParams* params, PTPContainer* ptp, in ptp_transaction_new() argument
165 if ((params==NULL) || (ptp==NULL)) in ptp_transaction_new()
168 cmd = ptp->Code; in ptp_transaction_new()
169 ptp->Transaction_ID=params->transaction_id++; in ptp_transaction_new()
170 ptp->SessionID=params->session_id; in ptp_transaction_new()
[all …]
Dgphoto2-sync.sh23 cp ptp2/ptp.c ptp.c
24 cp ptp2/ptp.h ptp.h
25 cp ptp2/ptp-pack.c ptp-pack.c
DREADME6 ptp-pack.c
7 ptp-pack.h
8 ptp.c
9 ptp.h
DMakefile.am5 gphoto2-endian.h _stdint.h ptp.c ptp.h libusb-glue.h \
26 EXTRA_DIST=libmtp.h.in libmtp.sym ptp-pack.c
Dlibusb-glue.c1196 ptp_usb_senddata (PTPParams* params, PTPContainer* ptp, in ptp_usb_senddata() argument
1216 usbdata.code = htod16(ptp->Code); in ptp_usb_senddata()
1217 usbdata.trans_id= htod32(ptp->Transaction_ID); in ptp_usb_senddata()
1298 ptp_usb_getdata (PTPParams* params, PTPContainer* ptp, PTPDataHandler *handler) in ptp_usb_getdata() argument
1320 if (dtoh16(usbdata.code)!=ptp->Code) { in ptp_usb_getdata()
1326 usbdata.code = htod16(ptp->Code); in ptp_usb_getdata()
1327 usbdata.trans_id = htod32(ptp->Transaction_ID); in ptp_usb_getdata()
Dlibusb1-glue.c1221 ptp_usb_senddata (PTPParams* params, PTPContainer* ptp, in ptp_usb_senddata() argument
1241 usbdata.code = htod16(ptp->Code); in ptp_usb_senddata()
1242 usbdata.trans_id= htod32(ptp->Transaction_ID); in ptp_usb_senddata()
1323 ptp_usb_getdata (PTPParams* params, PTPContainer* ptp, PTPDataHandler *handler) in ptp_usb_getdata() argument
1345 if (dtoh16(usbdata.code)!=ptp->Code) { in ptp_usb_getdata()
1351 usbdata.code = htod16(ptp->Code); in ptp_usb_getdata()
1352 usbdata.trans_id = htod32(ptp->Transaction_ID); in ptp_usb_getdata()
Dlibopenusb1-glue.c1204 ptp_usb_senddata(PTPParams* params, PTPContainer* ptp, in ptp_usb_senddata() argument
1223 usbdata.code = htod16(ptp->Code); in ptp_usb_senddata()
1224 usbdata.trans_id = htod32(ptp->Transaction_ID); in ptp_usb_senddata()
1308 ptp_usb_getdata(PTPParams* params, PTPContainer* ptp, PTPDataHandler *handler) { in ptp_usb_getdata() argument
1332 if (dtoh16(usbdata.code) != ptp->Code) { in ptp_usb_getdata()
1338 usbdata.code = htod16(ptp->Code); in ptp_usb_getdata()
1339 usbdata.trans_id = htod32(ptp->Transaction_ID); in ptp_usb_getdata()
Dptp.h2393 typedef uint16_t (* PTPIOSendData) (PTPParams* params, PTPContainer* ptp,
2397 typedef uint16_t (* PTPIOGetData) (PTPParams* params, PTPContainer* ptp,
2557 uint16_t ptp_usb_senddata (PTPParams* params, PTPContainer* ptp,
2560 uint16_t ptp_usb_getdata (PTPParams* params, PTPContainer* ptp,
2575 uint16_t ptp_ptpip_senddata (PTPParams* params, PTPContainer* ptp,
2578 uint16_t ptp_ptpip_getdata (PTPParams* params, PTPContainer* ptp,
2590 uint16_t ptp_transaction_new (PTPParams* params, PTPContainer* ptp,
2594 uint16_t ptp_transaction (PTPParams* params, PTPContainer* ptp,
/external/libmtp/logs/
Dmtp-detect-philips-sa5145.txt150 Error 2: (Look this up in ptp.h for an explanation.)
182 Error 2: (Look this up in ptp.h for an explanation.)
184 Error 2: (Look this up in ptp.h for an explanation.)
186 Error 2: (Look this up in ptp.h for an explanation.)
188 Error 2: (Look this up in ptp.h for an explanation.)
190 Error 2: (Look this up in ptp.h for an explanation.)
192 Error 2: (Look this up in ptp.h for an explanation.)
194 Error 2: (Look this up in ptp.h for an explanation.)
196 Error 2: (Look this up in ptp.h for an explanation.)
198 Error 2: (Look this up in ptp.h for an explanation.)
[all …]
Dmtp-detect-nokia-5800.txt4 Error 2: (Look this up in ptp.h for an explanation.)
6 Error 2: (Look this up in ptp.h for an explanation.)
8 Error 2: (Look this up in ptp.h for an explanation.)
145 Error 2: (Look this up in ptp.h for an explanation.)
Dmtp-detect-samsung-gt-s5230w.txt11 Error 2: (Look this up in ptp.h for an explanation.)
13 Error 2: (Look this up in ptp.h for an explanation.)
135 Error 2: (Look this up in ptp.h for an explanation.)
Dmtp-detect-toshiba-gigabeat-v30.txt7 Error 2: (Look this up in ptp.h for an explanation.)
9 Error 2: (Look this up in ptp.h for an explanation.)
137 Error 2: (Look this up in ptp.h for an explanation.)
Dmtp-detect-sony-xperia-sx.txt13 Error 2: (Look this up in ptp.h for an explanation.)
15 Error 2: (Look this up in ptp.h for an explanation.)
17 Error 2: (Look this up in ptp.h for an explanation.)
Dmtp-detect-slacker-pmp.txt15 Error 2: (Look this up in ptp.h for an explanation.)
18 Error 2: (Look this up in ptp.h for an explanation.)
161 Error 2: (Look this up in ptp.h for an explanation.)
Dmtp-detect-mymusix-pd6070.txt114 Error 2: (Look this up in ptp.h for an explanation.)
117 Error 2: (Look this up in ptp.h for an explanation.)
Dmtp-detect-samsung-sgh-u900.txt4 Error 2: (Look this up in ptp.h for an explanation.)
135 Error 2: (Look this up in ptp.h for an explanation.)
Dmtp-detect-hp-touchpad.txt12 Error 2: (Look this up in ptp.h for an explanation.)
14 Error 2: (Look this up in ptp.h for an explanation.)
Dmtp-detect-lg-gr500.txt24 Error 2: (Look this up in ptp.h for an explanation.)
143 Error 2: (Look this up in ptp.h for an explanation.)
/external/libmtp/
DChangeLog17 * src/ptp.c: update to match upstream.
18 * src/ptp.h: dito.
19 * src/ptp-pack.c: dito.
107 * src/ptp.c: sync to upstream.
108 * src/ptp.h: dito.
115 * src/ptp.c: sync to upstream.
116 * src/ptp.h: dito.
117 * src/ptp-pack.c: dito.
129 * src/ptp.c: sync to upstream.
130 * src/ptp.h: dito.
[all …]
/external/cros/system_api/dbus/
Dmtp_file_entry.proto9 // This protobuf is for sending file entries from a mtp/ptp device to the
12 // The id for the file on the mtp/ptp device.
15 // The id of this file's parent on the mtp/ptp device.
Dmtp_storage_info.proto9 // This protobuf is for sending the characteristics of a storage from a mtp/ptp
/external/u-boot/doc/device-tree-bindings/pinctrl/
Dmarvell,armada-37xx-pinctrl.txt125 group ptp
127 - functions ptp, gpio
131 - functions ptp, mii
135 - functions ptp, mii
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_state_init.c749 ALLOC_STATE( ptp, tcl_add8, PTP_STATE_SIZE, "PTP/pointparams", 0 ); in r200InitState()
849 rmesa->hw.ptp.emit = ptp_emit; in r200InitState()
909 rmesa->hw.ptp.cmd[PTP_CMD_0] = in r200InitState()
911 rmesa->hw.ptp.cmd[PTP_CMD_1] = in r200InitState()
1273 rmesa->hw.ptp.cmd[PTP_EYE_X] = 0; in r200InitState()
1274 rmesa->hw.ptp.cmd[PTP_EYE_Y] = 0; in r200InitState()
1275 rmesa->hw.ptp.cmd[PTP_EYE_Z] = IEEE_ONE | 0x80000000; /* -1.0 */ in r200InitState()
1276 rmesa->hw.ptp.cmd[PTP_EYE_3] = 0; in r200InitState()
1279 rmesa->hw.ptp.cmd[PTP_VPORT_SCALE_0] = IEEE_ONE; in r200InitState()
1280 rmesa->hw.ptp.cmd[PTP_VPORT_SCALE_1] = IEEE_ONE; in r200InitState()
[all …]

1234