Lines Matching defs:hw20k1
36 struct hw20k1 {
2113 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags);
2117 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags);
2127 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags);
2131 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags);
2141 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags);
2145 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags);
2155 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags);
2159 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags);
2268 struct hw20k1 *hw20k1;
2271 hw20k1 = kzalloc(sizeof(*hw20k1), GFP_KERNEL);
2272 if (!hw20k1)
2275 spin_lock_init(&hw20k1->reg_20k1_lock);
2276 spin_lock_init(&hw20k1->reg_pci_lock);
2278 hw20k1->hw = ct20k1_preset;
2280 *rhw = &hw20k1->hw;
2290 kfree(container_of(hw, struct hw20k1, hw));