Searched refs:cfg (Results 226 - 250 of 1693) sorted by relevance

1234567891011>>

/linux-master/include/linux/
H A Dtransport_class.h27 #define DECLARE_TRANSPORT_CLASS(cls, nm, su, rm, cfg) \
34 .configure = cfg, \
43 #define DECLARE_ANON_TRANSPORT_CLASS(cls, mtch, cfg) \
46 .configure = cfg, \
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_merge3d.h52 * @cfg: Pingpong catalog entry for which driver object is required
57 const struct dpu_merge_3d_cfg *cfg,
H A Ddpu_hw_sspp.c403 struct dpu_sw_pipe_cfg *cfg)
410 if (!ctx || !cfg)
430 src_xy = (cfg->src_rect.y1 << 16) | cfg->src_rect.x1;
431 src_size = (drm_rect_height(&cfg->src_rect) << 16) |
432 drm_rect_width(&cfg->src_rect);
433 dst_xy = (cfg->dst_rect.y1 << 16) | cfg->dst_rect.x1;
434 dst_size = (drm_rect_height(&cfg->dst_rect) << 16) |
435 drm_rect_width(&cfg
402 dpu_hw_sspp_setup_rects(struct dpu_sw_pipe *pipe, struct dpu_sw_pipe_cfg *cfg) argument
520 struct dpu_hw_fmt_layout cfg; local
537 dpu_hw_sspp_setup_qos_lut(struct dpu_hw_sspp *ctx, struct dpu_hw_qos_cfg *cfg) argument
623 const struct dpu_sspp_cfg *cfg = hw_pipe->cap; local
673 dpu_hw_sspp_init(struct drm_device *dev, const struct dpu_sspp_cfg *cfg, void __iomem *addr, const struct msm_mdss_data *mdss_data, const struct dpu_mdss_version *mdss_rev) argument
[all...]
H A Ddpu_hw_pingpong.h51 struct dpu_hw_tear_check *cfg);
79 struct dpu_hw_dither_cfg *cfg);
125 * @cfg: Pingpong catalog entry for which driver object is required
131 const struct dpu_pingpong_cfg *cfg,
H A Ddpu_hw_top.h81 * @cfg : upper and lower part of pipe configuration
89 * @cfg : traffic shaper configuration
92 struct traffic_shaper_cfg *cfg);
115 * @cfg: vsync source selection configuration
118 struct dpu_vsync_source_cfg *cfg);
149 * @cfg: MDP TOP configuration from catalog
154 const struct dpu_mdp_cfg *cfg,
H A Ddpu_hw_lm.h37 struct dpu_hw_mixer_cfg *cfg);
83 struct dpu_hw_mixer_cfg cfg; member in struct:dpu_hw_mixer
100 * @cfg: mixer catalog entry for which driver object is required
104 const struct dpu_lm_cfg *cfg,
H A Ddpu_hw_cdm.c74 static int dpu_hw_cdm_setup_cdwn(struct dpu_hw_cdm *ctx, struct dpu_hw_cdm_cfg *cfg) argument
80 switch (cfg->h_cdwn_type) {
120 switch (cfg->v_cdwn_type) {
154 if (cfg->output_bit_depth != CDM_CDWN_OUTPUT_10BIT)
157 if (cfg->v_cdwn_type || cfg->h_cdwn_type)
162 out_size = (cfg->output_width & 0xFFFF) | ((cfg->output_height & 0xFFFF) << 16);
226 const struct dpu_cdm_cfg *cfg, void __iomem *addr,
235 c->hw.blk_addr = addr + cfg
225 dpu_hw_cdm_init(struct drm_device *dev, const struct dpu_cdm_cfg *cfg, void __iomem *addr, const struct dpu_mdss_version *mdss_rev) argument
[all...]
/linux-master/drivers/net/ethernet/google/gve/
H A Dgve_dqo.h42 struct gve_tx_alloc_rings_cfg *cfg);
44 struct gve_tx_alloc_rings_cfg *cfg);
48 struct gve_rx_alloc_rings_cfg *cfg);
50 struct gve_rx_alloc_rings_cfg *cfg);
/linux-master/arch/mips/include/asm/
H A Dsmp-cps.h30 extern void mips_cps_boot_vpes(struct core_boot_config *cfg, unsigned vpe);
/linux-master/drivers/scsi/bfa/
H A Dbfa_core.c729 CQ_INCR(ci, bfa->iocfc.cfg.drvcfg.num_rspq_elems);
977 struct bfa_iocfc_cfg_s *cfg = &iocfc->cfg; local
980 WARN_ON(cfg->fwcfg.num_cqs > BFI_IOC_MAX_CQS);
981 bfa_trc(bfa, cfg->fwcfg.num_cqs);
992 cfg_info->num_cqs = cfg->fwcfg.num_cqs;
994 cfg->fwcfg.num_ioim_reqs));
995 cfg_info->num_fwtio_reqs = cpu_to_be16(cfg->fwcfg.num_fwtio_reqs);
1001 for (i = 0; i < cfg->fwcfg.num_cqs; i++) {
1007 cpu_to_be16(cfg
1036 bfa_iocfc_init_mem(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg, struct bfa_pcidev_s *pcidev) argument
1089 bfa_iocfc_mem_claim(struct bfa_s *bfa, struct bfa_iocfc_cfg_s *cfg) argument
1471 bfa_iocfc_meminfo(struct bfa_iocfc_cfg_s *cfg, struct bfa_meminfo_s *meminfo, struct bfa_s *bfa) argument
1517 bfa_iocfc_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg, struct bfa_pcidev_s *pcidev) argument
1757 bfa_cfg_get_meminfo(struct bfa_iocfc_cfg_s *cfg, struct bfa_meminfo_s *meminfo, struct bfa_s *bfa) argument
1828 bfa_attach(struct bfa_s *bfa, void *bfad, struct bfa_iocfc_cfg_s *cfg, struct bfa_meminfo_s *meminfo, struct bfa_pcidev_s *pcidev) argument
1968 bfa_cfg_get_default(struct bfa_iocfc_cfg_s *cfg) argument
1992 bfa_cfg_get_min(struct bfa_iocfc_cfg_s *cfg) argument
[all...]
/linux-master/drivers/iommu/arm/arm-smmu/
H A Darm-smmu.c249 __arm_smmu_tlb_sync(smmu, ARM_SMMU_CB(smmu, smmu_domain->cfg.cbndx),
262 arm_smmu_cb_write(smmu_domain->smmu, smmu_domain->cfg.cbndx,
263 ARM_SMMU_CB_S1_TLBIASID, smmu_domain->cfg.asid);
274 arm_smmu_gr0_write(smmu, ARM_SMMU_GR0_TLBIVMID, smmu_domain->cfg.vmid);
283 struct arm_smmu_cfg *cfg = &smmu_domain->cfg; local
284 int idx = cfg->cbndx;
289 if (cfg->fmt != ARM_SMMU_CTX_FMT_AARCH64) {
291 iova |= cfg->asid;
298 iova |= (u64)cfg
330 struct arm_smmu_cfg *cfg = &smmu_domain->cfg; local
473 struct arm_smmu_cfg *cfg = &smmu_domain->cfg; local
532 struct arm_smmu_cfg *cfg = cb->cfg; local
636 struct arm_smmu_cfg *cfg = &smmu_domain->cfg; local
834 struct arm_smmu_cfg *cfg = &smmu_domain->cfg; local
1032 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); local
1078 arm_smmu_master_free_smes(struct arm_smmu_master_cfg *cfg, struct iommu_fwspec *fwspec) argument
1093 arm_smmu_master_install_s2crs(struct arm_smmu_master_cfg *cfg, enum arm_smmu_s2cr_type type, u8 cbndx, struct iommu_fwspec *fwspec) argument
1116 struct arm_smmu_master_cfg *cfg; local
1163 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); local
1283 struct arm_smmu_cfg *cfg = &smmu_domain->cfg; local
1348 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); local
1380 struct arm_smmu_master_cfg *cfg; local
1452 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); local
1468 struct arm_smmu_master_cfg *cfg; local
1480 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); local
1583 struct arm_smmu_master_cfg *cfg = dev_iommu_priv_get(dev); local
[all...]
/linux-master/sound/isa/msnd/
H A Dmsnd_pinnacle.c607 static int snd_msnd_write_cfg(int cfg, int reg, int value) argument
609 outb(reg, cfg);
610 outb(value, cfg + 1);
611 if (value != inb(cfg + 1)) {
618 static int snd_msnd_write_cfg_io0(int cfg, int num, u16 io) argument
620 if (snd_msnd_write_cfg(cfg, IREG_LOGDEVICE, num))
622 if (snd_msnd_write_cfg(cfg, IREG_IO0_BASEHI, HIBYTE(io)))
624 if (snd_msnd_write_cfg(cfg, IREG_IO0_BASELO, LOBYTE(io)))
629 static int snd_msnd_write_cfg_io1(int cfg, int num, u16 io) argument
631 if (snd_msnd_write_cfg(cfg, IREG_LOGDEVIC
640 snd_msnd_write_cfg_irq(int cfg, int num, u16 irq) argument
651 snd_msnd_write_cfg_mem(int cfg, int num, int mem) argument
669 snd_msnd_activate_logical(int cfg, int num) argument
678 snd_msnd_write_cfg_logical(int cfg, int num, u16 io0, u16 io1, u16 irq, int mem) argument
696 snd_msnd_pinnacle_cfg_reset(int cfg) argument
723 static long cfg[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; variable
[all...]
/linux-master/net/ipv4/
H A Dfib_lookup.h37 struct fib_info *fib_create_info(struct fib_config *cfg,
39 int fib_nh_match(struct net *net, struct fib_config *cfg, struct fib_info *fi,
41 bool fib_metrics_match(struct fib_config *cfg, struct fib_info *fi);
H A Dfib_semantics.c378 const struct fib_config *cfg)
384 hash = fib_info_hashfn_1(fib_devindex_hashfn(cfg->fc_nh_id),
385 cfg->fc_protocol, cfg->fc_scope,
386 (__force u32)cfg->fc_prefsrc,
387 cfg->fc_priority);
394 if (!fi->nh || fi->nh->id != cfg->fc_nh_id)
396 if (cfg->fc_protocol == fi->fib_protocol &&
397 cfg->fc_scope == fi->fib_scope &&
398 cfg
377 fib_find_info_nh(struct net *net, const struct fib_config *cfg) argument
584 fib_nh_common_init(struct net *net, struct fib_nh_common *nhc, struct nlattr *encap, u16 encap_type, void *cfg, gfp_t gfp_flags, struct netlink_ext_ack *extack) argument
622 fib_nh_init(struct net *net, struct fib_nh *nh, struct fib_config *cfg, int nh_weight, struct netlink_ext_ack *extack) argument
691 fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, int remaining, struct fib_config *cfg, struct netlink_ext_ack *extack) argument
842 fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, int remaining, struct fib_config *cfg, struct netlink_ext_ack *extack) argument
855 fib_encap_match(struct net *net, u16 encap_type, struct nlattr *encap, const struct fib_nh *nh, const struct fib_config *cfg, struct netlink_ext_ack *extack) argument
877 fib_nh_match(struct net *net, struct fib_config *cfg, struct fib_info *fi, struct netlink_ext_ack *extack) argument
1010 fib_metrics_match(struct fib_config *cfg, struct fib_info *fi) argument
1054 struct fib6_config cfg = { local
1361 fib_valid_prefsrc(struct fib_config *cfg, __be32 fib_prefsrc) argument
1385 fib_create_info(struct fib_config *cfg, struct netlink_ext_ack *extack) argument
[all...]
/linux-master/drivers/iio/temperature/
H A Dmax31865.c74 u8 cfg; local
81 cfg = data->buf[0];
84 data->buf[1] = cfg | MAX31865_CFG_VBIAS;
91 u8 cfg; local
98 cfg = data->buf[0];
99 cfg &= ~MAX31865_CFG_VBIAS;
102 data->buf[1] = cfg;
177 u8 cfg; local
184 cfg = data->buf[0];
188 cfg |
[all...]
/linux-master/include/media/
H A Dvsp1.h43 const struct vsp1_du_lif_config *cfg);
114 const struct vsp1_du_atomic_config *cfg);
116 const struct vsp1_du_atomic_pipe_config *cfg);
/linux-master/drivers/gpu/drm/tiny/
H A Dst7735r.c55 const struct st7735r_cfg *cfg; member in struct:st7735r_priv
110 if (priv->cfg->rgb)
183 const struct st7735r_cfg *cfg; local
192 cfg = device_get_match_data(&spi->dev);
193 if (!cfg)
194 cfg = (void *)spi_get_device_id(spi)->driver_data;
202 priv->cfg = cfg;
225 if (cfg->write_only)
228 dbidev->left_offset = cfg
[all...]
/linux-master/drivers/video/fbdev/via/
H A Dvia-gpio.c87 struct viafb_gpio_cfg *cfg = gpiochip_get_data(chip); local
92 spin_lock_irqsave(&cfg->vdev->reg_lock, flags);
93 gpio = cfg->active_gpios[nr];
101 spin_unlock_irqrestore(&cfg->vdev->reg_lock, flags);
117 struct viafb_gpio_cfg *cfg = gpiochip_get_data(chip); local
121 spin_lock_irqsave(&cfg->vdev->reg_lock, flags);
122 gpio = cfg->active_gpios[nr];
125 spin_unlock_irqrestore(&cfg->vdev->reg_lock, flags);
131 struct viafb_gpio_cfg *cfg = gpiochip_get_data(chip); local
136 spin_lock_irqsave(&cfg
[all...]
/linux-master/arch/arm/mach-s3c/
H A Dcpu.h63 void (*init_uarts)(struct s3c2410_uartcfg *cfg, int no);
74 extern void s3c24xx_init_uarts(struct s3c2410_uartcfg *cfg, int no);
77 struct s3c2410_uartcfg *cfg, int no);
/linux-master/drivers/net/wireless/intel/iwlwifi/
H A Diwl-nvm-parse.h33 iwl_parse_nvm_data(struct iwl_trans *trans, const struct iwl_cfg *cfg,
51 iwl_parse_nvm_mcc_info(struct device *dev, const struct iwl_cfg *cfg,
90 iwl_parse_mei_nvm_data(struct iwl_trans *trans, const struct iwl_cfg *cfg,
/linux-master/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi4_core.c178 struct hdmi_core_video_config *cfg)
193 HDMI_CORE_SYS_VID_ACEN, cfg->ip_bus_width, 7, 6);
199 if (cfg->op_dither_truc > HDMI_OUTPUTTRUNCATION_12BIT) {
200 r = FLD_MOD(r, cfg->op_dither_truc - 3, 7, 6);
203 r = FLD_MOD(r, cfg->op_dither_truc, 7, 6);
210 r = FLD_MOD(r, cfg->deep_color_pkt, 6, 6);
211 r = FLD_MOD(r, cfg->pkt_mode, 5, 3);
212 r = FLD_MOD(r, cfg->hdmi_dvi, 0, 0);
217 HDMI_CORE_SYS_TMDS_CTRL, cfg->tclk_sel_clkmult, 6, 5);
257 struct hdmi_wp_data *wp, struct hdmi_config *cfg)
177 hdmi_core_video_config(struct hdmi_core_data *core, struct hdmi_core_video_config *cfg) argument
256 hdmi4_configure(struct hdmi_core_data *core, struct hdmi_wp_data *wp, struct hdmi_config *cfg) argument
475 hdmi_core_audio_config(struct hdmi_core_data *core, struct hdmi_core_audio_config *cfg) argument
[all...]
/linux-master/sound/pci/hda/
H A Dhda_jack.c587 const struct auto_pin_cfg *cfg,
609 snd_hda_get_pin_label(codec, nid, cfg, name, sizeof(name), NULL);
625 * @cfg: pin config table to parse
628 const struct auto_pin_cfg *cfg)
633 for (i = 0; i < cfg->num_inputs; i++) {
636 if (cfg->inputs[i].is_headphone_mic) {
637 if (auto_cfg_hp_outs(cfg) == 1)
638 err = add_jack_kctl(codec, auto_cfg_hp_pins(cfg)[0],
639 cfg, "Headphone Mic");
641 err = add_jack_kctl(codec, cfg
586 add_jack_kctl(struct hda_codec *codec, hda_nid_t nid, const struct auto_pin_cfg *cfg, const char *base_name) argument
627 snd_hda_jack_add_kctls(struct hda_codec *codec, const struct auto_pin_cfg *cfg) argument
[all...]
/linux-master/drivers/crypto/qce/
H A Dcommon.c104 u32 cfg = 0; local
107 cfg |= AUTH_ALG_AES << AUTH_ALG_SHIFT;
109 cfg |= AUTH_ALG_SHA << AUTH_ALG_SHIFT;
113 cfg |= AUTH_KEY_SZ_AES128 << AUTH_KEY_SIZE_SHIFT;
115 cfg |= AUTH_KEY_SZ_AES256 << AUTH_KEY_SIZE_SHIFT;
119 cfg |= AUTH_SIZE_SHA1 << AUTH_SIZE_SHIFT;
121 cfg |= AUTH_SIZE_SHA256 << AUTH_SIZE_SHIFT;
123 cfg |= AUTH_SIZE_ENUM_16_BYTES << AUTH_SIZE_SHIFT;
125 cfg |= (auth_size - 1) << AUTH_SIZE_SHIFT;
128 cfg |
235 u32 cfg = 0; local
[all...]
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpni.c14 * @cfg: defining a full Key Generation profile (rule)
23 int dpni_prepare_key_cfg(const struct dpkg_profile_cfg *cfg, u8 *key_cfg_buf) argument
29 if (cfg->num_extracts > DPKG_MAX_NUM_OF_EXTRACTS)
33 dpni_ext->num_extracts = cfg->num_extracts;
35 for (i = 0; i < cfg->num_extracts; i++) {
38 switch (cfg->extracts[i].type) {
40 extr->prot = cfg->extracts[i].extract.from_hdr.prot;
42 cfg->extracts[i].extract.from_hdr.type);
43 extr->size = cfg->extracts[i].extract.from_hdr.size;
44 extr->offset = cfg
161 dpni_set_pools(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_pools_cfg *cfg) argument
586 dpni_set_errors_behavior(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpni_error_cfg *cfg) argument
842 dpni_set_link_cfg(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_link_cfg *cfg) argument
871 dpni_get_link_cfg(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, struct dpni_link_cfg *cfg) argument
1432 dpni_set_rx_tc_dist(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 tc_id, const struct dpni_rx_tc_dist_cfg *cfg) argument
1469 dpni_set_congestion_notification( struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, enum dpni_queue_type qtype, u8 tc_id, const struct dpni_congestion_notification_cfg *cfg) argument
1805 dpni_set_rx_fs_dist(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_rx_dist_cfg *cfg) argument
1840 dpni_set_rx_hash_dist(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_rx_dist_cfg *cfg) argument
1877 dpni_add_fs_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 tc_id, u16 index, const struct dpni_rule_cfg *cfg, const struct dpni_fs_action_cfg *action) argument
1917 dpni_remove_fs_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, u8 tc_id, const struct dpni_rule_cfg *cfg) argument
1955 dpni_set_qos_table(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_qos_tbl_cfg *cfg) argument
1990 dpni_add_qos_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_rule_cfg *cfg, u8 tc_id, u16 index) argument
2024 dpni_remove_qos_entry(struct fsl_mc_io *mc_io, u32 cmd_flags, u16 token, const struct dpni_rule_cfg *cfg) argument
[all...]
/linux-master/drivers/net/wireless/realtek/rtlwifi/
H A Defuse.c52 bytetemp = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[SYS_FUNC_EN] + 1);
54 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_FUNC_EN] + 1, temp);
56 bytetemp = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[SYS_ISO_CTRL] + 1);
58 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[SYS_ISO_CTRL] + 1, temp);
60 bytetemp = rtl_read_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_TEST] + 3);
62 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_TEST] + 3, temp);
66 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 3, 0x72);
78 rtlpriv->cfg->maps[EFUSE_REAL_CONTENT_SIZE];
82 rtl_write_byte(rtlpriv, rtlpriv->cfg->maps[EFUSE_CTRL] + 1,
85 rtlpriv->cfg
[all...]

Completed in 405 milliseconds

1234567891011>>