Lines Matching refs:sie_num
228 SOFEOP_TO_HPI_EN(sie->sie_num));
234 SOFEOP_TO_HPI_EN(sie->sie_num));
253 u16 c67x00_ll_fetch_siemsg(struct c67x00_device *dev, int sie_num)
257 val = hpi_read_word(dev, SIEMSG_REG(sie_num));
259 hpi_write_word(dev, SIEMSG_REG(sie_num), 0);
266 return hpi_read_word(sie->dev, USB_CTL_REG(sie->sie_num));
274 hpi_write_word(sie->dev, USB_STAT_REG(sie->sie_num), bits);
279 return hpi_read_word(sie->dev, USB_STAT_REG(sie->sie_num));
316 rc = c67x00_comm_exec_int(dev, HUSB_SIE_INIT_INT(sie->sie_num), &data);
327 data.regs[1] = port | (sie->sie_num << 1);
334 hpi_write_word(sie->dev, HUSB_SIE_pCurrentTDPtr(sie->sie_num), addr);
339 return hpi_read_word(sie->dev, HUSB_SIE_pCurrentTDPtr(sie->sie_num));
344 return hpi_read_word(sie->dev, HOST_FRAME_REG(sie->sie_num));
350 hpi_set_bits(sie->dev, USB_CTL_REG(sie->sie_num), HOST_MODE);
355 if (!(hpi_read_word(sie->dev, USB_CTL_REG(sie->sie_num)) & HOST_MODE))
357 "SIE %d not set to host mode\n", sie->sie_num);
367 SOFEOP_TO_CPU_EN(sie->sie_num));
368 hpi_set_bits(sie->dev, HOST_IRQ_EN_REG(sie->sie_num),
372 hpi_set_bits(sie->dev, USB_CTL_REG(sie->sie_num), PORT_RES_EN(port));