Lines Matching refs:hw20k1
26 struct hw20k1 {
2102 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags);
2106 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags);
2116 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags);
2120 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags);
2130 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags);
2134 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags);
2144 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags);
2148 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags);
2257 struct hw20k1 *hw20k1;
2260 hw20k1 = kzalloc(sizeof(*hw20k1), GFP_KERNEL);
2261 if (!hw20k1)
2264 spin_lock_init(&hw20k1->reg_20k1_lock);
2265 spin_lock_init(&hw20k1->reg_pci_lock);
2267 hw20k1->hw = ct20k1_preset;
2269 *rhw = &hw20k1->hw;
2279 kfree(container_of(hw, struct hw20k1, hw));