Lines Matching refs:ct

134           cardbus_devfunc_t ct = ca->ca_ct;  in athn_cardbus_attach()  local
139 csc->csc_ct = ct; in athn_cardbus_attach()
158 error = Cardbus_mapreg_map(ct, ATHN_PCI_MMBA, PCI_MAPREG_TYPE_MEM, 0, in athn_cardbus_attach()
172 Cardbus_mapreg_unmap(ct, ATHN_PCI_MMBA, csc->csc_iot, in athn_cardbus_attach()
194 cardbus_devfunc_t ct = csc->csc_ct; in athn_cardbus_detach() local
195 cardbus_chipset_tag_t cc = ct->ct_cc; in athn_cardbus_detach()
196 cardbus_function_tag_t cf = ct->ct_cf; in athn_cardbus_detach()
207 Cardbus_mapreg_unmap(ct, ATHN_PCI_MMBA, csc->csc_iot, csc->csc_ioh, in athn_cardbus_detach()
216 cardbus_devfunc_t ct = csc->csc_ct; in athn_cardbus_setup() local
219 cardbus_chipset_tag_t cc = ct->ct_cc; in athn_cardbus_setup()
220 cardbus_function_tag_t cf = ct->ct_cf; in athn_cardbus_setup()
225 if ((rc = cardbus_set_powerstate(ct, csc->csc_tag, PCI_PWR_D0)) != 0) in athn_cardbus_setup()
229 Cardbus_conf_write(ct, csc->csc_tag, ATHN_PCI_MMBA, csc->csc_bar_val); in athn_cardbus_setup()
237 reg = Cardbus_conf_read(ct, csc->csc_tag, PCI_COMMAND_STATUS_REG); in athn_cardbus_setup()
239 Cardbus_conf_write(ct, csc->csc_tag, PCI_COMMAND_STATUS_REG, reg); in athn_cardbus_setup()
246 reg = Cardbus_conf_read(ct, csc->csc_tag, 0x40); in athn_cardbus_setup()
248 Cardbus_conf_write(ct, csc->csc_tag, 0x40, reg & ~0xff00); in athn_cardbus_setup()
251 reg = Cardbus_conf_read(ct, csc->csc_tag, PCI_BHLC_REG); in athn_cardbus_setup()
254 Cardbus_conf_write(ct, csc->csc_tag, PCI_BHLC_REG, reg); in athn_cardbus_setup()
319 cardbus_devfunc_t ct = csc->csc_ct; in athn_cardbus_enable() local
320 cardbus_chipset_tag_t cc = ct->ct_cc; in athn_cardbus_enable()
321 cardbus_function_tag_t cf = ct->ct_cf; in athn_cardbus_enable()
324 Cardbus_function_enable(ct); in athn_cardbus_enable()
334 Cardbus_function_disable(ct); in athn_cardbus_enable()
344 cardbus_devfunc_t ct = csc->csc_ct; in athn_cardbus_disable() local
345 cardbus_chipset_tag_t cc = ct->ct_cc; in athn_cardbus_disable()
346 cardbus_function_tag_t cf = ct->ct_cf; in athn_cardbus_disable()
353 Cardbus_function_disable(ct); in athn_cardbus_disable()