Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
/linux-6.1.9/drivers/soundwire/
Dintel.c614 struct sdw_cdns_pdi *pdi, in intel_pdi_get_ch_update() argument
621 pdi->ch_count = intel_pdi_get_ch_cap(sdw, pdi->num); in intel_pdi_get_ch_update()
622 ch_count += pdi->ch_count; in intel_pdi_get_ch_update()
623 pdi++; in intel_pdi_get_ch_update()
653 intel_pdi_shim_configure(struct sdw_intel *sdw, struct sdw_cdns_pdi *pdi) in intel_pdi_shim_configure() argument
660 pdi->intel_alh_id = (link_id * 16) + pdi->num + 3; in intel_pdi_shim_configure()
661 if (pdi->num >= 2) in intel_pdi_shim_configure()
662 pdi->intel_alh_id += 2; in intel_pdi_shim_configure()
668 if (pdi->type != SDW_STREAM_PCM) in intel_pdi_shim_configure()
671 if (pdi->dir == SDW_DATA_DIR_RX) in intel_pdi_shim_configure()
[all …]
Dcadence_master.c1199 struct sdw_cdns_pdi *pdi; in cdns_allocate_pdi() local
1205 pdi = devm_kcalloc(cdns->dev, num, sizeof(*pdi), GFP_KERNEL); in cdns_allocate_pdi()
1206 if (!pdi) in cdns_allocate_pdi()
1210 pdi[i].num = i + pdi_offset; in cdns_allocate_pdi()
1213 *stream = pdi; in cdns_allocate_pdi()
1771 struct sdw_cdns_pdi *pdi, in cdns_find_pdi() argument
1777 if (pdi[i].num == dai_id) in cdns_find_pdi()
1778 return &pdi[i]; in cdns_find_pdi()
1792 u32 ch, u32 dir, struct sdw_cdns_pdi *pdi) in sdw_cdns_config_stream() argument
1802 offset = CDNS_PORTCTRL + pdi->num * CDNS_PORT_OFFSET; in sdw_cdns_config_stream()
[all …]
Dcadence_master.h88 struct sdw_cdns_pdi *pdi; member
168 u32 ch, u32 dir, struct sdw_cdns_pdi *pdi);
/linux-6.1.9/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()
910 struct pvr2_v4l2 *vp = fhp->pdi->v4lp; in pvr2_v4l2_release()
976 fhp->pdi = dip; in pvr2_v4l2_open()
1048 if (!fh->pdi->stream) { in pvr2_v4l2_iosetup()
1057 fh->pdi->stream)) != 0) { in pvr2_v4l2_iosetup()
1062 fh->rhp = pvr2_channel_create_mpeg_stream(fh->pdi->stream); in pvr2_v4l2_iosetup()
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/phy/
Dlantiq,vrx200-pcie-phy.yaml33 - const: pdi
89 clock-names = "phy", "pdi";