Home
last modified time | relevance | path

Searched refs:bdata (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/net/can/ctucanfd/
H A Dctucanfd_pci.c66 struct ctucan_pci_board_data *bdata = ctucan_pci_get_bdata(pdev); in ctucan_pci_set_drvdata() local
68 list_add(&priv->peers_on_pdev, &bdata->ndev_list_head); in ctucan_pci_set_drvdata()
87 struct ctucan_pci_board_data *bdata; in ctucan_pci_probe() local
156 bdata = kzalloc_obj(*bdata); in ctucan_pci_probe()
157 if (!bdata) { in ctucan_pci_probe()
162 INIT_LIST_HEAD(&bdata->ndev_list_head); in ctucan_pci_probe()
163 bdata->bar0_base = bar0_base; in ctucan_pci_probe()
164 bdata->cra_base = cra_addr; in ctucan_pci_probe()
165 bdata->bar1_base = addr; in ctucan_pci_probe()
166 bdata->use_msi = msi_ok; in ctucan_pci_probe()
[all …]
/linux/drivers/input/keyboard/
H A Dgpio_keys_polled.c69 struct gpio_keys_button_data *bdata) in gpio_keys_polled_check_state() argument
73 state = gpiod_get_value_cansleep(bdata->gpiod); in gpio_keys_polled_check_state()
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()
97 struct gpio_keys_button_data *bdata = &bdev->data[i]; in gpio_keys_polled_poll() local
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()
[all …]
/linux/drivers/misc/
H A Dad525x_dpot.c85 struct ad_dpot_bus_data bdata; member
99 return dpot->bdata.bops->read_d8(dpot->bdata.client); in dpot_read_d8()
104 return dpot->bdata.bops->read_r8d8(dpot->bdata.client, reg); in dpot_read_r8d8()
109 return dpot->bdata.bops->read_r8d16(dpot->bdata.client, reg); in dpot_read_r8d16()
114 return dpot->bdata.bops->write_d8(dpot->bdata.client, val); in dpot_write_d8()
119 return dpot->bdata.bops->write_r8d8(dpot->bdata.client, reg, val); in dpot_write_r8d8()
124 return dpot->bdata.bops->write_r8d16(dpot->bdata.client, reg, val); in dpot_write_r8d16()
682 struct ad_dpot_bus_data *bdata, unsigned long devid, in ad_dpot_probe() argument
698 data->bdata = *bdata; in ad_dpot_probe()
H A Dad525x_dpot-i2c.c56 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()
H A Dad525x_dpot-spi.c83 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()
H A Dad525x_dpot.h210 int ad_dpot_probe(struct device *dev, struct ad_dpot_bus_data *bdata,
/linux/fs/ext4/
H A Dorphan.c19 __le32 *bdata; in ext4_orphan_file_add() local
56 bdata = (__le32 *)(oi->of_binfo[i].ob_bh->b_data); in ext4_orphan_file_add()
74 while (bdata[j]) { in ext4_orphan_file_add()
80 } while (cmpxchg(&bdata[j], (__le32)0, cpu_to_le32(inode->i_ino)) != in ext4_orphan_file_add()
193 __le32 *bdata; in ext4_orphan_file_del() local
210 bdata = (__le32 *)(oi->of_binfo[blk].ob_bh->b_data); in ext4_orphan_file_del()
211 bdata[off] = 0; in ext4_orphan_file_del()
387 __le32 *bdata; in ext4_orphan_cleanup() local
476 bdata = (__le32 *)(oi->of_binfo[i].ob_bh->b_data); in ext4_orphan_cleanup()
478 if (!bdata[j]) in ext4_orphan_cleanup()
[all …]
/linux/arch/riscv/kernel/
H A Dcpu_ops_sbi.c70 struct sbi_hart_boot_data *bdata = &boot_data[cpuid]; in sbi_cpu_start() local
74 bdata->task_ptr = tidle; in sbi_cpu_start()
75 bdata->stack_ptr = task_pt_regs(tidle); in sbi_cpu_start()
78 hsm_data = __pa(bdata); in sbi_cpu_start()
/linux/drivers/isdn/hardware/mISDN/
H A Dhfcpci.c396 u_char *bdata, int count) in hfcpci_empty_bfifo() argument
410 (*(bdata + (le16_to_cpu(zp->z1) - B_SUB_VAL)))) { in hfcpci_empty_bfifo()
434 ptr1 = bdata + (le16_to_cpu(zp->z2) - B_SUB_VAL); in hfcpci_empty_bfifo()
441 ptr1 = bdata; /* start of buffer */ in hfcpci_empty_bfifo()
537 struct bzfifo *txbz, u_char *bdata) in hfcpci_empty_fifo_trans() argument
581 ptr1 = bdata + (le16_to_cpu(*z2r) - B_SUB_VAL); in hfcpci_empty_fifo_trans()
588 ptr1 = bdata; /* start of buffer */ in hfcpci_empty_fifo_trans()
606 u_char *bdata; in main_rec_hfcpci() local
612 bdata = ((union fifo_area *)(hc->hw.fifos))->b_chans.rxdat_b2; in main_rec_hfcpci()
617 bdata = ((union fifo_area *)(hc->hw.fifos))->b_chans.rxdat_b1; in main_rec_hfcpci()
[all …]
/linux/drivers/i2c/
H A Di2c-core-acpi.c28 u8 bdata; member
708 gsb->bdata = status; in i2c_acpi_space_handler()
712 status = i2c_smbus_write_byte(client, gsb->bdata); in i2c_acpi_space_handler()
720 gsb->bdata = status; in i2c_acpi_space_handler()
725 gsb->bdata); in i2c_acpi_space_handler()
/linux/drivers/hwmon/
H A Dintel-m10-bmc-hwmon.c35 const struct m10bmc_hwmon_board_data *bdata; member
574 tbl = hw->bdata->tables[type]; in find_sensor_data()
743 hw->bdata = (const struct m10bmc_hwmon_board_data *)id->driver_data; in m10bmc_hwmon_probe()
745 hw->chip.info = hw->bdata->hinfo; in m10bmc_hwmon_probe()
/linux/drivers/hid/
H A Dhid-picolcd_fb.c150 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/drivers/gpu/drm/mediatek/
H A Dmtk_hdmi_v2.c390 u8 bdata; in mtk_hdmi_v2_hw_i2s_ch_mapping() local
395 bdata = 0x1; in mtk_hdmi_v2_hw_i2s_ch_mapping()
398 bdata = 0x3; in mtk_hdmi_v2_hw_i2s_ch_mapping()
402 bdata = 0xf; in mtk_hdmi_v2_hw_i2s_ch_mapping()
407 bdata = 0x7; in mtk_hdmi_v2_hw_i2s_ch_mapping()
411 bdata = 0xf; in mtk_hdmi_v2_hw_i2s_ch_mapping()
419 mtk_hdmi_v2_hw_i2s_ch_number(hdmi, bdata); in mtk_hdmi_v2_hw_i2s_ch_mapping()
/linux/drivers/remoteproc/
H A Domap_remoteproc.c573 struct omap_rproc_boot_data *bdata = oproc->boot_data; in omap_rproc_write_dsp_boot_addr() local
574 u32 offset = bdata->boot_reg; in omap_rproc_write_dsp_boot_addr()
584 value = rproc->bootaddr >> bdata->boot_reg_shift; in omap_rproc_write_dsp_boot_addr()
585 mask = ~(SZ_1K - 1) >> bdata->boot_reg_shift; in omap_rproc_write_dsp_boot_addr()
587 return regmap_update_bits(bdata->syscon, offset, mask, value); in omap_rproc_write_dsp_boot_addr()
/linux/fs/
H A Dnamei.c2448 unsigned long adata, bdata, mask, len; in hash_name() local
2457 if (has_zero(a, &adata, &constants) | has_zero(b, &bdata, &constants)) { in hash_name()
2459 bdata = prep_zero_mask(b, bdata, &constants); in hash_name()
2460 mask = create_zero_mask(adata | bdata); in hash_name()
2476 } while (!(has_zero(a, &adata, &constants) | has_zero(b, &bdata, &constants))); in hash_name()
2479 bdata = prep_zero_mask(b, bdata, &constants); in hash_name()
2480 mask = create_zero_mask(adata | bdata); in hash_name()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_ethtool.c1302 const u8 *bdata, u32 size) in cxgb4_ethtool_flash_boot() argument
1309 data = kmemdup(bdata, size, GFP_KERNEL); in cxgb4_ethtool_flash_boot()