Lines Matching defs:npem
113 struct npem *npem; member
160 struct npem { struct
162 const struct npem_ops *ops; argument
169 struct npem_led leds[]; argument
172 static int npem_read_reg(struct npem *npem, u16 reg, u32 *val) in npem_read_reg()
179 static int npem_write_ctrl(struct npem *npem, u32 reg) in npem_write_ctrl()
187 static int npem_get_active_indications(struct npem *npem, u32 *inds) in npem_get_active_indications()
207 static int npem_set_active_indications(struct npem *npem, u32 inds) in npem_set_active_indications()
348 static int dsm_get_active_indications(struct npem *npem, u32 *buf) in dsm_get_active_indications()
357 static int dsm_set_active_indications(struct npem *npem, u32 value) in dsm_set_active_indications()
396 static int npem_initialize_active_indications(struct npem *npem) in npem_initialize_active_indications()
422 struct npem *npem = nled->npem; in brightness_get() local
445 struct npem *npem = nled->npem; in brightness_set() local
469 static void npem_free(struct npem *npem) in npem_free()
488 static int pci_npem_set_led_classdev(struct npem *npem, struct npem_led *nled) in pci_npem_set_led_classdev()
523 struct npem *npem; in pci_npem_init() local