Lines Matching refs:hw20k1
26 struct hw20k1 {
2098 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags);
2102 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags);
2112 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags);
2116 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags);
2126 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags);
2130 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags);
2140 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags);
2144 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags);
2253 struct hw20k1 *hw20k1;
2256 hw20k1 = kzalloc(sizeof(*hw20k1), GFP_KERNEL);
2257 if (!hw20k1)
2260 spin_lock_init(&hw20k1->reg_20k1_lock);
2261 spin_lock_init(&hw20k1->reg_pci_lock);
2263 hw20k1->hw = ct20k1_preset;
2265 *rhw = &hw20k1->hw;
2275 kfree(container_of(hw, struct hw20k1, hw));