Searched refs:bctl (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/sfc/falcon/ |
D | txc43128_phy.c | 207 int ctrl, bctl; in txc_bist_one() local 218 bctl = (test << TXC_BIST_CTRL_TYPE_LBN); in txc_bist_one() 219 ef4_mdio_write(efx, mmd, TXC_BIST_CTL, bctl); in txc_bist_one() 222 bctl |= (1 << TXC_BIST_CTRL_ENAB_LBN); in txc_bist_one() 223 ef4_mdio_write(efx, mmd, TXC_BIST_CTL, bctl); in txc_bist_one() 227 bctl | (1 << TXC_BIST_CTRL_STRT_LBN)); in txc_bist_one() 233 bctl |= (1 << TXC_BIST_CTRL_STOP_LBN); in txc_bist_one() 234 ef4_mdio_write(efx, mmd, TXC_BIST_CTL, bctl); in txc_bist_one() 237 while (bctl & (1 << TXC_BIST_CTRL_STOP_LBN)) in txc_bist_one() 238 bctl = ef4_mdio_read(efx, mmd, TXC_BIST_CTL); in txc_bist_one()
|
/linux-6.6.21/fs/btrfs/ |
D | volumes.c | 3443 struct btrfs_balance_control *bctl) in insert_balance_item() argument 3478 btrfs_cpu_balance_args_to_disk(&disk_bargs, &bctl->data); in insert_balance_item() 3480 btrfs_cpu_balance_args_to_disk(&disk_bargs, &bctl->meta); in insert_balance_item() 3482 btrfs_cpu_balance_args_to_disk(&disk_bargs, &bctl->sys); in insert_balance_item() 3485 btrfs_set_balance_flags(leaf, item, bctl->flags); in insert_balance_item() 3539 static void update_balance_args(struct btrfs_balance_control *bctl) in update_balance_args() argument 3544 if (bctl->data.flags & BTRFS_BALANCE_ARGS_CONVERT) in update_balance_args() 3545 bctl->data.flags |= BTRFS_BALANCE_ARGS_SOFT; in update_balance_args() 3546 if (bctl->sys.flags & BTRFS_BALANCE_ARGS_CONVERT) in update_balance_args() 3547 bctl->sys.flags |= BTRFS_BALANCE_ARGS_SOFT; in update_balance_args() [all …]
|
D | ioctl.c | 3466 struct btrfs_balance_control *bctl = fs_info->balance_ctl; in btrfs_update_ioctl_balance_args() local 3468 bargs->flags = bctl->flags; in btrfs_update_ioctl_balance_args() 3477 memcpy(&bargs->data, &bctl->data, sizeof(bargs->data)); in btrfs_update_ioctl_balance_args() 3478 memcpy(&bargs->meta, &bctl->meta, sizeof(bargs->meta)); in btrfs_update_ioctl_balance_args() 3479 memcpy(&bargs->sys, &bctl->sys, sizeof(bargs->sys)); in btrfs_update_ioctl_balance_args() 3482 memcpy(&bargs->stat, &bctl->stat, sizeof(bargs->stat)); in btrfs_update_ioctl_balance_args() 3557 struct btrfs_balance_control *bctl; in btrfs_ioctl_balance() local 3587 bctl = fs_info->balance_ctl; in btrfs_ioctl_balance() 3589 bctl->flags |= BTRFS_BALANCE_RESUME; in btrfs_ioctl_balance() 3606 bctl = kzalloc(sizeof(*bctl), GFP_KERNEL); in btrfs_ioctl_balance() [all …]
|
D | block-group.c | 45 struct btrfs_balance_control *bctl = fs_info->balance_ctl; in get_restripe_target() local 48 if (!bctl) in get_restripe_target() 52 bctl->data.flags & BTRFS_BALANCE_ARGS_CONVERT) { in get_restripe_target() 53 target = BTRFS_BLOCK_GROUP_DATA | bctl->data.target; in get_restripe_target() 55 bctl->sys.flags & BTRFS_BALANCE_ARGS_CONVERT) { in get_restripe_target() 56 target = BTRFS_BLOCK_GROUP_SYSTEM | bctl->sys.target; in get_restripe_target() 58 bctl->meta.flags & BTRFS_BALANCE_ARGS_CONVERT) { in get_restripe_target() 59 target = BTRFS_BLOCK_GROUP_METADATA | bctl->meta.target; in get_restripe_target()
|
D | volumes.h | 642 struct btrfs_balance_control *bctl,
|
/linux-6.6.21/drivers/pci/ |
D | probe.c | 1260 u16 bctl; in pci_scan_bridge_extend() local 1299 pci_read_config_word(dev, PCI_BRIDGE_CONTROL, &bctl); in pci_scan_bridge_extend() 1301 bctl & ~PCI_BRIDGE_CTL_MASTER_ABORT); in pci_scan_bridge_extend() 1329 child->bridge_ctl = bctl; in pci_scan_bridge_extend() 1408 child->bridge_ctl = bctl; in pci_scan_bridge_extend() 1473 pci_write_config_word(dev, PCI_BRIDGE_CONTROL, bctl); in pci_scan_bridge_extend()
|