Searched refs:index (Results 176 - 200 of 2286) sorted by relevance

1234567891011>>

/drivers/usb/wusbcore/
H A Dwa-rpipe.c48 * index, actually) and the address. The USB stack knows about this.
51 * WUSB code port index 3 (0 based)
69 struct usb_rpipe_descriptor *descr, u16 index)
81 USB_DT_RPIPE<<8, index, descr, sizeof(*descr),
85 index, (int)result);
91 index, result, sizeof(*descr));
107 struct usb_rpipe_descriptor *descr, u16 index)
119 USB_DT_RPIPE<<8, index, descr, sizeof(*descr),
123 index, (int)result);
129 index, resul
68 __rpipe_get_descr(struct wahc *wa, struct usb_rpipe_descriptor *descr, u16 index) argument
106 __rpipe_set_descr(struct wahc *wa, struct usb_rpipe_descriptor *descr, u16 index) argument
173 u8 index = le16_to_cpu(rpipe->descr.wRPipeIndex); local
230 __rpipe_reset(struct wahc *wa, unsigned index) argument
524 u16 index = le16_to_cpu(rpipe->descr.wRPipeIndex); local
545 u16 index = le16_to_cpu(rpipe->descr.wRPipeIndex); local
[all...]
/drivers/staging/lustre/lustre/obdclass/
H A Dllog.c110 int index)
116 index, POSTID(&loghandle->lgh_id.lgl_oi));
118 if (index == 0) {
119 CERROR("Can't cancel index 0 which is header\n");
124 if (!ext2_clear_bit(index, llh->llh_bitmap)) {
126 CDEBUG(D_RPCTRACE, "Catalog index %u already clear?\n", index);
161 ext2_set_bit(index, llh->llh_bitmap);
186 handle->lgh_last_idx = 0; /* header is record with index 0 */
280 int rc = 0, index local
109 llog_cancel_rec(const struct lu_env *env, struct llog_handle *loghandle, int index) argument
485 int rc = 0, first_index = 1, index, idx; local
[all...]
/drivers/acpi/
H A Dsysfs.c492 static int get_status(u32 index, acpi_event_status *status, argument
497 if (index >= num_gpes + ACPI_NUM_FIXED_EVENTS)
500 if (index < num_gpes) {
501 result = acpi_get_gpe_device(index, handle);
504 "Invalid GPE 0x%x", index));
507 result = acpi_get_gpe_status(*handle, index, status);
508 } else if (index < (num_gpes + ACPI_NUM_FIXED_EVENTS))
509 result = acpi_get_event_status(index - num_gpes, status);
518 int index = attr - counter_attrs; local
530 size = sprintf(buf, "%8d", all_counters[index]
563 int index = attr - counter_attrs; local
[all...]
/drivers/clk/tegra/
H A Dclk-super.c72 static int clk_super_set_parent(struct clk_hw *hw, u8 index) argument
96 if ((mux->flags & TEGRA_DIVIDER_2) && ((index == mux->div2_index) ||
97 (index == mux->pllx_index))) {
109 if (index == mux->div2_index)
110 index = mux->pllx_index;
113 val |= (index & (super_state_to_src_mask(mux))) << shift;
/drivers/cpuidle/
H A Dcpuidle-pseries.c58 int index)
77 return index;
99 int index)
113 return index;
118 int index)
135 return index;
56 snooze_loop(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) argument
97 dedicated_cede_loop(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) argument
116 shared_cede_loop(struct cpuidle_device *dev, struct cpuidle_driver *drv, int index) argument
/drivers/fmc/
H A Dfmc-write-eeprom.c108 int err, index = 0; local
119 index = fmc->op->validate(fmc, &fwe_drv);
120 if (index < 0) {
125 if (index >= fwe_file_n) {
126 pr_err("%s: no filename for device index %i\n",
127 KBUILD_MODNAME, index);
130 s = fwe_file[index];
H A Dfmc-trivial.c47 int index = 0; local
50 index = fmc->op->validate(fmc, &t_drv);
51 if (index < 0)
/drivers/infiniband/hw/amso1100/
H A Dc2_mq.c141 void c2_mq_req_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size, argument
147 q->index = index;
158 void c2_mq_rep_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size, argument
164 q->index = index;
H A Dc2_mq.h82 u32 index; member in struct:c2_mq
101 extern void c2_mq_req_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size,
103 extern void c2_mq_rep_init(struct c2_mq *q, u32 index, u32 q_size, u32 msg_size,
/drivers/macintosh/
H A Dmacio_asic.c181 * @index: index of resource in node
187 int index)
194 if (index == 0 && !strcmp(np->name, "gc"))
198 if (index >= 2 && !strcmp(np->name, "radio"))
215 if (index >= 3 && !(strcmp(np->name, "ch-a") &&
220 if (index > 0 && !strcmp(np->name, "media-bay"))
226 if (index == 0 && (res->end - res->start) > 0xfff)
228 if (index == 1 && (res->end - res->start) > 0xff)
234 static void macio_create_fixup_irq(struct macio_dev *dev, int index, argument
186 macio_resource_quirks(struct device_node *np, struct resource *res, int index) argument
322 int index; local
[all...]
/drivers/media/usb/dvb-usb-v2/
H A Dau6610.c31 u16 index; local
44 index = wbuf[0] << 8;
47 index = wbuf[0] << 8;
48 index += wbuf[1];
58 USB_TYPE_VENDOR|USB_DIR_IN, addr << 1, index,
62 (USB_TYPE_VENDOR|USB_DIR_IN), addr << 1, index,
/drivers/misc/ibmasm/
H A Devent.c95 unsigned int index; local
109 index = buffer->next_index;
110 event = &buffer->events[index];
112 index = (index + 1) % IBMASM_NUM_EVENTS;
113 event = &buffer->events[index];
/drivers/mtd/
H A Dmtdsuper.c32 mtd->index, mtd->name);
37 sb->s_mtd->index, sb->s_mtd->name, mtd->index, mtd->name);
51 sb->s_dev = MKDEV(MTD_BLOCK_MAJOR, mtd->index);
76 mtd->index, mtd->name);
91 mtd->index, mtd->name);
/drivers/usb/host/
H A Dehci-sysfs.c28 int nports, index, n; local
35 for (index = 0; index < nports; ++index) {
36 if (test_bit(index, &ehci->companion_ports)) {
37 n = scnprintf(ptr, count, "%d\n", index + 1);
H A Dxhci-rcar.c83 int retval, index, j, time; local
97 for (index = 0; index < fw->size; index += 4) {
100 if ((j + index) < fw->size)
101 data |= fw->data[index + j] << (8 * j);
/drivers/video/fbdev/
H A Dsh_mobile_meram.c111 * @index: ICB index
120 unsigned int index; member in struct:sh_mobile_meram_icb
238 __set_bit(plane->marker->index, &priv->used_icb);
239 __set_bit(plane->cache->index, &priv->used_icb);
254 __clear_bit(plane->marker->index, &priv->used_icb);
255 __clear_bit(plane->cache->index, &priv->used_icb);
280 meram_write_icb(priv->base, cache->planes[0].cache->index, target,
282 meram_write_icb(priv->base, cache->planes[0].marker->index, target,
286 meram_write_icb(priv->base, cache->planes[1].cache->index,
[all...]
/drivers/char/
H A Dmspec.c163 int index, last_index; local
172 for (index = 0; index < last_index; index++) {
173 if (vdata->maddr[index] == 0)
179 my_page = vdata->maddr[index];
180 vdata->maddr[index] = 0;
204 pgoff_t index = vmf->pgoff; local
207 maddr = (volatile unsigned long) vdata->maddr[index];
214 if (vdata->maddr[index]
[all...]
/drivers/hwmon/
H A Dultra45_env.c99 int fan_nr = to_sensor_dev_attr(attr)->index;
117 int fan_nr = to_sensor_dev_attr(attr)->index;
141 int fan_nr = to_sensor_dev_attr(attr)->index;
147 #define fan(index) \
148 static SENSOR_DEVICE_ATTR(fan##index##_speed, S_IRUGO | S_IWUSR, \
149 show_fan_speed, set_fan_speed, index); \
150 static SENSOR_DEVICE_ATTR(fan##index##_fault, S_IRUGO, \
151 show_fan_fault, NULL, index)
164 int temp_nr = to_sensor_dev_attr(attr)->index;
185 int index local
[all...]
/drivers/media/pci/cx18/
H A Dcx18-cards.h64 u8 audio_index; /* index in cx18_card_audio_input array */
155 int cx18_get_input(struct cx18 *cx, u16 index, struct v4l2_input *input);
156 int cx18_get_audio_input(struct cx18 *cx, u16 index, struct v4l2_audio *input);
157 const struct cx18_card *cx18_get_card(u16 index);
/drivers/net/wireless/b43/
H A Dleds.c83 b43_led_turn_on(dev, led->index, led->activelow);
85 b43_led_turn_off(dev, led->index, led->activelow);
132 led->index = led_index;
269 b43_led_turn_on(dev, led->index, led->activelow);
273 b43_led_turn_off(dev, led->index, led->activelow);
282 b43_led_turn_off(dev, led->index, led->activelow);
288 b43_led_turn_off(dev, led->index, led->activelow);
294 b43_led_turn_off(dev, led->index, led->activelow);
322 b43_led_turn_off(dev, leds->led_tx.index, leds->led_tx.activelow);
323 b43_led_turn_off(dev, leds->led_rx.index, led
[all...]
/drivers/staging/android/
H A Dtimed_output.c86 tdev->index = atomic_inc_return(&device_count);
88 MKDEV(0, tdev->index), NULL, "%s", tdev->name);
101 device_destroy(timed_output_class, MKDEV(0, tdev->index));
/drivers/staging/rtl8712/
H A Drtl871x_sta_mgt.c113 s32 index; local
133 index = wifi_mac_hash(hwaddr);
134 if (index >= NUM_STA) {
138 phash_list = &(pstapriv->sta_hash[index]);
219 s32 index; local
227 for (index = 0; index < NUM_STA; index++) {
228 phead = &(pstapriv->sta_hash[index]);
247 u32 index; local
[all...]
/drivers/usb/phy/
H A Dphy.c41 struct list_head *list, u8 index)
47 phy_bind->index == index) {
154 * @index - the index of the phy
166 const char *phandle, u8 index)
177 node = of_parse_phandle(dev->of_node, phandle, index);
217 * @index - the index of the phy
225 struct usb_phy *usb_get_phy_dev(struct device *dev, u8 index) argument
40 __usb_find_phy_dev(struct device *dev, struct list_head *list, u8 index) argument
165 devm_usb_get_phy_by_phandle(struct device *dev, const char *phandle, u8 index) argument
261 devm_usb_get_phy_dev(struct device *dev, u8 index) argument
426 usb_bind_phy(const char *dev_name, u8 index, const char *phy_dev_name) argument
[all...]
/drivers/vfio/pci/
H A Dvfio_pci_private.h23 #define VFIO_PCI_INDEX_TO_OFFSET(index) ((u64)(index) << VFIO_PCI_OFFSET_SHIFT)
73 uint32_t flags, unsigned index,
/drivers/net/wireless/iwlwifi/mvm/
H A Drs.c510 rate->index, rs_pretty_ant(rate->ant),
702 int index = rate->index; local
708 ucode_rate |= iwl_rates[index].plcp;
709 if (index >= IWL_FIRST_CCK_RATE && index <= IWL_LAST_CCK_RATE)
715 if (index < IWL_FIRST_HT_RATE || index > IWL_LAST_HT_RATE) {
716 IWL_ERR(mvm, "Invalid HT rate index %d\n", index);
866 rs_get_adjacent_rate(struct iwl_mvm *mvm, u8 index, u16 rate_mask, int rate_type) argument
1369 rs_get_best_rate(struct iwl_mvm *mvm, struct iwl_lq_sta *lq_sta, struct iwl_scale_tbl_info *tbl, unsigned long rate_mask, s8 index) argument
1757 rs_get_adjacent_txp(struct iwl_mvm *mvm, int index, int *weaker, int *stronger) argument
1772 int index = rate->index; local
1964 int index; local
2780 int index = *rs_table_index; local
2827 int num_rates, num_retries, index = 0; local
2970 int index = iwl_hwrate_to_plcp_idx(rate); local
[all...]

Completed in 776 milliseconds

1234567891011>>