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