/drivers/cpufreq/ |
H A D | sa1100-cpufreq.c | 131 struct sa1100_dram_regs *settings = sa1100_dram_settings; local 134 while (settings->speed != 0) { 135 if (new_speed == settings->speed) 138 settings++; 141 if (settings->speed == 0) { 158 MDCAS2 = settings->mdcas2; 159 MDCAS1 = settings->mdcas1; 160 MDCAS0 = settings->mdcas0; 161 MDCNFG = settings->mdcnfg; 164 * frequency and then tighten the memory settings [all...] |
/drivers/spi/ |
H A D | spi-xcomm.c | 36 uint16_t settings; member in struct:spi_xcomm 46 uint16_t settings; local 49 settings = spi_xcomm->settings; 50 settings |= len << SPI_XCOMM_SETTINGS_LEN_OFFSET; 53 put_unaligned_be16(settings, &buf[1]); 74 struct spi_device *spi, struct spi_transfer *t, unsigned int *settings) 84 *settings |= SPI_XCOMM_SETTINGS_CLOCK_DIV_64; 86 *settings |= SPI_XCOMM_SETTINGS_CLOCK_DIV_16; 88 *settings | 73 spi_xcomm_setup_transfer(struct spi_xcomm *spi_xcomm, struct spi_device *spi, struct spi_transfer *t, unsigned int *settings) argument 140 unsigned int settings = spi_xcomm->settings; local [all...] |
/drivers/media/pci/zoran/ |
H A D | zoran_card.c | 731 struct zoran_jpg_settings *settings, 739 ZR_DEVNAME(zr), __func__, settings->decimation, settings->HorDcm, 740 settings->VerDcm, settings->TmpDcm); 744 ZR_DEVNAME(zr), __func__, settings->img_x, settings->img_y, 745 settings->img_width, settings->img_height); 747 switch (settings 730 zoran_check_jpg_settings(struct zoran *zr, struct zoran_jpg_settings *settings, int try) argument [all...] |
H A D | zoran_card.h | 47 struct zoran_jpg_settings *settings,
|
H A D | zoran_driver.c | 168 zoran_v4l2_calc_bufsize (struct zoran_jpg_settings *settings) argument 170 __u8 div = settings->VerDcm * settings->HorDcm * settings->TmpDcm; 838 /* take over the card's current settings */ 844 /* v4l settings */ 846 /* jpg settings */ 1211 * and switch it on again in order to get the new settings in effect. 1467 * norm needs different VFE settings */ 1679 struct zoran_jpg_settings settings; local 1800 struct zoran_jpg_settings settings; local 2583 struct zoran_jpg_settings settings; local 2659 struct zoran_jpg_settings settings; local [all...] |
/drivers/hid/ |
H A D | hid-roccat-kone.c | 97 static void kone_set_settings_checksum(struct kone_settings *settings) argument 100 unsigned char *address = (unsigned char *)settings; 105 settings->checksum = cpu_to_le16(checksum); 146 * Reads settings from mouse and stores it in @buf 158 * Writes settings from @buf to mouse 163 struct kone_settings const *settings) 167 settings, sizeof(struct kone_settings)); 281 memcpy(buf, ((char const *)&kone->settings) + off, count); 288 * Writing settings automatically activates startup_profile. 306 difference = memcmp(buf, &kone->settings, sizeo 162 kone_set_settings(struct usb_device *usb_dev, struct kone_settings const *settings) argument [all...] |
H A D | hid-roccat-pyra.c | 80 struct pyra_settings const *settings) 83 PYRA_COMMAND_SETTINGS, settings, 255 struct pyra_settings const *settings; local 262 settings = (struct pyra_settings const *)buf; 264 retval = pyra_set_settings(usb_dev, settings); 270 profile_activated(pyra, settings->startup_profile); 273 roccat_report.value = settings->startup_profile + 1; 282 PYRA_SYSFS_R(settings, SETTINGS); 284 __BIN_ATTR(settings, (S_IWUSR | S_IRUGO), 303 struct pyra_settings settings; local 79 pyra_set_settings(struct usb_device *usb_dev, struct pyra_settings const *settings) argument 376 struct pyra_settings settings; local [all...] |
/drivers/pinctrl/mvebu/ |
H A D | pinctrl-mvebu.c | 42 struct mvebu_mpp_ctrl_setting *settings; member in struct:mvebu_pinctrl_group 90 if (config == grp->settings[n].val) { 92 grp->settings[n].variant)) 93 return &grp->settings[n]; 105 if (strcmp(name, grp->settings[n].name) == 0) { 107 grp->settings[n].variant)) 108 return &grp->settings[n]; 119 if (grp->settings[n].flags & 122 grp->settings[n].variant)) 123 return &grp->settings[ [all...] |
H A D | pinctrl-mvebu.h | 28 * between two or more different settings, e.g. assign mpp pin 13 to 33 * to allow pin settings with varying gpio pins. 57 * mpp_get/_set function may use val to distinguish between different settings. 80 * struct mvebu_mpp_mode - link ctrl and settings 82 * @settings: list of settings available for this mode 84 * A mode connects all available settings with the corresponding mpp_ctrl 89 struct mvebu_mpp_ctrl_setting *settings; member in struct:mvebu_mpp_mode 163 .settings = (struct mvebu_mpp_ctrl_setting[]){ \
|
/drivers/powercap/ |
H A D | Kconfig | 9 capping settings to user space in a consistent way. Usually, it consists 10 of multiple control types that determine which settings may be exposed and 27 In RAPL, the platform level settings are divided into domains for
|
/drivers/pci/pcie/aer/ |
H A D | Kconfig | 20 bool "PCI Express ECRC settings control" 23 Used to override firmware/bios settings for PCI Express ECRC
|
/drivers/net/wan/ |
H A D | hdlc_fr.c | 138 fr_proto settings; member in struct:frad_state 353 if (state(hdlc)->settings.lmi == LMI_NONE) 370 if (state(hdlc)->settings.lmi == LMI_NONE) 373 if (state(hdlc)->settings.dce) { 474 int lmi = state(hdlc)->settings.lmi; 475 int dce = state(hdlc)->settings.dce; 578 if (state(hdlc)->settings.lmi == LMI_NONE) { 592 if (!state(hdlc)->settings.dce) 607 if (state(hdlc)->settings.dce) { 610 state(hdlc)->settings [all...] |
H A D | c101.c | 64 sync_serial_settings settings; member in struct:card_s 158 switch(port->settings.clock_type) { 254 if (copy_to_user(line, &port->settings, size)) 274 memcpy(&port->settings, &new_line, size); /* Update settings */ 380 card->settings.clock_type = CLOCK_EXT;
|
H A D | hdlc_cisco.c | 54 cisco_proto settings; member in struct:cisco_state 268 time_after(jiffies, st->last_poll + st->settings.timeout * HZ)) { 278 st->timer.expires = jiffies + st->settings.interval * HZ; 350 if (copy_to_user(cisco_s, &state(hdlc)->settings, size)) 377 memcpy(&state(hdlc)->settings, &new_settings, size);
|
H A D | pci200syn.c | 72 sync_serial_settings settings; member in struct:port_s 129 switch(port->settings.clock_type) { 209 if (copy_to_user(line, &port->settings, size)) 230 memcpy(&port->settings, &new_line, size); /* Update settings */ 398 port->settings.clock_type = CLOCK_EXT;
|
H A D | dscc4.c | 30 * II. Board-specific settings 238 sync_serial_settings settings; member in struct:dscc4_dev_priv 996 sync_serial_settings *settings = &dpriv->settings; local 998 if (settings->loopback && (settings->clock_type != CLOCK_INT)) { 1313 const size_t size = sizeof(dpriv->settings); 1329 if (copy_to_user(line, &dpriv->settings, size)) 1341 if (copy_from_user(&dpriv->settings, line, size)) 1371 sync_serial_settings *settings local 1420 sync_serial_settings *settings = &dpriv->settings; local [all...] |
/drivers/edac/ |
H A D | highbank_mc_edac.c | 152 const struct hb_mc_settings *settings; local 206 settings = id->data; 207 drvdata->mc_err_base = base + settings->err_offset; 208 drvdata->mc_int_base = base + settings->int_offset;
|
/drivers/net/ethernet/intel/i40evf/ |
H A D | i40e_prototype.h | 86 struct i40e_filter_control_settings *settings);
|
/drivers/usb/serial/ |
H A D | kl5kusb105.c | 117 unsigned long line_state; /* modem line settings */ 130 struct klsi_105_port_settings *settings) 140 settings, 145 "Change port settings failed (error = %d)\n", rc); 148 settings->pktlen, settings->baudrate, settings->databits, 149 settings->unknown1, settings->unknown2); 415 /* lock while we are modifying the settings */ 129 klsi_105_chg_port_settings(struct usb_serial_port *port, struct klsi_105_port_settings *settings) argument [all...] |
/drivers/iio/adc/ |
H A D | ad7923.c | 63 unsigned int settings; member in struct:ad7923_state 142 st->settings; 198 st->settings; 219 if (!(st->settings & AD7923_RANGE)) 285 st->settings = AD7923_CODING | AD7923_RANGE |
|
/drivers/block/ |
H A D | pktcdvd.c | 111 return (sector + pd->offset) & ~(sector_t)(pd->settings.size - 1); 609 pkt = pkt_alloc_packet_data(pd->settings.size >> 2); 925 if ((pd->settings.size << 9) / CD_FRAMESIZE 932 } else if ((pd->settings.size << 9) / PAGE_SIZE 1249 pd->current_sector = zone + pd->settings.size; 1251 BUG_ON(pkt->frames != pd->settings.size >> 2); 1561 pd->settings.fp ? "Fixed" : "Variable", 1562 pd->settings.size >> 2, 1563 pd->settings.block_mode == 8 ? '1' : '2'); 1679 * write mode select package based on pd->settings [all...] |
/drivers/net/wireless/ti/wl18xx/ |
H A D | conf.h | 67 u8 settings; member in struct:wl18xx_mac_and_phy_params
|
/drivers/hwmon/ |
H A D | abituguru3.c | 24 * only reading the sensors and their settings is supported. 191 * sensors) have 3 bytes of settings, while fans only have 2 bytes, 194 u8 settings[48][3]; member in struct:abituguru3_data 809 * Sensor settings are stored 1 byte per offset with the bytes 853 value = data->settings[sensor->port][attr->nr]; 862 * alternatively we could update the sensors settings struct for this, 887 * is stored in a few readonly bits in the settings of the sensor. 890 (!attr->nr || (data->settings[port][0] & attr->nr))) 902 if (data->settings[data->sensors[attr->index].port][0] & attr->nr) 1106 /* Read in and temp sensors (3 byte settings / senso [all...] |
/drivers/media/dvb-frontends/ |
H A D | tc90522.c | 521 struct dvb_frontend_tune_settings *settings) 524 settings->min_delay_ms = 250; 525 settings->step_size = 1000; 526 settings->max_drift = settings->step_size * 2; 528 settings->min_delay_ms = 400; 529 settings->step_size = 142857; 530 settings->max_drift = settings->step_size; 520 tc90522_get_tune_settings(struct dvb_frontend *fe, struct dvb_frontend_tune_settings *settings) argument
|
/drivers/net/phy/ |
H A D | phy.c | 138 /* A mapping of all SUPPORTED settings to speed/duplex */ 139 static const struct phy_setting settings[] = { variable in typeref:struct:phy_setting 197 #define MAX_NUM_SETTINGS ARRAY_SIZE(settings) 200 * phy_find_setting - find a PHY settings array entry that matches speed & duplex 204 * Description: Searches the settings array for the setting which 213 while (idx < ARRAY_SIZE(settings) && 214 (settings[idx].speed != speed || settings[idx].duplex != duplex)) 222 * @idx: The first index in settings[] to search 223 * @features: A mask of the valid settings [all...] |