Searched refs:bctl (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/ |
D | txc43128_phy.c | 210 int ctrl, bctl; in txc_bist_one() local 221 bctl = (test << TXC_BIST_CTRL_TYPE_LBN); in txc_bist_one() 222 ef4_mdio_write(efx, mmd, TXC_BIST_CTL, bctl); in txc_bist_one() 225 bctl |= (1 << TXC_BIST_CTRL_ENAB_LBN); in txc_bist_one() 226 ef4_mdio_write(efx, mmd, TXC_BIST_CTL, bctl); in txc_bist_one() 230 bctl | (1 << TXC_BIST_CTRL_STRT_LBN)); in txc_bist_one() 236 bctl |= (1 << TXC_BIST_CTRL_STOP_LBN); in txc_bist_one() 237 ef4_mdio_write(efx, mmd, TXC_BIST_CTL, bctl); in txc_bist_one() 240 while (bctl & (1 << TXC_BIST_CTRL_STOP_LBN)) in txc_bist_one() 241 bctl = ef4_mdio_read(efx, mmd, TXC_BIST_CTL); in txc_bist_one()
|
/Linux-v4.19/fs/btrfs/ |
D | volumes.c | 3004 struct btrfs_balance_control *bctl) in insert_balance_item() argument 3039 btrfs_cpu_balance_args_to_disk(&disk_bargs, &bctl->data); in insert_balance_item() 3041 btrfs_cpu_balance_args_to_disk(&disk_bargs, &bctl->meta); in insert_balance_item() 3043 btrfs_cpu_balance_args_to_disk(&disk_bargs, &bctl->sys); in insert_balance_item() 3046 btrfs_set_balance_flags(leaf, item, bctl->flags); in insert_balance_item() 3100 static void update_balance_args(struct btrfs_balance_control *bctl) in update_balance_args() argument 3105 if (bctl->data.flags & BTRFS_BALANCE_ARGS_CONVERT) in update_balance_args() 3106 bctl->data.flags |= BTRFS_BALANCE_ARGS_SOFT; in update_balance_args() 3107 if (bctl->sys.flags & BTRFS_BALANCE_ARGS_CONVERT) in update_balance_args() 3108 bctl->sys.flags |= BTRFS_BALANCE_ARGS_SOFT; in update_balance_args() [all …]
|
D | ioctl.c | 4925 struct btrfs_balance_control *bctl = fs_info->balance_ctl; in btrfs_update_ioctl_balance_args() local 4927 bargs->flags = bctl->flags; in btrfs_update_ioctl_balance_args() 4936 memcpy(&bargs->data, &bctl->data, sizeof(bargs->data)); in btrfs_update_ioctl_balance_args() 4937 memcpy(&bargs->meta, &bctl->meta, sizeof(bargs->meta)); in btrfs_update_ioctl_balance_args() 4938 memcpy(&bargs->sys, &bctl->sys, sizeof(bargs->sys)); in btrfs_update_ioctl_balance_args() 4941 memcpy(&bargs->stat, &bctl->stat, sizeof(bargs->stat)); in btrfs_update_ioctl_balance_args() 4950 struct btrfs_balance_control *bctl; in btrfs_ioctl_balance() local 5023 bctl = fs_info->balance_ctl; in btrfs_ioctl_balance() 5025 bctl->flags |= BTRFS_BALANCE_RESUME; in btrfs_ioctl_balance() 5039 bctl = kzalloc(sizeof(*bctl), GFP_KERNEL); in btrfs_ioctl_balance() [all …]
|
D | volumes.h | 434 struct btrfs_balance_control *bctl,
|
D | extent-tree.c | 3975 struct btrfs_balance_control *bctl = fs_info->balance_ctl; in get_restripe_target() local 3978 if (!bctl) in get_restripe_target() 3982 bctl->data.flags & BTRFS_BALANCE_ARGS_CONVERT) { in get_restripe_target() 3983 target = BTRFS_BLOCK_GROUP_DATA | bctl->data.target; in get_restripe_target() 3985 bctl->sys.flags & BTRFS_BALANCE_ARGS_CONVERT) { in get_restripe_target() 3986 target = BTRFS_BLOCK_GROUP_SYSTEM | bctl->sys.target; in get_restripe_target() 3988 bctl->meta.flags & BTRFS_BALANCE_ARGS_CONVERT) { in get_restripe_target() 3989 target = BTRFS_BLOCK_GROUP_METADATA | bctl->meta.target; in get_restripe_target()
|
/Linux-v4.19/drivers/pci/ |
D | probe.c | 1063 u16 bctl; in pci_scan_bridge_extend() local 1099 pci_read_config_word(dev, PCI_BRIDGE_CONTROL, &bctl); in pci_scan_bridge_extend() 1101 bctl & ~PCI_BRIDGE_CTL_MASTER_ABORT); in pci_scan_bridge_extend() 1129 child->bridge_ctl = bctl; in pci_scan_bridge_extend() 1200 child->bridge_ctl = bctl; in pci_scan_bridge_extend() 1259 pci_write_config_word(dev, PCI_BRIDGE_CONTROL, bctl); in pci_scan_bridge_extend()
|