Home
last modified time | relevance | path

Searched refs:einfo (Results 1 – 7 of 7) sorted by relevance

/drivers/net/ieee802154/
Dmac802154_hwsim.c260 struct hwsim_edge_info *einfo; in hwsim_hw_xmit() local
281 einfo = rcu_dereference(e->info); in hwsim_hw_xmit()
283 hwsim_hw_receive(e->endpoint->hw, newskb, einfo->lqi); in hwsim_hw_xmit()
371 struct hwsim_edge_info *einfo; in append_radio_msg() local
410 einfo = rcu_dereference(e->info); in append_radio_msg()
412 einfo->lqi); in append_radio_msg()
545 struct hwsim_edge_info *einfo; in hwsim_alloc_edge() local
552 einfo = kzalloc(sizeof(*einfo), GFP_KERNEL); in hwsim_alloc_edge()
553 if (!einfo) { in hwsim_alloc_edge()
558 einfo->lqi = 0xff; in hwsim_alloc_edge()
[all …]
/drivers/mtd/nand/
Dcore.c155 int nanddev_mtd_erase(struct mtd_info *mtd, struct erase_info *einfo) in nanddev_mtd_erase() argument
161 nanddev_offs_to_pos(nand, einfo->addr, &pos); in nanddev_mtd_erase()
162 nanddev_offs_to_pos(nand, einfo->addr + einfo->len - 1, &last); in nanddev_mtd_erase()
166 einfo->fail_addr = nanddev_pos_to_offs(nand, &pos); in nanddev_mtd_erase()
/drivers/mtd/
Dmtdchar.c1028 struct erase_info_user einfo; in mtdchar_ioctl() local
1030 if (copy_from_user(&einfo, argp, sizeof(einfo))) in mtdchar_ioctl()
1033 ret = mtd_lock(mtd, einfo.start, einfo.length); in mtdchar_ioctl()
1039 struct erase_info_user einfo; in mtdchar_ioctl() local
1041 if (copy_from_user(&einfo, argp, sizeof(einfo))) in mtdchar_ioctl()
1044 ret = mtd_unlock(mtd, einfo.start, einfo.length); in mtdchar_ioctl()
1050 struct erase_info_user einfo; in mtdchar_ioctl() local
1052 if (copy_from_user(&einfo, argp, sizeof(einfo))) in mtdchar_ioctl()
1055 ret = mtd_is_locked(mtd, einfo.start, einfo.length); in mtdchar_ioctl()
/drivers/net/ethernet/tundra/
Dtsi108_eth.c1542 hw_info *einfo; in tsi108_init_one() local
1545 einfo = dev_get_platdata(&pdev->dev); in tsi108_init_one()
1547 if (NULL == einfo) { in tsi108_init_one()
1565 pdev->id, einfo->regs, einfo->phyregs, in tsi108_init_one()
1566 einfo->phy, einfo->irq_num); in tsi108_init_one()
1568 data->regs = ioremap(einfo->regs, 0x400); in tsi108_init_one()
1574 data->phyregs = ioremap(einfo->phyregs, 0x400); in tsi108_init_one()
1583 data->mii_if.phy_id = einfo->phy; in tsi108_init_one()
1587 data->phy = einfo->phy; in tsi108_init_one()
1588 data->phy_type = einfo->phy_type; in tsi108_init_one()
[all …]
/drivers/mtd/nand/raw/
Dnand_bbt.c751 struct erase_info einfo; in write_bbt() local
889 memset(&einfo, 0, sizeof(einfo)); in write_bbt()
890 einfo.addr = to; in write_bbt()
891 einfo.len = 1 << this->bbt_erase_shift; in write_bbt()
892 res = nand_erase_nand(this, &einfo, 1); in write_bbt()
Dnand_base.c571 struct erase_info einfo; in nand_block_markbad_lowlevel() local
574 memset(&einfo, 0, sizeof(einfo)); in nand_block_markbad_lowlevel()
575 einfo.addr = ofs; in nand_block_markbad_lowlevel()
576 einfo.len = 1ULL << chip->phys_erase_shift; in nand_block_markbad_lowlevel()
577 nand_erase_nand(chip, &einfo, 0); in nand_block_markbad_lowlevel()
/drivers/mtd/nand/spi/
Dcore.c828 struct erase_info *einfo) in spinand_mtd_erase() argument
834 ret = nanddev_mtd_erase(mtd, einfo); in spinand_mtd_erase()