Searched refs:cfg (Results 351 - 375 of 1721) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/iommu/
H A Dapple-dart.c561 &io_pgtable_ops_to_pgtable(domain->pgtbl_ops)->cfg;
574 struct apple_dart_master_cfg *cfg)
576 struct apple_dart *dart = cfg->stream_maps[0].dart;
590 dart_domain->stream_maps[i].dart = cfg->stream_maps[i].dart;
593 cfg->stream_maps[i].sidmap[j]);
653 struct apple_dart_master_cfg *cfg)
655 return apple_dart_mod_streams(domain->stream_maps, cfg->stream_maps,
664 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); local
667 ret = apple_dart_finalize_domain(dart_domain, cfg);
671 ret = apple_dart_domain_add_streams(dart_domain, cfg);
573 apple_dart_finalize_domain(struct apple_dart_domain *dart_domain, struct apple_dart_master_cfg *cfg) argument
652 apple_dart_domain_add_streams(struct apple_dart_domain *domain, struct apple_dart_master_cfg *cfg) argument
683 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); local
707 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); local
727 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); local
744 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); local
760 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); local
785 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); local
870 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); local
944 struct apple_dart_master_cfg *cfg = dev_iommu_priv_get(dev); local
[all...]
/linux-master/crypto/
H A Dtestmgr.c506 static bool valid_testvec_config(const struct testvec_config *cfg) argument
510 if (cfg->name == NULL)
513 if (!valid_sg_divisions(cfg->src_divs, ARRAY_SIZE(cfg->src_divs),
517 if (cfg->dst_divs[0].proportion_of_total) {
518 if (!valid_sg_divisions(cfg->dst_divs,
519 ARRAY_SIZE(cfg->dst_divs), &flags))
522 if (memchr_inv(cfg->dst_divs, 0, sizeof(cfg->dst_divs)))
527 if (cfg
764 build_cipher_test_sglists(struct cipher_test_sglists *tsgls, const struct testvec_config *cfg, unsigned int alignmask, unsigned int src_total_len, unsigned int dst_total_len, const struct kvec *inputs, unsigned int nr_inputs) argument
822 prepare_keybuf(const u8 *key, unsigned int ksize, const struct testvec_config *cfg, unsigned int alignmask, const u8 **keybuf_ret, const u8 **keyptr_ret) argument
1073 generate_random_testvec_config(struct rnd_state *rng, struct testvec_config *cfg, char *name, size_t max_namelen) argument
1221 build_hash_sglist(struct test_sglist *tsgl, const struct hash_testvec *vec, const struct testvec_config *cfg, unsigned int alignmask, const struct test_sg_division *divs[XBUFSIZE]) argument
1237 check_hash_result(const char *type, const u8 *result, unsigned int digestsize, const struct hash_testvec *vec, const char *vec_name, const char *driver, const struct testvec_config *cfg) argument
1257 check_shash_op(const char *op, int err, const char *driver, const char *vec_name, const struct testvec_config *cfg) argument
1268 test_shash_vec_cfg(const struct hash_testvec *vec, const char *vec_name, const struct testvec_config *cfg, struct shash_desc *desc, struct test_sglist *tsgl, u8 *hashstate) argument
1432 check_nonfinal_ahash_op(const char *op, int err, u8 *result, unsigned int digestsize, const char *driver, const char *vec_name, const struct testvec_config *cfg) argument
1451 test_ahash_vec_cfg(const struct hash_testvec *vec, const char *vec_name, const struct testvec_config *cfg, struct ahash_request *req, struct test_sglist *tsgl, u8 *hashstate) argument
1616 test_hash_vec_cfg(const struct hash_testvec *vec, const char *vec_name, const struct testvec_config *cfg, struct ahash_request *req, struct shash_desc *desc, struct test_sglist *tsgl, u8 *hashstate) argument
1663 struct testvec_config cfg; local
1749 struct testvec_config *cfg; local
2025 test_aead_vec_cfg(int enc, const struct aead_testvec *vec, const char *vec_name, const struct testvec_config *cfg, struct aead_request *req, struct cipher_test_sglists *tsgls) argument
2233 struct testvec_config cfg; local
2266 struct testvec_config cfg; member in struct:aead_extra_tests_ctx
2804 test_skcipher_vec_cfg(int enc, const struct cipher_testvec *vec, const char *vec_name, const struct testvec_config *cfg, struct skcipher_request *req, struct cipher_test_sglists *tsgls) argument
2993 struct testvec_config cfg; local
3091 struct testvec_config *cfg; local
[all...]
/linux-master/drivers/net/
H A Dgeneve.c76 struct geneve_config cfg; member in struct:geneve_dev
142 if (eq_tun_id_and_vni((u8 *)&node->geneve->cfg.info.key.tun_id, vni) &&
143 addr == node->geneve->cfg.info.key.u.ipv4.dst)
161 if (eq_tun_id_and_vni((u8 *)&node->geneve->cfg.info.key.tun_id, vni) &&
162 ipv6_addr_equal(&addr6, &node->geneve->cfg.info.key.u.ipv6.dst))
343 err = dst_cache_init(&geneve->cfg.info.dst_cache, GFP_KERNEL);
356 dst_cache_destroy(&geneve->cfg.info.dst_cache);
388 if (unlikely((!geneve->cfg.inner_proto_inherit &&
678 gs = geneve_find_sock(gn, ipv6 ? AF_INET6 : AF_INET, geneve->cfg.info.key.tp_dst);
684 gs = geneve_socket_create(net, geneve->cfg
1322 geneve_configure(struct net *net, struct net_device *dev, struct netlink_ext_ack *extack, const struct geneve_config *cfg) argument
1395 geneve_nl2info(struct nlattr *tb[], struct nlattr *data[], struct netlink_ext_ack *extack, struct geneve_config *cfg, bool changelink) argument
1619 struct geneve_config cfg = { local
1692 struct geneve_config cfg; local
1834 struct geneve_config cfg = { local
[all...]
/linux-master/drivers/soc/ti/
H A Dknav_dma.c119 struct knav_dma_cfg cfg; member in struct:knav_dma_chan
136 static bool check_config(struct knav_dma_chan *chan, struct knav_dma_cfg *cfg) argument
138 if (!memcmp(&chan->cfg, cfg, sizeof(*cfg)))
145 struct knav_dma_cfg *cfg)
151 if (cfg->u.tx.filt_pswords)
153 if (cfg->u.tx.filt_einfo)
160 writel_relaxed(cfg->u.tx.priority, &chan->reg_tx_sched->prio);
165 if (cfg
144 chan_start(struct knav_dma_chan *chan, struct knav_dma_cfg *cfg) argument
[all...]
/linux-master/net/ipv4/
H A Dfou_core.c491 static bool fou_cfg_cmp(struct fou *fou, struct fou_cfg *cfg) argument
494 struct udp_port_cfg *udp_cfg = &cfg->udp_config;
522 struct fou_cfg *cfg)
529 if (fou_cfg_cmp(fout, cfg)) {
551 static int fou_create(struct net *net, struct fou_cfg *cfg, argument
561 err = udp_sock_create(net, &cfg->udp_config, &sock);
574 fou->port = cfg->udp_config.local_udp_port;
575 fou->family = cfg->udp_config.family;
576 fou->flags = cfg->flags;
577 fou->type = cfg
521 fou_add_to_port_list(struct net *net, struct fou *fou, struct fou_cfg *cfg) argument
624 fou_destroy(struct net *net, struct fou_cfg *cfg) argument
645 parse_nl_config(struct genl_info *info, struct fou_cfg *cfg) argument
739 struct fou_cfg cfg; local
752 struct fou_cfg cfg; local
823 struct fou_cfg cfg; local
[all...]
/linux-master/drivers/most/
H A Dcore.c50 struct most_channel_config cfg; member in struct:most_channel
103 u16 const coherent_buf_size = c->cfg.buffer_size + c->cfg.extra_len;
263 return snprintf(buf, PAGE_SIZE, "%d\n", c->cfg.num_buffers);
272 return snprintf(buf, PAGE_SIZE, "%d\n", c->cfg.buffer_size);
281 if (c->cfg.direction & MOST_CH_TX)
283 else if (c->cfg.direction & MOST_CH_RX)
296 if (c->cfg.data_type & ch_data_type[i].most_ch_data_type)
309 return snprintf(buf, PAGE_SIZE, "%d\n", c->cfg.subbuffer_size);
318 return snprintf(buf, PAGE_SIZE, "%d\n", c->cfg
[all...]
/linux-master/sound/isa/
H A Dsc6000.c106 * sc6000_irq_to_softcfg - Decode irq number into cfg code.
135 * sc6000_dma_to_softcfg - Decode dma number into cfg code.
158 * sc6000_mpu_irq_to_softcfg - Decode MPU-401 irq number into cfg code.
268 static int sc6000_hw_cfg_write(char __iomem *vport, const int *cfg) argument
278 if (sc6000_write(vport, cfg[0]) < 0) {
279 snd_printk(KERN_ERR "DATA 0x%x: failed!\n", cfg[0]);
282 if (sc6000_write(vport, cfg[1]) < 0) {
283 snd_printk(KERN_ERR "DATA 0x%x: failed!\n", cfg[1]);
351 static void sc6000_hw_cfg_encode(char __iomem *vport, int *cfg, argument
355 cfg[
417 int cfg[2]; local
[all...]
/linux-master/sound/usb/usx2y/
H A Dus122l.c348 struct usb_stream_config cfg; local
358 if (copy_from_user(&cfg, (void __user *)arg, sizeof(cfg)))
361 if (cfg.version != USB_STREAM_INTERFACE_VERSION)
365 if ((cfg.sample_rate != 44100 && cfg.sample_rate != 48000 &&
367 (cfg.sample_rate != 88200 && cfg.sample_rate != 96000))) ||
368 cfg.frame_size != 6 ||
369 cfg
[all...]
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_hw_intf.c340 int cfg; local
347 cfg = BIT(19); /* VSYNC_COUNTER_EN */
349 cfg |= BIT(20);
351 cfg |= te->vsync_count;
353 DPU_REG_WRITE(c, INTF_TEAR_SYNC_CONFIG_VSYNC, cfg);
418 u32 cfg; local
425 cfg = DPU_REG_READ(c, INTF_TEAR_SYNC_CONFIG_VSYNC);
426 orig = (bool)(cfg & BIT(20));
428 cfg |= BIT(20);
430 cfg
535 dpu_hw_intf_init(struct drm_device *dev, const struct dpu_intf_cfg *cfg, void __iomem *addr, const struct dpu_mdss_version *mdss_rev) argument
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dcn10k_macsec.c96 static struct cn10k_mcs_txsc *cn10k_mcs_get_txsc(struct cn10k_mcs_cfg *cfg, argument
101 list_for_each_entry(txsc, &cfg->txsc_list, entry) {
109 static struct cn10k_mcs_rxsc *cn10k_mcs_get_rxsc(struct cn10k_mcs_cfg *cfg, argument
115 list_for_each_entry(rxsc, &cfg->rxsc_list, entry) {
1060 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1068 mcs_rx_sc = cn10k_mcs_get_rxsc(cfg, secy, sw_rx_sc);
1094 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1101 mcs_rx_sc = cn10k_mcs_get_rxsc(cfg, secy, sw_rx_sc);
1123 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1148 list_for_each_entry(rxsc, &cfg
1175 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1199 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1217 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1245 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1280 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1300 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1345 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1379 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1399 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1433 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1452 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1471 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1514 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1550 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1573 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1608 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1629 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1652 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1695 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1742 struct cn10k_mcs_cfg *cfg = pfvf->macsec_cfg; local
1770 struct cn10k_mcs_cfg *cfg; local
[all...]
/linux-master/drivers/media/tuners/
H A Dtda18271-fe.c1186 struct tda18271_config *cfg)
1190 priv->gate = (cfg) ? cfg->gate : TDA18271_GATE_AUTO;
1191 priv->role = (cfg) ? cfg->role : TDA18271_MASTER;
1192 priv->config = (cfg) ? cfg->config : 0;
1193 priv->small_i2c = (cfg) ?
1194 cfg->small_i2c : TDA18271_39_BYTE_CHUNK_INIT;
1195 priv->output_opt = (cfg)
1185 tda18271_setup_configuration(struct dvb_frontend *fe, struct tda18271_config *cfg) argument
1201 tda18271_need_cal_on_startup(struct tda18271_config *cfg) argument
1213 struct tda18271_config *cfg = (struct tda18271_config *) priv_cfg; local
1245 tda18271_attach(struct dvb_frontend *fe, u8 addr, struct i2c_adapter *i2c, struct tda18271_config *cfg) argument
[all...]
H A Dtda18271.h115 struct tda18271_config *cfg);
120 struct tda18271_config *cfg)
117 tda18271_attach(struct dvb_frontend *fe, u8 addr, struct i2c_adapter *i2c, struct tda18271_config *cfg) argument
/linux-master/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-tuner.h53 const struct mxl111sf_tuner_config *cfg);
58 const struct mxl111sf_tuner_config *cfg)
56 mxl111sf_tuner_attach(struct dvb_frontend *fe, struct mxl111sf_state *mxl_state, const struct mxl111sf_tuner_config *cfg) argument
/linux-master/drivers/media/dvb-frontends/
H A Ddib0070.h49 extern struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct dib0070_config *cfg);
55 static inline struct dvb_frontend *dib0070_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct dib0070_config *cfg) argument
/linux-master/drivers/phy/samsung/
H A Dphy-samsung-usb2.h27 const struct samsung_usb2_common_phy *cfg; member in struct:samsung_usb2_phy_instance
35 const struct samsung_usb2_phy_config *cfg; member in struct:samsung_usb2_phy_driver
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_nvif.c85 nvkm_client_driver_init(const char *name, u64 device, const char *cfg, argument
88 return nvkm_client_new(name, device, cfg, dbg, nvkm_client_event,
/linux-master/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dcommon.h91 u8 brcmf_map_prio_to_prec(void *cfg, u8 prio);
93 u8 brcmf_map_prio_to_aci(void *cfg, u8 prio);
/linux-master/include/linux/
H A Dblk-crypto.h102 const struct blk_crypto_config *cfg);
104 const struct blk_crypto_config *cfg);
/linux-master/sound/soc/au1x/
H A Di2sc.c88 c = ctx->cfg;
131 ctx->cfg = c;
148 ctx->cfg |= (stype == PCM_TX) ? CFG_TN : CFG_RN;
149 WR(ctx, I2S_CFG, ctx->cfg);
153 ctx->cfg &= ~((stype == PCM_TX) ? CFG_TN : CFG_RN);
154 WR(ctx, I2S_CFG, ctx->cfg);
192 ctx->cfg &= ~CFG_SZ_MASK;
193 ctx->cfg |= v;
/linux-master/drivers/net/ethernet/mscc/
H A Docelot_mm.c169 struct ethtool_mm_cfg *cfg,
182 err = ethtool_mm_frag_size_min_to_add(cfg->tx_min_frag_size,
187 if (cfg->pmac_enabled)
190 if (cfg->tx_enabled)
193 if (!cfg->verify_enabled)
204 DEV_MM_CONFIG_VERIF_CONFIG_PRM_VERIFY_TIME(cfg->verify_time),
221 if (mm->tx_enabled && !cfg->tx_enabled) {
226 mm->tx_enabled = cfg->tx_enabled;
168 ocelot_port_set_mm(struct ocelot *ocelot, int port, struct ethtool_mm_cfg *cfg, struct netlink_ext_ack *extack) argument
/linux-master/drivers/leds/flash/
H A Dleds-max77693.c597 struct max77693_led_config_data *cfg,
607 of_property_read_u32(node, "maxim,boost-mode", &cfg->boost_mode);
608 of_property_read_u32(node, "maxim,boost-mvout", &cfg->boost_vout);
609 of_property_read_u32(node, "maxim,mvsys-min", &cfg->low_vsys);
655 cfg->label[fled_id] =
660 &cfg->iout_torch_max[fled_id]);
662 cfg->iout_torch_max[fled_id] = TORCH_IOUT_MIN;
667 &cfg->iout_flash_max[fled_id]);
669 cfg->iout_flash_max[fled_id] = FLASH_IOUT_MIN;
675 &cfg
596 max77693_led_parse_dt(struct max77693_led_device *led, struct max77693_led_config_data *cfg, struct device_node **sub_nodes) argument
728 max77693_led_validate_configuration(struct max77693_led_device *led, struct max77693_led_config_data *cfg) argument
764 max77693_led_get_configuration(struct max77693_led_device *led, struct max77693_led_config_data *cfg, struct device_node **sub_nodes) argument
[all...]
/linux-master/scripts/
H A Dremove-stale-files29 rm -f scripts/kconfig/[gmnq]conf-cfg
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_fwlog.h74 int ice_fwlog_set(struct ice_hw *hw, struct ice_fwlog_cfg *cfg);
75 int ice_fwlog_get(struct ice_hw *hw, struct ice_fwlog_cfg *cfg);
/linux-master/drivers/pci/controller/
H A Dpci-host-generic.c28 struct pci_config_window *cfg = bus->sysdata; local
36 if (bus->number == cfg->busr.start && PCI_SLOT(devfn) > 0)
/linux-master/drivers/cache/
H A Dsifive_ccache.c107 u32 cfg; local
109 cfg = readl(ccache_base + SIFIVE_CCACHE_CONFIG);
111 FIELD_GET(SIFIVE_CCACHE_CONFIG_BANK_MASK, cfg),
112 FIELD_GET(SIFIVE_CCACHE_CONFIG_WAYS_MASK, cfg),
113 BIT_ULL(FIELD_GET(SIFIVE_CCACHE_CONFIG_SETS_MASK, cfg)),
114 BIT_ULL(FIELD_GET(SIFIVE_CCACHE_CONFIG_BLKS_MASK, cfg)));
116 cfg = readl(ccache_base + SIFIVE_CCACHE_WAYENABLE);
117 pr_info("Index of the largest way enabled: %u\n", cfg);

Completed in 980 milliseconds

<<11121314151617181920>>