Searched refs:bctl (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/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.1.9/fs/btrfs/ |
D | volumes.c | 3429 struct btrfs_balance_control *bctl) in insert_balance_item() argument 3464 btrfs_cpu_balance_args_to_disk(&disk_bargs, &bctl->data); in insert_balance_item() 3466 btrfs_cpu_balance_args_to_disk(&disk_bargs, &bctl->meta); in insert_balance_item() 3468 btrfs_cpu_balance_args_to_disk(&disk_bargs, &bctl->sys); in insert_balance_item() 3471 btrfs_set_balance_flags(leaf, item, bctl->flags); in insert_balance_item() 3525 static void update_balance_args(struct btrfs_balance_control *bctl) in update_balance_args() argument 3530 if (bctl->data.flags & BTRFS_BALANCE_ARGS_CONVERT) in update_balance_args() 3531 bctl->data.flags |= BTRFS_BALANCE_ARGS_SOFT; in update_balance_args() 3532 if (bctl->sys.flags & BTRFS_BALANCE_ARGS_CONVERT) in update_balance_args() 3533 bctl->sys.flags |= BTRFS_BALANCE_ARGS_SOFT; in update_balance_args() [all …]
|
D | ioctl.c | 4321 struct btrfs_balance_control *bctl = fs_info->balance_ctl; in btrfs_update_ioctl_balance_args() local 4323 bargs->flags = bctl->flags; in btrfs_update_ioctl_balance_args() 4332 memcpy(&bargs->data, &bctl->data, sizeof(bargs->data)); in btrfs_update_ioctl_balance_args() 4333 memcpy(&bargs->meta, &bctl->meta, sizeof(bargs->meta)); in btrfs_update_ioctl_balance_args() 4334 memcpy(&bargs->sys, &bctl->sys, sizeof(bargs->sys)); in btrfs_update_ioctl_balance_args() 4337 memcpy(&bargs->stat, &bctl->stat, sizeof(bargs->stat)); in btrfs_update_ioctl_balance_args() 4412 struct btrfs_balance_control *bctl; in btrfs_ioctl_balance() local 4442 bctl = fs_info->balance_ctl; in btrfs_ioctl_balance() 4444 bctl->flags |= BTRFS_BALANCE_RESUME; in btrfs_ioctl_balance() 4461 bctl = kzalloc(sizeof(*bctl), GFP_KERNEL); in btrfs_ioctl_balance() [all …]
|
D | block-group.c | 29 struct btrfs_balance_control *bctl = fs_info->balance_ctl; in get_restripe_target() local 32 if (!bctl) in get_restripe_target() 36 bctl->data.flags & BTRFS_BALANCE_ARGS_CONVERT) { in get_restripe_target() 37 target = BTRFS_BLOCK_GROUP_DATA | bctl->data.target; in get_restripe_target() 39 bctl->sys.flags & BTRFS_BALANCE_ARGS_CONVERT) { in get_restripe_target() 40 target = BTRFS_BLOCK_GROUP_SYSTEM | bctl->sys.target; in get_restripe_target() 42 bctl->meta.flags & BTRFS_BALANCE_ARGS_CONVERT) { in get_restripe_target() 43 target = BTRFS_BLOCK_GROUP_METADATA | bctl->meta.target; in get_restripe_target()
|
D | volumes.h | 658 struct btrfs_balance_control *bctl,
|
/linux-6.1.9/drivers/pci/ |
D | probe.c | 1253 u16 bctl; in pci_scan_bridge_extend() local 1292 pci_read_config_word(dev, PCI_BRIDGE_CONTROL, &bctl); in pci_scan_bridge_extend() 1294 bctl & ~PCI_BRIDGE_CTL_MASTER_ABORT); in pci_scan_bridge_extend() 1322 child->bridge_ctl = bctl; in pci_scan_bridge_extend() 1401 child->bridge_ctl = bctl; in pci_scan_bridge_extend() 1466 pci_write_config_word(dev, PCI_BRIDGE_CONTROL, bctl); in pci_scan_bridge_extend()
|