Lines Matching refs:hw20k1
36 struct hw20k1 { struct
2115 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags); in hw_read_20kx()
2119 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags); in hw_read_20kx()
2129 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags); in hw_write_20kx()
2133 &container_of(hw, struct hw20k1, hw)->reg_20k1_lock, flags); in hw_write_20kx()
2143 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags); in hw_read_pci()
2147 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags); in hw_read_pci()
2157 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags); in hw_write_pci()
2161 &container_of(hw, struct hw20k1, hw)->reg_pci_lock, flags); in hw_write_pci()
2270 struct hw20k1 *hw20k1; in create_20k1_hw_obj() local
2273 hw20k1 = kzalloc(sizeof(*hw20k1), GFP_KERNEL); in create_20k1_hw_obj()
2274 if (!hw20k1) in create_20k1_hw_obj()
2277 spin_lock_init(&hw20k1->reg_20k1_lock); in create_20k1_hw_obj()
2278 spin_lock_init(&hw20k1->reg_pci_lock); in create_20k1_hw_obj()
2280 hw20k1->hw = ct20k1_preset; in create_20k1_hw_obj()
2282 *rhw = &hw20k1->hw; in create_20k1_hw_obj()
2292 kfree(container_of(hw, struct hw20k1, hw)); in destroy_20k1_hw_obj()