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

1234567891011>>

/drivers/pci/
H A DMakefile6 pci-driver.o search.o pci-sysfs.o rom.o setup-res.o \
36 # Some architectures use the generic PCI setup functions
38 obj-$(CONFIG_X86) += setup-bus.o
39 obj-$(CONFIG_ALPHA) += setup-bus.o setup-irq.o
40 obj-$(CONFIG_ARM) += setup-bus.o setup-irq.o
41 obj-$(CONFIG_UNICORE32) += setup-bus.o setup-irq.o
42 obj-$(CONFIG_PARISC) += setup
[all...]
/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::__anon1296
/drivers/i2c/
H A Di2c-smbus.c140 struct i2c_smbus_alert_setup *setup = ara->dev.platform_data; local
149 alert->alert_edge_triggered = setup->alert_edge_triggered;
150 alert->irq = setup->irq;
154 if (setup->irq > 0) {
155 res = devm_request_irq(&ara->dev, setup->irq, smbalert_irq,
165 setup->alert_edge_triggered ? "edge" : "level");
199 * @setup: setup data for the SMBus alert handler
217 struct i2c_smbus_alert_setup *setup)
221 .platform_data = setup,
216 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/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.c94 * @setup: SMC_SETUP register value
105 * SMC_SETUP = 128*setup[5] + setup[4:0]
110 int *setup, int *pulse, int *cycle, int *cs_pulse)
129 ret_val = adjust_smc_value(setup, range_setup, ARRAY_SIZE(range_setup));
166 * @setup: SETUP value of SMC Setup Register
171 static void to_smc_format(int *setup, int *pulse, int *cycle, int *cs_pulse) argument
173 *setup = (*setup & 0x1f) | ((*setup
109 calc_smc_vals(struct device *dev, int *setup, int *pulse, int *cycle, int *cs_pulse) argument
213 unsigned int setup; /* SMC Setup width in MCK ticks */ local
[all...]
H A Dpata_cmd640.c49 * Called to do the PIO mode setup.
68 /* The second channel has shared timings and the setup timing is
92 if (t.setup > 4)
93 t.setup = 0xC0;
95 t.setup = setup_data[t.setup];
100 /* Load setup timing */
103 reg |= t.setup;
110 by qc_issue. Reloading the setup time is expensive so we
114 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);
185 outb(lp->setup, _XREG);
221 lp->setup >> 1,
222 clockrates[3 - ((lp->setup2 & 0xF0) >> 4) + ((lp->setup & 0x0F) >> 1)]);
330 if (!(lp->setup & PROMISCset))
333 lp->setup |= PROMISCset;
334 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
3490 static struct aha152x_setup setup[2]; variable in typeref:struct:aha152x_setup
3587 checksetup(struct aha152x_setup *setup) argument
[all...]
/drivers/staging/ozwpan/
H A Dozusbsvc1.c186 int oz_usb_control_req(void *hpd, u8 req_id, struct usb_ctrlrequest *setup, argument
189 unsigned wvalue = le16_to_cpu(setup->wValue);
190 unsigned windex = le16_to_cpu(setup->wIndex);
191 unsigned wlength = le16_to_cpu(setup->wLength);
193 oz_event_log(OZ_EVT_CTRL_REQ, setup->bRequest, req_id,
194 (void *)(((unsigned long)(setup->wValue))<<16 |
195 ((unsigned long)setup->wIndex)),
196 setup->bRequestType);
197 if ((setup->bRequestType & USB_TYPE_MASK) == USB_TYPE_STANDARD) {
198 switch (setup
[all...]
H A Dozusbif.h23 int oz_usb_control_req(void *hpd, u8 req_id, struct usb_ctrlrequest *setup,
/drivers/net/wireless/p54/
H A Dfwio.c319 struct p54_setup_mac *setup; local
322 skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*setup),
327 setup = (struct p54_setup_mac *) skb_put(skb, sizeof(*setup));
360 setup->mac_mode = cpu_to_le16(mode);
361 memcpy(setup->mac_addr, priv->mac_addr, ETH_ALEN);
362 memcpy(setup->bssid, priv->bssid, ETH_ALEN);
363 setup->rx_antenna = 2 & priv->rx_diversity_mask; /* automatic */
364 setup->rx_align = 0;
366 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);
H A Dide-timings.c112 q->setup = EZ(t->setup * 1000, T);
126 m->setup = max(a->setup, b->setup);
/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");
254 strlcpy(cs->ics.parm.setup.phone, to_nr, sizeof(cs->ics.parm.setup.phone));
255 strcpy(cs->ics.parm.setup.eazmsn, "Testtext manual");
404 if ((dv->rule.si1) && (dv->rule.si1 != ic->parm.setup.si1))
406 if ((dv->rule.si2) && (dv->rule.si2 != ic->parm.setup.si2))
410 p1 = ic->parm.setup
[all...]
/drivers/video/logo/
H A Dlogo.c17 #include <asm/setup.h>
/drivers/net/ethernet/dec/tulip/
H A Dmedia.c191 u16 setup[5]; local
194 setup[i] = get_u16(&p[i*2 + 1]);
211 setup[0], setup[1]);
212 if (p[0] & 0x40) { /* SIA (CSR13-15) setup values are provided. */
213 csr13val = setup[0];
214 csr14val = setup[1];
215 csr15dir = (setup[3]<<16) | setup[2];
216 csr15val = (setup[
323 u16 setup[5]; local
[all...]
/drivers/tty/serial/8250/
H A D8250_pci.c44 int (*setup)(struct serial_private *, member in struct:pci_serial_quirk
1156 * Master list of serial port init/setup/exit quirks.
1172 .setup = addidata_apci7800_setup,
1183 .setup = afavlab_setup,
1194 .setup = pci_hp_diva_setup,
1205 .setup = pci_default_setup,
1212 .setup = skip_tx_en_setup,
1219 .setup = skip_tx_en_setup,
1226 .setup = skip_tx_en_setup,
1233 .setup
[all...]
/drivers/isdn/hisax/
H A Dl3_1tr6.c82 teln = pc->para.setup.phone;
117 *p++ = pc->para.setup.si1; /* 0 for all Services */
118 *p++ = pc->para.setup.si2; /* 0 for all Services */
123 *p++ = pc->para.setup.si1; /* 0 for all Services */
124 *p++ = pc->para.setup.si2; /* 0 for all Services */
126 eaz = pc->para.setup.eazmsn;
146 *p++ = pc->para.setup.si1;
147 *p++ = pc->para.setup.si2;
171 l3_1tr6_error(pc, "setup wrong chanID len", skb);
175 l3_1tr6_error(pc, "setup wron
[all...]
/drivers/infiniband/hw/cxgb3/
H A Dcxio_hal.c78 struct rdma_cq_op setup; local
79 setup.id = cq->cqid;
80 setup.credits = (op == CQ_CREDIT_UPDATE) ? credit : 0;
81 setup.op = op;
82 ret = rdev_p->t3cdev_p->ctl(rdev_p->t3cdev_p, RDMA_CQ_OP, &setup);
127 struct rdma_cq_setup setup; local
128 setup.id = cqid;
129 setup.base_addr = 0; /* NULL address */
130 setup.size = 0; /* disaable the CQ */
131 setup
160 struct rdma_cq_setup setup; local
195 struct rdma_cq_setup setup; local
502 struct rdma_cq_setup setup; local
[all...]
/drivers/isdn/isdnloop/
H A Disdnloop.c114 * Parse ICN-type setup string and fill fields of setup-struct
118 * setup = setup string, format: [caller-id],si1,si2,[called-id]
122 isdnloop_parse_setup(char *setup, isdn_ctrl *cmd) argument
124 char *t = setup;
128 strlcpy(cmd->parm.setup.phone, t, sizeof(cmd->parm.setup.phone));
132 cmd->parm.setup.si1 = 0;
134 cmd->parm.setup
[all...]
/drivers/acpi/acpica/
H A Devregion.c391 region_setup = handler_desc->address_space.setup;
405 * We must exit the interpreter because the region setup will
608 * If the region has been activated, call the setup handler with
612 region_setup = handler_obj->address_space.setup;
846 * Setup - Address of the setup function
860 acpi_adr_space_setup setup, void *context)
887 setup = acpi_ev_system_memory_region_setup;
892 setup = acpi_ev_io_space_region_setup;
897 setup = acpi_ev_pci_config_region_setup;
902 setup
857 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/staging/iio/cdc/
H A Dad7152.c87 * Capacitive channel digital filter setup;
88 * conversion time/update rate setup per channel
91 u8 setup[2]; member in struct:ad7152_chip_info
301 chip->setup[chan->channel] &= ~AD7152_SETUP_RANGE_4pF;
302 chip->setup[chan->channel] |= AD7152_SETUP_RANGE(i);
306 chip->setup[chan->channel]);
335 regval = chip->setup[chan->channel];
338 chip->setup[chan->channel] |= AD7152_SETUP_CAPDIFF;
340 chip->setup[chan->channel] &= ~AD7152_SETUP_CAPDIFF;
342 if (regval != chip->setup[cha
[all...]

Completed in 861 milliseconds

1234567891011>>