Searched refs:setup (Results 1 - 25 of 450) sorted by relevance

1234567891011>>

/drivers/pci/
H A DMakefile6 pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
7 irq.o vpd.o setup-bus.o vc.o
34 # Some architectures use the generic PCI setup functions
36 obj-$(CONFIG_ALPHA) += setup-irq.o
37 obj-$(CONFIG_ARM) += setup-irq.o
38 obj-$(CONFIG_UNICORE32) += setup-irq.o
39 obj-$(CONFIG_SUPERH) += setup-irq.o
40 obj-$(CONFIG_MIPS) += setup-irq.o
41 obj-$(CONFIG_TILE) += setup-irq.o
42 obj-$(CONFIG_SPARC_LEON) += setup
[all...]
/drivers/clk/bcm/
H A DMakefile2 obj-$(CONFIG_CLK_BCM_KONA) += clk-kona-setup.o
/drivers/isdn/pcbit/
H A Dcallbacks.c52 cbdata->data.setup.CalledPN);
59 if ((len = capi_conn_req(cbdata->data.setup.CalledPN, &skb,
147 if (cbdata->data.setup.CallingPN == NULL) {
149 strcpy(ictl.parm.setup.phone, "0");
152 strcpy(ictl.parm.setup.phone, cbdata->data.setup.CallingPN);
154 if (cbdata->data.setup.CalledPN == NULL) {
156 strcpy(ictl.parm.setup.eazmsn, "0");
159 strcpy(ictl.parm.setup.eazmsn, cbdata->data.setup
[all...]
H A Dedss1.h76 } setup; member in union:callb_data::__anon1935
/drivers/i2c/
H A Di2c-smbus.c137 struct i2c_smbus_alert_setup *setup = dev_get_platdata(&ara->dev); local
147 alert->alert_edge_triggered = setup->alert_edge_triggered;
148 alert->irq = setup->irq;
152 if (setup->irq > 0) {
153 res = devm_request_irq(&ara->dev, setup->irq, smbalert_irq,
161 setup->alert_edge_triggered ? "edge" : "level");
193 * @setup: setup data for the SMBus alert handler
211 struct i2c_smbus_alert_setup *setup)
215 .platform_data = setup,
210 i2c_setup_smbus_alert(struct i2c_adapter *adapter, struct i2c_smbus_alert_setup *setup) argument
[all...]
/drivers/isdn/sc/
H A Devent.c57 memcpy(&cmd.parm.setup, Data, sizeof(cmd.parm.setup));
H A Dinterrupt.c97 setup_parm setup; local
119 len = strlcpy(setup.phone, &(rcvmsg.msg_data.byte_array[4]),
120 sizeof(setup.phone));
121 if (len >= sizeof(setup.phone))
123 len = strlcpy(setup.eazmsn,
125 sizeof(setup.eazmsn));
126 if (len >= sizeof(setup.eazmsn))
128 setup.si1 = 7;
129 setup.si2 = 0;
130 setup
[all...]
/drivers/acpi/acpica/
H A Devhandler.c317 * setup - Address of the setup function
331 acpi_adr_space_setup setup, void *context)
359 setup = acpi_ev_system_memory_region_setup;
365 setup = acpi_ev_io_space_region_setup;
371 setup = acpi_ev_pci_config_region_setup;
377 setup = acpi_ev_cmos_region_setup;
383 setup = acpi_ev_pci_bar_region_setup;
389 setup = NULL;
399 /* If the caller hasn't specified a setup routin
328 acpi_ev_install_space_handler(struct acpi_namespace_node * node, acpi_adr_space_type space_id, acpi_adr_space_handler handler, acpi_adr_space_setup setup, void *context) argument
[all...]
/drivers/isdn/gigaset/
H A Di4l.c223 cntrl->parm.setup.phone, cntrl->parm.setup.eazmsn,
224 cntrl->parm.setup.si1, cntrl->parm.setup.si2);
253 l = 3 + strlen(cntrl->parm.setup.phone);
257 if (cntrl->parm.setup.phone[0] == '*' &&
258 cntrl->parm.setup.phone[1] == '*') {
264 "D%s\r", cntrl->parm.setup.phone + 2);
270 "D%s\r", cntrl->parm.setup.phone);
273 l = strlen(cntrl->parm.setup
[all...]
/drivers/ata/
H A Dpata_at91.c93 * @setup: SMC_SETUP register value
104 * SMC_SETUP = 128*setup[5] + setup[4:0]
109 int *setup, int *pulse, int *cycle, int *cs_pulse)
128 ret_val = adjust_smc_value(setup, range_setup, ARRAY_SIZE(range_setup));
165 * @setup: SETUP value of SMC Setup Register
170 static void to_smc_format(int *setup, int *pulse, int *cycle, int *cs_pulse) argument
172 *setup = (*setup & 0x1f) | ((*setup
108 calc_smc_vals(struct device *dev, int *setup, int *pulse, int *cycle, int *cs_pulse) argument
212 unsigned int setup; /* SMC Setup width in MCK ticks */ local
[all...]
H A Dpata_ns87410.c93 at.setup = clamp_val(at.setup, 1, 4) - 1;
96 idetcr = (at.setup << 6) | (recoverbits[at.recover] << 3) | activebits[at.active];
H A Dpata_cmd640.c48 * Called to do the PIO mode setup.
67 /* The second channel has shared timings and the setup timing is
91 if (t.setup > 4)
92 t.setup = 0xC0;
94 t.setup = setup_data[t.setup];
99 /* Load setup timing */
102 reg |= t.setup;
109 by qc_issue. Reloading the setup time is expensive so we
113 reg |= t.setup;
[all...]
/drivers/net/arcnet/
H A Dcom20020.c97 lp->setup = lp->clockm ? 0 : (lp->clockp << 1);
102 lp->setup = lp->setup | P1MODE;
105 outb(lp->setup, _XREG);
199 outb(lp->setup, _XREG);
235 lp->setup >> 1,
236 clockrates[3 - ((lp->setup2 & 0xF0) >> 4) + ((lp->setup & 0x0F) >> 1)]);
344 if (!(lp->setup & PROMISCset))
347 lp->setup |= PROMISCset;
348 outb(lp->setup, _XRE
[all...]
/drivers/scsi/
H A Daha152x.c685 /* setup & interrupt */
780 struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup) argument
796 shpnt->io_port = setup->io_port;
798 shpnt->irq = setup->irq;
800 if (!setup->tc1550) {
801 HOSTIOPORT0 = setup->io_port;
802 HOSTIOPORT1 = setup->io_port;
804 HOSTIOPORT0 = setup->io_port+0x10;
805 HOSTIOPORT1 = setup->io_port-0x10;
809 RECONNECT = setup
3453 static struct aha152x_setup setup[2]; variable in typeref:struct:aha152x_setup
3550 checksetup(struct aha152x_setup *setup) argument
[all...]
/drivers/xen/events/
H A Devents_internal.h62 int (*setup)(struct irq_info *info); member in struct:evtchn_ops
91 * Do any ABI specific setup for a bound event channel before it can
96 if (evtchn_ops->setup)
97 return evtchn_ops->setup(info);
/drivers/spi/
H A Dspi-dw-pci.c32 int (*setup)(struct dw_spi *); member in struct:spi_pci_desc
36 .setup = dw_spi_mid_init,
73 * Specific handling for paltforms, like dma setup,
76 if (desc && desc->setup) {
77 ret = desc->setup(dws);
/drivers/hwmon/
H A Dshtc1.c59 struct shtc1_platform_data setup; member in struct:shtc1_data
81 if (!data->setup.blocking_io)
166 if (data->setup.high_precision) {
167 data->command = data->setup.blocking_io ?
173 data->command = data->setup.blocking_io ?
214 data->setup.blocking_io = false;
215 data->setup.high_precision = true;
219 data->setup = *(struct shtc1_platform_data *)dev->platform_data;
/drivers/tty/serial/
H A Dearlycon.c115 int (*setup)(struct earlycon_device *, const char *))
121 if (!buf || !match || !setup)
133 /* On parsing error, pass the options buf to the setup function */
141 err = setup(&early_console_dev, buf);
152 int (*setup)(struct earlycon_device *, const char *))
163 err = setup(&early_console_dev, NULL);
/drivers/net/wireless/p54/
H A Dfwio.c318 struct p54_setup_mac *setup; local
321 skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*setup),
326 setup = (struct p54_setup_mac *) skb_put(skb, sizeof(*setup));
359 setup->mac_mode = cpu_to_le16(mode);
360 memcpy(setup->mac_addr, priv->mac_addr, ETH_ALEN);
361 memcpy(setup->bssid, priv->bssid, ETH_ALEN);
362 setup->rx_antenna = 2 & priv->rx_diversity_mask; /* automatic */
363 setup->rx_align = 0;
365 setup
[all...]
/drivers/ide/
H A Ddelkin_cb.c38 static const u8 setup[] = { variable
57 for (i = 0; i < sizeof(setup); ++i) {
58 if (setup[i])
59 outb(setup[i], base + i);
/drivers/isdn/divert/
H A Disdn_divert.c23 isdn_ctrl ics; /* delivered setup + driver parameters */
80 strlcpy(cs->ics.parm.setup.phone, cs->deflect_dest, sizeof(cs->ics.parm.setup.phone));
81 strcpy(cs->ics.parm.setup.eazmsn, "Testtext delayed");
253 strlcpy(cs->ics.parm.setup.phone, to_nr, sizeof(cs->ics.parm.setup.phone));
254 strcpy(cs->ics.parm.setup.eazmsn, "Testtext manual");
402 if ((dv->rule.si1) && (dv->rule.si1 != ic->parm.setup.si1))
404 if ((dv->rule.si2) && (dv->rule.si2 != ic->parm.setup.si2))
408 p1 = ic->parm.setup
[all...]
/drivers/staging/ozwpan/
H A Dozusbif.h23 int oz_usb_control_req(void *hpd, u8 req_id, struct usb_ctrlrequest *setup,
H A Dozusbsvc1.c195 int oz_usb_control_req(void *hpd, u8 req_id, struct usb_ctrlrequest *setup, argument
198 unsigned wvalue = le16_to_cpu(setup->wValue);
199 unsigned windex = le16_to_cpu(setup->wIndex);
200 unsigned wlength = le16_to_cpu(setup->wLength);
203 if ((setup->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) {
204 switch (setup->bRequest) {
207 setup->bRequestType, (u8)(wvalue>>8),
208 (u8)wvalue, setup->wIndex, 0, wlength);
224 setup->bRequestType & 0xf, (u8)windex,
225 setup
[all...]
/drivers/video/logo/
H A Dlogo.c17 #include <asm/setup.h>
/drivers/net/ethernet/dec/tulip/
H A Dmedia.c190 u16 setup[5]; local
193 setup[i] = get_u16(&p[i*2 + 1]);
210 setup[0], setup[1]);
211 if (p[0] & 0x40) { /* SIA (CSR13-15) setup values are provided. */
212 csr13val = setup[0];
213 csr14val = setup[1];
214 csr15dir = (setup[3]<<16) | setup[2];
215 csr15val = (setup[
322 u16 setup[5]; local
[all...]

Completed in 1746 milliseconds

1234567891011>>