Searched defs:settings (Results 1 - 24 of 24) sorted by relevance

/drivers/media/video/gspca/m5602/
H A Dm5602_s5k83a.h67 s32 *settings; member in struct:s5k83a_priv
/drivers/pinctrl/
H A Dcore.h67 * @settings: a list of settings for this state
72 struct list_head settings; member in struct:pinctrl_state
101 * @node: list node for struct pinctrl_settings's @settings field
/drivers/staging/media/as102/
H A Das102_fe.c90 struct dvb_frontend_tune_settings *settings) {
94 dprintk(debug, "step_size = %d\n", settings->step_size);
95 dprintk(debug, "max_drift = %d\n", settings->max_drift);
96 dprintk(debug, "min_delay_ms = %d -> %d\n", settings->min_delay_ms,
100 settings->min_delay_ms = 1000;
89 as102_fe_get_tune_settings(struct dvb_frontend *fe, struct dvb_frontend_tune_settings *settings) argument
/drivers/mfd/
H A Dab5500-core.c1260 * @settings : Pointer to struct abx500_init_settings
1264 struct abx500_init_settings *settings, unsigned int size)
1271 settings[i].bank,
1272 settings[i].reg,
1273 0xFF, settings[i].setting);
1278 if ((settings[i].bank == AB5500_BANK_IT) &&
1279 (AB5500_MASK_BASE <= settings[i].reg) &&
1280 (settings[i].reg <= AB5500_MASK_END)) {
1281 ab->mask[settings[i].reg - AB5500_MASK_BASE] =
1282 settings[
1263 ab5500_setup(struct ab5500 *ab, struct abx500_init_settings *settings, unsigned int size) argument
[all...]
/drivers/net/phy/
H A Dphy.c122 /* A mapping of all SUPPORTED settings to speed/duplex */
123 static const struct phy_setting settings[] = { variable in typeref:struct:phy_setting
161 #define MAX_NUM_SETTINGS ARRAY_SIZE(settings)
164 * phy_find_setting - find a PHY settings array entry that matches speed & duplex
168 * Description: Searches the settings array for the setting which
177 while (idx < ARRAY_SIZE(settings) &&
178 (settings[idx].speed != speed ||
179 settings[idx].duplex != duplex))
187 * @idx: The first index in settings[] to search
188 * @features: A mask of the valid settings
[all...]
/drivers/usb/serial/
H A Dkl5kusb105.c134 unsigned long line_state; /* modem line settings */
147 struct klsi_105_port_settings *settings)
157 settings,
162 "Change port settings failed (error = %d)\n", rc);
165 settings->pktlen, settings->baudrate, settings->databits,
166 settings->unknown1, settings->unknown2);
476 /* lock while we are modifying the settings */
146 klsi_105_chg_port_settings(struct usb_serial_port *port, struct klsi_105_port_settings *settings) argument
[all...]
/drivers/hid/
H A Dhid-roccat-kone.c97 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 Dhid-roccat-koneplus.c142 struct koneplus_profile_settings const *settings)
145 settings, sizeof(struct koneplus_profile_settings));
141 koneplus_set_profile_settings(struct usb_device *usb_dev, struct koneplus_profile_settings const *settings) argument
H A Dhid-roccat-kovaplus.c141 struct kovaplus_profile_settings const *settings)
144 settings, sizeof(struct kovaplus_profile_settings));
140 kovaplus_set_profile_settings(struct usb_device *usb_dev, struct kovaplus_profile_settings const *settings) argument
H A Dhid-roccat-pyra.c132 struct pyra_profile_settings const *settings)
134 return pyra_send(usb_dev, PYRA_COMMAND_PROFILE_SETTINGS, settings,
146 struct pyra_settings const *settings)
148 return pyra_send(usb_dev, PYRA_COMMAND_SETTINGS, settings,
285 memcpy(buf, ((char const *)&pyra->settings) + off, count);
307 difference = memcmp(buf, &pyra->settings, sizeof(struct pyra_settings));
316 memcpy(&pyra->settings, buf,
319 profile_activated(pyra, pyra->settings.startup_profile);
322 roccat_report.value = pyra->settings.startup_profile + 1;
361 return snprintf(buf, PAGE_SIZE, "%d\n", pyra->settings
131 pyra_set_profile_settings(struct usb_device *usb_dev, struct pyra_profile_settings const *settings) argument
145 pyra_set_settings(struct usb_device *usb_dev, struct pyra_settings const *settings) argument
[all...]
H A Dhid-roccat-pyra.h167 struct pyra_settings settings; member in struct:pyra_device
H A Dhid-roccat-kone.h205 * settings of this struct.
214 struct kone_settings settings; member in struct:kone_device
/drivers/net/wan/
H A Dc101.c64 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 Dhdlc_cisco.c54 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 Dpci200syn.c72 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 */
399 port->settings.clock_type = CLOCK_EXT;
H A Dn2.c101 sync_serial_settings settings; member in struct:port_s
176 switch(port->settings.clock_type) {
272 if (copy_to_user(line, &port->settings, size))
292 memcpy(&port->settings, &new_line, size); /* Update settings */
473 port->settings.clock_type = CLOCK_EXT;
H A Dpc300too.c84 sync_serial_settings settings; member in struct:port_s
130 switch(port->settings.clock_type) {
217 if (copy_to_user(line, &port->settings, size))
255 memcpy(&port->settings, &new_line, size); /* Update settings */
440 // COTE not set - allows better TX DMA settings
459 port->settings.clock_type = CLOCK_EXT;
H A Dhdlc_fr.c138 fr_proto settings; member in struct:frad_state
352 if (state(hdlc)->settings.lmi == LMI_NONE)
369 if (state(hdlc)->settings.lmi == LMI_NONE)
372 if (state(hdlc)->settings.dce) {
473 int lmi = state(hdlc)->settings.lmi;
474 int dce = state(hdlc)->settings.dce;
577 if (state(hdlc)->settings.lmi == LMI_NONE) {
591 if (!state(hdlc)->settings.dce)
606 if (state(hdlc)->settings.dce) {
609 state(hdlc)->settings
[all...]
H A Dpc300_drv.c2533 struct if_settings *settings = &ifr->ifr_settings; local
2743 if (copy_to_user(settings->ifs_ifsu.sync,
2765 settings->ifs_ifsu.sync, size)) {
2794 settings->ifs_ifsu.te1, size)) {
3004 /* General RX settings */
3035 /* General TX settings */
H A Ddscc4.c30 * II. Board-specific settings
238 sync_serial_settings settings; member in struct:dscc4_dev_priv
998 sync_serial_settings *settings = &dpriv->settings; local
1000 if (settings->loopback && (settings->clock_type != CLOCK_INT)) {
1315 const size_t size = sizeof(dpriv->settings);
1331 if (copy_to_user(line, &dpriv->settings, size))
1343 if (copy_from_user(&dpriv->settings, line, size))
1373 sync_serial_settings *settings local
1422 sync_serial_settings *settings = &dpriv->settings; local
[all...]
/drivers/media/video/zoran/
H A Dzoran_card.c732 struct zoran_jpg_settings *settings,
740 ZR_DEVNAME(zr), __func__, settings->decimation, settings->HorDcm,
741 settings->VerDcm, settings->TmpDcm);
745 ZR_DEVNAME(zr), __func__, settings->img_x, settings->img_y,
746 settings->img_width, settings->img_height);
748 switch (settings
731 zoran_check_jpg_settings(struct zoran *zr, struct zoran_jpg_settings *settings, int try) argument
[all...]
H A Dzoran_driver.c168 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 */
1197 * and switch it on again in order to get the new settings in effect.
1476 * norm needs different VFE settings */
1688 struct zoran_jpg_settings settings; local
1809 struct zoran_jpg_settings settings; local
2592 struct zoran_jpg_settings settings; local
2668 struct zoran_jpg_settings settings; local
[all...]
/drivers/staging/comedi/drivers/
H A Dserial2002.c151 * settings.c_cc[VMIN] = 0; settings.c_cc[VTIME] = 0
240 struct termios settings; local
242 tty_ioctl(f, TCGETS, (unsigned long)&settings);
243 /* printk("Speed: %d\n", settings.c_cflag & (CBAUD | CBAUDEX)); */
244 settings.c_iflag = 0;
245 settings.c_oflag = 0;
246 settings.c_lflag = 0;
247 settings.c_cflag = CLOCAL | CS8 | CREAD;
248 settings
289 struct serial_struct settings; local
[all...]
/drivers/hwmon/
H A Dabituguru3.c24 * only reading the sensors and their settings is supported.
189 * sensors) have 3 bytes of settings, while fans only have 2 bytes,
192 u8 settings[48][3]; member in struct:abituguru3_data
807 * Sensor settings are stored 1 byte per offset with the bytes
851 value = data->settings[sensor->port][attr->nr];
860 * alternatively we could update the sensors settings struct for this,
885 * is stored in a few readonly bits in the settings of the sensor.
888 (!attr->nr || (data->settings[port][0] & attr->nr)))
900 if (data->settings[data->sensors[attr->index].port][0] & attr->nr)
1107 /* Read in and temp sensors (3 byte settings / senso
[all...]

Completed in 721 milliseconds