/drivers/hid/ |
H A D | hid-lg.h | 29 struct hid_usage *usage, __s32 value, struct lg_drv_data *drv_data); 34 struct hid_usage *usage, __s32 value, struct lg_drv_data *drv_data) { return 0; } 33 lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value, struct lg_drv_data *drv_data) argument
|
H A D | hid-steelseries.c | 146 struct steelseries_srws1_data *drv_data = hid_get_drvdata(hid); local 148 if (!drv_data) { 154 drv_data->led_state = 0; 156 drv_data->led_state = (1 << (SRWS1_NUMBER_LEDS + 1)) - 1; 158 steelseries_srws1_set_leds(hid, drv_data->led_state); 165 struct steelseries_srws1_data *drv_data; local 167 drv_data = hid_get_drvdata(hid); 169 if (!drv_data) { 174 return (drv_data->led_state >> SRWS1_NUMBER_LEDS) ? LED_FULL : LED_OFF; 182 struct steelseries_srws1_data *drv_data local 210 struct steelseries_srws1_data *drv_data; local 237 struct steelseries_srws1_data *drv_data = kzalloc(sizeof(*drv_data), GFP_KERNEL); local 343 struct steelseries_srws1_data *drv_data = hid_get_drvdata(hdev); local [all...] |
H A D | hid-lg.c | 344 struct lg_drv_data *drv_data = hid_get_drvdata(hdev); local 348 if ((drv_data->quirks & LG_RDESC) && *rsize >= 91 && rdesc[83] == 0x26 && 355 if ((drv_data->quirks & LG_RDESC_REL_ABS) && *rsize >= 51 && 566 struct lg_drv_data *drv_data = hid_get_drvdata(hdev); local 577 if ((drv_data->quirks & LG_WIRELESS) && lg_wireless_mapping(hi, usage, bit, max)) 587 if ((drv_data->quirks & LG_IGNORE_DOUBLED_WHEEL) && 591 if ((drv_data->quirks & LG_EXPANDED_KEYMAP) && 607 struct lg_drv_data *drv_data = hid_get_drvdata(hdev); local 609 if ((drv_data->quirks & LG_BAD_RELATIVE_KEYS) && usage->type == EV_KEY && 613 if ((drv_data 644 struct lg_drv_data *drv_data = hid_get_drvdata(hdev); local 661 struct lg_drv_data *drv_data; local 730 struct lg_drv_data *drv_data = hid_get_drvdata(hdev); local [all...] |
H A D | hid-lg4ff.c | 162 struct hid_usage *usage, __s32 value, struct lg_drv_data *drv_data) 164 struct lg4ff_device_entry *entry = drv_data->device_props; 240 struct lg_drv_data *drv_data; local 242 drv_data = hid_get_drvdata(hid); 243 if (!drv_data) { 248 entry = drv_data->device_props; 423 struct lg_drv_data *drv_data; local 426 drv_data = hid_get_drvdata(hid); 427 if (!drv_data) { 432 entry = drv_data 161 lg4ff_adjust_input_event(struct hid_device *hid, struct hid_field *field, struct hid_usage *usage, __s32 value, struct lg_drv_data *drv_data) argument 448 struct lg_drv_data *drv_data; local 498 struct lg_drv_data *drv_data = hid_get_drvdata(hid); local 533 struct lg_drv_data *drv_data = hid_get_drvdata(hid); local 564 struct lg_drv_data *drv_data; local 720 struct lg_drv_data *drv_data; local [all...] |
/drivers/mmc/host/ |
H A D | dw_mmc-k3.c | 44 const struct dw_mci_drv_data *drv_data; local 48 drv_data = match->data; 50 return dw_mci_pltfm_register(pdev, drv_data);
|
H A D | dw_mmc-pltfm.c | 39 const struct dw_mci_drv_data *drv_data) 52 host->drv_data = drv_data; 99 const struct dw_mci_drv_data *drv_data = NULL; local 104 drv_data = match->data; 107 return dw_mci_pltfm_register(pdev, drv_data); 38 dw_mci_pltfm_register(struct platform_device *pdev, const struct dw_mci_drv_data *drv_data) argument
|
H A D | dw_mmc-rockchip.c | 89 const struct dw_mci_drv_data *drv_data; local 96 drv_data = match->data; 98 return dw_mci_pltfm_register(pdev, drv_data);
|
H A D | sdhci-s3c.c | 434 struct sdhci_s3c_drv_data *drv_data; local 474 drv_data = sdhci_s3c_get_driver_data(pdev); 534 if (drv_data) { 535 host->quirks |= drv_data->sdhci_quirks; 536 sc->no_divider = drv_data->no_divider;
|
H A D | bfin_sdh.c | 528 struct bfin_sd_host *drv_data = get_sdh_data(pdev); local 531 if (!drv_data) { 566 host->irq = drv_data->irq_int0; 567 host->dma_ch = drv_data->dma_chan; 595 ret = peripheral_request_list(drv_data->pin_req, DRIVER_NAME); 642 struct bfin_sd_host *drv_data = get_sdh_data(dev); local 644 peripheral_free_list(drv_data->pin_req); 651 struct bfin_sd_host *drv_data = get_sdh_data(dev); local 654 ret = peripheral_request_list(drv_data->pin_req, DRIVER_NAME);
|
H A D | dw_mmc-exynos.c | 420 const struct dw_mci_drv_data *drv_data; local 424 drv_data = match->data; 425 return dw_mci_pltfm_register(pdev, drv_data);
|
/drivers/nfc/nfcmrvl/ |
H A D | nfcmrvl.h | 33 void *drv_data; member in struct:nfcmrvl_private 46 struct nfcmrvl_private *nfcmrvl_nci_register_dev(void *drv_data,
|
H A D | main.c | 90 struct nfcmrvl_private *nfcmrvl_nci_register_dev(void *drv_data, argument 102 priv->drv_data = drv_data;
|
H A D | usb.c | 55 static int nfcmrvl_inc_tx(struct nfcmrvl_usb_drv_data *drv_data) argument 60 spin_lock_irqsave(&drv_data->txlock, flags); 61 rv = test_bit(NFCMRVL_USB_SUSPENDING, &drv_data->flags); 63 drv_data->tx_in_flight++; 64 spin_unlock_irqrestore(&drv_data->txlock, flags); 71 struct nfcmrvl_usb_drv_data *drv_data = urb->context; local 74 dev_dbg(&drv_data->udev->dev, "urb %p status %d count %d", 77 if (!test_bit(NFCMRVL_NCI_RUNNING, &drv_data->flags)) 81 if (nfcmrvl_nci_recv_frame(drv_data->priv, urb->transfer_buffer, 83 nfc_err(&drv_data 105 nfcmrvl_submit_bulk_urb(struct nfcmrvl_usb_drv_data *drv_data, gfp_t mem_flags) argument 154 struct nfcmrvl_usb_drv_data *drv_data = priv->drv_data; local 169 struct nfcmrvl_usb_drv_data *drv_data = priv->drv_data; local 193 nfcmrvl_usb_stop_traffic(struct nfcmrvl_usb_drv_data *drv_data) argument 200 struct nfcmrvl_usb_drv_data *drv_data = priv->drv_data; local 224 struct nfcmrvl_usb_drv_data *drv_data = priv->drv_data; local 276 struct nfcmrvl_usb_drv_data *drv_data = local 291 struct nfcmrvl_usb_drv_data *drv_data; local 346 struct nfcmrvl_usb_drv_data *drv_data = usb_get_intfdata(intf); local 361 struct nfcmrvl_usb_drv_data *drv_data = usb_get_intfdata(intf); local 384 nfcmrvl_play_deferred(struct nfcmrvl_usb_drv_data *drv_data) argument 401 struct nfcmrvl_usb_drv_data *drv_data = usb_get_intfdata(intf); local [all...] |
/drivers/ata/ |
H A D | ahci_st.c | 58 struct st_ahci_drv_data *drv_data = dev_get_drvdata(dev); local 61 if (drv_data->pwr) { 62 err = reset_control_deassert(drv_data->pwr); 69 st_ahci_configure_oob(drv_data->hpriv->mmio); 71 if (drv_data->sw_rst) { 72 err = reset_control_deassert(drv_data->sw_rst); 79 if (drv_data->pwr_rst) { 80 err = reset_control_deassert(drv_data->pwr_rst); 94 struct st_ahci_drv_data *drv_data = dev_get_drvdata(dev); local 97 if (drv_data 108 struct st_ahci_drv_data *drv_data = platform_get_drvdata(pdev); local 145 struct st_ahci_drv_data *drv_data; local 181 struct st_ahci_drv_data *drv_data = dev_get_drvdata(dev); local 204 struct st_ahci_drv_data *drv_data = dev_get_drvdata(dev); local [all...] |
/drivers/hwmon/ |
H A D | menf21bmc_hwmon.c | 60 struct menf21bmc_hwmon *drv_data = dev_get_drvdata(dev); local 61 struct menf21bmc_hwmon *data_ret = drv_data; 63 if (time_after(jiffies, drv_data->last_update + HZ) 64 || !drv_data->valid) { 66 val = i2c_smbus_read_word_data(drv_data->i2c_client, 72 drv_data->in_val[i] = val; 74 drv_data->last_update = jiffies; 75 drv_data->valid = true; 81 static int menf21bmc_hwmon_get_volt_limits(struct menf21bmc_hwmon *drv_data) argument 86 val = i2c_smbus_read_word_data(drv_data 115 struct menf21bmc_hwmon *drv_data = menf21bmc_hwmon_update(dev); local 127 struct menf21bmc_hwmon *drv_data = dev_get_drvdata(dev); local 136 struct menf21bmc_hwmon *drv_data = dev_get_drvdata(dev); local 190 struct menf21bmc_hwmon *drv_data; local [all...] |
/drivers/tty/serial/ |
H A D | samsung.h | 57 struct s3c24xx_serial_drv_data *drv_data; member in struct:s3c24xx_uart_port
|
/drivers/watchdog/ |
H A D | menf21bmc_wdt.c | 64 struct menf21bmc_wdt *drv_data = watchdog_get_drvdata(wdt); local 66 return i2c_smbus_write_byte(drv_data->i2c_client, BMC_CMD_WD_ON); 71 struct menf21bmc_wdt *drv_data = watchdog_get_drvdata(wdt); local 73 return i2c_smbus_write_byte_data(drv_data->i2c_client, 81 struct menf21bmc_wdt *drv_data = watchdog_get_drvdata(wdt); local 88 ret = i2c_smbus_write_word_data(drv_data->i2c_client, 100 struct menf21bmc_wdt *drv_data = watchdog_get_drvdata(wdt); local 102 return i2c_smbus_write_byte(drv_data->i2c_client, BMC_CMD_WD_TRIG); 121 struct menf21bmc_wdt *drv_data; local 124 drv_data 170 struct menf21bmc_wdt *drv_data = platform_get_drvdata(pdev); local 182 struct menf21bmc_wdt *drv_data = platform_get_drvdata(pdev); local [all...] |
/drivers/net/wireless/rt2x00/ |
H A D | rt2800mmio.c | 366 struct rt2800_drv_data *drv_data = rt2x00dev->drv_data; local 378 if (drv_data->tbtt_tick == (BCN_TBTT_OFFSET - 2)) { 383 } else if (drv_data->tbtt_tick == (BCN_TBTT_OFFSET - 1)) { 389 drv_data->tbtt_tick++; 390 drv_data->tbtt_tick %= BCN_TBTT_OFFSET;
|
/drivers/spi/ |
H A D | spi-pxa2xx-dma.c | 23 static int pxa2xx_spi_map_dma_buffer(struct driver_data *drv_data, argument 26 int i, nents, len = drv_data->len; 33 dmadev = drv_data->tx_chan->device->dev; 34 sgt = &drv_data->tx_sgt; 35 buf = drv_data->tx; 36 drv_data->tx_map_len = len; 38 dmadev = drv_data->rx_chan->device->dev; 39 sgt = &drv_data->rx_sgt; 40 buf = drv_data->rx; 41 drv_data 74 pxa2xx_spi_unmap_dma_buffer(struct driver_data *drv_data, enum dma_data_direction dir) argument 91 pxa2xx_spi_unmap_dma_buffers(struct driver_data *drv_data) argument 102 pxa2xx_spi_dma_transfer_complete(struct driver_data *drv_data, bool error) argument 157 pxa2xx_spi_dma_prepare_one(struct driver_data *drv_data, enum dma_transfer_direction dir) argument 215 pxa2xx_spi_map_dma_buffers(struct driver_data *drv_data) argument 246 pxa2xx_spi_dma_transfer(struct driver_data *drv_data) argument 264 pxa2xx_spi_dma_prepare(struct driver_data *drv_data, u32 dma_burst) argument 291 pxa2xx_spi_dma_start(struct driver_data *drv_data) argument 299 pxa2xx_spi_dma_setup(struct driver_data *drv_data) argument 328 pxa2xx_spi_dma_release(struct driver_data *drv_data) argument 344 pxa2xx_spi_dma_resume(struct driver_data *drv_data) argument [all...] |
H A D | spi-pxa2xx-pxadma.c | 51 int pxa2xx_spi_map_dma_buffers(struct driver_data *drv_data) argument 53 struct spi_message *msg = drv_data->cur_msg; 56 if (!drv_data->cur_chip->enable_dma) 60 return drv_data->rx_dma && drv_data->tx_dma; 62 if (!IS_DMA_ALIGNED(drv_data->rx) || !IS_DMA_ALIGNED(drv_data->tx)) 66 if (drv_data->rx == NULL) { 67 *drv_data->null_dma_buf = 0; 68 drv_data 103 pxa2xx_spi_unmap_dma_buffers(struct driver_data *drv_data) argument 141 pxa2xx_spi_dma_error_stop(struct driver_data *drv_data, const char *msg) argument 164 pxa2xx_spi_dma_transfer_complete(struct driver_data *drv_data) argument 211 struct driver_data *drv_data = data; local 240 pxa2xx_spi_dma_transfer(struct driver_data *drv_data) argument 276 pxa2xx_spi_dma_prepare(struct driver_data *drv_data, u32 dma_burst) argument 333 pxa2xx_spi_dma_start(struct driver_data *drv_data) argument 339 pxa2xx_spi_dma_setup(struct driver_data *drv_data) argument 371 pxa2xx_spi_dma_release(struct driver_data *drv_data) argument 384 pxa2xx_spi_dma_resume(struct driver_data *drv_data) argument [all...] |
H A D | spi-bfin-sport.c | 110 bfin_sport_spi_enable(struct bfin_sport_spi_master_data *drv_data) argument 112 bfin_write_or(&drv_data->regs->tcr1, TSPEN); 113 bfin_write_or(&drv_data->regs->rcr1, TSPEN); 118 bfin_sport_spi_disable(struct bfin_sport_spi_master_data *drv_data) argument 120 bfin_write_and(&drv_data->regs->tcr1, ~TSPEN); 121 bfin_write_and(&drv_data->regs->rcr1, ~TSPEN); 160 bfin_sport_spi_stat_poll_complete(struct bfin_sport_spi_master_data *drv_data) argument 163 while (!(bfin_read(&drv_data->regs->stat) & RXNE)) { 170 bfin_sport_spi_u8_writer(struct bfin_sport_spi_master_data *drv_data) argument 174 while (drv_data 182 bfin_sport_spi_u8_reader(struct bfin_sport_spi_master_data *drv_data) argument 194 bfin_sport_spi_u8_duplex(struct bfin_sport_spi_master_data *drv_data) argument 210 bfin_sport_spi_u16_writer(struct bfin_sport_spi_master_data *drv_data) argument 222 bfin_sport_spi_u16_reader(struct bfin_sport_spi_master_data *drv_data) argument 234 bfin_sport_spi_u16_duplex(struct bfin_sport_spi_master_data *drv_data) argument 251 bfin_sport_spi_restore_state(struct bfin_sport_spi_master_data *drv_data) argument 270 bfin_sport_spi_next_transfer(struct bfin_sport_spi_master_data *drv_data) argument 291 bfin_sport_spi_giveback(struct bfin_sport_spi_master_data *drv_data) argument 316 struct bfin_sport_spi_master_data *drv_data = dev_id; local 340 struct bfin_sport_spi_master_data *drv_data = (void *)data; local 484 struct bfin_sport_spi_master_data *drv_data; local 544 struct bfin_sport_spi_master_data *drv_data = spi_master_get_devdata(spi->master); local 660 bfin_sport_spi_init_queue(struct bfin_sport_spi_master_data *drv_data) argument 683 bfin_sport_spi_start_queue(struct bfin_sport_spi_master_data *drv_data) argument 706 bfin_sport_spi_stop_queue(struct bfin_sport_spi_master_data *drv_data) argument 736 bfin_sport_spi_destroy_queue(struct bfin_sport_spi_master_data *drv_data) argument 755 struct bfin_sport_spi_master_data *drv_data; local 859 struct bfin_sport_spi_master_data *drv_data = platform_get_drvdata(pdev); local 884 struct bfin_sport_spi_master_data *drv_data = dev_get_drvdata(dev); local 899 struct bfin_sport_spi_master_data *drv_data = dev_get_drvdata(dev); local [all...] |
H A D | spi-pxa2xx.c | 70 /* Offset from drv_data->lpss_base */ 78 static bool is_lpss_ssp(const struct driver_data *drv_data) argument 80 return drv_data->ssp_type == LPSS_SSP; 87 static u32 __lpss_ssp_read_priv(struct driver_data *drv_data, unsigned offset) argument 89 WARN_ON(!drv_data->lpss_base); 90 return readl(drv_data->lpss_base + offset); 93 static void __lpss_ssp_write_priv(struct driver_data *drv_data, argument 96 WARN_ON(!drv_data->lpss_base); 97 writel(value, drv_data->lpss_base + offset); 102 * @drv_data 107 lpss_ssp_setup(struct driver_data *drv_data) argument 159 lpss_ssp_cs_control(struct driver_data *drv_data, bool enable) argument 174 cs_assert(struct driver_data *drv_data) argument 196 cs_deassert(struct driver_data *drv_data) argument 216 pxa2xx_spi_flush(struct driver_data *drv_data) argument 232 null_writer(struct driver_data *drv_data) argument 247 null_reader(struct driver_data *drv_data) argument 261 u8_writer(struct driver_data *drv_data) argument 275 u8_reader(struct driver_data *drv_data) argument 288 u16_writer(struct driver_data *drv_data) argument 302 u16_reader(struct driver_data *drv_data) argument 315 u32_writer(struct driver_data *drv_data) argument 329 u32_reader(struct driver_data *drv_data) argument 342 pxa2xx_spi_next_transfer(struct driver_data *drv_data) argument 359 giveback(struct driver_data *drv_data) argument 409 reset_sccr1(struct driver_data *drv_data) argument 421 int_error_stop(struct driver_data *drv_data, const char* msg) argument 439 int_transfer_complete(struct driver_data *drv_data) argument 464 interrupt_transfer(struct driver_data *drv_data) argument 536 struct driver_data *drv_data = dev_id; local 588 ssp_get_clk_div(struct driver_data *drv_data, int rate) argument 603 struct driver_data *drv_data = (struct driver_data *)data; local 803 struct driver_data *drv_data = spi_master_get_devdata(master); local 823 struct driver_data *drv_data = spi_master_get_devdata(master); local 874 struct driver_data *drv_data = spi_master_get_devdata(spi->master); local 1014 struct driver_data *drv_data = spi_master_get_devdata(spi->master); local 1092 struct driver_data *drv_data; local 1229 struct driver_data *drv_data = platform_get_drvdata(pdev); local 1269 struct driver_data *drv_data = dev_get_drvdata(dev); local 1286 struct driver_data *drv_data = dev_get_drvdata(dev); local 1313 struct driver_data *drv_data = dev_get_drvdata(dev); local 1321 struct driver_data *drv_data = dev_get_drvdata(dev); local [all...] |
/drivers/thermal/samsung/ |
H A D | exynos_tmu.c | 362 static int exynos_tmu_set_emulation(void *drv_data, unsigned long temp) argument 364 struct exynos_tmu_data *data = drv_data; 404 static int exynos_tmu_set_emulation(void *drv_data, unsigned long temp) argument
|
/drivers/misc/ |
H A D | pti.c | 85 static struct pti_dev *drv_data; variable in typeref:struct:pti_dev 122 aperture = drv_data->pti_ioaddr + (mc->master << 15) 314 mc = get_id(drv_data->ia_app, MAX_APP_IDS, 319 mc = get_id(drv_data->ia_os, MAX_OS_IDS, 324 mc = get_id(drv_data->ia_modem, MAX_MODEM_IDS, 356 drv_data->ia_app[i] &= ~(0x80>>(channel & 0x7)); 359 drv_data->ia_os[i] &= ~(0x80>>(channel & 0x7)); 362 drv_data->ia_modem[i] &= ~(0x80>>(channel & 0x7)); 826 drv_data = kzalloc(sizeof(*drv_data), GFP_KERNE 884 struct pti_dev *drv_data = pci_get_drvdata(pdev); local [all...] |
/drivers/regulator/ |
H A D | tps65023-regulator.c | 205 const struct tps_driver_data *drv_data = (void *)id->driver_data; local 206 const struct tps_info *info = drv_data->info; 235 tps->core_regulator = drv_data->core_regulator;
|