Searched refs:pdi (Results 1 – 3 of 3) sorted by relevance
/drivers/net/wireless/orinoco/ |
D | hermes_dld.c | 87 struct pdi { struct 130 pdi_id(const struct pdi *pdi) in pdi_id() argument 132 return le16_to_cpu(pdi->id); in pdi_id() 137 pdi_len(const struct pdi *pdi) in pdi_len() argument 139 return 2 * (le16_to_cpu(pdi->len) - 1); in pdi_len() 175 static const struct pdi * 176 hermes_find_pdi(const struct pdi *first_pdi, u32 record_id, const void *end) in hermes_find_pdi() 178 const struct pdi *pdi = first_pdi; in hermes_find_pdi() local 180 end -= sizeof(struct pdi); in hermes_find_pdi() 182 while (((void *) pdi <= end) && in hermes_find_pdi() [all …]
|
/drivers/scsi/ |
D | gdth_proc.c | 155 gdth_diskinfo_str *pdi; in gdth_show_info() local 262 pdi = (gdth_diskinfo_str *)buf; in gdth_show_info() 272 strncpy(hrec,pdi->vendor,8); in gdth_show_info() 273 strncpy(hrec+8,pdi->product,16); in gdth_show_info() 274 strncpy(hrec+24,pdi->revision,4); in gdth_show_info() 278 'A'+i,pdi->target_id,pdi->lun,hrec); in gdth_show_info() 280 pdi->no_ldrive &= 0xffff; in gdth_show_info() 281 if (pdi->no_ldrive == 0xffff) in gdth_show_info() 284 sprintf(hrec,"%d",pdi->no_ldrive); in gdth_show_info() 287 pdi->blkcnt/(1024*1024/pdi->blksize), in gdth_show_info() [all …]
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 54 struct pvr2_v4l2_dev *pdi; member 522 struct pvr2_v4l2_dev *pdi = fh->pdi; in pvr2_streamon() local 525 if (!fh->pdi->stream) { in pvr2_streamon() 531 ret = pvr2_hdw_set_stream_type(hdw, pdi->config); in pvr2_streamon() 542 if (!fh->pdi->stream) { in pvr2_streamoff() 1045 fhp->pdi = dip; in pvr2_v4l2_open() 1126 if (!fh->pdi->stream) { in pvr2_v4l2_iosetup() 1135 fh->pdi->stream)) != 0) { in pvr2_v4l2_iosetup() 1140 fh->rhp = pvr2_channel_create_mpeg_stream(fh->pdi->stream); in pvr2_v4l2_iosetup() 1147 sp = fh->pdi->stream->stream; in pvr2_v4l2_iosetup() [all …]
|