Home
last modified time | relevance | path

Searched refs:binfo (Results 1 – 20 of 20) sorted by relevance

/linux/drivers/fpga/
H A Ddfl.c762 static int build_info_commit_dev(struct build_feature_devs_info *binfo) in build_info_commit_dev() argument
764 struct platform_device *fdev = binfo->feature_dev; in build_info_commit_dev()
780 pdata = kzalloc(struct_size(pdata, features, binfo->feature_num), GFP_KERNEL); in build_info_commit_dev()
785 pdata->num = binfo->feature_num; in build_info_commit_dev()
786 pdata->dfl_cdev = binfo->cdev; in build_info_commit_dev()
803 fdev->num_resources = binfo->feature_num; in build_info_commit_dev()
804 fdev->resource = kcalloc(binfo->feature_num, sizeof(*fdev->resource), in build_info_commit_dev()
810 list_for_each_entry_safe(finfo, p, &binfo->sub_features, node) { in build_info_commit_dev()
822 feature->params = devm_kmemdup(binfo->dev, in build_info_commit_dev()
840 devm_ioremap_resource(binfo->dev, in build_info_commit_dev()
[all …]
/linux/drivers/power/supply/
H A Dtwl6030_charger.c195 struct power_supply_battery_info *binfo; member
246 UA_TO_VICHRG(charger->binfo->constant_charge_current_max_ua)); in twl6030_enable_usb()
264 UV_TO_VOREG(charger->binfo->constant_charge_voltage_max_uv)); in twl6030_enable_usb()
272 if (charger->binfo->charge_term_current_ua != -EINVAL) { in twl6030_enable_usb()
274 UA_TO_VITERM(charger->binfo->charge_term_current_ua)); in twl6030_enable_usb()
489 ret = power_supply_get_battery_info(charger->usb, &charger->binfo); in twl6030_charger_probe()
495 charger->binfo->constant_charge_voltage_max_uv, in twl6030_charger_probe()
496 charger->binfo->constant_charge_current_max_ua); in twl6030_charger_probe()
498 if (charger->binfo->constant_charge_voltage_max_uv == -EINVAL) { in twl6030_charger_probe()
503 charger->binfo->constant_charge_voltage_max_uv = in twl6030_charger_probe()
[all …]
/linux/fs/nilfs2/
H A Ddirect.c296 union nilfs_binfo *binfo) in nilfs_direct_assign_v() argument
306 binfo->bi_v.bi_vblocknr = cpu_to_le64(ptr); in nilfs_direct_assign_v()
307 binfo->bi_v.bi_blkoff = cpu_to_le64(key); in nilfs_direct_assign_v()
316 union nilfs_binfo *binfo) in nilfs_direct_assign_p() argument
320 binfo->bi_dat.bi_blkoff = cpu_to_le64(key); in nilfs_direct_assign_p()
321 binfo->bi_dat.bi_level = 0; in nilfs_direct_assign_p()
322 memset(binfo->bi_dat.bi_pad, 0, sizeof(binfo->bi_dat.bi_pad)); in nilfs_direct_assign_p()
330 union nilfs_binfo *binfo) in nilfs_direct_assign() argument
353 nilfs_direct_assign_v(bmap, key, ptr, bh, blocknr, binfo) : in nilfs_direct_assign()
354 nilfs_direct_assign_p(bmap, key, ptr, bh, blocknr, binfo); in nilfs_direct_assign()
H A Drecovery.c342 struct nilfs_binfo_v *binfo; in nilfs_scan_dsync_log() local
344 binfo = nilfs_read_summary_info(nilfs, &bh, &offset, in nilfs_scan_dsync_log()
345 sizeof(*binfo)); in nilfs_scan_dsync_log()
346 if (unlikely(!binfo)) in nilfs_scan_dsync_log()
356 rb->vblocknr = le64_to_cpu(binfo->bi_vblocknr); in nilfs_scan_dsync_log()
357 rb->blkoff = le64_to_cpu(binfo->bi_blkoff); in nilfs_scan_dsync_log()
H A Dbtree.c2208 union nilfs_binfo *binfo) in nilfs_btree_assign_p() argument
2238 binfo->bi_dat.bi_blkoff = cpu_to_le64(key); in nilfs_btree_assign_p()
2239 binfo->bi_dat.bi_level = level; in nilfs_btree_assign_p()
2240 memset(binfo->bi_dat.bi_pad, 0, sizeof(binfo->bi_dat.bi_pad)); in nilfs_btree_assign_p()
2250 union nilfs_binfo *binfo) in nilfs_btree_assign_v() argument
2270 binfo->bi_v.bi_vblocknr = cpu_to_le64(ptr); in nilfs_btree_assign_v()
2271 binfo->bi_v.bi_blkoff = cpu_to_le64(key); in nilfs_btree_assign_v()
2279 union nilfs_binfo *binfo) in nilfs_btree_assign() argument
2306 nilfs_btree_assign_v(btree, path, level, bh, blocknr, binfo) : in nilfs_btree_assign()
2307 nilfs_btree_assign_p(btree, path, level, bh, blocknr, binfo); in nilfs_btree_assign()
[all …]
H A Dsegment.c615 union nilfs_binfo *binfo) in nilfs_write_file_data_binfo() argument
619 *binfo_v = binfo->bi_v; in nilfs_write_file_data_binfo()
624 union nilfs_binfo *binfo) in nilfs_write_file_node_binfo() argument
628 *vblocknr = binfo->bi_v.bi_vblocknr; in nilfs_write_file_node_binfo()
664 union nilfs_binfo *binfo) in nilfs_write_dat_data_binfo() argument
668 *blkoff = binfo->bi_dat.bi_blkoff; in nilfs_write_dat_data_binfo()
673 union nilfs_binfo *binfo) in nilfs_write_dat_node_binfo() argument
677 *binfo_dat = binfo->bi_dat; in nilfs_write_dat_node_binfo()
1600 union nilfs_binfo binfo; in nilfs_segctor_update_payload_blocknr() local
1634 &binfo); in nilfs_segctor_update_payload_blocknr()
[all …]
H A Dbmap.c385 union nilfs_binfo *binfo) in nilfs_bmap_assign() argument
390 ret = bmap->b_ops->bop_assign(bmap, bh, blocknr, binfo); in nilfs_bmap_assign()
/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_init.c21 struct sfh_base_info binfo; in amd_sfh_get_sensor_num() local
25 memcpy_fromio(&binfo, mp2->vsbase, sizeof(struct sfh_base_info)); in amd_sfh_get_sensor_num()
26 slist = &binfo.sbase.s_list; in amd_sfh_get_sensor_num()
313 struct sfh_base_info binfo; in amd_sfh1_1_init() local
331 memcpy_fromio(&binfo, mp2->vsbase, sizeof(struct sfh_base_info)); in amd_sfh1_1_init()
332 if (binfo.sbase.fw_info.fw_ver == 0 || binfo.sbase.s_list.sl.sensors == 0) { in amd_sfh1_1_init()
336 dev_dbg(dev, "firmware version 0x%x\n", binfo.sbase.fw_info.fw_ver); in amd_sfh1_1_init()
H A Damd_sfh_desc.c191 struct sfh_base_info binfo; in get_input_rep() local
240 memcpy_fromio(&binfo, mp2->vsbase, sizeof(struct sfh_base_info)); in get_input_rep()
241 if (binfo.sbase.s_prop[ALS_IDX].sf.feat & 0x2) { in get_input_rep()
/linux/drivers/infiniband/hw/hfi1/
H A Dfile_ops.c1246 struct hfi1_base_info binfo; in get_base_info() local
1253 if (sizeof(binfo) != len) in get_base_info()
1256 memset(&binfo, 0, sizeof(binfo)); in get_base_info()
1257 binfo.hw_version = dd->revision; in get_base_info()
1258 binfo.sw_version = HFI1_USER_SWVERSION; in get_base_info()
1259 binfo.bthqp = RVT_KDETH_QP_PREFIX; in get_base_info()
1260 binfo.jkey = uctxt->jkey; in get_base_info()
1269 binfo.sc_credits_addr = HFI1_MMAP_TOKEN(PIO_CRED, uctxt->ctxt, in get_base_info()
1271 binfo.pio_bufbase = HFI1_MMAP_TOKEN(PIO_BUFS, uctxt->ctxt, in get_base_info()
1274 binfo.pio_bufbase_sop = HFI1_MMAP_TOKEN(PIO_BUFS_SOP, in get_base_info()
[all …]
/linux/drivers/firmware/arm_scmi/vendors/imx/
H A Dimx-sm-bbm.c350 struct scmi_imx_bbm_info *binfo; in scmi_imx_bbm_protocol_init() local
359 binfo = devm_kzalloc(ph->dev, sizeof(*binfo), GFP_KERNEL); in scmi_imx_bbm_protocol_init()
360 if (!binfo) in scmi_imx_bbm_protocol_init()
363 ret = scmi_imx_bbm_attributes_get(ph, binfo); in scmi_imx_bbm_protocol_init()
367 return ph->set_priv(ph, binfo, version); in scmi_imx_bbm_protocol_init()
/linux/drivers/char/ipmi/
H A Dipmi_ipmb.c491 struct i2c_board_info binfo; in ipmi_ipmb_probe() local
493 memset(&binfo, 0, sizeof(binfo)); in ipmi_ipmb_probe()
494 strscpy(binfo.type, "ipmb-slave", I2C_NAME_SIZE); in ipmi_ipmb_probe()
495 binfo.addr = client->addr; in ipmi_ipmb_probe()
496 binfo.flags = I2C_CLIENT_SLAVE; in ipmi_ipmb_probe()
497 slave = i2c_new_client_device(slave_adap, &binfo); in ipmi_ipmb_probe()
H A Dipmi_ssif.c181 struct i2c_board_info binfo; member
1414 if (info->binfo.addr == addr) { in ssif_info_find()
1620 info->binfo.addr = client->addr; in ssif_add_infos()
1639 info->binfo.addr == client->addr) { in ssif_check_and_remove()
1970 strscpy(addr_info->binfo.type, DEVICE_NAME, in new_ssif_client()
1971 sizeof(addr_info->binfo.type)); in new_ssif_client()
1972 addr_info->binfo.addr = addr; in new_ssif_client()
1973 addr_info->binfo.platform_data = addr_info; in new_ssif_client()
2019 unsigned short addr = info->binfo.addr; in ssif_address_list()
/linux/drivers/net/wireless/ath/ath12k/
H A Dhal_rx.c265 void ath12k_hal_rx_buf_addr_info_set(struct ath12k_buffer_addr *binfo, in ath12k_hal_rx_buf_addr_info_set() argument
272 binfo->info0 = le32_encode_bits(paddr_lo, BUFFER_ADDR_INFO0_ADDR); in ath12k_hal_rx_buf_addr_info_set()
273 binfo->info1 = le32_encode_bits(paddr_hi, BUFFER_ADDR_INFO1_ADDR) | in ath12k_hal_rx_buf_addr_info_set()
278 void ath12k_hal_rx_buf_addr_info_get(struct ath12k_buffer_addr *binfo, in ath12k_hal_rx_buf_addr_info_get() argument
282 *paddr = (((u64)le32_get_bits(binfo->info1, BUFFER_ADDR_INFO1_ADDR)) << 32) | in ath12k_hal_rx_buf_addr_info_get()
283 le32_get_bits(binfo->info0, BUFFER_ADDR_INFO0_ADDR); in ath12k_hal_rx_buf_addr_info_get()
284 *cookie = le32_get_bits(binfo->info1, BUFFER_ADDR_INFO1_SW_COOKIE); in ath12k_hal_rx_buf_addr_info_get()
285 *rbm = le32_get_bits(binfo->info1, BUFFER_ADDR_INFO1_RET_BUF_MGR); in ath12k_hal_rx_buf_addr_info_get()
/linux/drivers/net/wireless/ath/ath11k/
H A Dhal_rx.c269 struct ath11k_buffer_addr *binfo = desc; in ath11k_hal_rx_buf_addr_info_set() local
274 binfo->info0 = FIELD_PREP(BUFFER_ADDR_INFO0_ADDR, paddr_lo); in ath11k_hal_rx_buf_addr_info_set()
275 binfo->info1 = FIELD_PREP(BUFFER_ADDR_INFO1_ADDR, paddr_hi) | in ath11k_hal_rx_buf_addr_info_set()
283 struct ath11k_buffer_addr *binfo = desc; in ath11k_hal_rx_buf_addr_info_get() local
286 (((u64)FIELD_GET(BUFFER_ADDR_INFO1_ADDR, binfo->info1)) << 32) | in ath11k_hal_rx_buf_addr_info_get()
287 FIELD_GET(BUFFER_ADDR_INFO0_ADDR, binfo->info0); in ath11k_hal_rx_buf_addr_info_get()
288 *cookie = FIELD_GET(BUFFER_ADDR_INFO1_SW_COOKIE, binfo->info1); in ath11k_hal_rx_buf_addr_info_get()
289 *rbm = FIELD_GET(BUFFER_ADDR_INFO1_RET_BUF_MGR, binfo->info1); in ath11k_hal_rx_buf_addr_info_get()
/linux/drivers/firmware/broadcom/
H A Dbcm47xx_sprom.c651 struct bcma_boardinfo *binfo = &bus->boardinfo; in bcm47xx_get_sprom_bcma() local
689 nvram_read_u16(prefix, NULL, "boardvendor", &binfo->vendor, 0, true); in bcm47xx_get_sprom_bcma()
690 if (!binfo->vendor) in bcm47xx_get_sprom_bcma()
691 binfo->vendor = SSB_BOARDVENDOR_BCM; in bcm47xx_get_sprom_bcma()
692 nvram_read_u16(prefix, NULL, "boardtype", &binfo->type, 0, true); in bcm47xx_get_sprom_bcma()
/linux/Documentation/filesystems/
H A Dnilfs2.rst229 | Summary | finfo | binfo | ... | binfo | finfo | binfo | ... | binfo |...
/linux/drivers/gpu/drm/bridge/
H A Dite-it6505.c1961 u8 binfo[2]; in it6505_setup_sha1_input() local
1964 err = it6505_get_dpcd(it6505, DP_AUX_HDCP_BINFO, binfo, in it6505_setup_sha1_input()
1965 ARRAY_SIZE(binfo)); in it6505_setup_sha1_input()
1972 down_stream_count = binfo[0] & 0x7F; in it6505_setup_sha1_input()
1973 DRM_DEV_DEBUG_DRIVER(dev, "binfo:0x%*ph", (int)ARRAY_SIZE(binfo), in it6505_setup_sha1_input()
1974 binfo); in it6505_setup_sha1_input()
1976 if ((binfo[0] & BIT(7)) || (binfo[1] & BIT(3))) { in it6505_setup_sha1_input()
2001 sha1_input[msg_count++] = binfo[0]; in it6505_setup_sha1_input()
2002 sha1_input[msg_count++] = binfo[1]; in it6505_setup_sha1_input()
/linux/drivers/usb/gadget/function/
H A Df_midi2.c2765 const struct f_midi2_block_info *binfo = &ep->blks[blk].info; in fill_midi1_cable_mapping() local
2769 if (!binfo->midi1_num_groups) in fill_midi1_cable_mapping()
2771 if (binfo->direction != SNDRV_UMP_DIR_OUTPUT) { in fill_midi1_cable_mapping()
2772 group = binfo->midi1_first_group; in fill_midi1_cable_mapping()
2774 for (i = 0; i < binfo->midi1_num_groups; i++, group++, map++) { in fill_midi1_cable_mapping()
2786 if (binfo->direction != SNDRV_UMP_DIR_INPUT) { in fill_midi1_cable_mapping()
2787 group = binfo->midi1_first_group; in fill_midi1_cable_mapping()
2789 for (i = 0; i < binfo->midi1_num_groups; i++, group++, map++) { in fill_midi1_cable_mapping()
/linux/drivers/net/bonding/
H A Dbond_main.c1877 struct netdev_bonding_info binfo; in bond_netdev_notify_work() local
1879 bond_fill_ifslave(slave, &binfo.slave); in bond_netdev_notify_work()
1880 bond_fill_ifbond(slave->bond, &binfo.master); in bond_netdev_notify_work()
1881 netdev_bonding_info_change(slave->dev, &binfo); in bond_netdev_notify_work()