/drivers/net/ethernet/smsc/ |
H A D | smsc911x.c | 84 u32 (*reg_read)(struct smsc911x_data *pdata, u32 reg); 85 void (*reg_write)(struct smsc911x_data *pdata, u32 reg, u32 val); 86 void (*rx_readfifo)(struct smsc911x_data *pdata, 88 void (*tx_writefifo)(struct smsc911x_data *pdata, 150 #define __smsc_shift(pdata, reg) ((reg) << ((pdata)->config.shift)) 152 static inline u32 __smsc911x_reg_read(struct smsc911x_data *pdata, u32 reg) argument 154 if (pdata->config.flags & SMSC911X_USE_32BIT) 155 return readl(pdata->ioaddr + reg); 157 if (pdata 166 __smsc911x_reg_read_shift(struct smsc911x_data *pdata, u32 reg) argument 181 smsc911x_reg_read(struct smsc911x_data *pdata, u32 reg) argument 193 __smsc911x_reg_write(struct smsc911x_data *pdata, u32 reg, u32 val) argument 211 __smsc911x_reg_write_shift(struct smsc911x_data *pdata, u32 reg, u32 val) argument 229 smsc911x_reg_write(struct smsc911x_data *pdata, u32 reg, u32 val) argument 241 smsc911x_tx_writefifo(struct smsc911x_data *pdata, unsigned int *buf, unsigned int wordcount) argument 273 smsc911x_tx_writefifo_shift(struct smsc911x_data *pdata, unsigned int *buf, unsigned int wordcount) argument 307 smsc911x_rx_readfifo(struct smsc911x_data *pdata, unsigned int *buf, unsigned int wordcount) argument 339 smsc911x_rx_readfifo_shift(struct smsc911x_data *pdata, unsigned int *buf, unsigned int wordcount) argument 377 struct smsc911x_data *pdata = netdev_priv(ndev); local 394 struct smsc911x_data *pdata = netdev_priv(ndev); local 412 struct smsc911x_data *pdata = netdev_priv(ndev); local 434 struct smsc911x_data *pdata = netdev_priv(ndev); local 443 smsc911x_mac_complete(struct smsc911x_data *pdata) argument 461 smsc911x_mac_read(struct smsc911x_data *pdata, unsigned int offset) argument 489 smsc911x_mac_write(struct smsc911x_data *pdata, unsigned int offset, u32 val) argument 523 struct smsc911x_data *pdata = (struct smsc911x_data *)bus->priv; local 560 struct smsc911x_data *pdata = (struct smsc911x_data *)bus->priv; local 598 smsc911x_phy_enable_external(struct smsc911x_data *pdata) argument 625 smsc911x_phy_initialise_external(struct smsc911x_data *pdata) argument 649 smsc911x_tx_get_txstatus(struct smsc911x_data *pdata) argument 661 smsc911x_rx_get_rxstatus(struct smsc911x_data *pdata) argument 673 smsc911x_phy_check_loopbackpkt(struct smsc911x_data *pdata) argument 779 smsc911x_phy_reset(struct smsc911x_data *pdata) argument 810 struct smsc911x_data *pdata = netdev_priv(dev); local 879 smsc911x_phy_update_flowcontrol(struct smsc911x_data *pdata) argument 921 struct smsc911x_data *pdata = netdev_priv(dev); local 986 struct smsc911x_data *pdata = netdev_priv(dev); local 1037 struct smsc911x_data *pdata = netdev_priv(dev); local 1099 smsc911x_tx_get_txstatcount(struct smsc911x_data *pdata) argument 1108 struct smsc911x_data *pdata = netdev_priv(dev); local 1169 smsc911x_rx_fastforward(struct smsc911x_data *pdata, unsigned int pktwords) argument 1193 struct smsc911x_data *pdata = local 1271 smsc911x_rx_multicast_update(struct smsc911x_data *pdata) argument 1289 smsc911x_rx_multicast_update_workaround(struct smsc911x_data *pdata) argument 1319 smsc911x_phy_disable_energy_detect(struct smsc911x_data *pdata) argument 1354 smsc911x_phy_enable_energy_detect(struct smsc911x_data *pdata) argument 1385 smsc911x_soft_reset(struct smsc911x_data *pdata) argument 1433 smsc911x_set_hw_mac_address(struct smsc911x_data *pdata, u8 dev_addr[6]) argument 1447 struct smsc911x_data *pdata = netdev_priv(dev); local 1588 struct smsc911x_data *pdata = netdev_priv(dev); local 1615 struct smsc911x_data *pdata = netdev_priv(dev); local 1667 struct smsc911x_data *pdata = netdev_priv(dev); local 1676 struct smsc911x_data *pdata = netdev_priv(dev); local 1751 struct smsc911x_data *pdata = netdev_priv(dev); local 1820 struct smsc911x_data *pdata = netdev_priv(dev); local 1847 struct smsc911x_data *pdata = netdev_priv(dev); local 1858 struct smsc911x_data *pdata = netdev_priv(dev); local 1868 struct smsc911x_data *pdata = netdev_priv(dev); local 1884 struct smsc911x_data *pdata = netdev_priv(dev); local 1891 struct smsc911x_data *pdata = netdev_priv(dev); local 1897 struct smsc911x_data *pdata = netdev_priv(dev); local 1911 struct smsc911x_data *pdata = netdev_priv(dev); local 1932 smsc911x_eeprom_enable_access(struct smsc911x_data *pdata) argument 1940 smsc911x_eeprom_send_cmd(struct smsc911x_data *pdata, u32 op) argument 1972 smsc911x_eeprom_read_location(struct smsc911x_data *pdata, u8 address, u8 *data) argument 1987 smsc911x_eeprom_write_location(struct smsc911x_data *pdata, u8 address, u8 data) argument 2018 struct smsc911x_data *pdata = netdev_priv(dev); local 2043 struct smsc911x_data *pdata = netdev_priv(dev); local 2089 struct smsc911x_data *pdata = netdev_priv(dev); local 2104 struct smsc911x_data *pdata = netdev_priv(dev); local 2232 struct smsc911x_data *pdata; local 2340 struct smsc911x_data *pdata; local 2523 struct smsc911x_data *pdata = netdev_priv(ndev); local 2537 struct smsc911x_data *pdata = netdev_priv(ndev); local [all...] |
/drivers/w1/masters/ |
H A D | w1-gpio.c | 23 struct w1_gpio_platform_data *pdata = data; local 26 gpio_direction_input(pdata->pin); 28 gpio_direction_output(pdata->pin, 0); 33 struct w1_gpio_platform_data *pdata = data; local 35 gpio_set_value(pdata->pin, bit); 40 struct w1_gpio_platform_data *pdata = data; local 42 return gpio_get_value(pdata->pin) ? 1 : 0; 48 struct w1_gpio_platform_data *pdata = pdev->dev.platform_data; local 51 if (!pdata) 58 err = gpio_request(pdata 95 struct w1_gpio_platform_data *pdata = pdev->dev.platform_data; local 111 struct w1_gpio_platform_data *pdata = pdev->dev.platform_data; local 121 struct w1_gpio_platform_data *pdata = pdev->dev.platform_data; local [all...] |
/drivers/i2c/busses/ |
H A D | i2c-gpio.c | 24 struct i2c_gpio_platform_data pdata; member in struct:i2c_gpio_private_data 30 struct i2c_gpio_platform_data *pdata = data; local 33 gpio_direction_input(pdata->sda_pin); 35 gpio_direction_output(pdata->sda_pin, 0); 45 struct i2c_gpio_platform_data *pdata = data; local 47 gpio_set_value(pdata->sda_pin, state); 53 struct i2c_gpio_platform_data *pdata = data; local 56 gpio_direction_input(pdata->scl_pin); 58 gpio_direction_output(pdata->scl_pin, 0); 69 struct i2c_gpio_platform_data *pdata local 76 struct i2c_gpio_platform_data *pdata = data; local 83 struct i2c_gpio_platform_data *pdata = data; local 88 of_i2c_gpio_probe(struct device_node *np, struct i2c_gpio_platform_data *pdata) argument 123 struct i2c_gpio_platform_data *pdata; local 225 struct i2c_gpio_platform_data *pdata; local [all...] |
/drivers/usb/misc/ |
H A D | appledisplay.c | 90 struct appledisplay *pdata = urb->context; local 102 ACD_URB_BUFFER_LEN, pdata->urb->actual_length); 116 spin_lock_irqsave(&pdata->lock, flags); 118 switch(pdata->urbdata[1]) { 121 pdata->button_pressed = 1; 122 queue_delayed_work(wq, &pdata->work, 0); 126 pdata->button_pressed = 0; 130 spin_unlock_irqrestore(&pdata->lock, flags); 133 retval = usb_submit_urb(pdata->urb, GFP_ATOMIC); 135 dev_err(&pdata 143 struct appledisplay *pdata = bl_get_data(bd); local 164 struct appledisplay *pdata = bl_get_data(bd); local 190 struct appledisplay *pdata = local 207 struct appledisplay *pdata; local 335 struct appledisplay *pdata = usb_get_intfdata(iface); local [all...] |
/drivers/misc/ |
H A D | wl127x-rfkill.c | 51 struct wl127x_rfkill_platform_data *pdata = pdev->dev.platform_data; local 54 rc = gpio_request(pdata->nshutdown_gpio, "wl127x_nshutdown_gpio"); 58 rc = gpio_direction_output(pdata->nshutdown_gpio, 0); 65 pdata->rfkill = rfkill_allocate(&pdev->dev, RFKILL_TYPE_BLUETOOTH); 66 if (unlikely(!pdata->rfkill)) 69 pdata->rfkill->name = "wl127x"; 70 pdata->rfkill->state = default_state; 72 pdata->rfkill->user_claim_unsupported = 1; 73 pdata->rfkill->user_claim = 0; 74 pdata 87 struct wl127x_rfkill_platform_data *pdata = pdev->dev.platform_data; local [all...] |
/drivers/input/keyboard/ |
H A D | matrix_keypad.c | 28 const struct matrix_keypad_platform_data *pdata; member in struct:matrix_keypad 48 static void __activate_col(const struct matrix_keypad_platform_data *pdata, argument 51 bool level_on = !pdata->active_low; 54 gpio_direction_output(pdata->col_gpios[col], level_on); 56 gpio_set_value_cansleep(pdata->col_gpios[col], !level_on); 57 gpio_direction_input(pdata->col_gpios[col]); 61 static void activate_col(const struct matrix_keypad_platform_data *pdata, argument 64 __activate_col(pdata, col, on); 66 if (on && pdata->col_scan_delay_us) 67 udelay(pdata 70 activate_all_cols(const struct matrix_keypad_platform_data *pdata, bool on) argument 79 row_asserted(const struct matrix_keypad_platform_data *pdata, int row) argument 88 const struct matrix_keypad_platform_data *pdata = keypad->pdata; local 101 const struct matrix_keypad_platform_data *pdata = keypad->pdata; local 120 const struct matrix_keypad_platform_data *pdata = keypad->pdata; local 230 const struct matrix_keypad_platform_data *pdata = keypad->pdata; local 252 const struct matrix_keypad_platform_data *pdata = keypad->pdata; local 304 const struct matrix_keypad_platform_data *pdata = keypad->pdata; local 380 const struct matrix_keypad_platform_data *pdata; local 462 const struct matrix_keypad_platform_data *pdata = keypad->pdata; local [all...] |
H A D | gpio_keys_polled.c | 41 struct gpio_keys_platform_data *pdata; member in struct:gpio_keys_polled_dev 70 struct gpio_keys_platform_data *pdata = bdev->pdata; local 74 for (i = 0; i < bdev->pdata->nbuttons; i++) { 80 gpio_keys_polled_check_state(input, &pdata->buttons[i], 88 struct gpio_keys_platform_data *pdata = bdev->pdata; local 90 if (pdata->enable) 91 pdata->enable(bdev->dev); 97 struct gpio_keys_platform_data *pdata local 105 struct gpio_keys_platform_data *pdata = pdev->dev.platform_data; local 220 struct gpio_keys_platform_data *pdata = bdev->pdata; local [all...] |
/drivers/power/ |
H A D | max8903_charger.c | 32 struct max8903_pdata pdata; member in struct:max8903_data 56 if (data->pdata.chg) { 57 if (gpio_get_value(data->pdata.chg) == 0) 84 struct max8903_pdata *pdata = &data->pdata; local 88 ta_in = gpio_get_value(pdata->dok) ? false : true; 96 if (pdata->dcm) 97 gpio_set_value(pdata->dcm, ta_in ? 1 : 0); 100 if (pdata->cen) 101 gpio_set_value(pdata 125 struct max8903_pdata *pdata = &data->pdata; local 164 struct max8903_pdata *pdata = &data->pdata; local 186 struct max8903_pdata *pdata = pdev->dev.platform_data; local 353 struct max8903_pdata *pdata = &data->pdata; local [all...] |
H A D | wm97xx_battery.c | 36 struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata; local 39 pdata->batt_aux) * pdata->batt_mult / 40 pdata->batt_div; 46 struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata; local 49 pdata->temp_aux) * pdata->temp_mult / 50 pdata->temp_div; 58 struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata; local 65 val->intval = pdata 109 struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata; local 171 struct wm97xx_batt_pdata *pdata; local 267 struct wm97xx_batt_pdata *pdata = wmdata->batt_pdata; local [all...] |
H A D | pda_power.c | 35 static struct pda_power_pdata *pdata; variable in typeref:struct:pda_power_pdata 66 val->intval = pdata->is_ac_online ? 67 pdata->is_ac_online() : 0; 69 val->intval = pdata->is_usb_online ? 70 pdata->is_usb_online() : 0; 109 if (pdata->is_ac_online) 110 new_ac_status = !!pdata->is_ac_online(); 112 if (pdata->is_usb_online) 113 new_usb_status = !!pdata->is_usb_online(); 119 int max_uA = pdata [all...] |
H A D | s3c_adc_battery.c | 33 struct s3c_adc_bat_pdata *pdata; member in struct:s3c_adc_bat 87 bat->pdata->backup_volt_samples, 88 bat->pdata->backup_volt_channel); 89 bat->volt_value *= bat->pdata->backup_volt_mult; 98 val->intval = bat->pdata->backup_volt_min; 101 val->intval = bat->pdata->backup_volt_max; 135 return bat->pdata->gpio_inverted ? 136 !gpio_get_value(bat->pdata->gpio_charge_finished) : 137 gpio_get_value(bat->pdata->gpio_charge_finished); 148 const struct s3c_adc_bat_thresh *lut = bat->pdata 292 struct s3c_adc_bat_pdata *pdata = pdev->dev.platform_data; local 370 struct s3c_adc_bat_pdata *pdata = pdev->dev.platform_data; local 395 struct s3c_adc_bat_pdata *pdata = pdev->dev.platform_data; local 412 struct s3c_adc_bat_pdata *pdata = pdev->dev.platform_data; local [all...] |
H A D | gpio-charger.c | 29 const struct gpio_charger_platform_data *pdata; member in struct:gpio_charger 53 const struct gpio_charger_platform_data *pdata = gpio_charger->pdata; local 57 val->intval = gpio_get_value(pdata->gpio); 58 val->intval ^= pdata->gpio_active_low; 73 const struct gpio_charger_platform_data *pdata = pdev->dev.platform_data; local 79 if (!pdata) { 84 if (!gpio_is_valid(pdata->gpio)) { 97 charger->name = pdata->name ? pdata [all...] |
/drivers/rtc/ |
H A D | rtc-stk17ta8.c | 80 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 81 void __iomem *ioaddr = pdata->ioaddr; 84 flags = readb(pdata->ioaddr + RTC_FLAGS); 85 writeb(flags | RTC_WRITE, pdata->ioaddr + RTC_FLAGS); 96 writeb(flags & ~RTC_WRITE, pdata->ioaddr + RTC_FLAGS); 103 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 104 void __iomem *ioaddr = pdata->ioaddr; 110 if (pdata->last_jiffies == jiffies) 112 pdata->last_jiffies = jiffies; 114 flags = readb(pdata 141 stk17ta8_rtc_update_alarm(struct rtc_plat_data *pdata) argument 173 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 190 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 205 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 228 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 254 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 269 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 293 struct rtc_plat_data *pdata; local 352 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local [all...] |
H A D | rtc-ds1553.c | 79 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 80 void __iomem *ioaddr = pdata->ioaddr; 85 writeb(RTC_WRITE, pdata->ioaddr + RTC_CONTROL); 104 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 105 void __iomem *ioaddr = pdata->ioaddr; 110 if (pdata->last_jiffies == jiffies) 112 pdata->last_jiffies = jiffies; 139 static void ds1553_rtc_update_alarm(struct rtc_plat_data *pdata) argument 141 void __iomem *ioaddr = pdata->ioaddr; 144 spin_lock_irqsave(&pdata 165 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 182 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 197 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 219 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 245 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 260 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local 284 struct rtc_plat_data *pdata; local 343 struct rtc_plat_data *pdata = platform_get_drvdata(pdev); local [all...] |
H A D | rtc-tx4939.c | 47 struct tx4939rtc_plat_data *pdata = get_tx4939rtc_plat_data(dev); local 48 struct tx4939_rtc_reg __iomem *rtcreg = pdata->rtcreg; 58 spin_lock_irq(&pdata->lock); 65 spin_unlock_irq(&pdata->lock); 71 struct tx4939rtc_plat_data *pdata = get_tx4939rtc_plat_data(dev); local 72 struct tx4939_rtc_reg __iomem *rtcreg = pdata->rtcreg; 77 spin_lock_irq(&pdata->lock); 82 spin_unlock_irq(&pdata->lock); 88 spin_unlock_irq(&pdata->lock); 96 struct tx4939rtc_plat_data *pdata local 128 struct tx4939rtc_plat_data *pdata = get_tx4939rtc_plat_data(dev); local 157 struct tx4939rtc_plat_data *pdata = get_tx4939rtc_plat_data(dev); local 169 struct tx4939rtc_plat_data *pdata = get_tx4939rtc_plat_data(dev_id); local 197 struct tx4939rtc_plat_data *pdata = get_tx4939rtc_plat_data(dev); local 216 struct tx4939rtc_plat_data *pdata = get_tx4939rtc_plat_data(dev); local 243 struct tx4939rtc_plat_data *pdata; local 284 struct tx4939rtc_plat_data *pdata = platform_get_drvdata(pdev); local [all...] |
/drivers/leds/ |
H A D | leds-gpio-register.c | 16 * @pdata: the platform data used for the new device 18 * Makes a copy of pdata and pdata->leds and registers a new leds-gpio device 19 * with the result. This allows to have pdata and pdata-leds in .init.rodata 26 int id, const struct gpio_led_platform_data *pdata) 29 struct gpio_led_platform_data _pdata = *pdata; 31 _pdata.leds = kmemdup(pdata->leds, 32 pdata->num_leds * sizeof(*pdata 25 gpio_led_register_device( int id, const struct gpio_led_platform_data *pdata) argument [all...] |
/drivers/input/misc/ |
H A D | rotary_encoder.c | 32 struct rotary_encoder_platform_data *pdata; member in struct:rotary_encoder 46 static int rotary_encoder_get_state(struct rotary_encoder_platform_data *pdata) argument 48 int a = !!gpio_get_value(pdata->gpio_a); 49 int b = !!gpio_get_value(pdata->gpio_b); 51 a ^= pdata->inverted_a; 52 b ^= pdata->inverted_b; 59 struct rotary_encoder_platform_data *pdata = encoder->pdata; local 61 if (pdata->relative_axis) { 63 pdata 145 struct rotary_encoder_platform_data *pdata = pdev->dev.platform_data; local 266 struct rotary_encoder_platform_data *pdata = pdev->dev.platform_data; local [all...] |
H A D | gpio_tilt_polled.c | 33 const struct gpio_tilt_platform_data *pdata; member in struct:gpio_tilt_polled_dev 44 const struct gpio_tilt_platform_data *pdata = tdev->pdata; local 53 for (i = 0; i < pdata->nr_gpios; i++) 54 state |= (!!gpio_get_value(pdata->gpios[i].gpio) << i); 57 for (i = 0; i < pdata->nr_states; i++) 58 if (pdata->states[i].gpios == state) 59 tilt_state = &pdata->states[i]; 62 for (i = 0; i < pdata->nr_axes; i++) 64 pdata 79 const struct gpio_tilt_platform_data *pdata = tdev->pdata; local 93 const struct gpio_tilt_platform_data *pdata = tdev->pdata; local 101 const struct gpio_tilt_platform_data *pdata = pdev->dev.platform_data; local 185 const struct gpio_tilt_platform_data *pdata = tdev->pdata; local [all...] |
H A D | mc13783-pwrbutton.c | 94 const struct mc13xxx_buttons_platform_data *pdata; local 101 pdata = dev_get_platdata(&pdev->dev); 102 if (!pdata) { 120 reg |= (pdata->b1on_flags & 0x3) << MC13783_POWER_CONTROL_2_ON1BDBNC; 121 reg |= (pdata->b2on_flags & 0x3) << MC13783_POWER_CONTROL_2_ON2BDBNC; 122 reg |= (pdata->b3on_flags & 0x3) << MC13783_POWER_CONTROL_2_ON3BDBNC; 129 if (pdata->b1on_flags & MC13783_BUTTON_ENABLE) { 130 priv->keymap[0] = pdata->b1on_key; 131 if (pdata->b1on_key != KEY_RESERVED) 132 __set_bit(pdata 236 const struct mc13xxx_buttons_platform_data *pdata; local [all...] |
/drivers/uio/ |
H A D | uio_pdrv.c | 26 struct uio_platdata *pdata; local 36 pdata = kzalloc(sizeof(*pdata), GFP_KERNEL); 37 if (!pdata) { 43 pdata->uioinfo = uioinfo; 71 pdata->uioinfo->priv = pdata; 73 ret = uio_register_device(&pdev->dev, pdata->uioinfo); 76 kfree(pdata); 82 platform_set_drvdata(pdev, pdata); 89 struct uio_platdata *pdata = platform_get_drvdata(pdev); local [all...] |
/drivers/mtd/nand/ |
H A D | plat_nand.c | 31 struct platform_nand_data *pdata = pdev->dev.platform_data; local 36 if (pdata->chip.nr_chips < 1) { 73 data->chip.cmd_ctrl = pdata->ctrl.cmd_ctrl; 74 data->chip.dev_ready = pdata->ctrl.dev_ready; 75 data->chip.select_chip = pdata->ctrl.select_chip; 76 data->chip.write_buf = pdata->ctrl.write_buf; 77 data->chip.read_buf = pdata->ctrl.read_buf; 78 data->chip.chip_delay = pdata->chip.chip_delay; 79 data->chip.options |= pdata->chip.options; 80 data->chip.bbt_options |= pdata 128 struct platform_nand_data *pdata = pdev->dev.platform_data; local [all...] |
/drivers/edac/ |
H A D | mpc85xx_edac.c | 55 struct mpc85xx_mc_pdata *pdata = mci->pvt_info; local 57 in_be32(pdata->mc_vbase + 64 struct mpc85xx_mc_pdata *pdata = mci->pvt_info; local 66 in_be32(pdata->mc_vbase + 72 struct mpc85xx_mc_pdata *pdata = mci->pvt_info; local 74 in_be32(pdata->mc_vbase + MPC85XX_MC_ECC_ERR_INJECT)); 80 struct mpc85xx_mc_pdata *pdata = mci->pvt_info; local 82 out_be32(pdata->mc_vbase + MPC85XX_MC_DATA_ERR_INJECT_HI, 92 struct mpc85xx_mc_pdata *pdata = mci->pvt_info; local 94 out_be32(pdata 104 struct mpc85xx_mc_pdata *pdata = mci->pvt_info; local 152 struct mpc85xx_pci_pdata *pdata = pci->pvt_info; local 190 struct mpc85xx_pci_pdata *pdata = pci->pvt_info; local 206 struct mpc85xx_pci_pdata *pdata; local 310 struct mpc85xx_pci_pdata *pdata = pci->pvt_info; local 359 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; local 367 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; local 375 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; local 384 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; local 397 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; local 410 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; local 458 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; local 492 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; local 508 struct mpc85xx_l2_pdata *pdata; local 617 struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info; local 776 struct mpc85xx_mc_pdata *pdata = mci->pvt_info; local 870 struct mpc85xx_mc_pdata *pdata = mci->pvt_info; local 884 struct mpc85xx_mc_pdata *pdata = mci->pvt_info; local 960 struct mpc85xx_mc_pdata *pdata; local 1091 struct mpc85xx_mc_pdata *pdata = mci->pvt_info; local [all...] |
/drivers/regulator/ |
H A D | max8952.c | 49 struct max8952_platform_data *pdata; member in struct:max8952_data 74 return (max8952->pdata->dvs_mode[mode] * 10 + 770) * 1000; 99 if (gpio_is_valid(max8952->pdata->gpio_en)) 100 gpio_set_value(max8952->pdata->gpio_en, 1); 111 if (gpio_is_valid(max8952->pdata->gpio_en)) 112 gpio_set_value(max8952->pdata->gpio_en, 0); 139 if (!gpio_is_valid(max8952->pdata->gpio_vid0) || 140 !gpio_is_valid(max8952->pdata->gpio_vid1)) { 158 gpio_set_value(max8952->pdata->gpio_vid0, max8952->vid0); 159 gpio_set_value(max8952->pdata 189 struct max8952_platform_data *pdata = client->dev.platform_data; local 322 struct max8952_platform_data *pdata = max8952->pdata; local [all...] |
/drivers/video/backlight/ |
H A D | atmel-pwm-bl.c | 23 const struct atmel_pwm_bl_platform_data *pdata; member in struct:atmel_pwm_bl 41 if (pwmbl->pdata->pwm_active_low) 42 pwm_duty = pwmbl->pdata->pwm_duty_min + intensity; 44 pwm_duty = pwmbl->pdata->pwm_duty_max - intensity; 46 if (pwm_duty > pwmbl->pdata->pwm_duty_max) 47 pwm_duty = pwmbl->pdata->pwm_duty_max; 48 if (pwm_duty < pwmbl->pdata->pwm_duty_min) 49 pwm_duty = pwmbl->pdata->pwm_duty_min; 54 0 ^ pwmbl->pdata->on_active_low); 63 1 ^ pwmbl->pdata 125 const struct atmel_pwm_bl_platform_data *pdata; local [all...] |
/drivers/usb/host/ |
H A D | ehci-omap.c | 104 struct ehci_hcd_omap_platform_data *pdata) 109 if (pdata->regulator[i]) { 110 regulator_disable(pdata->regulator[i]); 111 regulator_put(pdata->regulator[i]); 129 struct ehci_hcd_omap_platform_data *pdata = dev->platform_data; local 180 if (pdata->port_mode[i] != OMAP_EHCI_PORT_MODE_PHY) { 181 pdata->regulator[i] = NULL; 185 pdata->regulator[i] = regulator_get(dev, supply); 186 if (IS_ERR(pdata->regulator[i])) { 187 pdata 103 disable_put_regulator( struct ehci_hcd_omap_platform_data *pdata) argument 291 struct ehci_hcd_omap_platform_data *pdata = dev->platform_data; local [all...] |