/linux/drivers/input/keyboard/ |
A D | gpio_keys.c | 132 if (!bdata->gpiod) in gpio_keys_quiesce_key() 155 if (!bdata->disabled) { in gpio_keys_disable_button() 177 if (bdata->disabled) { in gpio_keys_enable_button() 444 &bdata->work, in gpio_keys_gpio_isr() 517 bdata->input = input; in gpio_keys_setup_key() 557 if (!bdata->gpiod) in gpio_keys_setup_key() 561 if (bdata->gpiod) { in gpio_keys_setup_key() 592 bdata->irq = irq; in gpio_keys_setup_key() 674 bdata->irq, error); in gpio_keys_setup_key() 688 if (bdata->gpiod) in gpio_keys_report_state() [all …]
|
A D | gpio_keys_polled.c | 80 if (state != bdata->last_state) { in gpio_keys_polled_check_state() 81 bdata->count = 0; in gpio_keys_polled_check_state() 82 bdata->last_state = state; in gpio_keys_polled_check_state() 99 if (bdata->count < bdata->threshold) { in gpio_keys_polled_poll() 100 bdata->count++; in gpio_keys_polled_poll() 102 bdata->last_state); in gpio_keys_polled_poll() 105 bdata); in gpio_keys_polled_poll() 301 if (IS_ERR(bdata->gpiod)) { in gpio_keys_polled_probe() 302 error = PTR_ERR(bdata->gpiod); in gpio_keys_polled_probe() 330 if (!bdata->gpiod) { in gpio_keys_polled_probe() [all …]
|
/linux/drivers/gpu/drm/shmobile/ |
A D | shmob_drm_backlight.c | 20 const struct shmob_drm_backlight_data *bdata = &sdev->pdata->backlight; in shmob_drm_backlight_update() local 27 return bdata->set_brightness(brightness); in shmob_drm_backlight_update() 34 const struct shmob_drm_backlight_data *bdata = &sdev->pdata->backlight; in shmob_drm_backlight_get_brightness() local 36 return bdata->get_brightness(); in shmob_drm_backlight_get_brightness() 58 const struct shmob_drm_backlight_data *bdata = &sdev->pdata->backlight; in shmob_drm_backlight_init() local 63 if (!bdata->max_brightness) in shmob_drm_backlight_init() 66 backlight = backlight_device_register(bdata->name, dev->dev, scon, in shmob_drm_backlight_init() 74 backlight->props.max_brightness = bdata->max_brightness; in shmob_drm_backlight_init() 75 backlight->props.brightness = bdata->max_brightness; in shmob_drm_backlight_init()
|
/linux/drivers/misc/ |
A D | ad525x_dpot.c | 84 struct ad_dpot_bus_data bdata; member 98 return dpot->bdata.bops->read_d8(dpot->bdata.client); in dpot_read_d8() 103 return dpot->bdata.bops->read_r8d8(dpot->bdata.client, reg); in dpot_read_r8d8() 108 return dpot->bdata.bops->read_r8d16(dpot->bdata.client, reg); in dpot_read_r8d16() 113 return dpot->bdata.bops->write_d8(dpot->bdata.client, val); in dpot_write_d8() 118 return dpot->bdata.bops->write_r8d8(dpot->bdata.client, reg, val); in dpot_write_r8d8() 123 return dpot->bdata.bops->write_r8d16(dpot->bdata.client, reg, val); in dpot_write_r8d16() 683 struct ad_dpot_bus_data *bdata, unsigned long devid, in ad_dpot_probe() argument 699 data->bdata = *bdata; in ad_dpot_probe()
|
A D | ad525x_dpot-i2c.c | 56 struct ad_dpot_bus_data bdata = { in ad_dpot_i2c_probe() local 67 return ad_dpot_probe(&client->dev, &bdata, id->driver_data, id->name); in ad_dpot_i2c_probe()
|
A D | ad525x_dpot-spi.c | 83 struct ad_dpot_bus_data bdata = { in ad_dpot_spi_probe() local 88 return ad_dpot_probe(&spi->dev, &bdata, in ad_dpot_spi_probe()
|
A D | ad525x_dpot.h | 210 int ad_dpot_probe(struct device *dev, struct ad_dpot_bus_data *bdata,
|
/linux/fs/ext4/ |
A D | orphan.c | 17 __le32 *bdata; in ext4_orphan_file_add() local 54 bdata = (__le32 *)(oi->of_binfo[i].ob_bh->b_data); in ext4_orphan_file_add() 72 while (bdata[j]) { in ext4_orphan_file_add() 195 __le32 *bdata; in ext4_orphan_file_del() local 212 bdata = (__le32 *)(oi->of_binfo[blk].ob_bh->b_data); in ext4_orphan_file_del() 213 bdata[off] = 0; in ext4_orphan_file_del() 389 __le32 *bdata; in ext4_orphan_cleanup() local 478 bdata = (__le32 *)(oi->of_binfo[i].ob_bh->b_data); in ext4_orphan_cleanup() 480 if (!bdata[j]) in ext4_orphan_cleanup() 578 __le32 *bdata; in ext4_init_orphan_info() local [all …]
|
/linux/drivers/pinctrl/samsung/ |
A D | pinctrl-samsung.c | 1012 const struct samsung_pin_bank_data *bdata; in samsung_pinctrl_get_soc_data() local 1049 bdata = ctrl->pin_banks; in samsung_pinctrl_get_soc_data() 1051 bank->type = bdata->type; in samsung_pinctrl_get_soc_data() 1052 bank->pctl_offset = bdata->pctl_offset; in samsung_pinctrl_get_soc_data() 1053 bank->nr_pins = bdata->nr_pins; in samsung_pinctrl_get_soc_data() 1054 bank->eint_func = bdata->eint_func; in samsung_pinctrl_get_soc_data() 1055 bank->eint_type = bdata->eint_type; in samsung_pinctrl_get_soc_data() 1056 bank->eint_mask = bdata->eint_mask; in samsung_pinctrl_get_soc_data() 1057 bank->eint_offset = bdata->eint_offset; in samsung_pinctrl_get_soc_data() 1058 bank->name = bdata->name; in samsung_pinctrl_get_soc_data() [all …]
|
/linux/drivers/isdn/hardware/mISDN/ |
A D | hfcpci.c | 394 u_char *bdata, int count) in hfcpci_empty_bfifo() argument 439 ptr1 = bdata; /* start of buffer */ in hfcpci_empty_bfifo() 535 struct bzfifo *txbz, u_char *bdata) in hfcpci_empty_fifo_trans() argument 586 ptr1 = bdata; /* start of buffer */ in hfcpci_empty_fifo_trans() 604 u_char *bdata; in main_rec_hfcpci() local 635 hfcpci_empty_bfifo(bch, rxbz, bdata, rcnt); in main_rec_hfcpci() 745 u_char *bdata; in hfcpci_fill_fifo() local 797 dst = bdata; /* start of buffer */ in hfcpci_fill_fifo() 821 dst = bdata + (le16_to_cpu(*z1t) - B_SUB_VAL); in hfcpci_fill_fifo() 835 dst = bdata; /* start of buffer */ in hfcpci_fill_fifo() [all …]
|
/linux/drivers/hwmon/ |
A D | intel-m10-bmc-hwmon.c | 35 const struct m10bmc_hwmon_board_data *bdata; member 356 tbl = hw->bdata->tables[type]; in find_sensor_data() 526 hw->bdata = (const struct m10bmc_hwmon_board_data *)id->driver_data; in m10bmc_hwmon_probe() 528 hw->chip.info = hw->bdata->hinfo; in m10bmc_hwmon_probe()
|
/linux/drivers/i2c/ |
A D | i2c-core-acpi.c | 28 u8 bdata; member 655 gsb->bdata = status; in i2c_acpi_space_handler() 659 status = i2c_smbus_write_byte(client, gsb->bdata); in i2c_acpi_space_handler() 667 gsb->bdata = status; in i2c_acpi_space_handler() 672 gsb->bdata); in i2c_acpi_space_handler()
|
/linux/drivers/hid/ |
A D | hid-picolcd_fb.c | 150 const u8 *bdata = bitmap + tile * 256 + chip * 8 + b * 32; in picolcd_fb_update_tile() local 153 tdata[i] |= (bdata[i/8] >> (i % 8)) & 0x01; in picolcd_fb_update_tile() 158 const u8 *bdata = bitmap + (tile * 256 + chip * 8 + b * 32) * 8; in picolcd_fb_update_tile() local 161 tdata[i] |= (bdata[i] & 0x80) ? 0x01 : 0x00; in picolcd_fb_update_tile()
|
/linux/arch/arm/mach-omap2/include/mach/ |
A D | serial.h | 64 extern void omap_serial_init_port(struct omap_board_data *bdata,
|
/linux/drivers/iio/adc/ |
A D | ad7606_spi.c | 109 __be16 *bdata = buf; in ad7606_spi_read_block() local 118 data[i] = be16_to_cpu(bdata[i]); in ad7606_spi_read_block()
|
/linux/drivers/remoteproc/ |
A D | omap_remoteproc.c | 569 struct omap_rproc_boot_data *bdata = oproc->boot_data; in omap_rproc_write_dsp_boot_addr() local 570 u32 offset = bdata->boot_reg; in omap_rproc_write_dsp_boot_addr() 580 value = rproc->bootaddr >> bdata->boot_reg_shift; in omap_rproc_write_dsp_boot_addr() 581 mask = ~(SZ_1K - 1) >> bdata->boot_reg_shift; in omap_rproc_write_dsp_boot_addr() 583 return regmap_update_bits(bdata->syscon, offset, mask, value); in omap_rproc_write_dsp_boot_addr()
|
/linux/fs/ |
A D | namei.c | 2137 unsigned long adata, bdata, mask, len; in hash_name() local 2149 } while (!(has_zero(a, &adata, &constants) | has_zero(b, &bdata, &constants))); in hash_name() 2152 bdata = prep_zero_mask(b, bdata, &constants); in hash_name() 2153 mask = create_zero_mask(adata | bdata); in hash_name()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
A D | cxgb4_ethtool.c | 1298 const u8 *bdata, u32 size) in cxgb4_ethtool_flash_boot() argument 1305 data = kmemdup(bdata, size, GFP_KERNEL); in cxgb4_ethtool_flash_boot()
|