Lines Matching refs:memstick_dev
28 static int memstick_dev_match(struct memstick_dev *card, in memstick_dev_match()
43 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_bus_match()
62 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_uevent()
79 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_probe()
96 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_remove()
114 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_suspend()
127 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_device_resume()
149 struct memstick_dev *card = container_of(dev, struct memstick_dev, \
165 ATTRIBUTE_GROUPS(memstick_dev);
192 struct memstick_dev *card = container_of(dev, struct memstick_dev, in memstick_free_card()
197 static int memstick_dummy_check(struct memstick_dev *card) in memstick_dummy_check()
323 static int h_memstick_read_dev_id(struct memstick_dev *card, in h_memstick_read_dev_id()
346 static int h_memstick_set_rw_addr(struct memstick_dev *card, in h_memstick_set_rw_addr()
366 int memstick_set_rw_addr(struct memstick_dev *card) in memstick_set_rw_addr()
376 static struct memstick_dev *memstick_alloc_card(struct memstick_host *host) in memstick_alloc_card()
378 struct memstick_dev *card = kzalloc(sizeof(struct memstick_dev), in memstick_alloc_card()
380 struct memstick_dev *old_card = host->card; in memstick_alloc_card()
431 struct memstick_dev *card; in memstick_check()