Home
last modified time | relevance | path

Searched refs:pdi (Results 1 – 6 of 6) sorted by relevance

/drivers/net/wireless/intersil/orinoco/
Dhermes_dld.c87 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/soundwire/
Dintel.c696 struct sdw_cdns_pdi *pdi, in intel_pdi_get_ch_update() argument
703 pdi->ch_count = intel_pdi_get_ch_cap(sdw, pdi->num, pcm); in intel_pdi_get_ch_update()
704 ch_count += pdi->ch_count; in intel_pdi_get_ch_update()
705 pdi++; in intel_pdi_get_ch_update()
737 intel_pdi_shim_configure(struct sdw_intel *sdw, struct sdw_cdns_pdi *pdi) in intel_pdi_shim_configure() argument
744 pdi->intel_alh_id = (link_id * 16) + pdi->num + 3; in intel_pdi_shim_configure()
745 if (pdi->num >= 2) in intel_pdi_shim_configure()
746 pdi->intel_alh_id += 2; in intel_pdi_shim_configure()
752 if (pdi->type != SDW_STREAM_PCM) in intel_pdi_shim_configure()
755 if (pdi->dir == SDW_DATA_DIR_RX) in intel_pdi_shim_configure()
[all …]
Dcadence_master.c1077 struct sdw_cdns_pdi *pdi; in cdns_allocate_pdi() local
1083 pdi = devm_kcalloc(cdns->dev, num, sizeof(*pdi), GFP_KERNEL); in cdns_allocate_pdi()
1084 if (!pdi) in cdns_allocate_pdi()
1088 pdi[i].num = i + pdi_offset; in cdns_allocate_pdi()
1091 *stream = pdi; in cdns_allocate_pdi()
1634 struct sdw_cdns_pdi *pdi, in cdns_find_pdi() argument
1640 if (pdi[i].num == dai_id) in cdns_find_pdi()
1641 return &pdi[i]; in cdns_find_pdi()
1655 u32 ch, u32 dir, struct sdw_cdns_pdi *pdi) in sdw_cdns_config_stream() argument
1665 offset = CDNS_PORTCTRL + pdi->num * CDNS_PORT_OFFSET; in sdw_cdns_config_stream()
[all …]
Dcadence_master.h99 struct sdw_cdns_pdi *pdi; member
182 u32 ch, u32 dir, struct sdw_cdns_pdi *pdi);
/drivers/scsi/
Dgdth_proc.c167 gdth_diskinfo_str *pdi; in gdth_show_info() local
268 pdi = (gdth_diskinfo_str *)buf; in gdth_show_info()
278 strncpy(hrec,pdi->vendor,8); in gdth_show_info()
279 strncpy(hrec+8,pdi->product,16); in gdth_show_info()
280 strncpy(hrec+24,pdi->revision,4); in gdth_show_info()
284 'A'+i,pdi->target_id,pdi->lun,hrec); in gdth_show_info()
286 pdi->no_ldrive &= 0xffff; in gdth_show_info()
287 if (pdi->no_ldrive == 0xffff) in gdth_show_info()
290 sprintf(hrec,"%d",pdi->no_ldrive); in gdth_show_info()
293 pdi->blkcnt/(1024*1024/pdi->blksize), in gdth_show_info()
[all …]
/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c41 struct pvr2_v4l2_dev *pdi; member
471 struct pvr2_v4l2_dev *pdi = fh->pdi; in pvr2_streamon() local
474 if (!fh->pdi->stream) { in pvr2_streamon()
480 ret = pvr2_hdw_set_stream_type(hdw, pdi->config); in pvr2_streamon()
491 if (!fh->pdi->stream) { in pvr2_streamoff()
914 struct pvr2_v4l2 *vp = fhp->pdi->v4lp; in pvr2_v4l2_release()
980 fhp->pdi = dip; in pvr2_v4l2_open()
1052 if (!fh->pdi->stream) { in pvr2_v4l2_iosetup()
1061 fh->pdi->stream)) != 0) { in pvr2_v4l2_iosetup()
1066 fh->rhp = pvr2_channel_create_mpeg_stream(fh->pdi->stream); in pvr2_v4l2_iosetup()
[all …]