| /linux/include/linux/pinctrl/ |
| H A D | machine.h | 108 #define PIN_MAP_CONFIGS_PIN(dev, state, pinctrl, pin, cfgs) \ argument 116 .configs = cfgs, \ 117 .num_configs = ARRAY_SIZE(cfgs), \ 121 #define PIN_MAP_CONFIGS_PIN_DEFAULT(dev, pinctrl, pin, cfgs) \ argument 122 PIN_MAP_CONFIGS_PIN(dev, PINCTRL_STATE_DEFAULT, pinctrl, pin, cfgs) 124 #define PIN_MAP_CONFIGS_PIN_HOG(dev, state, pin, cfgs) \ argument 125 PIN_MAP_CONFIGS_PIN(dev, state, dev, pin, cfgs) 127 #define PIN_MAP_CONFIGS_PIN_HOG_DEFAULT(dev, pin, cfgs) \ argument 128 PIN_MAP_CONFIGS_PIN(dev, PINCTRL_STATE_DEFAULT, dev, pin, cfgs) 130 #define PIN_MAP_CONFIGS_GROUP(dev, state, pinctrl, grp, cfgs) \ argument [all …]
|
| /linux/rust/ |
| H A D | Makefile | 75 cfgs-to-flags = $(patsubst %,--cfg='%',$1) 77 core-cfgs := \ 88 $(call cfgs-to-flags,$(core-cfgs)) 90 zerocopy-cfgs := \ 95 $(call cfgs-to-flags,$(zerocopy-cfgs)) 100 proc_macro2-cfgs := \ 107 $(call cfgs-to-flags,$(proc_macro2-cfgs)) 109 quote-cfgs := \ 119 $(call cfgs-to-flags,$(quote-cfgs)) 122 syn-cfgs := \ [all …]
|
| /linux/scripts/ |
| H A D | generate_rust_analyzer.py | 21 def args_crates_cfgs(cfgs: List[str]) -> Dict[str, List[str]]: 23 for cfg in cfgs: 71 cfgs: List[str], 85 crates_cfgs = args_crates_cfgs(cfgs) 373 parser.add_argument('--cfgs', action='append', default=[]) 384 cfgs: List[str] 401 "crates": generate_crates(args.srctree, args.objtree, args.sysroot_src, args.exttree, args.cfgs, args.envs, args.core_edition), 14 args_crates_cfgs(cfgs) global() argument 22 generate_crates(srctree, objtree, sysroot_src, external_src, cfgs, core_edition) global() argument
|
| /linux/drivers/hwtracing/coresight/ |
| H A D | coresight-ctcu-core.c | 183 const struct ctcu_config *cfgs; in ctcu_probe() local 209 cfgs = of_device_get_match_data(dev); in ctcu_probe() 210 if (cfgs) { in ctcu_probe() 211 if (cfgs->num_etr_config <= ETR_MAX_NUM) { in ctcu_probe() 212 for (i = 0; i < cfgs->num_etr_config; i++) { in ctcu_probe() 213 etr_cfg = &cfgs->etr_cfgs[i]; in ctcu_probe()
|
| /linux/rust/pin-init/internal/src/ |
| H A D | init.rs | 226 let cfgs = { 227 let mut cfgs = attrs.clone(); 228 cfgs.retain(|attr| attr.path().is_ident("cfg")); 229 cfgs 300 #(#cfgs)* 308 guard_attrs.push(cfgs); 236 let cfgs = { global() localVariable 237 let mut cfgs = attrs.clone(); global() localVariable
|
| /linux/drivers/phy/samsung/ |
| H A D | phy-samsung-ufs.c | 79 const struct samsung_ufs_phy_cfg * const *cfgs = ufs_phy->cfgs; in samsung_ufs_phy_calibrate() local 90 cfg = cfgs[ufs_phy->ufs_phy_state]; in samsung_ufs_phy_calibrate() 328 phy->cfgs = drvdata->cfgs; in samsung_ufs_phy_probe()
|
| H A D | phy-samsung-ufs.h | 115 const struct samsung_ufs_phy_cfg **cfgs; member 132 const struct samsung_ufs_phy_cfg * const *cfgs; member
|
| H A D | phy-gs101-ufs.c | 199 .cfgs = tensor_gs101_ufs_phy_cfgs,
|
| /linux/arch/mips/mm/ |
| H A D | init.c | 319 struct maar_config cfgs[3]; in maar_init() member 336 used = maar_config(recorded.cfgs, recorded.used, num_maars / 2); in maar_init() 388 if (used <= ARRAY_SIZE(recorded.cfgs)) { in maar_init() 389 recorded.cfgs[recorded.used].lower = lower; in maar_init() 390 recorded.cfgs[recorded.used].upper = upper; in maar_init() 391 recorded.cfgs[recorded.used].attrs = attr; in maar_init()
|
| /linux/drivers/phy/rockchip/ |
| H A D | phy-rockchip-usbdp.c | 197 const struct rk_udphy_cfg *cfgs; member 471 const struct rk_udphy_cfg *cfg = udphy->cfgs; in rk_udphy_reset_init() 489 const struct rk_udphy_cfg *cfg = udphy->cfgs; in rk_udphy_u3_port_disable() 498 const struct rk_udphy_cfg *cfg = udphy->cfgs; in rk_udphy_usb_bvalid_enable() 542 const struct rk_udphy_cfg *cfg = udphy->cfgs; in rk_udphy_dplane_select() 609 const struct rk_udphy_cfg *cfg = udphy->cfgs; in rk_udphy_dp_hpd_event_trigger() 783 const struct rk_udphy_cfg *cfg = udphy->cfgs; in rk_udphy_init() 1172 const struct rk_udphy_cfg *cfg = udphy->cfgs; in rk_udphy_dp_set_voltage() 1465 udphy->cfgs = device_get_match_data(dev); in rk_udphy_probe() 1466 if (!udphy->cfgs) in rk_udphy_probe() [all …]
|
| H A D | phy-rockchip-samsung-hdptx.c | 2435 const struct rk_hdptx_phy_cfg *cfgs; in rk_hdptx_phy_probe() local 2455 cfgs = device_get_match_data(dev); in rk_hdptx_phy_probe() 2456 if (!cfgs) in rk_hdptx_phy_probe() 2461 for (id = 0; id < cfgs->num_phys; id++) { in rk_hdptx_phy_probe() 2462 if (res->start == cfgs->phy_ids[id]) { in rk_hdptx_phy_probe()
|
| /linux/rust/zerocopy/src/util/ |
| H A D | macro_util.rs | 973 … (#[$cfg:meta] $(#[$cfgs:meta])* ($($ts:ty),* ; $trailing_field_ty:ty) => $expect:expr) => { in test_trailing_field_offset() 975 test!($(#[$cfgs])* ($($ts),* ; $trailing_field_ty) => $expect); in test_trailing_field_offset() 1153 (#[$cfg:meta] $(#[$cfgs:meta])* ($($ts:ty),*) => $expect:expr) => { in test_struct_padding() 1155 test!($(#[$cfgs])* ($($ts),*) => $expect); in test_struct_padding() 1220 (#[$cfg:meta] $(#[$cfgs:meta])* {$($fs:ident: $ts:ty),*} => $expect:expr) => { in test_union_padding() 1222 test!($(#[$cfgs])* {$($fs: $ts),*} => $expect); in test_union_padding() 1245 …(#[repr($disc:ident $(, $c:ident)?)] #[$cfg:meta] $(#[$cfgs:meta])* { $($vs:ident ($($ts:ty),*),)*… in test_enum_padding() 1247 test!(#[repr($disc $(, $c)?)] $(#[$cfgs])* { $($vs ($($ts),*),)* } => $expect); in test_enum_padding()
|
| /linux/drivers/phy/qualcomm/ |
| H A D | phy-qcom-qmp-pcie-multiphy.c | 83 const struct qmp_phy_cfg * const *cfgs; member 221 .cfgs = glymur_qmp_gen5x8_mode_x8_cfgs, 225 .cfgs = glymur_qmp_gen5x8_mode_x4x4_cfgs, 708 qmp[phy_index].cfg = qmp_data->mode_cfg->cfgs[phy_index]; in qmp_pcie_multiphy_probe()
|
| /linux/drivers/pinctrl/nxp/ |
| H A D | pinctrl-s32cc.c | 235 unsigned long *cfgs = NULL; in s32_dt_group_node_to_map() local 246 ret = pinconf_generic_parse_dt_config(np, pctldev, &cfgs, &n_cfgs); in s32_dt_group_node_to_map() 267 num_maps, np->name, cfgs, n_cfgs, in s32_dt_group_node_to_map() 274 kfree(cfgs); in s32_dt_group_node_to_map()
|
| /linux/sound/soc/intel/avs/ |
| H A D | topology.c | 1226 struct avs_tplg_init_config **cfgs; in avs_tplg_module_init_configs() local 1232 cfgs = devm_kcalloc(comp->card->dev, module->num_init_configs, sizeof(*cfgs), GFP_KERNEL); in avs_tplg_module_init_configs() 1233 if (!cfgs) in avs_tplg_module_init_configs() 1236 ret = parse_dictionary_entries(comp, tuples, block_size, cfgs, module->num_init_configs, in avs_tplg_module_init_configs() 1237 sizeof(*cfgs), AVS_TKN_MOD_INIT_CONFIG_ID_U32, in avs_tplg_module_init_configs() 1240 module->init_configs = cfgs; in avs_tplg_module_init_configs()
|
| /linux/drivers/accel/amdxdna/ |
| H A D | aie2_message.c | 533 req.cfgs[i] = FIELD_PREP(AIE2_MSG_CFG_CU_PDI_ADDR, in aie2_config_cu() 535 req.cfgs[i] |= FIELD_PREP(AIE2_MSG_CFG_CU_FUNC, cu->cu_func); in aie2_config_cu() 537 amdxdna_gem_dev_addr(abo), req.cfgs[i]); in aie2_config_cu()
|
| /linux/drivers/pinctrl/renesas/ |
| H A D | sh_pfc.h | 679 #define SH_PFC_PIN_CFG(_pin, cfgs) { \ argument 683 .configs = cfgs, \
|
| /linux/rust/pin-init/ |
| H A D | README.md | 245 <!-- These links are not picked up by cargo-rdme, since they are behind cfgs... -->
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra132.dtsi | 881 throttle-cfgs {
|
| /linux/drivers/net/wireless/realtek/rtw89/ |
| H A D | mac.c | 1911 const struct rtw89_dle_mem *cfg, *cfgs; in get_dle_mem_cfg() local 1913 cfgs = qta_def->dle_mem[rtwdev->hci.dle_type]; in get_dle_mem_cfg() 1914 if (!cfgs) in get_dle_mem_cfg() 1917 cfg = &cfgs[mode]; in get_dle_mem_cfg()
|
| /linux/arch/arm/boot/dts/nvidia/ |
| H A D | tegra124.dtsi | 1026 throttle-cfgs {
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_nix.c | 3897 u64 cfgs[] = { in nix_af_mark_format_setup() local 3918 rc = rvu_nix_reserve_mark_format(rvu, nix_hw, blkaddr, cfgs[i]); in nix_af_mark_format_setup()
|