Home
last modified time | relevance | path

Searched refs:hcp (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/sound/soc/codecs/
Dhdmi-codec.c304 struct hdmi_codec_priv *hcp = snd_soc_component_get_drvdata(component); in hdmi_eld_ctl_get() local
306 memcpy(ucontrol->value.bytes.data, hcp->eld, sizeof(hcp->eld)); in hdmi_eld_ctl_get()
328 static void hdmi_codec_eld_chmap(struct hdmi_codec_priv *hcp) in hdmi_codec_eld_chmap() argument
333 spk_alloc = drm_eld_get_spk_alloc(hcp->eld); in hdmi_codec_eld_chmap()
337 if ((spk_mask & ~(FL | FR)) && hcp->chmap_info->max_channels > 2) in hdmi_codec_eld_chmap()
338 hcp->chmap_info->chmap = hdmi_codec_8ch_chmaps; in hdmi_codec_eld_chmap()
340 hcp->chmap_info->chmap = hdmi_codec_stereo_chmaps; in hdmi_codec_eld_chmap()
343 static int hdmi_codec_get_ch_alloc_table_idx(struct hdmi_codec_priv *hcp, in hdmi_codec_get_ch_alloc_table_idx() argument
351 spk_alloc = drm_eld_get_spk_alloc(hcp->eld); in hdmi_codec_get_ch_alloc_table_idx()
373 struct hdmi_codec_priv *hcp = info->private_data; in hdmi_codec_chmap_ctl_get() local
[all …]
/Linux-v5.4/drivers/scsi/
Dsgiwd93.c72 struct hpc_chunk *hcp; in fill_hpc_entries() local
76 hcp = hd->cpu; in fill_hpc_entries()
84 hcp->desc.pbuf = physaddr; in fill_hpc_entries()
85 hcp->desc.cntinfo = count; in fill_hpc_entries()
86 hcp++; in fill_hpc_entries()
96 hcp->desc.pbuf = 0; in fill_hpc_entries()
97 hcp->desc.cntinfo = HPCDMA_EOX; in fill_hpc_entries()
99 (unsigned long)(hcp + 1) - (unsigned long)hd->cpu, in fill_hpc_entries()
178 struct hpc_chunk *hcp = (struct hpc_chunk *)hdata->cpu; in init_hpc_chain() local
182 start = (unsigned long) hcp; in init_hpc_chain()
[all …]
/Linux-v5.4/net/nfc/hci/
DMakefile8 hci-y := core.o hcp.o command.o llc.o llc_nop.o
/Linux-v5.4/drivers/media/usb/pvrusb2/
Dpvrusb2-v4l2.c417 struct pvr2_ctrl *hcp, *vcp; in pvr2_try_fmt_vid_cap() local
421 hcp = pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_HRES); in pvr2_try_fmt_vid_cap()
424 lmin = pvr2_ctrl_get_min(hcp); in pvr2_try_fmt_vid_cap()
425 lmax = pvr2_ctrl_get_max(hcp); in pvr2_try_fmt_vid_cap()
426 pvr2_ctrl_get_def(hcp, &ldef); in pvr2_try_fmt_vid_cap()
454 struct pvr2_ctrl *hcp, *vcp; in pvr2_s_fmt_vid_cap() local
459 hcp = pvr2_hdw_get_ctrl_by_id(hdw, PVR2_CID_HRES); in pvr2_s_fmt_vid_cap()
461 pvr2_ctrl_set_value(hcp, vf->fmt.pix.width); in pvr2_s_fmt_vid_cap()