Lines Matching refs:sie_num
224 SOFEOP_TO_HPI_EN(sie->sie_num)); in c67x00_ll_hpi_enable_sofeop()
230 SOFEOP_TO_HPI_EN(sie->sie_num)); in c67x00_ll_hpi_disable_sofeop()
249 u16 c67x00_ll_fetch_siemsg(struct c67x00_device *dev, int sie_num) in c67x00_ll_fetch_siemsg() argument
253 val = hpi_read_word(dev, SIEMSG_REG(sie_num)); in c67x00_ll_fetch_siemsg()
255 hpi_write_word(dev, SIEMSG_REG(sie_num), 0); in c67x00_ll_fetch_siemsg()
262 return hpi_read_word(sie->dev, USB_CTL_REG(sie->sie_num)); in c67x00_ll_get_usb_ctl()
270 hpi_write_word(sie->dev, USB_STAT_REG(sie->sie_num), bits); in c67x00_ll_usb_clear_status()
275 return hpi_read_word(sie->dev, USB_STAT_REG(sie->sie_num)); in c67x00_ll_usb_get_status()
312 rc = c67x00_comm_exec_int(dev, HUSB_SIE_INIT_INT(sie->sie_num), &data); in c67x00_ll_husb_sie_init()
323 data.regs[1] = port | (sie->sie_num << 1); in c67x00_ll_husb_reset()
330 hpi_write_word(sie->dev, HUSB_SIE_pCurrentTDPtr(sie->sie_num), addr); in c67x00_ll_husb_set_current_td()
335 return hpi_read_word(sie->dev, HUSB_SIE_pCurrentTDPtr(sie->sie_num)); in c67x00_ll_husb_get_current_td()
340 return hpi_read_word(sie->dev, HOST_FRAME_REG(sie->sie_num)); in c67x00_ll_husb_get_frame()
346 hpi_set_bits(sie->dev, USB_CTL_REG(sie->sie_num), HOST_MODE); in c67x00_ll_husb_init_host_port()
351 if (!(hpi_read_word(sie->dev, USB_CTL_REG(sie->sie_num)) & HOST_MODE)) in c67x00_ll_husb_init_host_port()
353 "SIE %d not set to host mode\n", sie->sie_num); in c67x00_ll_husb_init_host_port()
363 SOFEOP_TO_CPU_EN(sie->sie_num)); in c67x00_ll_husb_reset_port()
364 hpi_set_bits(sie->dev, HOST_IRQ_EN_REG(sie->sie_num), in c67x00_ll_husb_reset_port()
368 hpi_set_bits(sie->dev, USB_CTL_REG(sie->sie_num), PORT_RES_EN(port)); in c67x00_ll_husb_reset_port()