Searched refs:function (Results 1 - 25 of 585) sorted by relevance

1234567891011>>

/drivers/acpi/acpica/
H A Dexregion.c70 acpi_ex_system_memory_space_handler(u32 function, argument
198 bit_width, function,
209 switch (function) {
288 acpi_ex_system_io_space_handler(u32 function, argument
301 bit_width, function,
304 /* Decode the function parameter */
306 switch (function) {
347 acpi_ex_pci_config_space_handler(u32 function, argument
365 * pci_function is the PCI device function number
376 function, bit_widt
420 acpi_ex_cmos_space_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) argument
452 acpi_ex_pci_bar_space_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) argument
484 acpi_ex_data_table_space_handler(u32 function, acpi_physical_address address, u32 bit_width, u64 *value, void *handler_context, void *region_context) argument
[all...]
H A Dacevents.h168 u32 function,
191 acpi_ev_execute_reg_method(union acpi_operand_object *region_obj, u32 function);
198 u32 function,
204 u32 function,
209 u32 function,
214 u32 function,
219 u32 function,
224 u32 function,
H A Dexfield.c75 u32 function; local
115 function =
120 function =
125 function = ACPI_READ;
143 function);
233 u32 function; local
283 function =
288 function =
293 function = ACPI_WRITE;
323 (u64 *) buffer, function);
[all...]
H A Devrgnini.c72 u32 function,
81 if (function == ACPI_REGION_DEACTIVATE) {
134 u32 function,
139 if (function == ACPI_REGION_DEACTIVATE) {
167 u32 function,
195 if (function == ACPI_REGION_DEACTIVATE) {
276 * function numbers. Acquire them here.
292 * Get the PCI device and function numbers from the _ADR object
304 pci_id->function = ACPI_LOWORD(ACPI_LODWORD(pci_value));
411 u32 function,
71 acpi_ev_system_memory_region_setup(acpi_handle handle, u32 function, void *handler_context, void **region_context) argument
133 acpi_ev_io_space_region_setup(acpi_handle handle, u32 function, void *handler_context, void **region_context) argument
166 acpi_ev_pci_config_region_setup(acpi_handle handle, u32 function, void *handler_context, void **region_context) argument
410 acpi_ev_pci_bar_region_setup(acpi_handle handle, u32 function, void *handler_context, void **region_context) argument
437 acpi_ev_cmos_region_setup(acpi_handle handle, u32 function, void *handler_context, void **region_context) argument
462 acpi_ev_default_region_setup(acpi_handle handle, u32 function, void *handler_context, void **region_context) argument
[all...]
H A Dhwpci.c3 * Module Name: hwpci - Obtain PCI bus, device, and function numbers
87 * modified by this function.
96 * DESCRIPTION: This function derives a full PCI ID for a PCI device,
98 * and function code.
102 * initialization. This function is invoked during configuration
109 * Region initialization. This function is then called, and is
140 /* Walk the list, updating the PCI device/function/bus numbers */
220 * modified by this function.
246 pci_id->function));
251 * Descend down the namespace tree, collecting PCI device, function,
[all...]
H A Dacinterp.h477 acpi_ex_system_memory_space_handler(u32 function,
485 acpi_ex_system_io_space_handler(u32 function,
492 acpi_ex_pci_config_space_handler(u32 function,
499 acpi_ex_cmos_space_handler(u32 function,
506 acpi_ex_pci_bar_space_handler(u32 function,
513 acpi_ex_embedded_controller_space_handler(u32 function,
521 acpi_ex_sm_bus_space_handler(u32 function,
528 acpi_ex_data_table_space_handler(u32 function,
/drivers/misc/ibmasm/
H A Di2o.h32 u8 function; member in struct:i2o_header
40 .function = 0xFF, \
/drivers/scsi/
H A Dscsi_tgt_priv.h26 int function, u64 tag,
31 int function, char *initiator);
/drivers/net/wireless/iwlwifi/
H A Diwl-debug.c108 u32 level, bool limit, const char *function,
122 function, &vaf);
124 trace_iwlwifi_dbg(level, in_interrupt(), function, &vaf);
107 __iwl_dbg(struct device *dev, u32 level, bool limit, const char *function, const char *fmt, ...) argument
/drivers/usb/gadget/
H A Df_loopback.c36 struct usb_function function; member in struct:f_loopback
44 return container_of(f, struct f_loopback, function);
155 /* function-specific strings: */
237 struct usb_composite_dev *cdev = loop->function.config->cdev;
288 cdev = loop->function.config->cdev;
290 VDBG(cdev, "%s disabled\n", loop->function.name);
303 result = config_ep_by_speed(cdev->gadget, &(loop->function), ep);
313 result = config_ep_by_speed(cdev->gadget, &(loop->function), ep);
347 DBG(cdev, "%s enabled\n", loop->function.name);
381 loop->function
[all...]
H A Df_sourcesink.c38 * some other function must be used to test queueing logic. The network
50 struct usb_function function; member in struct:f_sourcesink
58 return container_of(f, struct f_sourcesink, function);
169 /* function-specific strings: */
252 struct usb_composite_dev *cdev = ss->function.config->cdev;
301 struct usb_composite_dev *cdev = ss->function.config->cdev;
368 cdev = ss->function.config->cdev;
382 cdev = ss->function.config->cdev;
384 VDBG(cdev, "%s disabled\n", ss->function.name);
395 result = config_ep_by_speed(cdev->gadget, &(ss->function), e
[all...]
H A Df_phonet.c2 * f_phonet.c -- USB CDC Phonet function
43 struct usb_function function; member in struct:f_phonet
59 return container_of(f, struct f_phonet, function);
403 struct usb_gadget *gadget = fp->function.config->cdev->gadget;
524 fp->function.descriptors = fs_pn_function;
525 fp->function.hs_descriptors = hs_pn_function;
545 INFO(cdev, "USB CDC Phonet function\n");
590 fp->function.name = "phonet";
591 fp->function.bind = pn_bind;
592 fp->function
[all...]
H A Dcomposite.c26 * from one or more "function" drivers, one or more "configuration"
102 * @f: usb function
107 * This function chooses the right descriptors for a given
113 * Note: the supplied function should hold all the descriptors
194 * usb_add_function() - add a function to a configuration
196 * @function: the function being added
200 * functions added to it. Adding a function involves calling its @bind()
204 * This function returns the value of the function'
207 usb_add_function(struct usb_configuration *config, struct usb_function *function) argument
270 usb_function_deactivate(struct usb_function *function) argument
297 usb_function_activate(struct usb_function *function) argument
339 usb_interface_id(struct usb_configuration *config, struct usb_function *function) argument
[all...]
/drivers/input/misc/
H A Datlas_btns.c42 u32 function, void *handler_context, void **return_context)
45 (function != ACPI_REGION_DEACTIVATE) ? handler_context : NULL;
50 static acpi_status acpi_atlas_button_handler(u32 function, argument
57 if (function == ACPI_WRITE) {
67 pr_warn("shrugged on unexpected function: function=%x,address=%lx,value=%x\n",
68 function, (unsigned long)address, (u32)*value);
41 acpi_atlas_button_setup(acpi_handle region_handle, u32 function, void *handler_context, void **return_context) argument
/drivers/sh/maple/
H A Dmaple.c69 * Devices with matching function IDs will be automatically probed.
119 * @function: the function code for the device
123 unsigned long interval, unsigned long function)
127 dev->function = cpu_to_be32(function);
152 * @function: function on device being queried
157 int maple_add_packet(struct maple_device *mdev, u32 function, u32 command, argument
169 ((__be32 *)sendbuf)[0] = cpu_to_be32(function);
121 maple_getcond_callback(struct maple_device *dev, void (*callback) (struct mapleq *mq), unsigned long interval, unsigned long function) argument
334 unsigned long function; local
[all...]
/drivers/s390/block/
H A Ddasd_3990_erp.c111 if (erp->function != dasd_3990_erp_int_req) {
114 erp->function = dasd_3990_erp_int_req;
225 dctl_cqr->function = dasd_3990_erp_DCTL;
264 erp->function = dasd_3990_erp_action_1_sec;
271 erp->function = dasd_3990_erp_action_1;
278 erp->function = dasd_3990_erp_action_1_sec;
310 if (erp->function != dasd_3990_erp_action_4) {
316 erp->function = dasd_3990_erp_action_4;
374 erp->function = dasd_3990_erp_action_5;
1037 erp->function
[all...]
/drivers/cpufreq/
H A Dspeedstep-smi.c65 u32 function = GET_SPEEDSTEP_OWNER; local
81 : "a" (command), "b" (function), "c" (0), "d" (smi_port),
104 u32 function = GET_SPEEDSTEP_FREQS; local
125 "b" (function),
150 u32 function = GET_SPEEDSTEP_STATE; local
165 : "a" (command), "b" (function), "c" (0),
184 unsigned int function = SET_SPEEDSTEP_STATE; local
213 : "a" (command), "b" (function), "c" (state),
/drivers/media/rc/
H A Dir-sony-decoder.c40 * This function returns -EINVAL if the pulse violates the state machine
46 u8 device, subdevice, function; local
128 function = bitrev8((data->bits >> 4) & 0xFE);
133 function = bitrev8((data->bits >> 7) & 0xFE);
138 function = bitrev8((data->bits >> 12) & 0xFE);
145 scancode = device << 16 | subdevice << 8 | function;
/drivers/pci/hotplug/
H A Dibmphp_pci.c47 * We also assign the same irq numbers for multi function devices.
75 * Input: function to be added
77 * TO DO: The error case with Multifunction device or multi function bridge,
87 u8 function; local
105 /* For every function on the card */
106 for (function = 0x00; function < 0x08; function++) {
107 unsigned int devfn = PCI_DEVFN(device, function);
110 cur_func->function
1081 u8 device, function; local
1214 unconfigure_boot_device(u8 busno, u8 device, u8 function) argument
1332 unconfigure_boot_bridge(u8 busno, u8 device, u8 function) argument
1451 u8 function; local
[all...]
H A Dcpqphp_pci.c91 func->pci_dev = pci_get_bus_and_slot(func->bus,PCI_DEVFN(func->device, func->function));
97 num = pci_scan_slot(ctrl->pci_dev->bus, PCI_DEVFN(func->device, func->function));
101 func->pci_dev = pci_get_bus_and_slot(func->bus, PCI_DEVFN(func->device, func->function));
124 dbg("%s: bus/dev/func = %x/%x/%x\n", __func__, func->bus, func->device, func->function);
310 int function; local
347 new_slot->function = 0;
363 /* If multi-function device, set max_functions to 8 */
369 function = 0;
377 rc = pci_bus_read_config_byte(ctrl->pci_bus, PCI_DEVFN(device, function), PCI_SECONDARY_BUS, &secondary_bus);
396 (new_slot->function !
471 int function = 0; local
[all...]
/drivers/pcmcia/
H A Dcs_internal.h32 /* Each card function gets one of these guys */
163 int pccard_read_tuple(struct pcmcia_socket *s, unsigned int function,
170 int pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function,
176 int pccard_get_first_tuple(struct pcmcia_socket *s, unsigned int function,
179 int pccard_get_next_tuple(struct pcmcia_socket *s, unsigned int function,
H A Dpcmcia_cis.c32 * @function: the device function we loop for
38 int pccard_read_tuple(struct pcmcia_socket *s, unsigned int function, argument
52 if (function == BIND_FN_ALL)
54 ret = pccard_get_first_tuple(s, function, &tuple);
73 * @function: the device function we loop for
76 * @priv_data: private data to be passed to the loop_tuple function.
77 * @loop_tuple: function to call for each CIS entry of type @function
85 pccard_loop_tuple(struct pcmcia_socket *s, unsigned int function, cisdata_t code, cisparse_t *parse, void *priv_data, int (*loop_tuple) (tuple_t *tuple, cisparse_t *parse, void *priv_data)) argument
[all...]
/drivers/pnp/isapnp/
H A Dcompat.c46 unsigned short function, struct pnp_dev *from)
51 pnp_convert_id(id, vendor, function);
45 pnp_find_dev(struct pnp_card *card, unsigned short vendor, unsigned short function, struct pnp_dev *from) argument
/drivers/pinctrl/
H A Dpinctrl-tegra.c109 unsigned function)
113 if (function >= pmx->soc->nfunctions)
120 unsigned function)
124 if (function >= pmx->soc->nfunctions)
127 return pmx->soc->functions[function].name;
131 unsigned function,
137 if (function >= pmx->soc->nfunctions)
140 *groups = pmx->soc->functions[function].groups;
141 *num_groups = pmx->soc->functions[function].ngroups;
146 static int tegra_pinctrl_enable(struct pinctrl_dev *pctldev, unsigned function, argument
108 tegra_pinctrl_list_funcs(struct pinctrl_dev *pctldev, unsigned function) argument
119 tegra_pinctrl_get_func_name(struct pinctrl_dev *pctldev, unsigned function) argument
130 tegra_pinctrl_get_func_groups(struct pinctrl_dev *pctldev, unsigned function, const char * const **groups, unsigned * const num_groups) argument
176 tegra_pinctrl_disable(struct pinctrl_dev *pctldev, unsigned function, unsigned group) argument
[all...]
/drivers/s390/crypto/
H A Dap_bus.h90 static inline int test_ap_facility(unsigned int function, unsigned int nr) argument
94 return function & (unsigned int)(0x80000000 >> nr);

Completed in 453 milliseconds

1234567891011>>