Lines Matching refs:ops
80 kfree(hotplug_slot->ops); in release_slot()
90 struct hotplug_slot_ops *ops = NULL; in init_slot() local
103 ops = kzalloc(sizeof(*ops), GFP_KERNEL); in init_slot()
104 if (!ops) in init_slot()
107 ops->enable_slot = enable_slot; in init_slot()
108 ops->disable_slot = disable_slot; in init_slot()
109 ops->get_power_status = get_power_status; in init_slot()
110 ops->get_adapter_status = get_adapter_status; in init_slot()
111 ops->reset_slot = reset_slot; in init_slot()
113 ops->get_latch_status = get_latch_status; in init_slot()
115 ops->get_attention_status = get_attention_status; in init_slot()
116 ops->set_attention_status = set_attention_status; in init_slot()
123 hotplug->ops = ops; in init_slot()
133 kfree(ops); in init_slot()