Searched defs:setup (Results 1 - 25 of 85) sorted by relevance

1234

/drivers/acpi/acpica/
H A Devxfregn.c62 * setup - Address of the setup function
80 acpi_adr_space_setup setup, void *context)
109 acpi_ev_install_space_handler(node, space_id, handler, setup,
77 acpi_install_address_space_handler(acpi_handle device, acpi_adr_space_type space_id, acpi_adr_space_handler handler, acpi_adr_space_setup setup, void *context) argument
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/sc/
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...]
H A Dcommand.c25 static int dial(int card, unsigned long channel, setup_parm setup);
112 return dial(card, cmd->arg, cmd->parm.setup);
161 static int dial(int card, unsigned long channel, setup_parm setup) argument
172 strcpy(Phone, setup.phone);
/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/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/net/wireless/brcm80211/brcmfmac/
H A Dchip.h66 * @setup: bus-specific core setup.
74 int (*setup)(void *ctx, struct brcmf_chip *chip); member in struct:brcmf_buscore_ops
/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/media/usb/usbtv/
H A Dusbtv-audio.c184 static const u16 setup[][2] = { local
225 usbtv_set_regs(chip, setup, ARRAY_SIZE(setup));
242 static const u16 setup[][2] = { local
260 usbtv_set_regs(chip, setup, ARRAY_SIZE(setup));
H A Dusbtv-video.c164 static const u16 setup[][2] = { local
236 ret = usbtv_set_regs(usbtv, setup, ARRAY_SIZE(setup));
/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/isdn/pcbit/
H A Dedss1.h76 } setup; member in union:callb_data::__anon1935
/drivers/media/usb/go7007/
H A Dgo7007-driver.c251 * Finalize the GO7007 hardware setup, register the on-board I2C adapter
297 struct tuner_setup setup = { local
304 s_type_addr, &setup);
/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...]
/drivers/scsi/sym53c8xx_2/
H A Dsym_fw.h145 void (*setup)(struct sym_hcb *, struct sym_fw *); member in struct:sym_fw
/drivers/staging/ozwpan/
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/tty/serial/8250/
H A Dserial_cs.c75 void (*setup)(struct pcmcia_device *, struct uart_8250_port *); member in struct:serial_quirk
192 .setup = quirk_setup_brainboxes_0104,
197 .setup = quirk_setup_brainboxes_0104,
357 if (info->quirk && info->quirk->setup)
358 info->quirk->setup(handle, &uart);
/drivers/usb/chipidea/
H A Dudc.h60 struct usb_ctrlrequest setup; member in struct:ci_hw_qh
/drivers/usb/core/
H A Durb.c364 struct usb_ctrlrequest *setup = local
367 if (!setup)
369 is_out = !(setup->bRequestType & USB_DIR_IN) ||
370 !setup->wLength;
/drivers/usb/musb/
H A Dmusb_gadget_ep0.c62 case MUSB_EP0_STAGE_SETUP: return "setup";
496 * should have provided the rx buffer before setup() returned.
607 /* NOTE: earlier 2.6 versions changed setup packets to host
656 retval = musb->gadget_driver->setup(&musb->g, ctrlrequest);
718 /* docs from Mentor only describe tx, rx, and idle/setup states.
720 * case where status and setup stages come back-to-back ...
780 goto setup;
798 setup:
800 struct usb_ctrlrequest setup; local
807 musb_read_setup(musb, &setup);
[all...]
/drivers/usb/usbip/
H A Dstub_rx.c415 struct usb_ctrlrequest *setup = local
418 if (!setup)
420 is_out = !(setup->bRequestType & USB_DIR_IN) ||
421 !setup->wLength;
461 /* setup a urb */
485 /* copy urb setup packet */
486 priv->urb->setup_packet = kmemdup(&pdu->u.cmd_submit.setup, 8,
/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/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...]
/drivers/mtd/onenand/
H A Domap2.c61 int (*setup)(void __iomem *base, int *freq_ptr); member in struct:omap2_onenand
666 dev_err(&pdev->dev, "Onenand platform setup failed: "
670 c->setup = pdata->onenand_setup;
/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...]

Completed in 9110 milliseconds

1234