Home
last modified time | relevance | path

Searched refs:number (Results 1 – 25 of 565) sorted by relevance

12345678910>>...23

/drivers/acpi/acpica/
Dutprint.c31 u64 number,
34 static char *acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper);
104 static char *acpi_ut_put_number(char *string, u64 number, u8 base, u8 upper) in acpi_ut_put_number() argument
113 if (number == 0) { in acpi_ut_put_number()
116 while (number) { in acpi_ut_put_number()
117 (void)acpi_ut_divide(number, base, &number, in acpi_ut_put_number()
142 u64 number = 0; in acpi_ut_scan_number() local
145 acpi_ut_short_multiply(number, 10, &number); in acpi_ut_scan_number()
146 number += *(string++) - '0'; in acpi_ut_scan_number()
149 *number_ptr = number; in acpi_ut_scan_number()
[all …]
/drivers/net/wireless/marvell/mwifiex/
DREADME107 num_tx_bytes = <number of bytes sent to device>
108 num_rx_bytes = <number of bytes received from device and sent to kernel>
109 num_tx_pkts = <number of packets sent to device>
110 num_rx_pkts = <number of packets received from device and sent to kernel>
111 num_tx_pkts_dropped = <number of Tx packets dropped by driver>
112 num_rx_pkts_dropped = <number of Rx packets dropped by driver>
113 num_tx_pkts_err = <number of Tx packets failed to send to device>
114 num_rx_pkts_err = <number of Rx packets failed to receive from device>
121 wmm_ac_vo = <number of packets sent to device from WMM AcVo queue>
122 wmm_ac_vi = <number of packets sent to device from WMM AcVi queue>
[all …]
/drivers/media/pci/ngene/
Dngene-cards.c111 if (chan->number < 2) in i2c_adapter_from_chan()
122 chan->dev->card_info->fe_config[chan->number]; in tuner_attach_stv6110()
124 chan->dev->card_info->tuner_config[chan->number]; in tuner_attach_stv6110()
153 u8 adr = 4 + ((chan->number & 1) ? 0x63 : 0x60); in tuner_attach_stv6111()
238 u8 addr = (chan->number & 1) ? 0x63 : 0x60; in tuner_attach_tda18212()
287 chan->dev->card_info->fe_config[chan->number]; in demod_attach_stv0900()
290 (chan->number & 1) == 0 ? STV090x_DEMODULATOR_0 in demod_attach_stv0900()
302 0, chan->dev->card_info->lnb[chan->number])) { in demod_attach_stv0900()
332 chan->fe = dvb_attach(stv0910_attach, i2c, &cfg, (chan->number & 1)); in demod_attach_stv0910()
336 &cfg, (chan->number & 1)); in demod_attach_stv0910()
[all …]
/drivers/misc/sgi-xp/
Dxpc_channel.c71 ch->number, ch->partid); in xpc_process_connect()
161 "reason=%d\n", ch->number, ch->partid, ch->reason); in xpc_process_disconnect()
171 part->chctl.flags[ch->number] |= in xpc_process_disconnect()
212 ch->partid, ch->number); in xpc_process_openclose_chctl_flags()
286 "%d, channel=%d\n", ch->partid, ch->number); in xpc_process_openclose_chctl_flags()
321 ch->partid, ch->number); in xpc_process_openclose_chctl_flags()
374 args->remote_nentries, ch->partid, ch->number); in xpc_process_openclose_chctl_flags()
412 ch->partid, ch->number); in xpc_process_openclose_chctl_flags()
421 ch->partid, ch->number); in xpc_process_openclose_chctl_flags()
432 "partid=%d, channel=%d\n", ch->partid, ch->number); in xpc_process_openclose_chctl_flags()
[all …]
/drivers/clk/sunxi/
Dclk-sun8i-bus-gates.c32 int number, i; in sun8i_h3_bus_gates_init() local
53 number = of_property_count_u32_elems(node, "clock-indices"); in sun8i_h3_bus_gates_init()
54 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sun8i_h3_bus_gates_init()
56 clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); in sun8i_h3_bus_gates_init()
93 clk_data->clk_num = number + 1; in sun8i_h3_bus_gates_init()
Dclk-simple-gates.c29 int number, i = 0, j; in sunxi_simple_gates_setup() local
43 number = of_property_count_u32_elems(node, "clock-indices"); in sunxi_simple_gates_setup()
44 of_property_read_u32_index(node, "clock-indices", number - 1, &number); in sunxi_simple_gates_setup()
46 clk_data->clks = kcalloc(number + 1, sizeof(struct clk *), GFP_KERNEL); in sunxi_simple_gates_setup()
75 clk_data->clk_num = number + 1; in sunxi_simple_gates_setup()
/drivers/hid/
Dhid-retrode.c24 int number = 0; in retrode_input_configured() local
34 number = field->report->id; in retrode_input_configured()
39 number = field->report->id - 2; in retrode_input_configured()
46 if (number) in retrode_input_configured()
49 suffix, number); in retrode_input_configured()
Dhid-roccat-kovaplus.c64 static int kovaplus_select_profile(struct usb_device *usb_dev, uint number, in kovaplus_select_profile() argument
67 return kovaplus_send_control(usb_dev, number, request); in kovaplus_select_profile()
71 struct kovaplus_profile_settings *buf, uint number) in kovaplus_get_profile_settings() argument
75 retval = kovaplus_select_profile(usb_dev, number, in kovaplus_get_profile_settings()
85 struct kovaplus_profile_buttons *buf, int number) in kovaplus_get_profile_buttons() argument
89 retval = kovaplus_select_profile(usb_dev, number, in kovaplus_get_profile_buttons()
251 #define PROFILE_ATTR(number) \ argument
252 static struct bin_attribute bin_attr_profile##number##_settings = { \
253 .attr = { .name = "profile" #number "_settings", .mode = 0440 }, \
256 .private = &profile_numbers[number-1], \
[all …]
Dhid-roccat-kone.c176 struct kone_profile *buf, int number) in kone_get_profile() argument
180 if (number < 1 || number > 5) in kone_get_profile()
186 kone_command_profile, number, buf, in kone_get_profile()
202 struct kone_profile const *profile, int number) in kone_set_profile() argument
206 if (number < 1 || number > 5) in kone_set_profile()
212 kone_command_profile, number, (void *)profile, in kone_set_profile()
384 #define PROFILE_ATTR(number) \ argument
385 static struct bin_attribute bin_attr_profile##number = { \
386 .attr = { .name = "profile" #number, .mode = 0660 }, \
390 .private = &profile_numbers[number-1], \
[all …]
/drivers/pci/
Dslot.c41 if (slot->number == 0xff) in address_read_file()
44 slot->bus->number); in address_read_file()
48 slot->bus->number, in address_read_file()
49 slot->number); in address_read_file()
73 slot->number, pci_slot_name(slot)); in pci_slot_release()
77 if (PCI_SLOT(dev->devfn) == slot->number) in pci_slot_release()
169 if (PCI_SLOT(dev->devfn) == slot->number) in pci_dev_assign_slot()
180 if (slot->number == slot_nr) { in get_slot()
265 slot->number = slot_nr; in pci_create_slot()
316 slot->number, kref_read(&slot->kobj.kref) - 1); in pci_destroy_slot()
Dsearch.c53 ret = fn(pdev, PCI_DEVID(pdev->bus->number, devfn), in pci_for_each_dma_alias()
90 PCI_DEVID(tmp->subordinate->number, in pci_for_each_dma_alias()
104 PCI_DEVID(tmp->subordinate->number, in pci_for_each_dma_alias()
121 if (bus->number == busnr) in pci_do_find_bus()
235 (dev->bus->number == bus && dev->devfn == devfn)) in pci_get_domain_bus_and_slot()
/drivers/xen/
Dpci.c52 .add.bus = pci_dev->bus->number, in xen_add_device()
64 add->physfn.bus = physfn->bus->number; in xen_add_device()
118 .bus = pci_dev->bus->number, in xen_add_device()
121 .physfn.bus = physfn->bus->number, in xen_add_device()
131 .bus = pci_dev->bus->number, in xen_add_device()
140 .bus = pci_dev->bus->number, in xen_add_device()
159 .bus = pci_dev->bus->number, in xen_remove_device()
169 .bus = pci_dev->bus->number, in xen_remove_device()
/drivers/pci/controller/dwc/
Dpcie-tegra194-acpi.c74 if (bus->number < cfg->busr.start || bus->number > cfg->busr.end) in tegra194_map_bus()
77 if (bus->number == cfg->busr.start) { in tegra194_map_bus()
84 busdev = PCIE_ATU_BUS(bus->number) | PCIE_ATU_DEV(PCI_SLOT(devfn)) | in tegra194_map_bus()
87 if (bus->parent->number == cfg->busr.start) { in tegra194_map_bus()
/drivers/atm/
Didt77105.c131 dev->type,dev->number); in idt77105_restart_timer_func()
178 dev->number, in set_loopback()
191 printk(KERN_NOTICE "%s(%d) idt77105_ioctl() called\n",dev->type,dev->number); in idt77105_ioctl()
240 dev->type,dev->number); in idt77105_int()
248 dev->type,dev->number); in idt77105_int()
255 dev->type,dev->number); in idt77105_int()
280 dev->number); in idt77105_start()
325 DPRINTK("%s(itf %d): stopping IDT77105\n",dev->type,dev->number); in idt77105_stop()
Dlanai.c290 int number; member
561 lanai->number, offset, in sram_test_word()
799 lvcc->tx.atmvcc->dev->number, lvcc->vci); in lanai_shutdown_tx_vci()
853 lanai->number); in eeprom_read()
924 lanai->number, address); in eeprom_read()
967 "(wanted 0x%02X, got 0x%02X)\n", lanai->number, in eeprom_validate()
974 "bad (wanted 0x%02X, got 0x%02X)\n", lanai->number, in eeprom_validate()
983 "(0x%02X, inverse 0x%02X)\n", lanai->number, in eeprom_validate()
994 "don't match (0x%08X, inverse 0x%08X)\n", lanai->number, in eeprom_validate()
1004 "don't match (0x%08X, inverse 0x%08X)\n", lanai->number, in eeprom_validate()
[all …]
/drivers/pcmcia/
Dpd6729.c69 reg += socket->number * 0x40; in indirect_read()
86 reg = reg + socket->number * 0x40; in indirect_read16()
105 reg = reg + socket->number * 0x40; in indirect_write()
120 reg = reg + socket->number * 0x40; in indirect_setbit()
138 reg = reg + socket->number * 0x40; in indirect_resetbit()
156 reg = reg + socket->number * 0x40; in indirect_write16()
285 t = (socket->number) ? socket : socket + 1; in pd6729_get_status()
288 *value |= (data & PD67_EXD_VS1(socket->number)) ? 0 : SS_3VCARD; in pd6729_get_status()
336 socket->number); in pd6729_set_socket()
343 socket->number); in pd6729_set_socket()
[all …]
/drivers/pnp/isapnp/
Dcore.c382 int size, int number) in isapnp_parse_device() argument
393 dev = pnp_alloc_dev(&isapnp_protocol, number, id); in isapnp_parse_device()
566 int number = 0, skip = 0, priority, compat = 0; in isapnp_create_device() local
573 if ((dev = isapnp_parse_device(card, size, number++)) == NULL) in isapnp_create_device()
588 number++)) == NULL) in isapnp_create_device()
687 "ignored\n", type, card->number); in isapnp_create_device()
854 isapnp_cfg_begin(dev->card->number, dev->number); in isapnp_get_resources()
891 isapnp_cfg_begin(dev->card->number, dev->number); in isapnp_set_resources()
930 isapnp_activate(dev->number); in isapnp_set_resources()
939 isapnp_cfg_begin(dev->card->number, dev->number); in isapnp_disable_resources()
[all …]
Dproc.c40 isapnp_cfg_begin(dev->card->number, dev->number); in isapnp_proc_bus_read()
63 sprintf(name, "%02x", bus->number); in isapnp_proc_attach_device()
68 sprintf(name, "%02x", dev->number); in isapnp_proc_attach_device()
/drivers/misc/
Denclosure.c138 edev->component[i].number = -1; in enclosure_register()
172 if (edev->component[i].number != -1) in enclosure_unregister()
257 if (ecomp->number != -1 && in enclosure_component_find_by_name()
282 unsigned int number, in enclosure_component_alloc() argument
291 if (number >= edev->components) in enclosure_component_alloc()
294 ecomp = &edev->component[number]; in enclosure_component_alloc()
296 if (ecomp->number != -1) in enclosure_component_alloc()
300 ecomp->number = number; in enclosure_component_alloc()
317 dev_set_name(cdev, "%u", number); in enclosure_component_alloc()
340 ecomp->number = -1; in enclosure_component_register()
[all …]
/drivers/media/dvb-core/
DKconfig13 reduces the number of context switches to read DVB buffers, as
33 int "maximum number of DVB/ATSC adapters"
38 Maximum number of DVB/ATSC adapters. Increasing this number
40 if a much lower number of DVB/ATSC adapters is present.
51 allocation for any device that uses the DVB major number.
/drivers/pnp/
Dcore.c61 if (cur->number == nodenum) { in pnp_register_protocol()
67 protocol->number = nodenum; in pnp_register_protocol()
142 dev->number = id; in pnp_alloc_dev()
157 dev_set_name(&dev->dev, "%02x:%02x", dev->protocol->number, dev->number); in pnp_alloc_dev()
/drivers/scsi/aic7xxx/
DKconfig.aic79xx15 int "Maximum number of TCQ commands per device"
19 Specify the number of commands you would like to allocate per SCSI
22 This is an upper bound value for the number of tagged transactions
24 vary this number based on device behavior. For devices with a
29 a high number of commands per device may result in memory allocation
42 The number of milliseconds to delay after an initial bus reset.
/drivers/staging/vme_user/
Dvme_bridge.h20 int number; member
33 int number; member
66 int number; member
77 int number; member
/drivers/pci/hotplug/
Dibmphp_core.c101 slot_count = max(slot_count, slot_cur->number); in get_max_slots()
133 if ((*cur_slot)->number == rtable->slots[loop].slot && in ibmphp_init_devno()
409 slot_cur->number); in init_ops()
460 int number; in validate() local
465 number = slot_cur->number; in validate()
466 if ((number > max_slots) || (number < 0)) in validate()
468 debug("slot_number in validate is %d\n", slot_cur->number); in validate()
637 bus->number = busno; in bus_structure_fixup()
714 if (i == slot_cur->number) { in is_bus_empty()
749 debug("%s - entry slot # %d\n", __func__, slot_cur->number); in set_bus()
[all …]
/drivers/scsi/libsas/
Dsas_init.c184 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_get_linkerrors()
233 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in transport_sas_phy_reset()
243 struct domain_device *ata_dev = sas_ex_to_ata(ddev, phy->number); in transport_sas_phy_reset()
250 return sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in transport_sas_phy_reset()
267 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_phy_enable()
282 ret = sas_smp_phy_control(ddev, phy->number, cmd, NULL); in sas_phy_enable()
304 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_phy_reset()
312 ret = sas_smp_phy_control(ddev, phy->number, reset_type, NULL); in sas_phy_reset()
340 struct asd_sas_phy *asd_phy = sas_ha->sas_phy[phy->number]; in sas_set_phy_speed()
349 ret = sas_smp_phy_control(ddev, phy->number, in sas_set_phy_speed()

12345678910>>...23