Searched refs:pdi (Results 1 – 6 of 6) sorted by relevance
/drivers/net/wireless/intersil/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/soundwire/ |
D | intel.c | 563 struct sdw_cdns_pdi *pdi, in intel_pdi_get_ch_update() argument 570 pdi->ch_count = intel_pdi_get_ch_cap(sdw, pdi->num); in intel_pdi_get_ch_update() 571 ch_count += pdi->ch_count; in intel_pdi_get_ch_update() 572 pdi++; in intel_pdi_get_ch_update() 595 intel_pdi_shim_configure(struct sdw_intel *sdw, struct sdw_cdns_pdi *pdi) in intel_pdi_shim_configure() argument 602 pdi->intel_alh_id = (link_id * 16) + pdi->num + 3; in intel_pdi_shim_configure() 603 if (pdi->num >= 2) in intel_pdi_shim_configure() 604 pdi->intel_alh_id += 2; in intel_pdi_shim_configure() 610 if (pdi->type != SDW_STREAM_PCM) in intel_pdi_shim_configure() 613 if (pdi->dir == SDW_DATA_DIR_RX) in intel_pdi_shim_configure() [all …]
|
D | intel_ace2x.c | 248 struct sdw_cdns_pdi *pdi; in intel_hw_params() local 264 pdi = sdw_cdns_alloc_pdi(cdns, &cdns->pcm, ch, dir, dai->id); in intel_hw_params() 266 if (!pdi) { in intel_hw_params() 273 sdw_cdns_config_stream(cdns, ch, dir, pdi); in intel_hw_params() 278 dai_runtime->pdi = pdi; in intel_hw_params() 283 pdi->intel_alh_id); in intel_hw_params() 301 pconfig->num = pdi->num; in intel_hw_params() 355 sdw_cdns_config_stream(cdns, ch, dir, dai_runtime->pdi); in intel_prepare() 361 dai_runtime->pdi->intel_alh_id); in intel_prepare() 398 dai_runtime->pdi = NULL; in intel_hw_free() [all …]
|
D | cadence_master.c | 1241 struct sdw_cdns_pdi *pdi; in cdns_allocate_pdi() local 1247 pdi = devm_kcalloc(cdns->dev, num, sizeof(*pdi), GFP_KERNEL); in cdns_allocate_pdi() 1248 if (!pdi) in cdns_allocate_pdi() 1252 pdi[i].num = i + pdi_offset; in cdns_allocate_pdi() 1255 *stream = pdi; in cdns_allocate_pdi() 1816 struct sdw_cdns_pdi *pdi, in cdns_find_pdi() argument 1822 if (pdi[i].num == dai_id) in cdns_find_pdi() 1823 return &pdi[i]; in cdns_find_pdi() 1837 u32 ch, u32 dir, struct sdw_cdns_pdi *pdi) in sdw_cdns_config_stream() argument 1847 offset = CDNS_PORTCTRL + pdi->num * CDNS_PORT_OFFSET; in sdw_cdns_config_stream() [all …]
|
D | cadence_master.h | 96 struct sdw_cdns_pdi *pdi; member 184 u32 ch, u32 dir, struct sdw_cdns_pdi *pdi);
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-v4l2.c | 41 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() 910 struct pvr2_v4l2 *vp = fhp->pdi->v4lp; in pvr2_v4l2_release() 976 fhp->pdi = dip; in pvr2_v4l2_open() 1050 if (!fh->pdi->stream) { in pvr2_v4l2_iosetup() 1059 fh->pdi->stream)) != 0) { in pvr2_v4l2_iosetup() 1064 fh->rhp = pvr2_channel_create_mpeg_stream(fh->pdi->stream); in pvr2_v4l2_iosetup() [all …]
|