Searched refs:settings (Results 1 - 25 of 37) sorted by relevance

12

/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_card.h47 struct zoran_jpg_settings *settings,
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/pci/pcie/aer/
H A DKconfig19 bool "PCI Express ECRC settings control"
22 Used to override firmware/bios settings for PCI Express ECRC
/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-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
/drivers/media/video/gspca/m5602/
H A Dm5602_s5k83a.c181 sens_priv->settings =
183 if (!sens_priv->settings) {
197 sens_priv->settings[i] = s5k83a_ctrls[i].qctrl.default_value;
207 ((struct s5k83a_priv *) sd->sensor_priv)->settings;
351 kfree(sens_priv->settings);
360 *val = sens_priv->settings[GAIN_IDX];
371 sens_priv->settings[GAIN_IDX] = val;
399 *val = sens_priv->settings[BRIGHTNESS_IDX];
410 sens_priv->settings[BRIGHTNESS_IDX] = val;
421 *val = sens_priv->settings[EXPOSURE_ID
[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/net/wan/
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 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 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...]
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;
/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/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
H A Dcore.c486 INIT_LIST_HEAD(&state->settings);
543 list_add_tail(&setting->node, &state->settings);
644 list_for_each_entry_safe(setting, n2, &state->settings, node) {
730 list_for_each_entry(setting, &p->state->settings, node) {
734 list_for_each_entry(setting2, &state->settings, node) {
750 /* Apply all the settings for the new state */
751 list_for_each_entry(setting, &state->settings, node) {
1062 list_for_each_entry(setting, &state->settings, node) {
/drivers/block/
H A Dpktcdvd.c86 #define ZONE(sector, pd) (((sector) + (pd)->offset) & ~((pd)->settings.size - 1))
647 pkt = pkt_alloc_packet_data(pd->settings.size >> 2);
960 if ((pd->settings.size << 9) / CD_FRAMESIZE
967 } else if ((pd->settings.size << 9) / PAGE_SIZE
1313 pd->current_sector = zone + pd->settings.size;
1315 BUG_ON(pkt->frames != pd->settings.size >> 2);
1659 printk(DRIVER_NAME": %s packets, ", pd->settings.fp ? "Fixed" : "Variable");
1660 printk("%u blocks, ", pd->settings.size >> 2);
1661 printk("Mode-%c disc\n", pd->settings.block_mode == 8 ? '1' : '2');
1777 * write mode select package based on pd->settings
[all...]
/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/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/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...]
/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/ide/
H A Dide-proc.c11 * Drive/Driver settings can be retrieved by reading the drive's
12 * "settings" files. e.g. "cat /proc/ide0/hda/settings"
14 * echo "name:val" >/proc/ide/ide0/hda/settings
218 * to the driver to change settings, and then wait on a sema for completion.
277 printk_once(KERN_WARNING "Warning: /proc/ide/hd?/settings interface is "
292 d = drive->settings;
296 /* read settings in the alphabetical order */
372 * then do another to actually write the new settings.
409 /* generic settings firs
[all...]

Completed in 652 milliseconds

12