| /linux/net/netfilter/ |
| H A D | xt_hashlimit.c | 280 struct xt_hashlimit_htable *hinfo; in htable_create() local 296 hinfo = kvmalloc(struct_size(hinfo, hash, size), GFP_KERNEL); in htable_create() 297 if (hinfo == NULL) in htable_create() 299 *out_hinfo = hinfo; in htable_create() 302 ret = cfg_copy(&hinfo->cfg, (void *)cfg, 3); in htable_create() 304 kvfree(hinfo); in htable_create() 308 hinfo->cfg.size = size; in htable_create() 309 if (hinfo->cfg.max == 0) in htable_create() 310 hinfo->cfg.max = 8 * hinfo->cfg.size; in htable_create() 311 else if (hinfo->cfg.max < hinfo->cfg.size) in htable_create() [all …]
|
| /linux/sound/hda/codecs/hdmi/ |
| H A D | hdmi.c | 77 struct hda_pcm_stream *hinfo) in hinfo_to_pcm_index() argument 83 if (get_pcm_rec(spec, pcm_idx)->stream == hinfo) in hinfo_to_pcm_index() 86 codec_warn(codec, "HDMI: hinfo %p not tied to a PCM\n", hinfo); in hinfo_to_pcm_index() 91 struct hda_pcm_stream *hinfo) in hinfo_to_pin_index() argument 100 per_pin->pcm->pcm->stream == hinfo) in hinfo_to_pin_index() 104 codec_dbg(codec, "HDMI: hinfo %p (pcm %d) not registered\n", hinfo, in hinfo_to_pin_index() 105 hinfo_to_pcm_index(codec, hinfo)); in hinfo_to_pin_index() 834 static int hdmi_pcm_open_no_pin(struct hda_pcm_stream *hinfo, in hdmi_pcm_open_no_pin() argument 844 pcm_idx = hinfo_to_pcm_index(codec, hinfo); in hdmi_pcm_open_no_pin() 854 hinfo->nid = per_cvt->cvt_nid; in hdmi_pcm_open_no_pin() [all …]
|
| H A D | eld.c | 190 struct hda_pcm_stream *hinfo) in snd_hdmi_eld_update_pcm_info() argument 226 hinfo->rates &= rates; in snd_hdmi_eld_update_pcm_info() 227 hinfo->formats &= formats; in snd_hdmi_eld_update_pcm_info() 228 hinfo->maxbps = min(hinfo->maxbps, maxbps); in snd_hdmi_eld_update_pcm_info() 229 hinfo->channels_max = min(hinfo->channels_max, channels_max); in snd_hdmi_eld_update_pcm_info()
|
| H A D | tegrahdmi.c | 133 static int tegra_hdmi_pcm_prepare(struct hda_pcm_stream *hinfo, in tegra_hdmi_pcm_prepare() argument 141 err = snd_hda_hdmi_generic_pcm_prepare(hinfo, codec, stream_tag, in tegra_hdmi_pcm_prepare() 147 tegra_hdmi_set_format(codec, hinfo->nid, format); in tegra_hdmi_pcm_prepare() 152 static int tegra_hdmi_pcm_cleanup(struct hda_pcm_stream *hinfo, in tegra_hdmi_pcm_cleanup() argument 157 tegra_hdmi_set_format(codec, hinfo->nid, 0); in tegra_hdmi_pcm_cleanup() 159 return snd_hda_hdmi_generic_pcm_cleanup(hinfo, codec, substream); in tegra_hdmi_pcm_cleanup()
|
| H A D | simplehdmi.c | 120 int snd_hda_hdmi_simple_pcm_open(struct hda_pcm_stream *hinfo, in snd_hda_hdmi_simple_pcm_open() argument 139 static int simple_playback_pcm_close(struct hda_pcm_stream *hinfo, in simple_playback_pcm_close() argument 148 static int simple_playback_pcm_prepare(struct hda_pcm_stream *hinfo, in simple_playback_pcm_prepare() argument
|
| H A D | hdmi_local.h | 261 int snd_hda_hdmi_generic_pcm_prepare(struct hda_pcm_stream *hinfo, 266 int snd_hda_hdmi_generic_pcm_cleanup(struct hda_pcm_stream *hinfo, 298 int snd_hda_hdmi_simple_pcm_open(struct hda_pcm_stream *hinfo,
|
| H A D | nvhdmi-mcp.c | 95 static int nvhdmi_8ch_7x_pcm_close(struct hda_pcm_stream *hinfo, in nvhdmi_8ch_7x_pcm_close() argument 121 static int nvhdmi_8ch_7x_pcm_prepare(struct hda_pcm_stream *hinfo, in nvhdmi_8ch_7x_pcm_prepare() argument
|
| /linux/include/uapi/linux/netfilter/ |
| H A D | xt_hashlimit.h | 49 struct xt_hashlimit_htable *hinfo; member 104 struct xt_hashlimit_htable *hinfo __attribute__((aligned(8))); member 112 struct xt_hashlimit_htable *hinfo __attribute__((aligned(8))); member 120 struct xt_hashlimit_htable *hinfo __attribute__((aligned(8))); member
|
| /linux/drivers/scsi/megaraid/ |
| H A D | megaraid_mm.c | 814 mraid_hba_info_t *hinfo; in kioc_to_mimd() local 828 hinfo = (mraid_hba_info_t *)(unsigned long) in kioc_to_mimd() 831 hinfo_to_cinfo(hinfo, &cinfo); in kioc_to_mimd() 881 hinfo_to_cinfo(mraid_hba_info_t *hinfo, mcontroller_t *cinfo) in hinfo_to_cinfo() argument 883 if (!hinfo || !cinfo) in hinfo_to_cinfo() 886 cinfo->base = hinfo->baseport; in hinfo_to_cinfo() 887 cinfo->irq = hinfo->irq; in hinfo_to_cinfo() 888 cinfo->numldrv = hinfo->num_ldrv; in hinfo_to_cinfo() 889 cinfo->pcibus = hinfo->pci_bus; in hinfo_to_cinfo() 890 cinfo->pcidev = hinfo->pci_slot; in hinfo_to_cinfo() [all …]
|
| H A D | megaraid_mbox.c | 3720 gather_hbainfo(adapter_t *adapter, mraid_hba_info_t *hinfo) in gather_hbainfo() argument 3722 hinfo->pci_vendor_id = adapter->pdev->vendor; in gather_hbainfo() 3723 hinfo->pci_device_id = adapter->pdev->device; in gather_hbainfo() 3724 hinfo->subsys_vendor_id = adapter->pdev->subsystem_vendor; in gather_hbainfo() 3725 hinfo->subsys_device_id = adapter->pdev->subsystem_device; in gather_hbainfo() 3727 hinfo->pci_bus = adapter->pdev->bus->number; in gather_hbainfo() 3728 hinfo->pci_dev_fn = adapter->pdev->devfn; in gather_hbainfo() 3729 hinfo->pci_slot = PCI_SLOT(adapter->pdev->devfn); in gather_hbainfo() 3730 hinfo->irq = adapter->host->irq; in gather_hbainfo() 3731 hinfo->baseport = ADAP2RAIDDEV(adapter)->baseport; in gather_hbainfo() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | sock_iter_batch.c | 34 struct inet_hashinfo *hinfo; in iter_tcp_soreuse() local 65 hinfo = net->ipv4.tcp_death_row.hashinfo; in iter_tcp_soreuse() 66 bucket[idx] = hash & hinfo->lhash2_mask; in iter_tcp_soreuse()
|
| /linux/fs/ocfs2/ |
| H A D | dir.c | 252 struct ocfs2_dx_hinfo *hinfo) in ocfs2_dx_dir_name_hash() argument 289 hinfo->major_hash = buf[0]; in ocfs2_dx_dir_name_hash() 290 hinfo->minor_hash = buf[1]; in ocfs2_dx_dir_name_hash() 872 struct ocfs2_dx_hinfo *hinfo) in ocfs2_dx_dir_hash_idx() argument 874 return __ocfs2_dx_dir_hash_idx(osb, hinfo->minor_hash); in ocfs2_dx_dir_hash_idx() 879 struct ocfs2_dx_hinfo *hinfo, in ocfs2_dx_dir_lookup() argument 887 u32 name_hash = hinfo->major_hash; in ocfs2_dx_dir_lookup() 912 blkno += ocfs2_dx_dir_hash_idx(OCFS2_SB(inode->i_sb), hinfo); in ocfs2_dx_dir_lookup() 936 struct ocfs2_dx_hinfo *hinfo = &res->dl_hinfo; in ocfs2_dx_dir_search() local 949 ret = ocfs2_dx_dir_lookup(dir, dr_el, hinfo, NULL, &phys); in ocfs2_dx_dir_search() [all …]
|
| /linux/drivers/hwmon/ |
| H A D | intel-m10-bmc-hwmon.c | 27 const struct hwmon_channel_info * const *hinfo; member 154 .hinfo = n3000bmc_hinfo, 228 .hinfo = d5005bmc_hinfo, 340 .hinfo = n5010bmc_hinfo, 565 .hinfo = n6000bmc_hinfo, 745 hw->chip.info = hw->bdata->hinfo; in m10bmc_hwmon_probe()
|
| /linux/sound/hda/codecs/ |
| H A D | si3054.c | 135 static int si3054_pcm_prepare(struct hda_pcm_stream *hinfo, in si3054_pcm_prepare() argument 149 snd_hda_codec_setup_stream(codec, hinfo->nid, in si3054_pcm_prepare() 154 static int si3054_pcm_open(struct hda_pcm_stream *hinfo, in si3054_pcm_open() argument
|
| H A D | generic.h | 283 void (*pcm_playback_hook)(struct hda_pcm_stream *hinfo, 287 void (*pcm_capture_hook)(struct hda_pcm_stream *hinfo,
|
| H A D | via.c | 96 static void via_playback_pcm_hook(struct hda_pcm_stream *hinfo, 367 static void via_playback_pcm_hook(struct hda_pcm_stream *hinfo, in via_playback_pcm_hook() argument
|
| H A D | sigmatel.c | 241 static void stac_playback_pcm_hook(struct hda_pcm_stream *hinfo, in stac_playback_pcm_hook() argument 251 static void stac_capture_pcm_hook(struct hda_pcm_stream *hinfo, in stac_capture_pcm_hook() argument 263 if (spec->gen.all_adcs[i] == hinfo->nid) { in stac_capture_pcm_hook() 272 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook() 277 snd_hda_codec_write(codec, hinfo->nid, 0, in stac_capture_pcm_hook()
|
| /linux/fs/ext4/ |
| H A D | crypto.c | 17 dst->hinfo.hash = src->hash; in ext4_fname_from_fscrypt_name() 18 dst->hinfo.minor_hash = src->minor_hash; in ext4_fname_from_fscrypt_name()
|
| /linux/sound/hda/common/ |
| H A D | hda_local.h | 242 struct hda_pcm_stream *hinfo); 699 struct hda_pcm_stream *hinfo);
|
| /linux/sound/hda/codecs/realtek/ |
| H A D | alc269.c | 1424 static void alc274_hp_envy_pcm_hook(struct hda_pcm_stream *hinfo, in alc274_hp_envy_pcm_hook() argument 1775 static void alc298_samsung_v2_playback_hook(struct hda_pcm_stream *hinfo, in alc298_samsung_v2_playback_hook() argument 2874 static void comp_generic_playback_hook(struct hda_pcm_stream *hinfo, struct hda_codec *cdc, in comp_generic_playback_hook() argument 3369 static void alc287_alc1318_playback_pcm_hook(struct hda_pcm_stream *hinfo, in alc287_alc1318_playback_pcm_hook() argument
|