Searched refs:set_index (Results 1 – 7 of 7) sorted by relevance
/drivers/usb/gadget/ |
D | s3c-hsudc.c | 183 static inline void set_index(struct s3c_hsudc *hsudc, int ep_addr) in set_index() function 517 set_index(hsudc, ep_index(hsep)); in s3c_hsudc_set_halt() 781 set_index(hsudc, hsep->bEndpointAddress); in s3c_hsudc_ep_enable() 814 set_index(hsudc, hsep->bEndpointAddress); in s3c_hsudc_ep_disable() 892 set_index(hsudc, hsep->bEndpointAddress); in s3c_hsudc_queue() 955 set_index(hsudc, hsep->bEndpointAddress); in s3c_hsudc_dequeue() 1014 set_index(hsudc, epnum); in s3c_hsudc_initep() 1119 set_index(hsudc, 0); in s3c_hsudc_irq() 1128 set_index(hsudc, ep_idx); in s3c_hsudc_irq()
|
/drivers/staging/rts_pstor/ |
D | xd.c | 794 xd_card->zone[i].set_index = 0; in xd_init_l2p_tbl() 809 zone->set_index = 0; in free_zone() 841 if ((zone->set_index >= XD_FREE_TABLE_CNT) in xd_set_unused_block() 842 || (zone->set_index < 0)) { in xd_set_unused_block() 848 RTSX_DEBUGP("Set unused block to index %d\n", zone->set_index); in xd_set_unused_block() 850 zone->free_table[zone->set_index++] = (u16) (phy_blk & 0x3ff); in xd_set_unused_block() 851 if (zone->set_index >= XD_FREE_TABLE_CNT) in xd_set_unused_block() 852 zone->set_index = 0; in xd_set_unused_block() 869 if ((zone->unused_blk_cnt == 0) || (zone->set_index == zone->get_index)) { in xd_get_unused_block() 1308 zone->set_index = zone->get_index = 0; in xd_build_l2p_tbl()
|
D | ms.c | 2101 ms_card->segment[i].set_index = 0; in ms_init_l2p_tbl() 2158 segment->free_table[segment->set_index++] = phy_blk; in ms_set_unused_block() 2159 if (segment->set_index >= MS_FREE_TABLE_CNT) { in ms_set_unused_block() 2160 segment->set_index = 0; in ms_set_unused_block() 2282 segment->get_index = segment->set_index = 0; in ms_build_l2p_tbl()
|
D | rtsx_chip.h | 365 int set_index; member
|
/drivers/staging/rts5139/ |
D | xd.c | 755 xd_card->zone[i].set_index = 0; in xd_init_l2p_tbl() 768 zone->set_index = 0; in free_zone() 801 if ((zone->set_index >= XD_FREE_TABLE_CNT) in xd_set_unused_block() 802 || (zone->set_index < 0)) { in xd_set_unused_block() 808 RTS51X_DEBUGP("Set unused block to index %d\n", zone->set_index); in xd_set_unused_block() 810 zone->free_table[zone->set_index++] = (u16) (phy_blk & 0x3ff); in xd_set_unused_block() 811 if (zone->set_index >= XD_FREE_TABLE_CNT) in xd_set_unused_block() 812 zone->set_index = 0; in xd_set_unused_block() 831 (zone->set_index == zone->get_index)) { in xd_get_unused_block() 1420 zone->set_index = zone->get_index = 0; in xd_build_l2p_tbl()
|
D | rts51x_chip.h | 431 int set_index; member
|
D | ms.c | 2247 ms_card->segment[i].set_index = 0; 2304 segment->free_table[segment->set_index++] = phy_blk; 2305 if (segment->set_index >= MS_FREE_TABLE_CNT) 2306 segment->set_index = 0; 2422 segment->get_index = segment->set_index = 0;
|