Home
last modified time | relevance | path

Searched refs:cfg_mode (Results 1 – 5 of 5) sorted by relevance

/freebsd/sys/dev/qat/qat_common/
H A Dadf_cfg_sysctl.c97 static const char *const cfg_mode[] = { "ks;us", "us", "ks" }; variable
167 strlcpy(buf, dev_cfg_data->cfg_mode, sizeof(buf)); in adf_cfg_sysctl_mode_handle()
183 for (i = 0; i < ARRAY_SIZE(cfg_mode); i++) { in adf_cfg_sysctl_mode_handle()
184 if ((len > 0 && strncasecmp(cfg_mode[i], buf, len) == 0)) { in adf_cfg_sysctl_mode_handle()
185 strlcpy(dev_cfg_data->cfg_mode, buf, ADF_CFG_MAX_VAL); in adf_cfg_sysctl_mode_handle()
190 if (i == ARRAY_SIZE(cfg_mode)) { in adf_cfg_sysctl_mode_handle()
H A Dadf_cfg.c41 strncpy(dev_cfg_data->cfg_mode, in adf_cfg_dev_add()
55 strncpy(dev_cfg_data->cfg_mode, in adf_cfg_dev_add()
67 strncpy(dev_cfg_data->cfg_mode, in adf_cfg_dev_add()
H A Dadf_cfg_device.c961 strncpy(value, accel_dev->cfg->cfg_mode, ADF_CFG_MAX_VAL); in adf_cfg_static_conf()
/freebsd/sys/dev/sdhci/
H A Dsdhci_pci.c166 uint8_t cfg_mode; /* Saved mode */ member
266 sc->cfg_mode = pci_read_config(dev, SDHC_PCI_MODE, 1); in sdhci_lower_frequency()
287 pci_write_config(dev, SDHC_PCI_MODE, sc->cfg_mode, 1); in sdhci_restore_frequency()
/freebsd/sys/dev/qat/include/common/
H A Dadf_cfg.h34 char cfg_mode[ADF_CFG_MAX_VAL]; member