Home
last modified time | relevance | path

Searched refs:control (Results 1 – 200 of 1768) sorted by relevance

123456789

/linux-4.1.27/include/sound/
Dseq_midi_emul.h49 unsigned char control[128]; /* Current value of all controls */ member
87 void (*control)(void *private_data, int type, struct snd_midi_channel *chan); member
108 #define gm_bank_select control[0]
109 #define gm_modulation control[1]
110 #define gm_breath control[2]
111 #define gm_foot_pedal control[4]
112 #define gm_portamento_time control[5]
113 #define gm_data_entry control[6]
114 #define gm_volume control[7]
115 #define gm_balance control[8]
[all …]
/linux-4.1.27/arch/powerpc/boot/
Dmv64x60_i2c.c75 static int mv64x60_i2c_control(int control, int status) in mv64x60_i2c_control() argument
77 out_le32((u32 *)(ctlr_base + MV64x60_I2C_REG_CONTROL), control & 0xff); in mv64x60_i2c_control()
81 static int mv64x60_i2c_read_byte(int control, int status) in mv64x60_i2c_read_byte() argument
83 out_le32((u32 *)(ctlr_base + MV64x60_I2C_REG_CONTROL), control & 0xff); in mv64x60_i2c_read_byte()
89 static int mv64x60_i2c_write_byte(int data, int control, int status) in mv64x60_i2c_write_byte() argument
92 out_le32((u32 *)(ctlr_base + MV64x60_I2C_REG_CONTROL), control & 0xff); in mv64x60_i2c_write_byte()
101 int control; in mv64x60_i2c_read() local
118 control = MV64x60_I2C_CONTROL_START | MV64x60_I2C_CONTROL_TWSIEN; in mv64x60_i2c_read()
120 if (mv64x60_i2c_control(control, status) < 0) in mv64x60_i2c_read()
125 control = MV64x60_I2C_CONTROL_TWSIEN; in mv64x60_i2c_read()
[all …]
/linux-4.1.27/sound/core/seq/
Dseq_midi_emul.c53 int control, int value);
149 ev->data.control.param, ev->data.control.value); in snd_midi_process_event()
152 chan->midi_program = ev->data.control.value; in snd_midi_process_event()
155 chan->midi_pitchbend = ev->data.control.value; in snd_midi_process_event()
156 if (ops->control) in snd_midi_process_event()
157 ops->control(drv, MIDI_CTL_PITCHBEND, chan); in snd_midi_process_event()
160 chan->midi_pressure = ev->data.control.value; in snd_midi_process_event()
161 if (ops->control) in snd_midi_process_event()
162 ops->control(drv, MIDI_CTL_CHAN_PRESSURE, chan); in snd_midi_process_event()
166 if (ev->data.control.param < 32) { in snd_midi_process_event()
[all …]
Dseq_midi_event.c322 ev->data.control.channel = dev->buf[0] & 0x0f; in one_param_ctrl_event()
323 ev->data.control.value = dev->buf[1]; in one_param_ctrl_event()
329 ev->data.control.channel = dev->buf[0] & 0x0f; in pitchbend_ctrl_event()
330 ev->data.control.value = (int)dev->buf[2] * 128 + (int)dev->buf[1] - 8192; in pitchbend_ctrl_event()
336 ev->data.control.channel = dev->buf[0] & 0x0f; in two_param_ctrl_event()
337 ev->data.control.param = dev->buf[1]; in two_param_ctrl_event()
338 ev->data.control.value = dev->buf[2]; in two_param_ctrl_event()
344 ev->data.control.value = dev->buf[1]; in one_param_event()
350 ev->data.control.value = (int)dev->buf[2] * 128 + (int)dev->buf[1]; in songpos_event()
423 buf[0] = ev->data.control.value & 0x7f; in one_param_decode()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/net/
Dmicrel-ksz90x1.txt13 All skew control options are specified in picoseconds. The minimum
19 - rxc-skew-ps : Skew control of RXC pad
20 - rxdv-skew-ps : Skew control of RX CTL pad
21 - txc-skew-ps : Skew control of TXC pad
22 - txen-skew-ps : Skew control of TX CTL pad
23 - rxd0-skew-ps : Skew control of RX data 0 pad
24 - rxd1-skew-ps : Skew control of RX data 1 pad
25 - rxd2-skew-ps : Skew control of RX data 2 pad
26 - rxd3-skew-ps : Skew control of RX data 3 pad
27 - txd0-skew-ps : Skew control of TX data 0 pad
[all …]
Ddavinci_emac.txt10 - ti,davinci-ctrl-reg-offset: offset to control register
11 - ti,davinci-ctrl-mod-reg-offset: offset to control module register
12 - ti,davinci-ctrl-ram-offset: offset to control module ram
13 - ti,davinci-ctrl-ram-size: size of control module ram
Dmdio-mux-mmioreg.txt4 like an FPGA, is used to control which child bus is connected. The mdio-mux
17 bits in the register control the actual bus multiplexer. The
26 BRDCFG1 that control the actual mux.
29 fpga: board-control@3,0 {
/linux-4.1.27/drivers/tty/vt/
Ddefkeymap.map6 # altgr control keycode 83 = Boot
7 # altgr control keycode 111 = Boot
19 control keycode 3 = nul
20 shift control keycode 3 = nul
23 control keycode 4 = Escape
26 control keycode 5 = Control_backslash
29 control keycode 6 = Control_bracketright
32 control keycode 7 = Control_asciicircum
35 control keycode 8 = Control_underscore
38 control keycode 9 = Delete
[all …]
/linux-4.1.27/arch/arm/mach-rpc/include/mach/
Dacornfb.h98 case 1: vidc->control |= VIDC20_CTRL_PIX_CK; break; in acornfb_vidc20_find_rates()
99 case 2: vidc->control |= VIDC20_CTRL_PIX_CK2; break; in acornfb_vidc20_find_rates()
100 case 3: vidc->control |= VIDC20_CTRL_PIX_CK3; break; in acornfb_vidc20_find_rates()
101 case 4: vidc->control |= VIDC20_CTRL_PIX_CK4; break; in acornfb_vidc20_find_rates()
102 case 5: vidc->control |= VIDC20_CTRL_PIX_CK5; break; in acornfb_vidc20_find_rates()
103 case 6: vidc->control |= VIDC20_CTRL_PIX_CK6; break; in acornfb_vidc20_find_rates()
104 case 7: vidc->control |= VIDC20_CTRL_PIX_CK7; break; in acornfb_vidc20_find_rates()
105 case 8: vidc->control |= VIDC20_CTRL_PIX_CK8; break; in acornfb_vidc20_find_rates()
118 vidc->control |= VIDC20_CTRL_FIFO_24; in acornfb_vidc20_find_rates()
120 vidc->control |= VIDC20_CTRL_FIFO_28; in acornfb_vidc20_find_rates()
[all …]
/linux-4.1.27/drivers/s390/char/
Ddefkeymap.map134 control keycode 74 = F22
135 control keycode 75 = F23
136 control keycode 76 = F24
137 control keycode 107 = Control_z # PA3
138 control keycode 108 = Control_c # PA1
139 control keycode 109 = KeyboardSignal # Clear
140 control keycode 110 = Control_d # PA2
141 control keycode 122 = F10
142 control keycode 123 = F11 # F11
143 control keycode 124 = Last_Console # F12
[all …]
/linux-4.1.27/drivers/net/irda/
Dact200l-sir.c139 u8 control[3]; in act200l_change_speed() local
150 control[0] = ACT200L_REG8 | (ACT200L_9600 & 0x0f); in act200l_change_speed()
151 control[1] = ACT200L_REG9 | ((ACT200L_9600 >> 4) & 0x0f); in act200l_change_speed()
154 control[0] = ACT200L_REG8 | (ACT200L_19200 & 0x0f); in act200l_change_speed()
155 control[1] = ACT200L_REG9 | ((ACT200L_19200 >> 4) & 0x0f); in act200l_change_speed()
158 control[0] = ACT200L_REG8 | (ACT200L_38400 & 0x0f); in act200l_change_speed()
159 control[1] = ACT200L_REG9 | ((ACT200L_38400 >> 4) & 0x0f); in act200l_change_speed()
162 control[0] = ACT200L_REG8 | (ACT200L_57600 & 0x0f); in act200l_change_speed()
163 control[1] = ACT200L_REG9 | ((ACT200L_57600 >> 4) & 0x0f); in act200l_change_speed()
166 control[0] = ACT200L_REG8 | (ACT200L_115200 & 0x0f); in act200l_change_speed()
[all …]
Dgirbil-sir.c122 u8 control[2]; in girbil_change_speed() local
142 control[0] = GIRBIL_9600; in girbil_change_speed()
145 control[0] = GIRBIL_19200; in girbil_change_speed()
148 control[0] = GIRBIL_38400; in girbil_change_speed()
151 control[0] = GIRBIL_57600; in girbil_change_speed()
154 control[0] = GIRBIL_115200; in girbil_change_speed()
157 control[1] = GIRBIL_LOAD; in girbil_change_speed()
160 sirdev_raw_write(dev, control, 2); in girbil_change_speed()
204 u8 control = GIRBIL_TXEN | GIRBIL_RXEN; in girbil_reset() local
225 sirdev_raw_write(dev, &control, 1); in girbil_reset()
Dmcp2120-sir.c98 u8 control[2]; in mcp2120_change_speed() local
114 control[0] = MCP2120_9600; in mcp2120_change_speed()
118 control[0] = MCP2120_19200; in mcp2120_change_speed()
122 control[0] = MCP2120_38400; in mcp2120_change_speed()
126 control[0] = MCP2120_57600; in mcp2120_change_speed()
130 control[0] = MCP2120_115200; in mcp2120_change_speed()
134 control[1] = MCP2120_COMMIT; in mcp2120_change_speed()
137 sirdev_raw_write(dev, control, 2); in mcp2120_change_speed()
Ddonauboe.c279 printk (" (%d,%02x)",self->ring->rx[i].len,self->ring->rx[i].control); in toshoboe_dumpregs()
283 printk (" (%d,%02x)",self->ring->tx[i].len,self->ring->tx[i].control); in toshoboe_dumpregs()
491 self->ring->tx[i].control = 0x00; in toshoboe_initring()
500 self->ring->rx[i].control = OBOE_CTL_RX_HW_OWNS; in toshoboe_initring()
654 PROBE_DEBUG(" (%d,%02x)",self->ring->tx[i].len,self->ring->tx[i].control); in toshoboe_dumptx()
664 PROBE_DEBUG(" (%d,%02x)",self->ring->rx[i].len,self->ring->rx[i].control); in toshoboe_dumprx()
712 if (self->ring->tx[txp].control & OBOE_CTL_TX_HW_OWNS) in toshoboe_probeinterrupt()
787 if ((self->ring->rx[i].control & 0xe0) == 0) in toshoboe_numvalidrcvs()
798 if (!(self->ring->rx[i].control & OBOE_CTL_RX_HW_OWNS)) in toshoboe_numrcvs()
840 self->ring->tx[self->txs].control = in toshoboe_probe()
[all …]
/linux-4.1.27/Documentation/video4linux/
Duvcvideo.txt25 control enumeration.
37 control mappings at runtime. These allow for individual XU controls or byte
41 triggers a read or write of the associated XU control.
43 The ioctl used to create these control mappings is called UVCIOC_CTRL_MAP.
45 beforehand (UVCIOC_CTRL_ADD) to pass XU control information to the UVC driver.
53 3. Driver specific XU control interface
61 directly map to the low-level UVC control requests.
63 In order to make such a request the UVC unit ID of the control's extension unit
64 and the control selector need to be known. This information either needs to be
69 Unless the control size is already known it is necessary to first make a
[all …]
Dv4l2-controls.txt4 The V4L2 control API seems simple enough, but quickly becomes very hard to
10 1) How do I add a control?
11 2) How do I set the control's value? (i.e. s_ctrl)
15 3) How do I get the control's value? (i.e. g_volatile_ctrl)
16 4) How do I validate the user's proposed control value? (i.e. try_ctrl)
20 The control framework was created in order to implement all the rules of the
24 Note that the control framework relies on the presence of a struct v4l2_device
33 The v4l2_ctrl object describes the control properties and keeps track of the
34 control's value (both the current value and the proposed new value).
64 1.3) Hook the control handler into the driver:
[all …]
/linux-4.1.27/arch/arm/boot/dts/
Dk2hk-clocks.dtsi18 reg-names = "control";
26 reg-names = "control", "multiplier", "post-divider";
35 reg-names = "control";
44 reg-names = "control";
53 reg-names = "control";
62 reg-names = "control", "domain";
72 reg-names = "control", "domain";
82 reg-names = "control", "domain";
92 reg-names = "control", "domain";
102 reg-names = "control", "domain";
[all …]
Dk2l-clocks.dtsi18 reg-names = "control";
26 reg-names = "control", "multiplier", "post-divider";
35 reg-names = "control";
44 reg-names = "control";
52 reg-names = "control", "domain";
63 reg-names = "control", "domain";
73 reg-names = "control", "domain";
83 reg-names = "control", "domain";
93 reg-names = "control", "domain";
103 reg-names = "control", "domain";
[all …]
Dkeystone-clocks.dtsi169 reg-names = "control", "domain";
180 reg-names = "control", "domain";
190 reg-names = "control", "domain";
201 reg-names = "control", "domain";
211 reg-names = "control", "domain";
221 reg-names = "control", "domain";
231 reg-names = "control", "domain";
241 reg-names = "control", "domain";
251 reg-names = "control", "domain";
261 reg-names = "control", "domain";
[all …]
Dk2e-clocks.dtsi17 reg-names = "control", "multiplier", "post-divider";
26 reg-names = "control";
35 reg-names = "control";
44 reg-names = "control", "domain";
54 reg-names = "control", "domain";
64 reg-names = "control", "domain";
74 reg-names = "control", "domain";
/linux-4.1.27/drivers/staging/iio/frequency/
Dad9834.c91 if (st->control & AD9834_MODE) { in ad9834_write()
97 st->control |= AD9834_OPBITEN; in ad9834_write()
99 st->control &= ~AD9834_OPBITEN; in ad9834_write()
101 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_write()
106 st->control |= AD9834_PIN_SW; in ad9834_write()
108 st->control &= ~AD9834_PIN_SW; in ad9834_write()
109 st->data = cpu_to_be16(AD9834_REG_CMD | st->control); in ad9834_write()
115 st->control &= ~(this_attr->address | AD9834_PIN_SW); in ad9834_write()
117 st->control |= this_attr->address; in ad9834_write()
118 st->control &= ~AD9834_PIN_SW; in ad9834_write()
[all …]
/linux-4.1.27/arch/x86/kvm/
Dsvm.c235 vmcb->control.clean = 0; in mark_all_dirty()
240 vmcb->control.clean = ((1 << VMCB_DIRTY_MAX) - 1) in mark_all_clean()
246 vmcb->control.clean &= ~(1 << bit); in mark_dirty()
264 c = &svm->vmcb->control; in recalc_intercepts()
265 h = &svm->nested.hsave->control; in recalc_intercepts()
286 vmcb->control.intercept_cr |= (1U << bit); in set_cr_intercept()
295 vmcb->control.intercept_cr &= ~(1U << bit); in clr_cr_intercept()
304 return vmcb->control.intercept_cr & (1U << bit); in is_cr_intercept()
311 vmcb->control.intercept_dr = (1 << INTERCEPT_DR0_READ) in set_dr_intercepts()
335 vmcb->control.intercept_dr = 0; in clr_dr_intercepts()
[all …]
/linux-4.1.27/drivers/thermal/
Darmada_thermal.c49 void __iomem *control; member
78 reg = readl_relaxed(priv->control); in armadaxp_init_sensor()
80 writel(reg, priv->control); in armadaxp_init_sensor()
85 writel(reg, priv->control); in armadaxp_init_sensor()
88 reg = readl_relaxed(priv->control); in armadaxp_init_sensor()
89 writel((reg | PMU_TDC0_SW_RST_MASK), priv->control); in armadaxp_init_sensor()
91 writel(reg, priv->control); in armadaxp_init_sensor()
104 reg = readl_relaxed(priv->control); in armada370_init_sensor()
106 writel(reg, priv->control); in armada370_init_sensor()
111 writel(reg, priv->control); in armada370_init_sensor()
[all …]
Ddove_thermal.c48 void __iomem *control; member
57 reg = readl_relaxed(priv->control); in dove_init_sensor()
70 writel(reg, priv->control); in dove_init_sensor()
73 reg = readl_relaxed(priv->control); in dove_init_sensor()
74 writel((reg | PMU_TDC0_SW_RST_MASK), priv->control); in dove_init_sensor()
75 writel(reg, priv->control); in dove_init_sensor()
102 reg = readl_relaxed(priv->control + PMU_TEMP_DIOD_CTRL1_REG); in dove_get_temp()
147 priv->control = devm_ioremap_resource(&pdev->dev, res); in dove_thermal_probe()
148 if (IS_ERR(priv->control)) in dove_thermal_probe()
149 return PTR_ERR(priv->control); in dove_thermal_probe()
/linux-4.1.27/drivers/pci/
Dats.c191 u16 control, status; in pci_enable_pri() local
199 pci_read_config_word(pdev, pos + PCI_PRI_CTRL, &control); in pci_enable_pri()
201 if ((control & PCI_PRI_CTRL_ENABLE) || in pci_enable_pri()
209 control |= PCI_PRI_CTRL_ENABLE; in pci_enable_pri()
210 pci_write_config_word(pdev, pos + PCI_PRI_CTRL, control); in pci_enable_pri()
224 u16 control; in pci_disable_pri() local
231 pci_read_config_word(pdev, pos + PCI_PRI_CTRL, &control); in pci_disable_pri()
232 control &= ~PCI_PRI_CTRL_ENABLE; in pci_disable_pri()
233 pci_write_config_word(pdev, pos + PCI_PRI_CTRL, control); in pci_disable_pri()
246 u16 control; in pci_reset_pri() local
[all …]
Dmsi.c190 u16 control; in msi_set_enable() local
192 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in msi_set_enable()
193 control &= ~PCI_MSI_FLAGS_ENABLE; in msi_set_enable()
195 control |= PCI_MSI_FLAGS_ENABLE; in msi_set_enable()
196 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in msi_set_enable()
446 u16 control; in __pci_restore_msi_state() local
458 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in __pci_restore_msi_state()
461 control &= ~PCI_MSI_FLAGS_QSIZE; in __pci_restore_msi_state()
462 control |= (entry->msi_attrib.multiple << 4) | PCI_MSI_FLAGS_ENABLE; in __pci_restore_msi_state()
463 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in __pci_restore_msi_state()
[all …]
/linux-4.1.27/drivers/rtc/
Drtc-ds3232.c71 int control, stat; in ds3232_check_rtc_status() local
93 control = i2c_smbus_read_byte_data(client, DS3232_REG_CR); in ds3232_check_rtc_status()
94 if (control < 0) in ds3232_check_rtc_status()
95 return control; in ds3232_check_rtc_status()
97 control &= ~(DS3232_REG_CR_A1IE | DS3232_REG_CR_A2IE); in ds3232_check_rtc_status()
98 control |= DS3232_REG_CR_INTCN; in ds3232_check_rtc_status()
100 return i2c_smbus_write_byte_data(client, DS3232_REG_CR, control); in ds3232_check_rtc_status()
195 int control, stat; in ds3232_read_alarm() local
208 control = ret; in ds3232_read_alarm()
224 alarm->enabled = !!(control & DS3232_REG_CR_A1IE); in ds3232_read_alarm()
[all …]
Drtc-m48t35.c29 u8 control; member
53 u8 control; in m48t35_read_time() local
62 control = readb(&priv->reg->control); in m48t35_read_time()
63 writeb(control | M48T35_RTC_READ, &priv->reg->control); in m48t35_read_time()
70 writeb(control, &priv->reg->control); in m48t35_read_time()
97 u8 control; in m48t35_set_time() local
127 control = readb(&priv->reg->control); in m48t35_set_time()
128 writeb(control | M48T35_RTC_SET, &priv->reg->control); in m48t35_set_time()
135 writeb(control, &priv->reg->control); in m48t35_set_time()
Drtc-ds1672.c138 u8 control; in show_control() local
141 err = ds1672_get_control(client, &control); in show_control()
145 return sprintf(buf, "%s\n", (control & DS1672_REG_CONTROL_EOSC) in show_control()
149 static DEVICE_ATTR(control, S_IRUGO, show_control, NULL);
160 u8 control; in ds1672_probe() local
179 err = ds1672_get_control(client, &control); in ds1672_probe()
184 if (control & DS1672_REG_CONTROL_EOSC) in ds1672_probe()
Drtc-ds1374.c132 int control, stat; in ds1374_check_rtc_status() local
153 control = i2c_smbus_read_byte_data(client, DS1374_REG_CR); in ds1374_check_rtc_status()
154 if (control < 0) in ds1374_check_rtc_status()
155 return control; in ds1374_check_rtc_status()
157 control &= ~(DS1374_REG_CR_WACE | DS1374_REG_CR_AIE); in ds1374_check_rtc_status()
158 return i2c_smbus_write_byte_data(client, DS1374_REG_CR, control); in ds1374_check_rtc_status()
301 int stat, control; in ds1374_work() local
313 control = i2c_smbus_read_byte_data(client, DS1374_REG_CR); in ds1374_work()
314 if (control < 0) in ds1374_work()
317 control &= ~(DS1374_REG_CR_WACE | DS1374_REG_CR_AIE); in ds1374_work()
[all …]
Drtc-ds1343.c452 unsigned int control, stat; in ds1343_update_alarm() local
456 res = regmap_read(priv->map, DS1343_CONTROL_REG, &control); in ds1343_update_alarm()
464 control &= ~(DS1343_A0IE); in ds1343_update_alarm()
467 res = regmap_write(priv->map, DS1343_CONTROL_REG, control); in ds1343_update_alarm()
489 control |= DS1343_A0IE; in ds1343_update_alarm()
490 res = regmap_write(priv->map, DS1343_CONTROL_REG, control); in ds1343_update_alarm()
580 unsigned int stat, control; in ds1343_thread() local
593 res = regmap_read(priv->map, DS1343_CONTROL_REG, &control); in ds1343_thread()
597 control &= ~DS1343_A0IE; in ds1343_thread()
598 regmap_write(priv->map, DS1343_CONTROL_REG, control); in ds1343_thread()
/linux-4.1.27/drivers/ata/
Dpata_oldpiix.c69 int control = 0; in oldpiix_set_piomode() local
85 control |= 1; /* TIME */ in oldpiix_set_piomode()
87 control |= 2; /* IE */ in oldpiix_set_piomode()
91 control |= 4; /* PPE */ in oldpiix_set_piomode()
101 idetm_data |= control; in oldpiix_set_piomode()
104 idetm_data |= (control << 4); in oldpiix_set_piomode()
145 unsigned int control; in oldpiix_set_dmamode() local
153 control = 3; /* IORDY|TIME0 */ in oldpiix_set_dmamode()
156 control |= 4; /* PPE enable */ in oldpiix_set_dmamode()
163 control |= 8; /* PIO cycles in PIO0 */ in oldpiix_set_dmamode()
[all …]
Dpata_efar.c91 int control = 0; in efar_set_piomode() local
106 control |= 1; /* TIME */ in efar_set_piomode()
108 control |= 2; /* IE */ in efar_set_piomode()
111 control |= 4; /* PPE */ in efar_set_piomode()
120 master_data |= control; in efar_set_piomode()
128 master_data |= (control << 4); in efar_set_piomode()
197 unsigned int control; in efar_set_dmamode() local
204 control = 3; /* IORDY|TIME1 */ in efar_set_dmamode()
211 control |= 8; /* PIO cycles in PIO0 */ in efar_set_dmamode()
215 master_data |= control << 4; in efar_set_dmamode()
[all …]
Dpata_it8213.c80 int control = 0; in it8213_set_piomode() local
95 control |= 1; /* TIME */ in it8213_set_piomode()
97 control |= 2; /* IE */ in it8213_set_piomode()
100 control |= 4; /* PPE */ in it8213_set_piomode()
107 master_data |= control; in it8213_set_piomode()
114 master_data |= (control << 4); in it8213_set_piomode()
192 unsigned int control; in it8213_set_dmamode() local
199 control = 3; /* IORDY|TIME1 */ in it8213_set_dmamode()
206 control |= 8; /* PIO cycles in PIO0 */ in it8213_set_dmamode()
210 master_data |= control << 4; in it8213_set_dmamode()
[all …]
Dpata_jmicron.c45 u32 control; in jmicron_pre_reset() local
52 pci_read_config_dword(pdev, 0x40, &control); in jmicron_pre_reset()
53 if ((control & port_mask) == 0) in jmicron_pre_reset()
59 if (control & (1 << 23)) { in jmicron_pre_reset()
74 if (control & (1 << 22)) in jmicron_pre_reset()
84 if ((control & (1 << 5)) == 0) in jmicron_pre_reset()
86 if (control & (1 << 3)) /* 40/80 pin primary */ in jmicron_pre_reset()
Dpata_rdc.c112 int control = 0; in rdc_set_piomode() local
122 control |= 1; /* TIME1 enable */ in rdc_set_piomode()
124 control |= 2; /* IE enable */ in rdc_set_piomode()
127 control |= 4; /* PPE enable */ in rdc_set_piomode()
142 master_data |= (control << 4); in rdc_set_piomode()
152 master_data |= control; in rdc_set_piomode()
246 unsigned int control; in rdc_set_dmamode() local
253 control = 3; /* IORDY|TIME1 */ in rdc_set_dmamode()
260 control |= 8; /* PIO cycles in PIO0 */ in rdc_set_dmamode()
264 master_data |= control << 4; in rdc_set_dmamode()
[all …]
Dpata_radisys.c44 int control = 0; in radisys_set_piomode() local
61 control |= 1; /* TIME1 enable */ in radisys_set_piomode()
63 control |= 2; /* IE IORDY */ in radisys_set_piomode()
70 idetm_data |= (control << (4 * adev->devno)); in radisys_set_piomode()
117 int control = 3; /* IORDY|TIME0 */ in radisys_set_dmamode() local
123 control = 1; in radisys_set_dmamode()
129 idetm_data |= control << (4 * adev->devno); in radisys_set_dmamode()
Dpata_mpiix.c77 int control = 0; in mpiix_set_piomode() local
92 control |= PPE; /* Enable prefetch/posting for disk */ in mpiix_set_piomode()
94 control |= IORDY; in mpiix_set_piomode()
96 control |= FTIM; /* This drive is on the fast timing bank */ in mpiix_set_piomode()
101 idetim |= control << (4 * adev->devno); in mpiix_set_piomode()
/linux-4.1.27/drivers/dma/
Dep93xx_dma.c307 static void m2p_set_control(struct ep93xx_dma_chan *edmac, u32 control) in m2p_set_control() argument
309 writel(control, edmac->regs + M2P_CONTROL); in m2p_set_control()
320 u32 control; in m2p_hw_setup() local
324 control = M2P_CONTROL_CH_ERROR_INT | M2P_CONTROL_ICE in m2p_hw_setup()
326 m2p_set_control(edmac, control); in m2p_hw_setup()
338 u32 control; in m2p_hw_shutdown() local
340 control = readl(edmac->regs + M2P_CONTROL); in m2p_hw_shutdown()
341 control &= ~(M2P_CONTROL_STALLINT | M2P_CONTROL_NFBINT); in m2p_hw_shutdown()
342 m2p_set_control(edmac, control); in m2p_hw_shutdown()
382 u32 control = readl(edmac->regs + M2P_CONTROL); in m2p_hw_submit() local
[all …]
Dcoh901318_lli.c156 lli->control = ctrl_chained | MAX_DMA_PACKET_SIZE; in coh901318_lli_fill_memcpy()
167 lli->control = ctrl_eom | s; in coh901318_lli_fill_memcpy()
200 lli->control = ctrl_chained | MAX_DMA_PACKET_SIZE; in coh901318_lli_fill_single()
223 lli->control = ctrl_eom | s; in coh901318_lli_fill_single()
291 lli->control = val | elem_size; in coh901318_lli_fill_sg()
/linux-4.1.27/include/net/irda/
Dirlap_frame.h85 __u8 control; member
90 __u8 control; member
101 __u8 control; member
108 __u8 control; member
115 __u8 control; member
120 __u8 control; member
125 __u8 control; member
130 __u8 control; member
135 __u8 control; member
/linux-4.1.27/arch/sparc/kernel/
Dpsycho_common.c37 u64 control; in psycho_check_stc_error() local
57 control = upa_readq(strbuf->strbuf_control); in psycho_check_stc_error()
58 upa_writeq(control | PSYCHO_STRBUF_CTRL_DENAB, strbuf->strbuf_control); in psycho_check_stc_error()
74 upa_writeq(control, strbuf->strbuf_control); in psycho_check_stc_error()
205 u64 control, iommu_tag[16], iommu_data[16]; in psycho_check_iommu_error() local
210 control = upa_readq(iommu->iommu_control); in psycho_check_iommu_error()
211 if (control & PSYCHO_IOMMU_CTRL_XLTEERR) { in psycho_check_iommu_error()
214 control &= ~PSYCHO_IOMMU_CTRL_XLTEERR; in psycho_check_iommu_error()
215 upa_writeq(control, iommu->iommu_control); in psycho_check_iommu_error()
217 switch ((control & PSYCHO_IOMMU_CTRL_XLTESTAT) >> 25UL) { in psycho_check_iommu_error()
[all …]
Dpci_schizo.c132 u64 control; in __schizo_check_stc_error_pbm() local
150 control = upa_readq(strbuf->strbuf_control); in __schizo_check_stc_error_pbm()
151 upa_writeq((control | SCHIZO_STRBUF_CTRL_DENAB), in __schizo_check_stc_error_pbm()
168 upa_writeq(control, strbuf->strbuf_control); in __schizo_check_stc_error_pbm()
241 u64 control; in schizo_check_iommu_error_pbm() local
245 control = upa_readq(iommu->iommu_control); in schizo_check_iommu_error_pbm()
246 if (control & SCHIZO_IOMMU_CTRL_XLTEERR) { in schizo_check_iommu_error_pbm()
251 control &= ~SCHIZO_IOMMU_CTRL_XLTEERR; in schizo_check_iommu_error_pbm()
252 upa_writeq(control, iommu->iommu_control); in schizo_check_iommu_error_pbm()
254 switch((control & SCHIZO_IOMMU_CTRL_XLTESTAT) >> 25UL) { in schizo_check_iommu_error_pbm()
[all …]
Dsbus.c497 u64 control; in sysio_register_error_handlers() local
532 control = upa_readq(iommu->write_complete_reg); in sysio_register_error_handlers()
533 control |= 0x100UL; /* SBUS Error Interrupt Enable */ in sysio_register_error_handlers()
534 upa_writeq(control, iommu->write_complete_reg); in sysio_register_error_handlers()
546 u64 control; in sbus_iommu_init() local
599 control = upa_readq(iommu->iommu_control); in sbus_iommu_init()
600 control = ((7UL << 16UL) | in sbus_iommu_init()
604 upa_writeq(control, iommu->iommu_control); in sbus_iommu_init()
626 control = (1UL << 1UL) | (1UL << 0UL); in sbus_iommu_init()
627 upa_writeq(control, strbuf->strbuf_control); in sbus_iommu_init()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Dmarvell,berlin.txt27 * Marvell Berlin CPU control bindings
29 CPU control register allows various operations on CPUs, like resetting them
43 * Marvell Berlin2 chip control binding
45 Marvell Berlin SoCs have a chip control register set providing several
48 chip control registers, so there should be a single DT node only providing the
57 BG2/BG2CD: chip control register set
58 BG2Q: chip control register set and cpu pll registers
60 * Marvell Berlin2 system control binding
62 Marvell Berlin SoCs have a system control register set providing several
70 - reg: address and length of the system control register set
[all …]
Dcci.txt10 clusters, through memory mapped interface, with a global control register
11 space and multiple sets of interface control registers, one per slave
42 address of CCI control registers common to all
58 - CCI control interface nodes
63 A CCI control interface node must contain the following
135 - cci-control-port:
138 Definition: a phandle containing the CCI control interface node
150 cci-control-port = <&cci_control1>;
157 cci-control-port = <&cci_control1>;
164 cci-control-port = <&cci_control2>;
[all …]
Dversatile-sysreg.txt4 This is a system control registers block, providing multiple low level
6 interrupt generation, MMC and NOR Flash control etc.
/linux-4.1.27/net/bluetooth/
Dl2cap_core.c63 static void l2cap_tx(struct l2cap_chan *chan, struct l2cap_ctrl *control,
904 static void __unpack_enhanced_control(u16 enh, struct l2cap_ctrl *control) in __unpack_enhanced_control() argument
906 control->reqseq = (enh & L2CAP_CTRL_REQSEQ) >> L2CAP_CTRL_REQSEQ_SHIFT; in __unpack_enhanced_control()
907 control->final = (enh & L2CAP_CTRL_FINAL) >> L2CAP_CTRL_FINAL_SHIFT; in __unpack_enhanced_control()
911 control->sframe = 1; in __unpack_enhanced_control()
912 control->poll = (enh & L2CAP_CTRL_POLL) >> L2CAP_CTRL_POLL_SHIFT; in __unpack_enhanced_control()
913 control->super = (enh & L2CAP_CTRL_SUPERVISE) >> L2CAP_CTRL_SUPER_SHIFT; in __unpack_enhanced_control()
915 control->sar = 0; in __unpack_enhanced_control()
916 control->txseq = 0; in __unpack_enhanced_control()
919 control->sframe = 0; in __unpack_enhanced_control()
[all …]
/linux-4.1.27/arch/mips/oprofile/
Dop_model_mipsxx.c144 unsigned int control[4]; member
157 reg.control[i] = 0; in mipsxx_reg_setup()
163 reg.control[i] = M_PERFCTL_EVENT(ctr[i].event) | in mipsxx_reg_setup()
166 reg.control[i] |= M_PERFCTL_KERNEL; in mipsxx_reg_setup()
168 reg.control[i] |= M_PERFCTL_USER; in mipsxx_reg_setup()
170 reg.control[i] |= M_PERFCTL_EXL; in mipsxx_reg_setup()
172 reg.control[i] |= M_PERFCTL_COUNT_ALL_THREADS; in mipsxx_reg_setup()
212 w_c0_perfctrl3(WHAT | reg.control[3]); in mipsxx_cpu_start()
214 w_c0_perfctrl2(WHAT | reg.control[2]); in mipsxx_cpu_start()
216 w_c0_perfctrl1(WHAT | reg.control[1]); in mipsxx_cpu_start()
[all …]
/linux-4.1.27/sound/aoa/soundbus/i2sbus/
Dcore.c86 i2sbus_control_remove_dev(i2sdev->control, i2sdev); in i2sbus_release_dev()
153 struct i2sbus_control *control, in i2sbus_add_dev() argument
230 dev->control = control; in i2sbus_add_dev()
298 if (i2sbus_control_add_dev(dev->control, dev)) { in i2sbus_add_dev()
309 i2sbus_control_cell(dev->control, dev, 1); in i2sbus_add_dev()
310 i2sbus_control_enable(dev->control, dev); in i2sbus_add_dev()
311 i2sbus_control_clock(dev->control, dev, 1); in i2sbus_add_dev()
334 struct i2sbus_control *control = NULL; in i2sbus_probe() local
336 err = i2sbus_control_init(dev, &control); in i2sbus_probe()
339 if (!control) { in i2sbus_probe()
[all …]
/linux-4.1.27/drivers/net/usb/
Dcdc_ether.c73 struct usb_interface *intf = info->control; in usbnet_cdc_update_filter()
157 info->control = intf; in usbnet_generic_cdc_bind()
215 info->control = usb_ifnum_to_if(dev->udev, in usbnet_generic_cdc_bind()
219 if (!info->control || !info->data) { in usbnet_generic_cdc_bind()
223 info->control, in usbnet_generic_cdc_bind()
233 if (info->control != intf) { in usbnet_generic_cdc_bind()
239 info->data = info->control; in usbnet_generic_cdc_bind()
240 info->control = intf; in usbnet_generic_cdc_bind()
246 if (info->control == info->data) in usbnet_generic_cdc_bind()
317 info->control = usb_ifnum_to_if(dev->udev, 0); in usbnet_generic_cdc_bind()
[all …]
Dqmi_wwan.c52 struct usb_interface *control; member
195 if (info->control != info->data) in qmi_wwan_register_subdriver()
196 dev->status = &info->control->cur_altsetting->endpoint[0]; in qmi_wwan_register_subdriver()
208 subdriver = usb_cdc_wdm_register(info->control, &dev->status->desc, in qmi_wwan_register_subdriver()
211 dev_err(&info->control->dev, "subdriver registration failed\n"); in qmi_wwan_register_subdriver()
242 info->control = intf; in qmi_wwan_bind()
325 if (info->control != info->data) { in qmi_wwan_bind()
332 if (status < 0 && info->control != info->data) { in qmi_wwan_bind()
362 info->subdriver->disconnect(info->control); in qmi_wwan_unbind()
365 if (intf == info->control) in qmi_wwan_unbind()
[all …]
Dhuawei_cdc_ncm.c37 struct usb_interface *control; member
91 subdriver = usb_cdc_wdm_register(ctx->control, in huawei_cdc_ncm_bind()
117 drvstate->subdriver->disconnect(ctx->control); in huawei_cdc_ncm_unbind()
140 if (intf == ctx->control && in huawei_cdc_ncm_suspend()
161 (intf == ctx->control && in huawei_cdc_ncm_resume()
/linux-4.1.27/drivers/net/wireless/ti/wl1251/
Dtx.c84 struct ieee80211_tx_info *control, u16 fc) in wl1251_tx_control() argument
86 *(u16 *)&tx_hdr->control = 0; in wl1251_tx_control()
88 tx_hdr->control.rate_policy = 0; in wl1251_tx_control()
91 tx_hdr->control.packet_type = 0; in wl1251_tx_control()
94 if ((control->flags & IEEE80211_TX_CTL_NO_ACK) || in wl1251_tx_control()
95 (control->flags & IEEE80211_TX_CTL_INJECTED)) { in wl1251_tx_control()
96 tx_hdr->control.rate_policy = 1; in wl1251_tx_control()
97 tx_hdr->control.ack_policy = 1; in wl1251_tx_control()
100 tx_hdr->control.tx_complete = 1; in wl1251_tx_control()
105 tx_hdr->control.qos = 1; in wl1251_tx_control()
[all …]
/linux-4.1.27/drivers/hwmon/
Dpcf8591.c83 u8 control; member
131 i2c_smbus_write_byte_data(client, data->control, data->aout); in set_out0_output()
142 return sprintf(buf, "%u\n", !(!(data->control & PCF8591_CONTROL_AOEF))); in show_out0_enable()
160 data->control |= PCF8591_CONTROL_AOEF; in set_out0_enable()
162 data->control &= ~PCF8591_CONTROL_AOEF; in set_out0_enable()
163 i2c_smbus_write_byte(client, data->control); in set_out0_enable()
261 data->control = PCF8591_INIT_CONTROL; in pcf8591_init_client()
264 i2c_smbus_write_byte_data(client, data->control, data->aout); in pcf8591_init_client()
281 if ((data->control & PCF8591_CONTROL_AICH_MASK) != channel) { in pcf8591_read_channel()
282 data->control = (data->control & ~PCF8591_CONTROL_AICH_MASK) in pcf8591_read_channel()
[all …]
Dsch56xx-common.c275 u8 control; in watchdog_set_timeout() local
288 control = data->watchdog_control | SCH56XX_WDOG_TIME_BASE_SEC; in watchdog_set_timeout()
290 control = data->watchdog_control & ~SCH56XX_WDOG_TIME_BASE_SEC; in watchdog_set_timeout()
292 if (data->watchdog_control != control) { in watchdog_set_timeout()
296 control); in watchdog_set_timeout()
301 data->watchdog_control = control; in watchdog_set_timeout()
426 int err, control, output_enable; in sch56xx_watchdog_register() local
430 control = in sch56xx_watchdog_register()
436 if (control < 0) in sch56xx_watchdog_register()
474 if (control & SCH56XX_WDOG_TIME_BASE_SEC) in sch56xx_watchdog_register()
[all …]
/linux-4.1.27/drivers/net/ethernet/altera/
Daltera_msgdma.c45 msgdma_csroffs(control)); in msgdma_reset()
67 msgdma_csroffs(control)); in msgdma_reset()
87 tse_clear_bit(priv->rx_dma_csr, msgdma_csroffs(control), in msgdma_disable_rxirq()
93 tse_set_bit(priv->rx_dma_csr, msgdma_csroffs(control), in msgdma_enable_rxirq()
99 tse_clear_bit(priv->tx_dma_csr, msgdma_csroffs(control), in msgdma_disable_txirq()
105 tse_set_bit(priv->tx_dma_csr, msgdma_csroffs(control), in msgdma_enable_txirq()
133 msgdma_descroffs(control)); in msgdma_tx_buffer()
167 u32 control = (MSGDMA_DESC_CTL_END_ON_EOP in msgdma_add_rx_desc() local
183 csrwr32(control, priv->rx_dma_desc, msgdma_descroffs(control)); in msgdma_add_rx_desc()
Daltera_sgdma.c135 csrwr32(SGDMA_CTRLREG_RESET, priv->tx_dma_csr, sgdma_csroffs(control)); in sgdma_reset()
136 csrwr32(0, priv->tx_dma_csr, sgdma_csroffs(control)); in sgdma_reset()
138 csrwr32(SGDMA_CTRLREG_RESET, priv->rx_dma_csr, sgdma_csroffs(control)); in sgdma_reset()
139 csrwr32(0, priv->rx_dma_csr, sgdma_csroffs(control)); in sgdma_reset()
165 tse_set_bit(priv->rx_dma_csr, sgdma_csroffs(control), in sgdma_clear_rxirq()
171 tse_set_bit(priv->tx_dma_csr, sgdma_csroffs(control), in sgdma_clear_txirq()
218 ((csrrd8(priv->tx_dma_desc, sgdma_descroffs(control)) in sgdma_tx_completions()
275 csrwr32(0, priv->rx_dma_csr, sgdma_csroffs(control)); in sgdma_rx_status()
318 u32 ctrl = csrrd8(ndesc, sgdma_descroffs(control)); in sgdma_setup_descrip()
320 csrwr8(ctrl, ndesc, sgdma_descroffs(control)); in sgdma_setup_descrip()
[all …]
/linux-4.1.27/drivers/usb/serial/
Doti6858.c97 u8 control; /* settings of flow control lines */ member
118 && ((a)->control == (priv)->pending_setup.control) \
183 u8 control; member
229 new_setup->control = priv->pending_setup.control; in setup_line()
408 u8 frame_fmt, control; in oti6858_set_termios() local
417 control = priv->pending_setup.control; in oti6858_set_termios()
472 control &= ~CONTROL_MASK; in oti6858_set_termios()
474 control |= (CONTROL_DTR_HIGH | CONTROL_RTS_HIGH); in oti6858_set_termios()
495 || control != priv->pending_setup.control in oti6858_set_termios()
498 priv->pending_setup.control = control; in oti6858_set_termios()
[all …]
Dcp210x.c809 unsigned int control = 0; in cp210x_tiocmset_port() local
812 control |= CONTROL_RTS; in cp210x_tiocmset_port()
813 control |= CONTROL_WRITE_RTS; in cp210x_tiocmset_port()
816 control |= CONTROL_DTR; in cp210x_tiocmset_port()
817 control |= CONTROL_WRITE_DTR; in cp210x_tiocmset_port()
820 control &= ~CONTROL_RTS; in cp210x_tiocmset_port()
821 control |= CONTROL_WRITE_RTS; in cp210x_tiocmset_port()
824 control &= ~CONTROL_DTR; in cp210x_tiocmset_port()
825 control |= CONTROL_WRITE_DTR; in cp210x_tiocmset_port()
828 dev_dbg(&port->dev, "%s - control = 0x%.4x\n", __func__, control); in cp210x_tiocmset_port()
[all …]
Dspcp8x5.c266 u8 control; in spcp8x5_dtr_rts() local
275 control = priv->line_control; in spcp8x5_dtr_rts()
277 spcp8x5_set_ctrl_line(port, control); in spcp8x5_dtr_rts()
299 u8 control; in spcp8x5_set_termios() local
307 control = priv->line_control; in spcp8x5_set_termios()
313 if (control != priv->line_control) { in spcp8x5_set_termios()
314 control = priv->line_control; in spcp8x5_set_termios()
316 spcp8x5_set_ctrl_line(port, control); in spcp8x5_set_termios()
421 u8 control; in spcp8x5_tiocmset() local
432 control = priv->line_control; in spcp8x5_tiocmset()
[all …]
/linux-4.1.27/drivers/net/ethernet/ti/
Dnetcp_sgmii.c74 u32 control; in netcp_sgmii_config() local
79 control = 0x21; in netcp_sgmii_config()
85 control = 1; in netcp_sgmii_config()
90 control = 0x20; in netcp_sgmii_config()
95 control = 0x1; in netcp_sgmii_config()
117 sgmii_write_reg(sgmii_ofs, SGMII_CTL_REG(port), control); in netcp_sgmii_config()
120 if (control & SGMII_REG_CONTROL_AUTONEG) in netcp_sgmii_config()
/linux-4.1.27/arch/mips/pci/
Dops-mace.c44 u32 control = mace->pci.control; in mace_pci_read_config() local
47 mace->pci.control = control & ~MACEPCI_CONTROL_MAR_INT; in mace_pci_read_config()
62 mace->pci.control = control; in mace_pci_read_config()
Dpci-rc32434.c159 rc32434_pci->pcilba[0].control = in rc32434_pcibridge_init()
161 dummyread = rc32434_pci->pcilba[0].control; /* flush the CPU write Buffers */ in rc32434_pcibridge_init()
166 rc32434_pci->pcilba[1].control = in rc32434_pcibridge_init()
168 dummyread = rc32434_pci->pcilba[1].control; /* flush the CPU write Buffers */ in rc32434_pcibridge_init()
173 rc32434_pci->pcilba[2].control = in rc32434_pcibridge_init()
175 dummyread = rc32434_pci->pcilba[2].control; /* flush the CPU write Buffers */ in rc32434_pcibridge_init()
180 rc32434_pci->pcilba[3].control = in rc32434_pcibridge_init()
183 dummyread = rc32434_pci->pcilba[3].control; /* flush the CPU write Buffers */ in rc32434_pcibridge_init()
Dmsi-octeon.c63 u16 control; in arch_setup_msi_irq() local
76 pci_read_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, &control); in arch_setup_msi_irq()
84 configured_private_bits = (control & PCI_MSI_FLAGS_QSIZE) >> 4; in arch_setup_msi_irq()
87 request_private_bits = (control & PCI_MSI_FLAGS_QMASK) >> 1; in arch_setup_msi_irq()
176 control &= ~PCI_MSI_FLAGS_QSIZE; in arch_setup_msi_irq()
177 control |= request_private_bits << 4; in arch_setup_msi_irq()
178 pci_write_config_word(dev, dev->msi_cap + PCI_MSI_FLAGS, control); in arch_setup_msi_irq()
/linux-4.1.27/drivers/acpi/acpica/
Ddscontrol.c86 if (walk_state->control_state->control. in acpi_ds_exec_begin_control_op()
115 control_state->control.aml_predicate_start = in acpi_ds_exec_begin_control_op()
117 control_state->control.package_end = in acpi_ds_exec_begin_control_op()
119 control_state->control.opcode = op->common.aml_opcode; in acpi_ds_exec_begin_control_op()
213 control_state->control.loop_count++; in acpi_ds_exec_end_control_op()
214 if (control_state->control.loop_count > in acpi_ds_exec_end_control_op()
226 control_state->control.aml_predicate_start; in acpi_ds_exec_end_control_op()
372 (walk_state->control_state->control.opcode != in acpi_ds_exec_end_control_op()
389 walk_state->control_state->control.package_end; in acpi_ds_exec_end_control_op()
/linux-4.1.27/Documentation/sound/alsa/soc/
Dcodec.txt13 2) Codec control IO - using RegMap API
21 7) DAC Digital mute control.
65 2 - Codec control IO
68 (AC97 combines control with data in the DAI). The codec driver should use the
80 Defines a single control as follows:-
84 shift = control bit(s) offset in register
85 mask = control bit size(s) e.g. mask of 7 = 3 bits
86 invert = the control is inverted
92 A stereo control
96 A stereo control spanning 2 registers
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/phy/
Dti-phy.txt7 "ti,control-phy-otghs" - if it has otghs_control mailbox register as on OMAP4.
8 "ti,control-phy-usb2" - if it has Power down bit in control_dev_conf register
10 "ti,control-phy-pipe3" - if it has DPLL and individual Rx & Tx power control
12 "ti,control-phy-pcie" - for pcie to support external clock for pcie and to
15 "ti,control-phy-usb2-dra7" - if it has power down register like USB2 PHY on
17 "ti,control-phy-usb2-am437" - if it has power down register like USB2 PHY on
20 - reg-names: "otghs_control" for control-phy-otghs
21 "power", "pcie_pcs" and "control_sma" for control-phy-pcie
24 omap_control_usb: omap-control-usb@4a002300 {
25 compatible = "ti,control-phy-otghs";
[all …]
Dapm-xgene-phy.txt17 - apm,tx-eye-tuning : Manual control to fine tune the capture of the serial
22 - apm,tx-eye-direction : Eye tuning manual control direction. 0 means sample
28 gain control. Two set of 3-tuple setting for each
31 - apm,tx-amplitude : Amplitude control. Two set of 3-tuple setting for
35 - apm,tx-pre-cursor1 : 1st pre-cursor emphasis taps control. Two set of
39 - apm,tx-pre-cursor2 : 2st pre-cursor emphasis taps control. Two set of
43 - apm,tx-post-cursor : Post-cursor emphasis taps control. Two set of
/linux-4.1.27/tools/virtio/
Dvirtio_test.c36 int control; member
72 r = ioctl(dev->control, VHOST_SET_FEATURES, &features); in vhost_vq_setup()
75 r = ioctl(dev->control, VHOST_SET_VRING_NUM, &state); in vhost_vq_setup()
78 r = ioctl(dev->control, VHOST_SET_VRING_BASE, &state); in vhost_vq_setup()
80 r = ioctl(dev->control, VHOST_SET_VRING_ADDR, &addr); in vhost_vq_setup()
83 r = ioctl(dev->control, VHOST_SET_VRING_KICK, &file); in vhost_vq_setup()
86 r = ioctl(dev->control, VHOST_SET_VRING_CALL, &file); in vhost_vq_setup()
121 dev->control = open("/dev/vhost-test", O_RDWR); in vdev_info_init()
122 assert(dev->control >= 0); in vdev_info_init()
123 r = ioctl(dev->control, VHOST_SET_OWNER, NULL); in vdev_info_init()
[all …]
/linux-4.1.27/net/mac80211/
Drate.c235 info->control.rates[0].idx = 0; in __rate_control_send_low()
246 info->control.rates[0].idx = i; in __rate_control_send_low()
251 info->control.rates[0].count = in __rate_control_send_low()
255 info->control.skip_table = 1; in __rate_control_send_low()
276 info->control.rates[0].idx = mcast_rate - 1; in rate_control_send_low()
287 rc_send_low_basicrate(&info->control.rates[0].idx, in rate_control_send_low()
469 info->control.rts_cts_rate_idx = baserate; in rate_fixup_ratelist()
495 info->control.use_cts_prot) in rate_fixup_ratelist()
507 if (info->control.use_rts) { in rate_fixup_ratelist()
509 info->control.use_cts_prot = false; in rate_fixup_ratelist()
[all …]
Dwpa.c54 info->control.hw_key = NULL; in ieee80211_tx_h_michael_mic_add()
57 if (info->control.hw_key && in ieee80211_tx_h_michael_mic_add()
66 if (!info->control.hw_key) in ieee80211_tx_h_michael_mic_add()
193 if (info->control.hw_key && in tkip_encrypt_skb()
194 !(info->control.hw_key->flags & IEEE80211_KEY_FLAG_GENERATE_IV) && in tkip_encrypt_skb()
195 !(info->control.hw_key->flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE)) { in tkip_encrypt_skb()
203 if (info->control.hw_key) in tkip_encrypt_skb()
217 if (info->control.hw_key && in tkip_encrypt_skb()
218 (info->control.hw_key->flags & IEEE80211_KEY_FLAG_PUT_IV_SPACE)) in tkip_encrypt_skb()
230 if (info->control.hw_key) in tkip_encrypt_skb()
[all …]
/linux-4.1.27/sound/synth/emux/
Demux_nrpn.c31 int control; member
58 if (table[i].control == type) { in send_converted_effect()
295 if (chan->control[MIDI_CTL_NONREG_PARM_NUM_MSB] == 127 && in snd_emux_nrpn()
296 chan->control[MIDI_CTL_NONREG_PARM_NUM_LSB] <= 26) { in snd_emux_nrpn()
300 val = (chan->control[MIDI_CTL_MSB_DATA_ENTRY] << 7) | in snd_emux_nrpn()
301 chan->control[MIDI_CTL_LSB_DATA_ENTRY]; in snd_emux_nrpn()
305 port, chan, chan->control[MIDI_CTL_NONREG_PARM_NUM_LSB], in snd_emux_nrpn()
311 chan->control[MIDI_CTL_NONREG_PARM_NUM_MSB] == 1) { in snd_emux_nrpn()
315 val = chan->control[MIDI_CTL_MSB_DATA_ENTRY]; in snd_emux_nrpn()
318 port, chan, chan->control[MIDI_CTL_NONREG_PARM_NUM_LSB], in snd_emux_nrpn()
[all …]
/linux-4.1.27/drivers/parport/
Dparport_mfc3.c99 static unsigned char control_pc_to_mfc3(unsigned char control) in control_pc_to_mfc3() argument
103 if (control & PARPORT_CONTROL_SELECT) /* XXX: What is SELECP? */ in control_pc_to_mfc3()
105 if (control & PARPORT_CONTROL_INIT) /* INITP */ in control_pc_to_mfc3()
107 if (control & PARPORT_CONTROL_AUTOFD) /* AUTOLF */ in control_pc_to_mfc3()
109 if (control & PARPORT_CONTROL_STROBE) /* Strobe */ in control_pc_to_mfc3()
114 static unsigned char control_mfc3_to_pc(unsigned char control) in control_mfc3_to_pc() argument
119 if (control & 128) /* /INITP */ in control_mfc3_to_pc()
121 if (control & 64) /* /AUTOLF */ in control_mfc3_to_pc()
123 if (control & 32) /* /SELECT_IN */ in control_mfc3_to_pc()
128 static void mfc3_write_control(struct parport *p, unsigned char control) in mfc3_write_control() argument
[all …]
Dparport_atari.c51 unsigned char control = 0; in parport_atari_read_control() local
56 control = PARPORT_CONTROL_STROBE; in parport_atari_read_control()
58 return control; in parport_atari_read_control()
62 parport_atari_write_control(struct parport *p, unsigned char control) in parport_atari_write_control() argument
68 if (control & PARPORT_CONTROL_STROBE) in parport_atari_write_control()
Dparport_ax88796.c94 parport_ax88796_write_control(struct parport *p, unsigned char control) in parport_ax88796_write_control() argument
101 if (!(control & PARPORT_CONTROL_STROBE)) in parport_ax88796_write_control()
104 if (!(control & PARPORT_CONTROL_AUTOFD)) in parport_ax88796_write_control()
107 if (control & PARPORT_CONTROL_INIT) in parport_ax88796_write_control()
110 if (!(control & PARPORT_CONTROL_SELECT)) in parport_ax88796_write_control()
113 dev_dbg(dd->dev, "write_control: ctrl=%02x, cpr=%02x\n", control, cpr); in parport_ax88796_write_control()
116 if (parport_ax88796_read_control(p) != control) { in parport_ax88796_write_control()
118 parport_ax88796_read_control(p), control); in parport_ax88796_write_control()
/linux-4.1.27/arch/um/drivers/
Ddaemon_user.c55 pri->control = socket(AF_UNIX, SOCK_STREAM, 0); in connect_to_switch()
56 if (pri->control < 0) { in connect_to_switch()
63 if (connect(pri->control, (struct sockaddr *) ctl_addr, in connect_to_switch()
97 n = write(pri->control, &req, sizeof(req)); in connect_to_switch()
105 n = read(pri->control, sun, sizeof(*sun)); in connect_to_switch()
121 close(pri->control); in connect_to_switch()
166 close(pri->control); in daemon_remove()
167 pri->control = -1; in daemon_remove()
/linux-4.1.27/sound/soc/codecs/
Dwm8958-dsp2.c198 struct wm8994 *control = wm8994->wm8994; in wm8958_dsp_start_mbc() local
213 if (control->pdata.num_mbc_cfgs) { in wm8958_dsp_start_mbc()
215 = &control->pdata.mbc_cfgs[wm8994->mbc_cfg]; in wm8958_dsp_start_mbc()
242 struct wm8994 *control = wm8994->wm8994; in wm8958_dsp_start_vss() local
252 if (control->pdata.num_mbc_cfgs) { in wm8958_dsp_start_vss()
254 = &control->pdata.mbc_cfgs[wm8994->mbc_cfg]; in wm8958_dsp_start_vss()
261 if (control->pdata.num_vss_cfgs) { in wm8958_dsp_start_vss()
263 = &control->pdata.vss_cfgs[wm8994->vss_cfg]; in wm8958_dsp_start_vss()
269 if (control->pdata.num_vss_hpf_cfgs) { in wm8958_dsp_start_vss()
271 = &control->pdata.vss_hpf_cfgs[wm8994->vss_hpf_cfg]; in wm8958_dsp_start_vss()
[all …]
Dwm8994.c112 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate() local
126 if (control->pdata.micd_rates) { in wm8958_micd_set_rate()
127 rates = control->pdata.micd_rates; in wm8958_micd_set_rate()
128 num_rates = control->pdata.num_micd_rates; in wm8958_micd_set_rate()
324 struct wm8994 *control = wm8994->wm8994; in wm8994_set_drc() local
325 struct wm8994_pdata *pdata = &control->pdata; in wm8994_set_drc()
361 struct wm8994 *control = wm8994->wm8994; in wm8994_put_drc_enum() local
362 struct wm8994_pdata *pdata = &control->pdata; in wm8994_put_drc_enum()
396 struct wm8994 *control = wm8994->wm8994; in wm8994_set_retune_mobile() local
397 struct wm8994_pdata *pdata = &control->pdata; in wm8994_set_retune_mobile()
[all …]
/linux-4.1.27/drivers/dma/ipu/
Dipu_irq.c45 unsigned int control; member
53 .control = IPU_INT_CTRL_1,
56 .control = IPU_INT_CTRL_2,
59 .control = IPU_INT_CTRL_3,
64 .control = IPU_INT_CTRL_4,
67 .control = IPU_INT_CTRL_5,
112 reg = ipu_read_reg(bank->ipu, bank->control); in ipu_irq_unmask()
114 ipu_write_reg(bank->ipu, reg, bank->control); in ipu_irq_unmask()
135 reg = ipu_read_reg(bank->ipu, bank->control); in ipu_irq_mask()
137 ipu_write_reg(bank->ipu, reg, bank->control); in ipu_irq_mask()
[all …]
/linux-4.1.27/arch/m68k/hp300/
Dhp300map.map6 # altgr control keycode 83 = Boot
7 # altgr control keycode 111 = Boot
78 control keycode 63 = nul
90 control keycode 73 = Console_4
92 control keycode 74 = Console_3
94 control keycode 75 = Console_2
96 control keycode 76 = Console_1
102 control keycode 81 = Console_5
104 control keycode 82 = Console_6
106 control keycode 83 = Console_7
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dtps65910.txt60 - ti,en-gpio-sleep: enable sleep control for gpios
66 - ti,regulator-ext-sleep-control: enable external sleep
67 control through external inputs [0 (not enabled), 1 (EN1), 2 (EN2) or 4(EN3)]
111 ti,regulator-ext-sleep-control = <0>;
120 ti,regulator-ext-sleep-control = <4>;
129 ti,regulator-ext-sleep-control = <0>;
138 ti,regulator-ext-sleep-control = <1>;
145 ti,regulator-ext-sleep-control = <0>;
152 ti,regulator-ext-sleep-control = <0>;
159 ti,regulator-ext-sleep-control = <0>;
[all …]
Dti-keystone-devctrl.txt1 * Device tree bindings for Texas Instruments keystone device state control
3 The Keystone II devices have a set of registers that are used to control
11 - reg: contains offset/length value for device state control
16 devctrl: device-state-control@0x02620000 {
Das3722.txt46 Following properties are require if pin control setting is required
51 different nodes of pin control settings. These nodes represents
52 the pin control setting of state 0 to state n. Each of these
109 ams,ext-control: External control of the rail. The option of
112 0: There is no external control of this rail.
117 external control. The external control pin macros
180 ams,ext-control = <2>;
188 ams,ext-control = <1>;
/linux-4.1.27/sound/core/
Dpcm_compat.c482 struct snd_pcm_mmap_control32 control; member
492 volatile struct snd_pcm_mmap_control *control; in snd_pcm_ioctl_sync_ptr_compat() local
503 get_user(scontrol.appl_ptr, &src->c.control.appl_ptr) || in snd_pcm_ioctl_sync_ptr_compat()
504 get_user(scontrol.avail_min, &src->c.control.avail_min)) in snd_pcm_ioctl_sync_ptr_compat()
512 control = runtime->control; in snd_pcm_ioctl_sync_ptr_compat()
519 control->appl_ptr = scontrol.appl_ptr; in snd_pcm_ioctl_sync_ptr_compat()
521 scontrol.appl_ptr = control->appl_ptr % boundary; in snd_pcm_ioctl_sync_ptr_compat()
523 control->avail_min = scontrol.avail_min; in snd_pcm_ioctl_sync_ptr_compat()
525 scontrol.avail_min = control->avail_min; in snd_pcm_ioctl_sync_ptr_compat()
538 put_user(scontrol.appl_ptr, &src->c.control.appl_ptr) || in snd_pcm_ioctl_sync_ptr_compat()
[all …]
Dcontrol.c121 struct snd_kcontrol *control; in snd_ctl_release() local
131 list_for_each_entry(control, &card->controls, list) in snd_ctl_release()
132 for (idx = 0; idx < control->count; idx++) in snd_ctl_release()
133 if (control->vd[idx].owner == ctl) in snd_ctl_release()
134 control->vd[idx].owner = NULL; in snd_ctl_release()
866 struct snd_ctl_elem_value *control) in snd_ctl_elem_read() argument
874 kctl = snd_ctl_find_id(card, &control->id); in snd_ctl_elem_read()
878 index_offset = snd_ctl_get_ioff(kctl, &control->id); in snd_ctl_elem_read()
882 snd_ctl_build_ioff(&control->id, kctl, index_offset); in snd_ctl_elem_read()
883 result = kctl->get(kctl, control); in snd_ctl_elem_read()
[all …]
/linux-4.1.27/drivers/vlynq/
Dvlynq.c66 u32 control; member
124 writel(readl(&dev->local->control) | VLYNQ_CTRL_RESET, in vlynq_reset()
125 &dev->local->control); in vlynq_reset()
131 writel(readl(&dev->local->control) & ~VLYNQ_CTRL_RESET, in vlynq_reset()
132 &dev->local->control); in vlynq_reset()
278 val |= readl(&dev->local->control); in vlynq_setup_irq()
280 writel(val, &dev->local->control); in vlynq_setup_irq()
284 val |= readl(&dev->remote->control); in vlynq_setup_irq()
287 writel(val, &dev->remote->control); in vlynq_setup_irq()
402 writel((readl(&dev->remote->control) & in __vlynq_try_remote()
[all …]
/linux-4.1.27/sound/usb/
Dmixer_quirks.c51 unsigned int unitid, control, cmask; member
66 unsigned int control, in snd_create_std_mono_ctl_offset() argument
83 cval->control = control; in snd_create_std_mono_ctl_offset()
119 unsigned int control, in snd_create_std_mono_ctl() argument
125 return snd_create_std_mono_ctl_offset(mixer, unitid, control, cmask, in snd_create_std_mono_ctl()
138 err = snd_create_std_mono_ctl(mixer, t->unitid, t->control, in snd_create_std_mono_table()
999 unsigned int control, cmask; in snd_ftu_create_volume_ctls() local
1006 control = out + 1; in snd_ftu_create_volume_ctls()
1012 err = snd_create_std_mono_ctl(mixer, id, control, in snd_ftu_create_volume_ctls()
1023 err = snd_create_std_mono_ctl(mixer, id, control, in snd_ftu_create_volume_ctls()
[all …]
Dmixer.c113 find_map(struct mixer_build *state, int unitid, int control) in find_map() argument
122 (!control || !p->control || control == p->control)) in find_map()
420 (cval->control << 8) | channel, in get_cur_mix_raw()
438 cval->control, channel, err); in snd_usb_get_cur_mix_value()
519 __func__, channel, cval->control); in snd_usb_set_cur_mix_value()
524 UAC_SET_CUR, (cval->control << 8) | channel, in snd_usb_set_cur_mix_value()
966 if (get_ctl_value(cval, UAC_GET_MAX, (cval->control << 8) | minchn, &cval->max) < 0 || in get_min_max_with_quirks()
967 get_ctl_value(cval, UAC_GET_MIN, (cval->control << 8) | minchn, &cval->min) < 0) { in get_min_max_with_quirks()
971 cval->control, cval->head.id); in get_min_max_with_quirks()
975 (cval->control << 8) | minchn, in get_min_max_with_quirks()
[all …]
/linux-4.1.27/sound/firewire/oxfw/
Doxfw-control.c134 static int oxfw_mute_get(struct snd_kcontrol *control, in oxfw_mute_get() argument
137 struct snd_oxfw *oxfw = control->private_data; in oxfw_mute_get()
144 static int oxfw_mute_put(struct snd_kcontrol *control, in oxfw_mute_put() argument
147 struct snd_oxfw *oxfw = control->private_data; in oxfw_mute_put()
164 static int oxfw_volume_info(struct snd_kcontrol *control, in oxfw_volume_info() argument
167 struct snd_oxfw *oxfw = control->private_data; in oxfw_volume_info()
179 static int oxfw_volume_get(struct snd_kcontrol *control, in oxfw_volume_get() argument
182 struct snd_oxfw *oxfw = control->private_data; in oxfw_volume_get()
191 static int oxfw_volume_put(struct snd_kcontrol *control, in oxfw_volume_put() argument
194 struct snd_oxfw *oxfw = control->private_data; in oxfw_volume_put()
/linux-4.1.27/drivers/video/fbdev/
Dsm501fb.c637 unsigned long control; /* control register */ in sm501fb_set_par_crt() local
647 control = smc501_readl(fbi->regs + SM501_DC_CRT_CONTROL); in sm501fb_set_par_crt()
649 control &= (SM501_DC_CRT_CONTROL_PIXEL_MASK | in sm501fb_set_par_crt()
659 control |= SM501_DC_CRT_CONTROL_HSP; in sm501fb_set_par_crt()
662 control |= SM501_DC_CRT_CONTROL_VSP; in sm501fb_set_par_crt()
664 if ((control & SM501_DC_CRT_CONTROL_SEL) == 0) { in sm501fb_set_par_crt()
681 control |= SM501_FIFO_3; /* fill if >3 free slots */ in sm501fb_set_par_crt()
685 control |= SM501_DC_CRT_CONTROL_8BPP; in sm501fb_set_par_crt()
689 control |= SM501_DC_CRT_CONTROL_16BPP; in sm501fb_set_par_crt()
694 control |= SM501_DC_CRT_CONTROL_32BPP; in sm501fb_set_par_crt()
[all …]
Dbw2.c58 u32 control; member
64 u8 control; member
133 val = sbus_readb(&regs->control); in bw2_blank()
135 sbus_writeb(val, &regs->control); in bw2_blank()
143 val = sbus_readb(&regs->control); in bw2_blank()
145 sbus_writeb(val, &regs->control); in bw2_blank()
Dcg3.c83 u32 control; member
89 u8 control; member
195 val = sbus_readb(&regs->control); in cg3_blank()
197 sbus_writeb(val, &regs->control); in cg3_blank()
205 val = sbus_readb(&regs->control); in cg3_blank()
207 sbus_writeb(val, &regs->control); in cg3_blank()
343 regp = (u8 __iomem *)&par->regs->cmap.control; in cg3_do_default_mode()
Dacornfb.c138 vidc.control = acornfb_default_control(); in acornfb_set_timing()
145 vidc.control |= VIDC20_CTRL_INT; in acornfb_set_timing()
150 case 1: vidc.control |= VIDC20_CTRL_1BPP; break; in acornfb_set_timing()
151 case 2: vidc.control |= VIDC20_CTRL_2BPP; break; in acornfb_set_timing()
152 case 4: vidc.control |= VIDC20_CTRL_4BPP; break; in acornfb_set_timing()
154 case 8: vidc.control |= VIDC20_CTRL_8BPP; break; in acornfb_set_timing()
155 case 16: vidc.control |= VIDC20_CTRL_16BPP; break; in acornfb_set_timing()
156 case 32: vidc.control |= VIDC20_CTRL_32BPP; break; in acornfb_set_timing()
165 vidc_writel(VIDC20_CTRL| vidc.control); in acornfb_set_timing()
244 printk(KERN_DEBUG " Ctrl (E) : 0x%08X\n", vidc.control); in acornfb_set_timing()
[all …]
/linux-4.1.27/Documentation/sound/alsa/
DAudigy-mixer.txt42 This control is used to attenuate samples for left and right front PCM FX-bus
49 This control is used to attenuate samples for left and right surround PCM FX-bus
56 This control is used to attenuate samples for center PCM FX-bus accumulator.
62 This control is used to attenuate sample for LFE PCM FX-bus accumulator.
68 This control is used to attenuate samples for left and right PCM FX-bus
75 This control is used to attenuate samples for left and right PCM FX-bus
82 This control is used to attenuate samples for left and right MIDI FX-bus
95 This control is used to attenuate samples for left and right Mic input.
98 capture FIFO (device 1 - 16bit/8KHz mono) too without volume control.
102 This control is used to attenuate samples for left and right Mic input.
[all …]
DSB-Live-mixer.txt57 This control is used to attenuate samples for left and right PCM FX-bus
63 This control is used to attenuate samples for left and right PCM FX-bus
70 This control is used to attenuate samples for left and right PCM FX-bus
77 This control is used to attenuate samples for left and right PCM FX-bus
92 This control is used to attenuate samples for left and right MIDI FX-bus
106 This control is used to attenuate samples for left and right rear PCM FX-bus
121 This control is used to attenuate sample for center PCM FX-bus accumulator.
127 This control is used to attenuate sample for center PCM FX-bus accumulator.
133 This control is used to attenuate samples for left and right front ADC PCM slots
137 *** Note: This control should be zero for the standard operations, otherwise ***
[all …]
DHD-Audio-Controls.txt7 This is an enum control to change the surround-channel setup,
14 This is an enum control to change the auto-mute behavior of the
34 This control enables/disables the analog-loopback circuit. This
46 When this control is ON, treat the headphone jacks as line-out
61 An enum control to re-task the multi-I/O jacks for surround outputs.
66 When this enum control is enabled, the headphone output is routed
73 An enum control to determine whether the analog-loopback route is
82 This control determines whether the dynamic power-control per jack
87 case, turn this control OFF.
90 This control is provided only for VT1708 codec which gives no proper
[all …]
DVIA82xx-mixer.txt5 On many VIA82xx boards, the 'Input Source Select' mixer control does not work.
7 with EIO (input/output error) via OSS emulation. This control should be left
/linux-4.1.27/drivers/macintosh/
Dwindfarm_pm121.c521 struct wf_control *control = NULL; in pm121_create_sys_fans() local
540 control = controls[param->control_id]; in pm121_create_sys_fans()
558 if(control) in pm121_create_sys_fans()
560 pid_param.min = control->ops->get_min(control); in pm121_create_sys_fans()
561 pid_param.max = control->ops->get_max(control); in pm121_create_sys_fans()
584 loop_names[loop_id], control ? control->name : "uninitialized value"); in pm121_create_sys_fans()
586 if (control) in pm121_create_sys_fans()
587 wf_control_set_max(control); in pm121_create_sys_fans()
595 struct wf_control *control; in pm121_sys_fans_tick() local
602 control = controls[param->control_id]; in pm121_sys_fans_tick()
[all …]
DKconfig83 control system power, and battery charging on the portable models.
118 on the "SMU" system control chip which replaces the old PMU.
136 bool "Backlight control for LCD screens"
196 This driver provides some thermostat and fan control for the desktop
203 This driver provides some thermostat and fan control for the
205 better fan behaviour by default, and some manual control.
208 tristate "New PowerMac thermal control infrastructure"
216 This driver provides thermal control for the iMacG5
223 This driver provides thermal control for the PowerMac G5
231 This driver provides thermal control for the Xserve G5
[all …]
/linux-4.1.27/Documentation/networking/
Dtcp.txt9 - Congestion control
12 Congestion control
15 The following variables are used in the tcp_sock for congestion control:
28 As of 2.6.13, Linux supports pluggable congestion control algorithms.
29 A congestion control mechanism can be registered through functions in
30 tcp_cong.c. The functions used by the congestion control mechanism are
35 Private data for a congestion control mechanism is stored in tp->ca_priv.
41 There are three kinds of congestion control algorithms currently: The
48 Good TCP congestion control is a complex problem because the algorithm
52 The method that is used to determine which congestion control mechanism is
[all …]
Dcdc_mbim.txt41 provides an userspace interface to the MBIM control channel, and will
52 - open the control channel
60 control channel protocol is described in [1].
63 MBIM control channel userspace ABI
68 The driver creates a two-way pipe to the MBIM function control channel
70 control channel pipe is a /dev/cdc-wdmX character device.
72 The cdc_mbim driver does not process or police messages on the control
75 complies with all the control channel requirements in [1].
77 The cdc-wdmX device is created as a child of the MBIM control
91 limits the maximum control message size. The managament application is
[all …]
/linux-4.1.27/drivers/iio/light/
Dtcs3414.c57 u8 control; member
102 data->control | TCS3414_CONTROL_ADC_EN); in tcs3414_req_data()
116 data->control); in tcs3414_req_data()
252 data->control |= TCS3414_CONTROL_ADC_EN; in tcs3414_buffer_preenable()
254 data->control); in tcs3414_buffer_preenable()
266 data->control &= ~TCS3414_CONTROL_ADC_EN; in tcs3414_buffer_predisable()
268 data->control); in tcs3414_buffer_predisable()
315 data->control = TCS3414_CONTROL_POWER; in tcs3414_probe()
317 data->control); in tcs3414_probe()
351 data->control & ~(TCS3414_CONTROL_POWER | in tcs3414_powerdown()
[all …]
Dtcs3472.c57 u8 control; member
136 *val = tcs3472_agains[data->control & in tcs3472_read_raw()
160 data->control &= ~TCS3472_CONTROL_AGAIN_MASK; in tcs3472_write_raw()
161 data->control |= i; in tcs3472_write_raw()
164 data->control); in tcs3472_write_raw()
289 data->control = ret; in tcs3472_probe()
/linux-4.1.27/Documentation/devicetree/bindings/clock/
Dpistachio-clock.txt5 general control, and top general control) which are instantiated individually
31 top-level general control.
71 Peripheral general control:
74 The peripheral general control block generates system interface clocks and
76 control registers. The system clock ("sys") generated by the peripheral clock
82 control registers.
99 Top-level general control:
102 The top-level general control block contains miscellaneous control registers and
108 control registers.
Dkeystone-gate.txt3 Binding for Keystone gate control driver which uses PSC controller IP.
13 - reg : psc control and domain address address space
14 - reg-names : psc control and domain registers
27 reg-names = "control", "domain";
Dclk-palmas-clk32kg-clocks.txt13 - ti,external-sleep-control: The external enable input pins controlled the
20 via register access and these pins do not have any control.
21 The macros of external control pins for DTS is defined at
32 ti,external-sleep-control = <PALMAS_EXT_CONTROL_PIN_NSLEEP>;
/linux-4.1.27/net/lapb/
Dlapb_subr.c165 frame->control[0] = skb->data[0]; in lapb_decode()
166 frame->control[1] = skb->data[1]; in lapb_decode()
177 frame->control[0] = skb->data[0]; in lapb_decode()
178 frame->control[1] = skb->data[1]; in lapb_decode()
186 frame->control[0] = skb->data[0]; in lapb_decode()
187 frame->control[1] = 0x00; in lapb_decode()
214 frame->control[0] = skb->data[0]; in lapb_decode()
278 *dptr++ = lapb->frmr_data.control[0]; in lapb_transmit_frmr()
279 *dptr++ = lapb->frmr_data.control[1]; in lapb_transmit_frmr()
294 *dptr++ = lapb->frmr_data.control[0]; in lapb_transmit_frmr()
/linux-4.1.27/drivers/ide/
Djmicron.c33 u32 control; in jmicron_cable_detect() local
39 pci_read_config_dword(pdev, 0x40, &control); in jmicron_cable_detect()
44 if (control & (1 << 23)) { in jmicron_cable_detect()
59 if (control & (1 << 22)) in jmicron_cable_detect()
69 if (control & (1 << 3)) /* 40/80 pin primary */ in jmicron_cable_detect()
Dslc90e66.c30 int control = 0; in slc90e66_set_pio_mode() local
45 control |= 1; /* Programmable timing on */ in slc90e66_set_pio_mode()
47 control |= 4; /* Prefetch, post write */ in slc90e66_set_pio_mode()
49 control |= 2; /* IORDY */ in slc90e66_set_pio_mode()
55 master_data |= control << 4; in slc90e66_set_pio_mode()
65 master_data |= control; in slc90e66_set_pio_mode()
Dit8213.c36 int control = 0; in it8213_set_pio_mode() local
50 control |= 1; /* Programmable timing on */ in it8213_set_pio_mode()
52 control |= 4; /* ATAPI */ in it8213_set_pio_mode()
54 control |= 2; /* IORDY */ in it8213_set_pio_mode()
59 master_data = master_data | (control << 4); in it8213_set_pio_mode()
66 master_data = master_data | control; in it8213_set_pio_mode()
Dpiix.c78 int control = 0; in piix_set_pio_mode() local
98 control |= 1; /* Programmable timing on */ in piix_set_pio_mode()
100 control |= 4; /* Prefetch, post write */ in piix_set_pio_mode()
102 control |= 2; /* IORDY */ in piix_set_pio_mode()
108 master_data |= control << 4; in piix_set_pio_mode()
118 master_data |= control; in piix_set_pio_mode()
/linux-4.1.27/drivers/usb/class/
Dcdc-acm.c130 retval = usb_autopm_get_interface(acm->control); in acm_ctrl_msg()
136 acm->control->altsetting[0].desc.bInterfaceNumber, in acm_ctrl_msg()
139 dev_dbg(&acm->control->dev, in acm_ctrl_msg()
143 usb_autopm_put_interface(acm->control); in acm_ctrl_msg()
151 static inline int acm_set_control(struct acm *acm, int control) in acm_set_control() argument
157 control, NULL, 0); in acm_set_control()
209 usb_autopm_put_interface_async(acm->control); in acm_write_done()
297 dev_dbg(&acm->control->dev, in acm_ctrl_irq()
302 dev_dbg(&acm->control->dev, in acm_ctrl_irq()
313 dev_dbg(&acm->control->dev, "%s - network connection: %d\n", in acm_ctrl_irq()
[all …]
/linux-4.1.27/drivers/scsi/arm/
Deesox.c76 unsigned int control; member
90 info->control |= EESOX_INTR_ENABLE; in eesoxscsi_irqenable()
92 writeb(info->control, info->ctl_port); in eesoxscsi_irqenable()
105 info->control &= ~EESOX_INTR_ENABLE; in eesoxscsi_irqdisable()
107 writeb(info->control, info->ctl_port); in eesoxscsi_irqdisable()
128 info->control |= EESOX_TERM_ENABLE; in eesoxscsi_terminator_ctl()
130 info->control &= ~EESOX_TERM_ENABLE; in eesoxscsi_terminator_ctl()
132 writeb(info->control, info->ctl_port); in eesoxscsi_terminator_ctl()
389 VERSION, info->control & EESOX_TERM_ENABLE ? "n" : "ff"); in eesoxscsi_info()
434 info->control & EESOX_TERM_ENABLE ? "n" : "ff"); in eesoxscsi_show_info()
[all …]
/linux-4.1.27/drivers/pinctrl/vt8500/
DKconfig17 Say yes here to support the gpio/pin control module on
25 Say yes here to support the gpio/pin control module on
33 Say yes here to support the gpio/pin control module on
41 Say yes here to support the gpio/pin control module on
49 Say yes here to support the gpio/pin control module on
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-class-powercap10 What: /sys/class/powercap/<control type>
15 A <control type> is a unique name under /sys/class/powercap.
16 Here <control type> determines how the power is going to be
17 controlled. A <control type> can contain multiple power zones.
19 What: /sys/class/powercap/<control type>/enabled
24 This allows to enable/disable power capping for a "control type".
27 What: /sys/class/powercap/<control type>/<power zone>
34 entry is qualified with the name of the <control type>.
37 What: /sys/class/powercap/<control type>/<power zone>/<child power zone>
43 power zones provide monitoring and control for a subset of
[all …]
Dconfigfs-usb-gadget-uvc10 What: /config/usb-gadget/gadget/functions/uvc.name/control
15 What: /config/usb-gadget/gadget/functions/uvc.name/control/class
20 What: /config/usb-gadget/gadget/functions/uvc.name/control/class/ss
23 Description: Super speed control class descriptors
25 What: /config/usb-gadget/gadget/functions/uvc.name/control/class/fs
28 Description: Full speed control class descriptors
30 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal
35 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output
40 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/output/default
54 What: /config/usb-gadget/gadget/functions/uvc.name/control/terminal/camera
[all …]
Dsysfs-platform-asus-laptop31 To control the LED display, use the following :
33 where T control the 3 letters display, and DDD the 3 digits display.
42 This may control the led, the device or both.
51 This may control the led, the device or both.
Dsysfs-class-backlight-driver-lm35337 ALS-current-control mode (0, 1), where
17 Enable ALS-current-control mode (0, 1).
41 Set the PWM-input control mask (5 bits), where
Dsysfs-bus-acpi27 control method.
34 _STR control method, if present.
41 _ADR control method, which is present for ACPI device
50 _UID control method, if present.
Dsysfs-driver-hid-roccat-ryos1 …config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/ryos/roccatryos<minor>/control
27 Before reading this file, control has to be written to select
37 Before reading this file, control has to be written to select
47 Before reading this file, control has to be written to select
57 Before reading this file, control has to be written to select
67 Before reading this file, control has to be written to select
77 Before reading this file, control has to be written to select
88 Before reading this file, control has to be written to select
99 Before reading this file, control has to be written to select
110 Before reading this file, control has to be written to select
[all …]
Dsysfs-class-led-driver-lm35337 ALS-current-control mode (1, 2), where
17 Enable ALS-current-control mode (0, 1).
58 Set the PWM-input control mask (5 bits), where
/linux-4.1.27/Documentation/
Ddynamic-debug-howto.txt31 * Provides a debugfs control file: <debugfs>/dynamic_debug/control
39 control file in the 'debugfs' filesystem. Thus, you must first mount
41 Subsequently, we refer to the control file as:
42 <debugfs>/dynamic_debug/control. For example, if you want to enable
46 <debugfs>/dynamic_debug/control
51 <debugfs>/dynamic_debug/control
60 nullarbor:~ # cat <debugfs>/dynamic_debug/control
72 nullarbor:~ # grep -i rdma <debugfs>/dynamic_debug/control | wc -l
75 nullarbor:~ # grep -i tcp <debugfs>/dynamic_debug/control | wc -l
83 nullarbor:~ # awk '$3 != "=_"' <debugfs>/dynamic_debug/control
[all …]
Ddcdbas.txt5 management interrupts and host control actions (system power cycle or
47 Dell OpenManage supports a host control feature that allows the administrator
49 shutting down. On some Dell systems, this host control feature requires that
53 to schedule the driver to perform a power cycle or power off host control
61 power off host control action using this driver:
63 1) Write host control action to be performed to host_control_action.
65 3) Write "1" to host_control_on_shutdown to enable host control action.
67 (Driver will perform host control SMI when it is notified that the OS
74 perform a power cycle or power off host control action:
/linux-4.1.27/Documentation/hwmon/
Dg7625 and performs closed-loop or open-loop control of the fan speed. Two
13 /sys/bus/i2c/drivers/g762/ to control the operation of the device.
25 fan speed control (i.e. when pwm1_enable is set to 2).
38 fan1_alarm: in closed-loop control mode, if fan RPM value is 25% out
42 pwm1_enable: set current fan speed control mode i.e. 1 for manual fan
43 speed control (open-loop) via pwm1 described below, 2 for
44 automatic fan speed control (closed-loop) via fan1_target
49 pwm1: get or set PWM fan control value in open-loop mode. This is an
54 when current fan speed control mode is open-loop ('pwm1_enable' set to 1),
Dnct790419 interface, up to 12 fan tachometer inputs, up to 4 fan control channels
42 pwm[1-4] R/O in SmartFan mode, R/W in manual control mode
44 The driver checks sensor control registers and does not export the sensors
54 - SmartFan control
Dadt747021 There are four (4) PWM outputs that can be used to control fan speed.
23 A sophisticated control system for the PWM outputs is designed into the ADT7470
28 feature can also be disabled for manual control of the PWM's.
36 automatic fan pwm control to set the fan speed. The driver will not read the
47 determining an optimal configuration for the automatic PWM control.
65 temperature sensor associated with the PWM control exceeds
Dasc762127 The fan speed control uses this finer value to produce a "step-less" fan
51 a set of zones to control the PWM of an individual fan, but there is no
65 individual fans on each that would benefit from individual fan control.
85 control algorithm is employed to minimize acoustic impact while achieving
93 temperature readings for better control of fan speed and minimum acoustic
109 - Programmable autonomous fan control based on temperature readings
110 - Noise filtering of temperature reading for fan speed control
112 - 3 PWM fan speed control outputs for 2-, 3- or 4-wire fans and up to 4 fan
188 to the point where the automatic thermal control circuit starts
193 1 Fan on manual control.
[all …]
Demc6w20119 control capability and enhanced system acoustics for noise suppression.
24 that it is possible to control more than three fans by connecting two
33 supported, and neither is fan speed control.
/linux-4.1.27/arch/avr32/mach-at32ap/
Dat32ap700x.c115 static unsigned long pll_get_rate(struct clk *clk, unsigned long control) in pll_get_rate() argument
119 div = PM_BFEXT(PLLDIV, control) + 1; in pll_get_rate()
120 mul = PM_BFEXT(PLLMUL, control) + 1; in pll_get_rate()
196 u32 control; in pll0_get_rate() local
198 control = pm_readl(PLL0); in pll0_get_rate()
200 return pll_get_rate(clk, control); in pll0_get_rate()
240 u32 control; in pll1_get_rate() local
242 control = pm_readl(PLL1); in pll1_get_rate()
244 return pll_get_rate(clk, control); in pll1_get_rate()
371 u32 control; in cpu_clk_set_rate() local
[all …]
/linux-4.1.27/drivers/spi/
Dspi-adi-v3.c89 u32 control; member
99 u32 control; member
115 ctl = ioread32(&drv_data->regs->control); in adi_spi_enable()
117 iowrite32(ctl, &drv_data->regs->control); in adi_spi_enable()
124 ctl = ioread32(&drv_data->regs->control); in adi_spi_disable()
126 iowrite32(ctl, &drv_data->regs->control); in adi_spi_disable()
217 iowrite32(chip->control, &drv_data->regs->control); in adi_spi_restore_state()
430 cr = ioread32(&drv->regs->control) & ~SPI_CTL_SIZE; in adi_spi_setup_transfer()
432 iowrite32(cr, &drv->regs->control); in adi_spi_setup_transfer()
667 if (chip_info->control & ~ctl_reg) { in adi_spi_setup()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/gpio/
Dspear_spics.txt3 SPEAr platform provides a provision to control chipselects of ARM PL022 Prime
5 PL022 control. If chipselect remain under PL022 control then they would be
12 directly control each PL022 chipselect. Hence, it is natural for SPEAr to export
13 the control of this interface as gpio.
20 * st-spics,sw-enable-bit: bit offset to enable sw control
/linux-4.1.27/arch/arm/mm/
Dproc-v6.S147 mrc p15, 0, r7, c1, c0, 1 @ auxiliary control register
148 mrc p15, 0, r8, c1, c0, 2 @ co-processor access control
149 mrc p15, 0, r9, c1, c0, 0 @ control register
169 mcr p15, 0, ip, c2, c0, 2 @ TTB control register
171 mcr p15, 0, r7, c1, c0, 1 @ auxiliary control register
172 mcr p15, 0, r8, c1, c0, 2 @ co-processor access control
174 mov r0, r9 @ control register
213 mcr p15, 0, r0, c2, c0, 2 @ TTB control register
225 mrc p15, 0, r0, c1, c0, 0 @ read control register
239 mrceq p15, 0, r5, c1, c0, 1 @ load aux control reg
[all …]
Dproc-v7.S109 mrc p15, 0, r11, c2, c0, 2 @ TTB control register
112 mrc p15, 0, r9, c1, c0, 1 @ Auxiliary control register
113 mrc p15, 0, r10, c1, c0, 2 @ Co-processor access control
138 mcr p15, 0, r11, c2, c0, 2 @ TTB control register
144 mrc p15, 0, r4, c1, c0, 1 @ Read Auxiliary control register
147 mcr p15, 0, r10, c1, c0, 2 @ Co-processor access control
150 mov r0, r8 @ control register
362 mrceq p15, 0, r10, c1, c0, 1 @ read aux control register
364 mcreq p15, 0, r10, c1, c0, 1 @ write aux control register
368 mrceq p15, 0, r10, c1, c0, 1 @ read aux control register
[all …]
/linux-4.1.27/drivers/gpio/
Dgpio-janz-ttl.c44 __be16 control; member
113 iowrite16be(reg, &mod->regs->control); in ttl_write_reg()
114 iowrite16be(val, &mod->regs->control); in ttl_write_reg()
120 iowrite16be(0x0000, &mod->regs->control); in ttl_setup_device()
121 iowrite16be(0x0001, &mod->regs->control); in ttl_setup_device()
122 iowrite16be(0x0000, &mod->regs->control); in ttl_setup_device()
/linux-4.1.27/drivers/usb/host/
Dohci-hub.c52 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend()
58 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_suspend()
59 (void) ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend()
77 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_suspend()
78 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend()
125 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_suspend()
126 (void) ohci_readl (ohci, &ohci->regs->control); in ohci_rh_suspend()
158 ohci->hc_control = ohci_readl (ohci, &ohci->regs->control); in ohci_rh_resume()
175 ohci_writel (ohci, ohci->hc_control, &ohci->regs->control); in ohci_rh_resume()
176 (void) ohci_readl (ohci, &ohci->regs->control); in ohci_rh_resume()
[all …]
Dsl811-hcd.c138 u8 control in setup_packet() argument
158 control | SL11H_HCTLMASK_OUT); in setup_packet()
169 u8 control in status_packet() argument
185 control |= SL11H_HCTLMASK_TOGGLE; in status_packet()
187 control |= SL11H_HCTLMASK_OUT; in status_packet()
188 sl811_write(sl811, bank + SL11H_HOSTCTLREG, control); in status_packet()
203 u8 control in in_packet() argument
213 if (!(control & SL11H_HCTLMASK_ISOCH) in in_packet()
215 control |= SL11H_HCTLMASK_TOGGLE; in in_packet()
224 sl811_write(sl811, bank + SL11H_HOSTCTLREG, control); in in_packet()
[all …]
/linux-4.1.27/drivers/acpi/
Dpci_root.c212 u32 *control) in acpi_pci_query_osc() argument
222 if (control) { in acpi_pci_query_osc()
223 *control &= OSC_PCI_CONTROL_MASKS; in acpi_pci_query_osc()
224 capbuf[OSC_CONTROL_DWORD] = *control | root->osc_control_set; in acpi_pci_query_osc()
233 if (control) in acpi_pci_query_osc()
234 *control = result; in acpi_pci_query_osc()
428 u32 support, control, requested; in negotiate_os_control() local
478 control = OSC_PCI_EXPRESS_CAPABILITY_CONTROL in negotiate_os_control()
487 control |= OSC_PCI_EXPRESS_AER_CONTROL; in negotiate_os_control()
490 requested = control; in negotiate_os_control()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/pwm/
Dpwm-lp3943.txt17 PWM 0 is for RGB LED brightness control
18 PWM 1 is for brightness control of LP8557 backlight device
39 /* LEDs control with PWM 0 of LP3943 */
50 /* Backlight control with PWM 1 of LP3943 */
/linux-4.1.27/drivers/video/fbdev/omap2/
Dvrfb.c63 u32 control; member
100 omap2_sms_write_rot_control(ctxs[ctx].control, ctx); in restore_hw_context()
190 u32 control; in omap_vrfb_setup() local
219 control = pixel_size_exp << SMS_PS_OFFSET; in omap_vrfb_setup()
220 control |= VRFB_PAGE_WIDTH_EXP << SMS_PW_OFFSET; in omap_vrfb_setup()
221 control |= VRFB_PAGE_HEIGHT_EXP << SMS_PH_OFFSET; in omap_vrfb_setup()
225 ctxs[ctx].control = control; in omap_vrfb_setup()
229 omap2_sms_write_rot_control(control, ctx); in omap_vrfb_setup()
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Dnvidia,tegra20-usb-phy.txt13 - The register set of the PHY containing the UTMI pad control registers.
22 - utmi-pads: The clock needed to access the UTMI pad control registers.
30 - utmi-pads: The reset of the PHY containing the chip-wide UTMI pad control
43 - Either one of the following for HS driver output control:
48 - nvidia,xcvr-lsfslew : LS falling slew rate control.
49 - nvidia,xcvr-lsrslew : LS rising slew rate control.
52 - nvidia,xcvr-hsslew : HS slew rate control.
69 contains the UTMI pad control registers common to all USB controllers.
71 VBUS control (required for dr_mode == otg, optional for dr_mode == host):
Dam33xx-usb.txt8 at least a control module node, USB node and a PHY node. The second USB
14 - reg: offset and length of the "USB control registers" in the "Control
15 Module" block. A second offset and length for the USB wake up control
17 - reg-names: "phy_ctrl" for the "USB control registers" and "wakeup" for
18 the USB wake up control register.
34 - reg-names: control for the ""USB Controller Registers" and "mc" for
86 ctrl_mod: control@44e10000 {
104 reg-names = "mc", "control";
150 reg-names = "mc", "control";
Dmsm-hsusb.txt48 - qcom,otg-control: OTG control (VBUS and ID notifications) can be one of
49 1 - PHY control
50 2 - PMIC control
92 qcom,otg-control = <1>;
Dpxa-usb.txt17 - "marvell,power-control-low" - power control pin is low-active.
43 - gpio activated to control the USB D+ pullup (see gpio.txt)
/linux-4.1.27/drivers/usb/early/
Dehci-dbgp.c81 dbgp_printk(" Debug control: %08x", readl(&ehci_debug->control)); in dbgp_ehci_status()
167 ctrl = readl(&ehci_debug->control); in dbgp_wait_until_complete()
181 writel(ctrl | DBGP_DONE, &ehci_debug->control); in dbgp_wait_until_complete()
206 writel(ctrl | DBGP_GO, &ehci_debug->control); in dbgp_wait_until_done()
285 ctrl = readl(&ehci_debug->control); in dbgp_bulk_write()
312 ctrl = readl(&ehci_debug->control); in dbgp_bulk_read()
351 ctrl = readl(&ehci_debug->control); in dbgp_control_msg()
437 ctrl = readl(&ehci_debug->control); in dbgp_ehci_startup()
440 writel(ctrl, &ehci_debug->control); in dbgp_ehci_startup()
539 ctrl = readl(&ehci_debug->control); in _dbgp_external_startup()
[all …]
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/
Ddma.c361 u32 control; in _dma_ctrlflags() local
363 control = bcma_read32(di->core, DMA64TXREGOFFS(di, control)); in _dma_ctrlflags()
364 bcma_write32(di->core, DMA64TXREGOFFS(di, control), in _dma_ctrlflags()
365 control | D64_XC_PD); in _dma_ctrlflags()
366 if (bcma_read32(di->core, DMA64TXREGOFFS(di, control)) & in _dma_ctrlflags()
371 bcma_write32(di->core, DMA64TXREGOFFS(di, control), in _dma_ctrlflags()
372 control); in _dma_ctrlflags()
402 if (!_dma64_addrext(di, DMA64TXREGOFFS(di, control))) in _dma_isaddrext()
408 if (!_dma64_addrext(di, DMA64RXREGOFFS(di, control))) in _dma_isaddrext()
809 bcma_maskset32(di->core, DMA64TXREGOFFS(di, control), in _dma_ddtable_init()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/hsi/
Dnokia-modem.txt11 "mcsaab-control"
12 "speech-control"
35 hsi-channel-names = "mcsaab-control",
36 "speech-control",
/linux-4.1.27/Documentation/power/powercap/
Dpowercap.txt12 'control types', which correspond to different methods of power capping. For
13 example, the intel-rapl control type represents the Intel "Running Average
14 Power Limit" (RAPL) technology, whereas the 'idle-injection' control type
18 monitored using the power capping method determined by the control type the
25 control topology of the system. In that case, it is possible to apply power
27 fine grained control is required, it can be applied through the subzones.
148 control type called intel-rapl which contains two power zones, intel-rapl:0 and
218 Common zone and control type attributes
221 a control type.
227 Call powercap_register_control_type() to register control type object.
[all …]
/linux-4.1.27/drivers/net/wireless/b43/
Dxmit.c184 u16 control = 0; in b43_generate_tx_phy_ctl1() local
194 control = bw; in b43_generate_tx_phy_ctl1()
196 control = bw; in b43_generate_tx_phy_ctl1()
199 control |= e->coding_rate; in b43_generate_tx_phy_ctl1()
200 control |= e->modulation; in b43_generate_tx_phy_ctl1()
202 control |= B43_TXH_PHY1_MODE_SISO; in b43_generate_tx_phy_ctl1()
205 return control; in b43_generate_tx_phy_ctl1()
253 int use_encryption = !!info->control.hw_key; in b43_generate_txhdr()
294 dev->wl->hw, info->control.vif, info->band, in b43_generate_txhdr()
300 u8 key_idx = info->control.hw_key->hw_key_idx; in b43_generate_txhdr()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/mtd/
Dgpio-control-nand.txt4 read/write the NAND commands and data and GPIO pins for the control
8 - compatible : "gpio-control-nand"
14 - gpios : Specifies the GPIO pins to control the NAND device. The order of
22 - gpio-control-nand,io-sync-reg : A 64-bit physical address for a read
34 compatible = "gpio-control-nand";
/linux-4.1.27/drivers/net/wireless/p54/
Dtxrx.c775 struct ieee80211_tx_control *control, in p54_tx_80211() argument
793 p54_tx_80211_header(priv, skb, info, control->sta, &queue, &extra_len, in p54_tx_80211()
804 if (info->control.hw_key) { in p54_tx_80211()
806 if (info->control.hw_key->cipher == WLAN_CIPHER_SUITE_TKIP) { in p54_tx_80211()
824 hdr->rts_tries = info->control.rates[0].count; in p54_tx_80211()
830 cts_rate = info->control.rts_cts_rate_idx; in p54_tx_80211()
836 if (info->control.rates[i].idx < 0) in p54_tx_80211()
849 info->control.rates[i].count); in p54_tx_80211()
855 int tmp = info->control.rates[i].count - calculated_tries[i]; in p54_tx_80211()
869 rate = info->control.rates[i].idx; in p54_tx_80211()
[all …]
/linux-4.1.27/Documentation/fb/
Dsa1100fb.txt33 lccr0:<value> Configure LCD control register 0 (11.7.3)
34 lccr1:<value> Configure LCD control register 1 (11.7.4)
35 lccr2:<value> Configure LCD control register 2 (11.7.5)
36 lccr3:<value> Configure LCD control register 3 (11.7.6)
/linux-4.1.27/drivers/clocksource/
Dbcm2835_timer.c43 void __iomem *control; member
86 if (readl_relaxed(timer->control) & timer->match_mask) { in bcm2835_time_interrupt()
87 writel_relaxed(timer->match_mask, timer->control); in bcm2835_time_interrupt()
126 timer->control = base + REG_CONTROL; in bcm2835_timer_init()
/linux-4.1.27/Documentation/devicetree/bindings/regulator/
Dlp872x.txt10 bit[2]: BUCK output voltage control by external DVS pin or register
12 bit[1]: sleep control by external DVS pin or register
18 bit[4]: BUCK2 enable control. 1 = enable, 0 = disable
20 bit[2]: BUCK1 output voltage control by external DVS pin or register
22 bit[1]: LDO sleep control. 1 = sleep mode, 0 = normal
23 bit[0]: BUCK1 enable control, 1 = enable, 0 = disable
28 - ti,dvs-gpio: GPIO specifier for external DVS pin control of LP872x devices.
Das3722-regulator.txt32 ams,ext-control: External control of the rail. The option of
35 0: There is no external control of this rail.
58 ams,ext-control = <2>;
66 ams,ext-control = <1>;
Dtps65090.txt17 - ti,enable-ext-control: This is applicable for DCDC1, DCDC2 and DCDC3.
19 - "dcdc-ext-control-gpios: This is applicable for DCDC1, DCDC2 and DCDC3.
22 entry then driver will just configure this rails as external control
56 ti,enable-ext-control;
57 dcdc-ext-control-gpios = <&gpio 10 0>;
/linux-4.1.27/arch/sparc/mm/
Diommu.c61 unsigned long control; in sbus_iommu_init() local
78 control = sbus_readl(&iommu->regs->control); in sbus_iommu_init()
79 impl = (control & IOMMU_CTRL_IMPL) >> 28; in sbus_iommu_init()
80 vers = (control & IOMMU_CTRL_VERS) >> 24; in sbus_iommu_init()
81 control &= ~(IOMMU_CTRL_RNGE); in sbus_iommu_init()
82 control |= (IOMMU_RNGE_256MB | IOMMU_CTRL_ENAB); in sbus_iommu_init()
83 sbus_writel(control, &iommu->regs->control); in sbus_iommu_init()
/linux-4.1.27/drivers/net/can/
Djanz-ican3.c248 u8 control; member
255 u8 control; member
260 u8 control; member
384 desc.control = DESC_INTERRUPT | DESC_LEN(1); /* I L=1 */ in ican3_init_new_host_interface()
389 desc.control |= DESC_WRAP; in ican3_init_new_host_interface()
405 desc.control = DESC_VALID | DESC_LEN(1); /* V L=1 */ in ican3_init_new_host_interface()
410 desc.control |= DESC_WRAP; in ican3_init_new_host_interface()
422 desc.control = DESC_VALID | DESC_WRAP | DESC_LEN(1); /* VW L=1 */ in ican3_init_new_host_interface()
432 desc.control = DESC_VALID | DESC_WRAP | DESC_LEN(1); /* VW L=1 */ in ican3_init_new_host_interface()
460 desc.control = 0x00; in ican3_init_fast_host_interface()
[all …]
/linux-4.1.27/arch/powerpc/include/asm/
Ddbdma.h15 unsigned int control; /* lets you change bits in status */ member
96 out_le32(&((regs)->control), (RUN|FLUSH)<<16); \
102 out_le32(&((regs)->control), (ACTIVE|DEAD|WAKE|FLUSH|PAUSE|RUN)<<16);\
/linux-4.1.27/net/decnet/
DTODO20 [maybe this should be done at socket level... the control data in the
34 o Add session control message flow control
36 o Add NSP message flow control
/linux-4.1.27/Documentation/devicetree/bindings/power/
Dpower-controller.txt1 * Generic system power control capability
4 sometimes able to control the system power. The device driver associated with these
8 marks the device as able to control the system power. In order to test if this
/linux-4.1.27/include/linux/
Dnetlink.h154 struct netlink_dump_control *control);
157 struct netlink_dump_control *control) in netlink_dump_start() argument
159 if (!control->module) in netlink_dump_start()
160 control->module = THIS_MODULE; in netlink_dump_start()
162 return __netlink_dump_start(ssk, skb, nlh, control); in netlink_dump_start()
/linux-4.1.27/drivers/net/phy/
Dlxt.c133 int control; in lxt973a2_update_link() local
142 control = phy_read(phydev, MII_BMCR); in lxt973a2_update_link()
143 if (control < 0) in lxt973a2_update_link()
144 return control; in lxt973a2_update_link()
149 } while (status >= 0 && retry-- && status == control); in lxt973a2_update_link()
/linux-4.1.27/Documentation/devicetree/bindings/c6x/
Ddscr.txt5 function for SoC control or status. Details vary considerably among from SoC
19 For device state control (enable/disable), each device control is assigned an
20 id which is used by individual device drivers to control the state as needed.
64 This property describes the bitfields used to control the state of devices.
65 Each tuple describes a range of identical bitfields used to control one or
71 start_id is device id for the first device control in the range
73 reg is the offset of the register holding the control bits
77 nbits is the number of bits per device control
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
Dtx.c103 u16 control = le16_to_cpu(bar->control); in iwl_mvm_set_tx_cmd() local
106 tx_cmd->tid_tspec = (control & in iwl_mvm_set_tx_cmd()
137 } else if (info->control.flags & IEEE80211_TX_CTRL_PORT_CTRL_PROTO) { in iwl_mvm_set_tx_cmd()
200 WARN_ONCE(info->control.rates[0].flags & IEEE80211_TX_RC_MCS, in iwl_mvm_set_tx_cmd_rate()
202 info->control.rates[0].flags, in iwl_mvm_set_tx_cmd_rate()
203 info->control.rates[0].idx, in iwl_mvm_set_tx_cmd_rate()
206 rate_idx = info->control.rates[0].idx; in iwl_mvm_set_tx_cmd_rate()
249 struct ieee80211_key_conf *keyconf = info->control.hw_key; in iwl_mvm_set_tx_cmd_crypto()
300 if (info->control.hw_key) in iwl_mvm_set_tx_params()
327 (!info->control.vif || in iwl_mvm_tx_skb_non_sta()
[all …]
/linux-4.1.27/drivers/tty/serial/
Dip22zilog.h9 volatile unsigned char control; member
13 volatile unsigned char control;
268 #define ZS_CLEARERR(channel) do { writeb(ERR_RES, &channel->control); \
271 #define ZS_CLEARSTAT(channel) do { writeb(RES_EXT_INT, &channel->control); \
Dip22zilog.c117 writeb(reg, &channel->control); in read_zsreg()
119 retval = readb(&channel->control); in read_zsreg()
128 writeb(reg, &channel->control); in write_zsreg()
130 writeb(value, &channel->control); in write_zsreg()
141 regval = readb(&channel->control); in ip22zilog_clear_fifo()
151 writeb(ERR_RES, &channel->control); in ip22zilog_clear_fifo()
173 writeb(ERR_RES, &channel->control); in __load_zsregs()
259 ch = readb(&channel->control); in ip22zilog_receive_chars()
266 writeb(ERR_RES, &channel->control); in ip22zilog_receive_chars()
321 status = readb(&channel->control); in ip22zilog_status_handle()
[all …]
Dioc4_serial.c746 struct ioc4_control *control = idd->idd_serial_data; in get_ioc4_port() local
750 if (control) { in get_ioc4_port()
753 port = control->ic_port[port_num].icp_port; in get_ioc4_port()
1058 struct ioc4_control* control = idd->idd_serial_data; in ioc4_attach_local() local
1059 struct ioc4_soft *soft = control->ic_soft; in ioc4_attach_local()
1094 control->ic_port[port_number].icp_port = port; in ioc4_attach_local()
1108 port->ip_control = control; in ioc4_attach_local()
1167 port_number, (void *)port, (void *)control)); in ioc4_attach_local()
2539 struct ioc4_control *control; in ic4_startup() local
2550 control = port->ip_control; in ic4_startup()
[all …]
Dsunzilog.c64 readb(&((__channel)->control))
134 writeb(reg, &channel->control); in read_zsreg()
136 retval = readb(&channel->control); in read_zsreg()
145 writeb(reg, &channel->control); in write_zsreg()
147 writeb(value, &channel->control); in write_zsreg()
158 regval = readb(&channel->control); in sunzilog_clear_fifo()
168 writeb(ERR_RES, &channel->control); in sunzilog_clear_fifo()
192 writeb(ERR_RES, &channel->control); in __load_zsregs()
340 writeb(ERR_RES, &channel->control); in sunzilog_receive_chars()
345 ch = readb(&channel->control); in sunzilog_receive_chars()
[all …]
/linux-4.1.27/drivers/cpufreq/
Dpowernow-k8.c726 u64 control; in powernow_k8_acpi_pst_values() local
731 control = data->acpi_data.states[index].control; in powernow_k8_acpi_pst_values()
732 data->irt = (control >> IRT_SHIFT) & IRT_MASK; in powernow_k8_acpi_pst_values()
733 data->rvo = (control >> RVO_SHIFT) & RVO_MASK; in powernow_k8_acpi_pst_values()
734 data->exttype = (control >> EXT_TYPE_SHIFT) & EXT_TYPE_MASK; in powernow_k8_acpi_pst_values()
735 data->plllock = (control >> PLL_L_SHIFT) & PLL_L_MASK; in powernow_k8_acpi_pst_values()
736 data->vidmvs = 1 << ((control >> MVS_SHIFT) & MVS_MASK); in powernow_k8_acpi_pst_values()
737 data->vstable = (control >> VST_SHIFT) & VST_MASK; in powernow_k8_acpi_pst_values()
744 u64 control, status; in powernow_k8_cpu_init_acpi() local
757 control = data->acpi_data.control_register.space_id; in powernow_k8_cpu_init_acpi()
[all …]
/linux-4.1.27/net/irda/
Dirlap_frame.c145 frame->control = SNRM_CMD | PF_BIT; in irlap_send_snrm_frame()
235 frame->control = UA_RSP | PF_BIT; in irlap_send_ua_response_frame()
278 frame->control = DM_RSP | PF_BIT; in irlap_send_dm_frame()
304 frame->control = DISC_CMD | PF_BIT; in irlap_send_disc_frame()
340 frame->control = XID_CMD | PF_BIT; in irlap_send_discovery_xid_frame()
343 frame->control = XID_RSP | PF_BIT; in irlap_send_discovery_xid_frame()
596 frame->control = RR | PF_BIT | (self->vr << 5); in irlap_send_rr_frame()
619 frame->control = RD_RSP | PF_BIT; in irlap_send_rd_frame()
1216 frame->control = TEST_RSP | PF_BIT; in irlap_send_test_frame()
1291 __u8 control; in irlap_driver_rcv() local
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/dma/
Dqcom_adm.txt8 denotes CRCI (client rate control interface) flow control assignment.
44 3. CRCI assignment, if applicable. If no CRCI flow control is required, use 0.
45 The CRCI is used for flow control. It identifies the peripheral device that
/linux-4.1.27/Documentation/namespaces/
Dresource-control.txt7 Therefore it is recommended that memory control groups be enabled in
9 that userspace configure memory control groups to limit how much
12 Memory control groups can be configured by installing the libcgroup
/linux-4.1.27/arch/tile/kernel/
Dsingle_step.c746 unsigned long control = __insn_mfspr(SPR_SINGLE_STEP_CONTROL_K); in gx_singlestep_handle() local
752 (!(control & SPR_SINGLE_STEP_CONTROL_1__CANCELED_MASK))) { in gx_singlestep_handle()
754 control |= SPR_SINGLE_STEP_CONTROL_1__CANCELED_MASK; in gx_singlestep_handle()
755 control |= SPR_SINGLE_STEP_CONTROL_1__INHIBIT_MASK; in gx_singlestep_handle()
756 __insn_mtspr(SPR_SINGLE_STEP_CONTROL_K, control); in gx_singlestep_handle()
771 unsigned long control = __insn_mfspr(SPR_SINGLE_STEP_CONTROL_K); in single_step_once() local
774 control |= SPR_SINGLE_STEP_CONTROL_1__CANCELED_MASK; in single_step_once()
775 control |= SPR_SINGLE_STEP_CONTROL_1__INHIBIT_MASK; in single_step_once()
776 __insn_mtspr(SPR_SINGLE_STEP_CONTROL_K, control); in single_step_once()
/linux-4.1.27/Documentation/wimax/
DREADME.wimax7 control API for WiMAX devices, usable from kernel and user space.
11 The WiMAX stack is designed to provide for common WiMAX control
20 control structures. This provides a set of callbacks that the WiMAX
21 stack will call in order to implement control operations requested by
25 The stack exports the API calls needed to control the device to user
40 control.
/linux-4.1.27/arch/arm/boot/compressed/
Dbig-endian.S10 mrc p15, 0, r0, c1, c0, 0 @ read control reg
12 mcr p15, 0, r0, c1, c0, 0 @ write control reg
/linux-4.1.27/drivers/staging/iio/accel/
Dlis3l02dq_core.c582 u8 control, val; in lis3l02dq_disable_all_events() local
586 &control); in lis3l02dq_disable_all_events()
588 control &= ~LIS3L02DQ_REG_CTRL_2_ENABLE_INTERRUPT; in lis3l02dq_disable_all_events()
591 control); in lis3l02dq_disable_all_events()
608 ret = control; in lis3l02dq_disable_all_events()
620 u8 val, control; in lis3l02dq_write_event_config() local
629 &control); in lis3l02dq_write_event_config()
653 control = val & 0x3f ? in lis3l02dq_write_event_config()
654 (control | LIS3L02DQ_REG_CTRL_2_ENABLE_INTERRUPT) : in lis3l02dq_write_event_config()
655 (control & ~LIS3L02DQ_REG_CTRL_2_ENABLE_INTERRUPT); in lis3l02dq_write_event_config()
[all …]
/linux-4.1.27/drivers/net/wireless/rt2x00/
Drt2x00mac.c40 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in rt2x00mac_tx_rts_cts()
65 rts_info->control.rates[0].flags &= ~IEEE80211_TX_RC_USE_RTS_CTS; in rt2x00mac_tx_rts_cts()
66 rts_info->control.rates[0].flags &= ~IEEE80211_TX_RC_USE_CTS_PROTECT; in rt2x00mac_tx_rts_cts()
68 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in rt2x00mac_tx_rts_cts()
74 rts_info->control.hw_key = NULL; in rt2x00mac_tx_rts_cts()
82 if (tx_info->control.rates[0].flags & IEEE80211_TX_RC_USE_CTS_PROTECT) in rt2x00mac_tx_rts_cts()
83 ieee80211_ctstoself_get(rt2x00dev->hw, tx_info->control.vif, in rt2x00mac_tx_rts_cts()
87 ieee80211_rts_get(rt2x00dev->hw, tx_info->control.vif, in rt2x00mac_tx_rts_cts()
101 struct ieee80211_tx_control *control, in rt2x00mac_tx() argument
143 (tx_info->control.rates[0].flags & (IEEE80211_TX_RC_USE_RTS_CTS | in rt2x00mac_tx()
[all …]
/linux-4.1.27/Documentation/acpi/
Dvideo_extension.txt6 Specification, Appendix B, allowing to perform some basic control like
11 The ACPI video driver does 3 things regarding backlight control:
13 1 Export a sysfs interface for user space to control backlight level
18 interface control. For every registered class device, there will be a
25 actual_brightness: on read, control method _BQC will be evaluated to
28 brightness: on write, control method _BCM will run to set the requested
106 control of the backlight level.
/linux-4.1.27/drivers/i2c/busses/
Di2c-ismt.c157 u8 control; /* control bits */ member
205 dev_dbg(dev, "\tcontrol= 0x%02X\n", desc->control); in __ismt_desc_dump()
402 desc->control = ISMT_DESC_INT | ISMT_DESC_FAIR; in ismt_access()
404 desc->control = ISMT_DESC_FAIR; in ismt_access()
408 desc->control |= ISMT_DESC_PEC; in ismt_access()
422 desc->control |= ISMT_DESC_CWRL; in ismt_access()
448 desc->control |= ISMT_DESC_CWRL; in ismt_access()
470 desc->control |= ISMT_DESC_CWRL; in ismt_access()
495 desc->control |= ISMT_DESC_BLK; in ismt_access()
505 desc->control |= (ISMT_DESC_BLK | ISMT_DESC_CWRL); in ismt_access()
[all …]
Di2c-mv64xxx.c112 u8 control; member
155 .control = 0x08,
165 .control = 0x0c,
219 drv_data->reg_base + drv_data->reg_offsets.control); in mv64xxx_i2c_hw_init()
341 drv_data->reg_base + drv_data->reg_offsets.control); in mv64xxx_i2c_send_start()
369 drv_data->reg_base + drv_data->reg_offsets.control); in mv64xxx_i2c_do_action()
376 drv_data->reg_base + drv_data->reg_offsets.control); in mv64xxx_i2c_do_action()
383 drv_data->reg_base + drv_data->reg_offsets.control); in mv64xxx_i2c_do_action()
390 drv_data->reg_base + drv_data->reg_offsets.control); in mv64xxx_i2c_do_action()
397 drv_data->reg_base + drv_data->reg_offsets.control); in mv64xxx_i2c_do_action()
[all …]
/linux-4.1.27/arch/ia64/kernel/
Dpalinfo.c518 static void feature_set_info(struct seq_file *m, u64 avail, u64 status, u64 control, in feature_set_info() argument
525 for(i=0; i < 64; i++, avail >>=1, status >>=1, control >>=1) { in feature_set_info()
527 if (!(control)) /* No remaining bits set */ in feature_set_info()
537 avail & 0x1 ? (control & 0x1 ? in feature_set_info()
545 avail & 0x1 ? (control & 0x1 ? in feature_set_info()
553 u64 avail=1, status=1, control=1, feature_set=0; in processor_info() local
557 ret = ia64_pal_proc_get_features(&avail, &status, &control, in processor_info()
567 feature_set_info(m, avail, status, control, feature_set); in processor_info()
604 u64 avail, status, control; in bus_info() local
613 control = ct.pal_bus_features_val; in bus_info()
[all …]
/linux-4.1.27/drivers/usb/gadget/udc/
Dgr_udc.c190 u32 control = gr_read32(&dev->regs->control); in gr_seq_show() local
197 (control & GR_CONTROL_UA_MASK) >> GR_CONTROL_UA_POS); in gr_seq_show()
785 gr_write32(&dev->regs->control, 0); in gr_disable_interrupts_and_pullup()
816 u32 control; in gr_ep0_testmode_complete() local
823 control = gr_read32(&dev->regs->control); in gr_ep0_testmode_complete()
824 control |= GR_CONTROL_TM | (dev->test_mode << GR_CONTROL_TS_POS); in gr_ep0_testmode_complete()
825 gr_write32(&dev->regs->control, control); in gr_ep0_testmode_complete()
893 u32 control; in gr_set_address() local
895 control = gr_read32(&dev->regs->control) & ~GR_CONTROL_UA_MASK; in gr_set_address()
896 control |= (address << GR_CONTROL_UA_POS) & GR_CONTROL_UA_MASK; in gr_set_address()
[all …]
/linux-4.1.27/arch/mips/include/asm/ip32/
Dmace.h49 volatile unsigned int control; member
135 volatile unsigned long control; member
140 volatile unsigned long control; /* channel control */ member
240 volatile unsigned long control; member
259 volatile unsigned long control; member
/linux-4.1.27/drivers/hid/
Dhid-roccat-common.c78 struct roccat_common2_control control; in roccat_common2_receive_control_status() local
84 &control, sizeof(struct roccat_common2_control)); in roccat_common2_receive_control_status()
89 switch (control.value) { in roccat_common2_receive_control_status()
103 control.value); in roccat_common2_receive_control_status()
/linux-4.1.27/Documentation/s390/
D3270.ChangeLog22 Sep 2002: Recognize 3270 control unit type 3174
23 * Recognize control-unit type 0x3174 as well as 0x327?.
24 The IBM 2047 device emulates a 3174 control unit.
25 Modularize control-unit recognition in tuball.c by
/linux-4.1.27/drivers/net/ethernet/aeroflex/
Dgreth.c123 GRETH_REGORIN(greth->regs->control, GRETH_TXEN); in greth_enable_tx()
129 GRETH_REGORIN(greth->regs->control, GRETH_TXEN | GRETH_TXI); in greth_enable_tx_and_irq()
134 GRETH_REGANDIN(greth->regs->control, ~GRETH_TXEN); in greth_disable_tx()
140 GRETH_REGORIN(greth->regs->control, GRETH_RXEN); in greth_enable_rx()
145 GRETH_REGANDIN(greth->regs->control, ~GRETH_RXEN); in greth_disable_rx()
150 GRETH_REGORIN(greth->regs->control, GRETH_RXI | GRETH_TXI); in greth_enable_irqs()
155 GRETH_REGANDIN(greth->regs->control, ~(GRETH_RXI|GRETH_TXI)); in greth_disable_irqs()
409 ctrl = GRETH_REGLOAD(greth->regs->control); in greth_start_xmit()
412 GRETH_REGSAVE(greth->regs->control, ctrl | GRETH_TXI); in greth_start_xmit()
603 ctrl = GRETH_REGLOAD(greth->regs->control); in greth_interrupt()
[all …]
/linux-4.1.27/drivers/platform/x86/
DKconfig33 wireless radio and bluetooth control, and on some laptops,
45 the temperature sensor and to control the fan.
47 After loading this driver the BIOS is still in control of the fan.
58 tristate "Alienware Special feature control"
85 support for video output switching, LCD backlight control,
86 Bluetooth and Wlan control, and most importantly, allows you
105 This driver adds support for rfkill and backlight control to Dell
155 It adds support for LCD brightness control and some hotkeys.
201 control) of the HP Compaq TC1100 tablet.
260 It adds support for Bluetooth, WLAN and LCD brightness control.
[all …]
/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_pcie.c253 u16 control; in qib_msi_setup() local
267 pci_read_config_word(pdev, pos + PCI_MSI_FLAGS, &control); in qib_msi_setup()
269 pci_read_config_word(pdev, pos + ((control & PCI_MSI_FLAGS_64BIT) in qib_msi_setup()
356 u16 control; in qib_reinit_intr() local
375 pci_read_config_word(dd->pcidev, pos + PCI_MSI_FLAGS, &control); in qib_reinit_intr()
376 if (!(control & PCI_MSI_FLAGS_ENABLE)) { in qib_reinit_intr()
377 control |= PCI_MSI_FLAGS_ENABLE; in qib_reinit_intr()
379 control); in qib_reinit_intr()
383 ((control & PCI_MSI_FLAGS_64BIT) ? 12 : 8), in qib_reinit_intr()
/linux-4.1.27/arch/s390/kernel/
Duprobes.c51 static int check_per_event(unsigned short cause, unsigned long control, in check_per_event() argument
57 if (control == 0) in check_per_event()
60 if ((control & 0x20200000) && (cause & 0x2000)) in check_per_event()
64 if ((control & 0x80800000) == 0x80000000) in check_per_event()
67 if (((control & 0x80800000) == 0x80800000) && in check_per_event()
99 current->thread.per_user.control, regs)) { in arch_uprobe_post_xol()
242 if (!(current->thread.per_user.control & PER_EVENT_STORE)) in sim_stor_event()
/linux-4.1.27/drivers/firmware/
Discsi_ibft.c697 struct ibft_control *control = NULL; in ibft_register_kobjects() local
703 control = (void *)header + sizeof(*header); in ibft_register_kobjects()
704 end = (void *)control + control->hdr.length; in ibft_register_kobjects()
705 eot_offset = (void *)header + header->header.length - (void *)control; in ibft_register_kobjects()
706 rc = ibft_verify_hdr("control", (struct ibft_hdr *)control, id_control, in ibft_register_kobjects()
707 sizeof(*control)); in ibft_register_kobjects()
710 rc |= ((control->hdr.index) ? -ENODEV : 0); in ibft_register_kobjects()
715 for (ptr = &control->initiator_off; ptr < end; ptr += sizeof(u16)) { in ibft_register_kobjects()
/linux-4.1.27/drivers/net/wireless/b43legacy/
Dxmit.c195 int use_encryption = !!info->control.hw_key; in generate_txhdr_fw3()
230 info->control.vif, in generate_txhdr_fw3()
238 u8 key_idx = info->control.hw_key->hw_key_idx; in generate_txhdr_fw3()
248 plcp_fragment_len += info->control.hw_key->icv_len; in generate_txhdr_fw3()
257 iv_len = min_t(size_t, info->control.hw_key->iv_len, in generate_txhdr_fw3()
278 if (info->control.rates[0].flags & IEEE80211_TX_RC_USE_SHORT_PREAMBLE) in generate_txhdr_fw3()
283 rates = info->control.rates; in generate_txhdr_fw3()
322 info->control.vif, in generate_txhdr_fw3()
331 info->control.vif, in generate_txhdr_fw3()
Dphy.c1242 u16 control) in b43legacy_phy_lo_g_deviation_subval() argument
1251 control <<= 8; in b43legacy_phy_lo_g_deviation_subval()
1252 b43legacy_phy_write(dev, 0x0812, control | 0x00B0); in b43legacy_phy_lo_g_deviation_subval()
1254 b43legacy_phy_write(dev, 0x0812, control | 0x00B2); in b43legacy_phy_lo_g_deviation_subval()
1256 b43legacy_phy_write(dev, 0x0812, control | 0x00B3); in b43legacy_phy_lo_g_deviation_subval()
1261 b43legacy_phy_write(dev, 0x0015, control | 0xEFA0); in b43legacy_phy_lo_g_deviation_subval()
1263 b43legacy_phy_write(dev, 0x0015, control | 0xEFE0); in b43legacy_phy_lo_g_deviation_subval()
1265 b43legacy_phy_write(dev, 0x0015, control | 0xFFE0); in b43legacy_phy_lo_g_deviation_subval()
1276 u16 control) in b43legacy_phy_lo_g_singledeviation() argument
1282 ret += b43legacy_phy_lo_g_deviation_subval(dev, control); in b43legacy_phy_lo_g_singledeviation()
[all …]
/linux-4.1.27/drivers/soc/ti/
Dknav_dma.c74 u32 control; member
84 u32 control; member
157 writel_relaxed(DMA_ENABLE, &chan->reg_chan->control); in chan_start()
179 writel_relaxed(v, &chan->reg_rx_flow->control); in chan_start()
211 writel_relaxed(DMA_TEARDOWN, &chan->reg_chan->control); in chan_teardown()
216 value = readl_relaxed(&chan->reg_chan->control); in chan_teardown()
221 if (readl_relaxed(&chan->reg_chan->control) & DMA_ENABLE) { in chan_teardown()
246 writel_relaxed(0, &chan->reg_rx_flow->control); in chan_stop()
263 writel_relaxed(DMA_ENABLE, &dma->reg_tx_chan[i].control); in dma_hw_enable_all()
288 writel_relaxed(DMA_ENABLE, &dma->reg_rx_chan[i].control); in knav_dma_hw_init()
[all …]
/linux-4.1.27/drivers/media/rc/
DKconfig64 Enable this option if you have an infrared remote control which
74 Enable this option if you have an infrared remote control which
84 Enable this option if you have an infrared remote control which
93 Enable this option if you have an infrared remote control which
103 Enable this option if you have an infrared remote control which
140 Say Y here if you want to use an X10 based USB remote control.
168 tristate "Hisilicon hix5hd2 IR remote control"
171 Say Y here if you want to use hisilicon hix5hd2 remote control.
276 tristate "Winbond IR remote control"
331 driver can control the led.
[all …]
/linux-4.1.27/drivers/media/rc/img-ir/
Dimg-ir-hw.c140 static u32 img_ir_control(const struct img_ir_control *control) in img_ir_control() argument
142 u32 ctrl = control->code_type << IMG_IR_CODETYPE_SHIFT; in img_ir_control()
143 if (control->decoden) in img_ir_control()
145 if (control->hdrtog) in img_ir_control()
147 if (control->ldrdec) in img_ir_control()
149 if (control->decodinpol) in img_ir_control()
151 if (control->bitorien) in img_ir_control()
153 if (control->d1validsel) in img_ir_control()
155 if (control->bitinv) in img_ir_control()
157 if (control->decodend2) in img_ir_control()
[all …]
/linux-4.1.27/drivers/video/backlight/
DKconfig20 This framework adds support for low-level control of LCD.
22 in order to have a platform-specific way to control the flat panel
56 power control driver for it. The panel starts up in power
95 control interface.
110 say Y to enable LCD control driver.
118 LCD control driver.
126 control driver.
134 LCD control driver.
142 LCD control driver.
148 If you have a HX-8357 LCD panel, say Y to enable its LCD control
[all …]
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
Dtx.c178 struct ieee80211_tx_info *control; in wl12xx_tx_get_hlid() local
183 control = IEEE80211_SKB_CB(skb); in wl12xx_tx_get_hlid()
184 if (control->flags & IEEE80211_TX_CTL_TX_OFFCHAN) { in wl12xx_tx_get_hlid()
266 struct ieee80211_tx_info *control, u8 hlid) in wl1271_tx_fill_hdr() argument
337 else if (control->flags & IEEE80211_TX_CTL_NO_CCK_RATE) in wl1271_tx_fill_hdr()
366 if (control->control.flags & IEEE80211_TX_CTRL_PORT_CTRL_PROTO) in wl1271_tx_fill_hdr()
401 info->control.hw_key && in wl1271_prepare_tx_frame()
402 info->control.hw_key->cipher == WLAN_CIPHER_SUITE_TKIP) in wl1271_prepare_tx_frame()
405 if (info->control.hw_key) { in wl1271_prepare_tx_frame()
407 u8 idx = info->control.hw_key->hw_key_idx; in wl1271_prepare_tx_frame()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/misc/
Dfsl,qoriq-mc.txt19 the MC control register region.
29 -the second region is the MC control registers. This
38 <0x00000000 0x08340000 0 0x40000>; /* MC control reg */
/linux-4.1.27/drivers/pinctrl/mediatek/
DKconfig13 bool "Mediatek MT8135 pin control" if COMPILE_TEST && !MACH_MT8135
20 bool "Mediatek MT8173 pin control"

123456789