Home
last modified time | relevance | path

Searched refs:sc_dev (Results 1 – 25 of 408) sorted by relevance

12345678910>>...17

/freebsd/sys/dev/etherswitch/arswitch/
H A Darswitch_8327.c117 if (arswitch_waitreg(sc->sc_dev, AR8327_REG_VTU_FUNC1, in ar8327_vlan_op()
126 err = arswitch_writereg(sc->sc_dev, AR8327_REG_VTU_FUNC0, data); in ar8327_vlan_op()
140 arswitch_writereg(sc->sc_dev, AR8327_REG_VTU_FUNC1, op); in ar8327_vlan_op()
145 if (arswitch_waitreg(sc->sc_dev, AR8327_REG_VTU_FUNC1, in ar8327_vlan_op()
156 device_printf(sc->sc_dev, in ar8327_phy_fixup()
163 arswitch_writedbg(sc->sc_dev, phy, 0, 0x02ea); in ar8327_phy_fixup()
165 arswitch_writedbg(sc->sc_dev, phy, 0x3d, 0x68a0); in ar8327_phy_fixup()
169 arswitch_writemmd(sc->sc_dev, phy, 0x7, 0x3c); in ar8327_phy_fixup()
170 arswitch_writemmd(sc->sc_dev, phy, 0x4007, 0x0); in ar8327_phy_fixup()
173 arswitch_writemmd(sc->sc_dev, phy, 0x3, 0x800d); in ar8327_phy_fixup()
[all …]
H A Darswitch_8316.c80 arswitch_writereg(sc->sc_dev, AR8X16_REG_MODE, in ar8316_hw_setup()
82 device_printf(sc->sc_dev, in ar8316_hw_setup()
86 arswitch_writereg(sc->sc_dev, AR8X16_REG_MODE, in ar8316_hw_setup()
88 device_printf(sc->sc_dev, in ar8316_hw_setup()
92 arswitch_writereg(sc->sc_dev, AR8X16_REG_MODE, in ar8316_hw_setup()
94 device_printf(sc->sc_dev, "%s: MAC port == GMII\n", __func__); in ar8316_hw_setup()
96 device_printf(sc->sc_dev, "%s: unknown switch PHY config\n", in ar8316_hw_setup()
107 device_printf(sc->sc_dev, in ar8316_hw_setup()
112 arswitch_writedbg(sc->sc_dev, 4, 0x12, 0x480c); in ar8316_hw_setup()
114 arswitch_writedbg(sc->sc_dev, 4, 0x0, 0x824e); in ar8316_hw_setup()
[all …]
H A Darswitch.c150 snprintf(name, IFNAMSIZ, "%sport", device_get_nameunit(sc->sc_dev)); in arswitch_attach_phys()
160 err = mii_attach(sc->sc_dev, &sc->miibus[phy], sc->ifp[phy], in arswitch_attach_phys()
164 DPRINTF(sc->sc_dev, "%s attached to pseudo interface %s\n", in arswitch_attach_phys()
169 device_printf(sc->sc_dev, in arswitch_attach_phys()
237 arswitch_writereg(sc->sc_dev, AR8X16_REG_PORT_STS(0), in ar8xxx_port_init()
245 arswitch_writereg(sc->sc_dev, AR8X16_REG_PORT_CTRL(0), in ar8xxx_port_init()
246 arswitch_readreg(sc->sc_dev, AR8X16_REG_PORT_CTRL(0)) & in ar8xxx_port_init()
250 arswitch_writereg(sc->sc_dev, AR8X16_REG_PORT_STS(port), in ar8xxx_port_init()
252 arswitch_writereg(sc->sc_dev, AR8X16_REG_PORT_CTRL(port), in ar8xxx_port_init()
253 arswitch_readreg(sc->sc_dev, AR8X16_REG_PORT_CTRL(port)) & in ar8xxx_port_init()
[all …]
H A Darswitch_vlans.c63 if (arswitch_waitreg(sc->sc_dev, AR8X16_REG_VLAN_CTRL, in ar8xxx_vlan_op()
69 err = arswitch_writereg(sc->sc_dev, AR8X16_REG_VLAN_DATA, in ar8xxx_vlan_op()
78 arswitch_writereg(sc->sc_dev, AR8X16_REG_VLAN_CTRL, op); in ar8xxx_vlan_op()
81 if (arswitch_waitreg(sc->sc_dev, AR8X16_REG_VLAN_CTRL, in ar8xxx_vlan_op()
116 reg = arswitch_readreg(sc->sc_dev, AR8X16_REG_VLAN_DATA); in ar8xxx_get_dot1q_vlan()
149 reg = arswitch_readreg(sc->sc_dev, AR8X16_REG_PORT_VLAN(port)); in ar8xxx_get_port_vlan()
163 err = arswitch_modifyreg(sc->sc_dev, AR8X16_REG_PORT_VLAN(port), in ar8xxx_set_port_vlan()
189 if (arswitch_modifyreg(sc->sc_dev, AR8X16_REG_PORT_CTRL(i), in ar8xxx_reset_vlans()
209 arswitch_modifyreg(sc->sc_dev, in ar8xxx_reset_vlans()
237 arswitch_modifyreg(sc->sc_dev, in ar8xxx_reset_vlans()
[all …]
/freebsd/sys/arm/ti/clk/
H A Dti_divider_clock.c57 device_t sc_dev; member
83 sc->clkdom = clkdom_create(sc->sc_dev); in register_clk()
85 DPRINTF(sc->sc_dev, "Failed to create clkdom\n"); in register_clk()
91 DPRINTF(sc->sc_dev, "clknode_div_register failed %x\n", err); in register_clk()
97 DPRINTF(sc->sc_dev, "Clk domain finit fails %x.\n", err); in register_clk()
128 sc->sc_dev = dev; in ti_divider_attach()
146 device_printf(sc->sc_dev, "ti,index-power-of-two - Not implemented\n"); in ti_divider_attach()
155 device_printf(sc->sc_dev, "clock-output-names\n"); in ti_divider_attach()
157 device_printf(sc->sc_dev, "ti,dividers\n"); in ti_divider_attach()
159 device_printf(sc->sc_dev, "ti,min-div - Not implemented\n"); in ti_divider_attach()
[all …]
H A Dti_mux_clock.c59 device_t sc_dev; member
99 sc->clkdom = clkdom_create(sc->sc_dev); in register_clk()
101 DPRINTF(sc->sc_dev, "Failed to create clkdom\n"); in register_clk()
107 DPRINTF(sc->sc_dev, "clknode_mux_register failed %x\n", err); in register_clk()
113 DPRINTF(sc->sc_dev, "Clk domain finit fails %x.\n", err); in register_clk()
129 sc->sc_dev = dev; in ti_mux_attach()
139 DPRINTF(sc->sc_dev, "ti,bit-shift => shift %x\n", sc->mux_def.shift); in ti_mux_attach()
144 device_printf(sc->sc_dev, "ti,index-starts-at-one - Not implemented\n"); in ti_mux_attach()
148 device_printf(sc->sc_dev, "ti,set-rate-parent - Not implemented\n"); in ti_mux_attach()
150 device_printf(sc->sc_dev, "ti,latch-bit - Not implemented\n"); in ti_mux_attach()
[all …]
H A Dti_gate_clock.c59 device_t sc_dev; member
109 sc->clkdom = clkdom_create(sc->sc_dev); in register_clk()
111 DPRINTF(sc->sc_dev, "Failed to create clkdom\n"); in register_clk()
117 DPRINTF(sc->sc_dev, "clknode_gate_register failed %x\n", err); in register_clk()
123 DPRINTF(sc->sc_dev, "Clk domain finit fails %x.\n", err); in register_clk()
139 sc->sc_dev = dev; in ti_gate_attach()
152 DPRINTF(sc->sc_dev, "no reg (TI_CLKDM_GATE_CLOCK)\n"); in ti_gate_attach()
159 DPRINTF(sc->sc_dev, "ti,bit-shift => shift %x\n", sc->gate_def.shift); in ti_gate_attach()
164 DPRINTF(sc->sc_dev, in ti_gate_attach()
169 DPRINTF(sc->sc_dev, "on_value = 1, off_value = 0\n"); in ti_gate_attach()
[all …]
/freebsd/sys/dev/gpio/
H A Dgpiospi.c56 device_t sc_dev; member
97 sc->sc_dev = dev; in gpio_spi_attach()
156 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sc_sclk, in gpio_spi_attach()
158 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sc_mosi, in gpio_spi_attach()
161 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sc_miso, in gpio_spi_attach()
165 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sc_cs0, in gpio_spi_attach()
169 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sc_cs1, in gpio_spi_attach()
172 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sc_cs2, in gpio_spi_attach()
175 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->sc_cs3, in gpio_spi_attach()
198 GPIOBUS_PIN_SET(sc->sc_busdev, sc->sc_dev, in gpio_spi_chip_activate()
[all …]
H A Dgpiomdio.c72 device_t sc_dev; member
110 sc->sc_dev = dev; in gpiomdio_attach()
151 GPIOBUS_PIN_GET(sc->sc_busdev, sc->sc_dev, sc->mdio_pin, &val); in gpiomdio_bb_read()
165 GPIOBUS_PIN_SET(sc->sc_busdev, sc->sc_dev, sc->mdio_pin, 1); in gpiomdio_bb_write()
167 GPIOBUS_PIN_SET(sc->sc_busdev, sc->sc_dev, sc->mdio_pin, 0); in gpiomdio_bb_write()
169 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->mdio_pin, in gpiomdio_bb_write()
172 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->mdio_pin, in gpiomdio_bb_write()
177 GPIOBUS_PIN_SET(sc->sc_busdev, sc->sc_dev, sc->mdc_pin, 1); in gpiomdio_bb_write()
179 GPIOBUS_PIN_SET(sc->sc_busdev, sc->sc_dev, sc->mdc_pin, 0); in gpiomdio_bb_write()
180 GPIOBUS_PIN_SETFLAGS(sc->sc_busdev, sc->sc_dev, sc->mdc_pin, in gpiomdio_bb_write()
/freebsd/sys/dev/etherswitch/ip17x/
H A Dip175d.c64 ip17x_writephy(sc->sc_dev, IP175D_RESET_PHY, IP175D_RESET_REG, 0x175d); in ip175d_reset()
68 ip17x_updatephy(sc->sc_dev, 21, 22, 0x3, 0x0); in ip175d_reset()
71 ip17x_writephy(sc->sc_dev, 22, 3, 0x8100); in ip175d_reset()
100 ip17x_writephy(sc->sc_dev, 22, 14 + i, i + 1); in ip175d_hw_setup()
109 ip17x_writephy(sc->sc_dev, 22, 14 + i, in ip175d_hw_setup()
124 ip17x_writephy(sc->sc_dev, 23, i, in ip175d_hw_setup()
126 ip17x_writephy(sc->sc_dev, 23, i + 8, in ip175d_hw_setup()
128 ip17x_writephy(sc->sc_dev, 23, i + 16, in ip175d_hw_setup()
133 ip17x_writephy(sc->sc_dev, 22, 10, vlan_mask); in ip175d_hw_setup()
137 ip17x_writephy(sc->sc_dev, 22, 4 + i, sc->pvid[i]); in ip175d_hw_setup()
[all …]
H A Dip175c.c63 if (ip17x_writephy(sc->sc_dev, IP175C_RESET_PHY, IP175C_RESET_REG, in ip175c_reset()
69 data = ip17x_readphy(sc->sc_dev, IP175C_MODE_PHY, IP175C_MODE_REG); in ip175c_reset()
71 if (ip17x_writephy(sc->sc_dev, IP175C_MODE_PHY, IP175C_MODE_REG, in ip175c_reset()
111 err = ip17x_writephy(sc->sc_dev, 29, 19, reg[0]); in ip175c_port_vlan_setup()
113 err = ip17x_writephy(sc->sc_dev, 29, 20, reg[1]); in ip175c_port_vlan_setup()
115 err = ip17x_updatephy(sc->sc_dev, 29, 21, 0xff00, reg[2]); in ip175c_port_vlan_setup()
117 err = ip17x_updatephy(sc->sc_dev, 30, 18, 0x00ff, reg[2]); in ip175c_port_vlan_setup()
139 if (ip17x_writephy(sc->sc_dev, 29, 23, data)) in ip175c_dot1q_vlan_setup()
143 if (ip17x_updatephy(sc->sc_dev, 30, 9, 0x70, 0)) in ip175c_dot1q_vlan_setup()
158 if (ip17x_writephy(sc->sc_dev, 30, i, data)) in ip175c_dot1q_vlan_setup()
[all …]
/freebsd/sys/arm/ti/usb/
H A Domap_host.c104 device_t sc_dev; member
139 ti_sysc_clock_enable(device_get_parent(isc->sc_dev)); in omap_uhh_init()
143 device_printf(isc->sc_dev, "UHH revision 0x%08x\n", isc->uhh_rev); in omap_uhh_init()
158 device_printf(isc->sc_dev, in omap_uhh_init()
161 device_printf(isc->sc_dev, in omap_uhh_init()
166 device_printf(isc->sc_dev, in omap_uhh_init()
171 device_printf(isc->sc_dev, in omap_uhh_init()
175 device_printf(isc->sc_dev, "unknown port mode %d for port 0\n", isc->port_mode[0]); in omap_uhh_init()
182 device_printf(isc->sc_dev, in omap_uhh_init()
185 device_printf(isc->sc_dev, in omap_uhh_init()
[all …]
/freebsd/sys/dev/qcom_qup/
H A Dqcom_spi.c89 device_printf(sc->sc_dev, in qcom_spi_set_chipsel()
128 device_printf(sc->sc_dev, in qcom_spi_intr()
138 device_printf(sc->sc_dev, in qcom_spi_intr()
147 device_printf(sc->sc_dev, "ERROR: intr\n"); in qcom_spi_intr()
159 device_printf(sc->sc_dev, in qcom_spi_intr()
180 device_printf(sc->sc_dev, in qcom_spi_intr()
243 node = ofw_bus_get_node(sc->sc_dev); in qcom_spi_attach_gpios()
245 err = gpio_pin_get_by_ofw_propidx(sc->sc_dev, node, in qcom_spi_attach_gpios()
251 device_printf(sc->sc_dev, in qcom_spi_attach_gpios()
266 device_printf(sc->sc_dev, in qcom_spi_attach_gpios()
[all …]
/freebsd/sys/dev/iwm/
H A Dif_iwm.c465 device_printf(sc->sc_dev, in iwm_set_default_calib()
489 device_printf(sc->sc_dev, in iwm_set_ucode_api_flags()
514 device_printf(sc->sc_dev, in iwm_set_ucode_capabilities()
561 device_printf(sc->sc_dev, in iwm_read_firmware()
583 device_printf(sc->sc_dev, "invalid firmware %s\n", in iwm_read_firmware()
605 device_printf(sc->sc_dev, in iwm_read_firmware()
617 device_printf(sc->sc_dev, in iwm_read_firmware()
637 device_printf(sc->sc_dev, in iwm_read_firmware()
647 device_printf(sc->sc_dev, in iwm_read_firmware()
654 device_printf(sc->sc_dev, in iwm_read_firmware()
[all …]
/freebsd/sys/dev/acpi_support/
H A Datk0110.c73 device_t sc_dev; member
137 sc->sc_dev = dev; in aibs_attach()
181 device_printf(sc->sc_dev, in aibs_add_sensor()
192 device_printf(sc->sc_dev, "unexpected package content\n"); in aibs_add_sensor()
211 device_printf(sc->sc_dev, "unknown sensor type 0x%x", in aibs_add_sensor()
226 device_printf(sc->sc_dev, "%c%i: 0x%08jx %20s %5jd / %5jd\n", in aibs_sensor_added()
231 SYSCTL_ADD_PROC(device_get_sysctl_ctx(sc->sc_dev), in aibs_sensor_added()
260 device_printf(sc->sc_dev, "GITM not found\n"); in aibs_attach_ggrp()
278 device_printf(sc->sc_dev, "GGRP not found\n"); in aibs_attach_ggrp()
316 *so = SYSCTL_ADD_NODE(device_get_sysctl_ctx(sc->sc_dev), in aibs_attach_ggrp()
[all …]
/freebsd/sys/dev/dpaa/
H A Dif_dtsec.c160 device_printf(sc->sc_dev, "MDIO event %i: %s.\n", exception, in dtsec_fm_mac_mdio_event_callback()
170 device_printf(sc->sc_dev, "MAC exception %i: %s.\n", exception, in dtsec_fm_mac_exception_callback()
205 device_printf(sc->sc_dev, "couldn't configure FM_MAC module.\n" in dtsec_fm_mac_init()
212 device_printf(sc->sc_dev, "couldn't enable reset on init " in dtsec_fm_mac_init()
222 device_printf(sc->sc_dev, "couldn't disable pause frames " in dtsec_fm_mac_init()
230 device_printf(sc->sc_dev, "couldn't initialize FM_MAC module." in dtsec_fm_mac_init()
264 device_printf(sc->sc_dev, "RX exception: %i: %s.\n", exception, in dtsec_fm_port_rx_exception_callback()
275 device_printf(sc->sc_dev, "TX exception: %i: %s.\n", exception, in dtsec_fm_port_tx_exception_callback()
393 dtsec_miibus_statchg(sc->sc_dev); in dtsec_if_enable_locked()
505 device_printf(sc->sc_dev, "couldn't set MAC address.\n"); in dtsec_if_init_locked()
[all …]
H A Dif_dtsec_rm.c113 device_get_nameunit(sc->sc_dev)); in dtsec_rm_fi_pool_init()
176 device_printf(sc->sc_dev, "couldn't configure FM Port RX.\n"); in dtsec_rm_fm_port_rx_init()
182 device_printf(sc->sc_dev, "couldn't initialize FM Port RX.\n"); in dtsec_rm_fm_port_rx_init()
188 device_printf(sc->sc_dev, "RX hw port 0x%02x initialized.\n", in dtsec_rm_fm_port_rx_init()
222 device_printf(sc->sc_dev, "couldn't configure FM Port TX.\n"); in dtsec_rm_fm_port_tx_init()
228 device_printf(sc->sc_dev, "couldn't initialize FM Port TX.\n"); in dtsec_rm_fm_port_tx_init()
234 device_printf(sc->sc_dev, "TX hw port 0x%02x initialized.\n", in dtsec_rm_fm_port_tx_init()
309 device_get_nameunit(sc->sc_dev)); in dtsec_rm_pool_rx_init()
320 device_printf(sc->sc_dev, "NULL rx pool somehow\n"); in dtsec_rm_pool_rx_init()
368 device_printf(sc->sc_dev, "R in dtsec_rm_fqr_rx_callback()
[all...]
/freebsd/sys/arm/freescale/imx/
H A Dimx_wdog.c56 device_t sc_dev; member
139 device_printf(sc->sc_dev, "Can not be disabled.\n"); in imx_watchdog()
190 sc->sc_dev = dev; in imx_wdog_attach()
205 if (ofw_bus_has_prop(sc->sc_dev, "fsl,ext-reset-output")) { in imx_wdog_attach()
207 bus_setup_intr(sc->sc_dev, sc->sc_res[IRQRES], in imx_wdog_attach()
223 if (OF_getencprop(ofw_bus_get_node(sc->sc_dev), "timeout-sec", in imx_wdog_attach()
226 device_printf(sc->sc_dev, "ERROR: bad timeout-sec " in imx_wdog_attach()
231 device_printf(sc->sc_dev, "watchdog enabled using " in imx_wdog_attach()
240 device_busy(sc->sc_dev); in imx_wdog_attach()
/freebsd/sys/dev/atopcase/
H A Datopcase.c118 err = SPIBUS_TRANSFER(device_get_parent(sc->sc_dev), sc->sc_dev, &cmd); in atopcase_receive_status()
121 device_printf(sc->sc_dev, "SPI error: %d\n", err); in atopcase_receive_status()
129 ATOPCASE_WAKEUP(sc, sc->sc_dev); in atopcase_receive_status()
131 device_printf(sc->sc_dev, "Failed to write command\n"); in atopcase_receive_status()
199 device_printf(sc->sc_dev, "Device info descriptor:\n"); in atopcase_process_message()
224 err = SPIBUS_TRANSFER(device_get_parent(sc->sc_dev), sc->sc_dev, &cmd); in atopcase_receive_packet()
227 device_printf(sc->sc_dev, "SPI error: %d\n", err); in atopcase_receive_packet()
338 err = SPIBUS_TRANSFER(device_get_parent(sc->sc_dev), sc->sc_dev, &cmd); in atopcase_send()
347 device_printf(sc->sc_dev, "SPI error: %d\n", err); in atopcase_send()
354 DPRINTFN(ATOPCASE_LLEVEL_DEBUG, "wait for: %p\n", sc->sc_dev); in atopcase_send()
[all …]
/freebsd/sys/dev/etherswitch/ar40xx/
H A Dar40xx_hw_psgmii.c113 device_printf(sc->sc_dev, "WARNING: unknown MAC_MODE=%u\n", in ar40xx_hw_psgmii_set_mac_mode()
176 device_printf(sc->sc_dev, "TX_OK=%d, tx_error=%d RX_OK=%d" in ar40xx_hw_psgmii_single_phy_testing()
179 device_printf(sc->sc_dev, in ar40xx_hw_psgmii_single_phy_testing()
244 device_printf(sc->sc_dev, in ar40xx_hw_psgmii_all_phy_testing()
252 device_printf(sc->sc_dev, "PHY all test 0x%x\n", in ar40xx_hw_psgmii_all_phy_testing()
263 device_printf(sc->sc_dev, "%s: called\n", __func__); in ar40xx_hw_malibu_psgmii_ess_reset()
324 device_printf(sc->sc_dev, "%s: called\n", __func__); in ar40xx_hw_psgmii_self_test()
370 device_printf(sc->sc_dev, "PSGMII cannot recover\n"); in ar40xx_hw_psgmii_self_test()
372 device_printf(sc->sc_dev, in ar40xx_hw_psgmii_self_test()
392 device_printf(sc->sc_dev, "%s: called\n", __func__); in ar40xx_hw_psgmii_self_test_clean()
[all …]
/freebsd/sys/arm/arm/
H A Dpl310.c132 device_printf(sc->sc_dev, "Early BRESP response: %s\n", in pl310_print_config()
134 device_printf(sc->sc_dev, "Instruction prefetch: %s\n", in pl310_print_config()
136 device_printf(sc->sc_dev, "Data prefetch: %s\n", in pl310_print_config()
138 device_printf(sc->sc_dev, "Non-secure interrupt control: %s\n", in pl310_print_config()
140 device_printf(sc->sc_dev, "Non-secure lockdown: %s\n", in pl310_print_config()
142 device_printf(sc->sc_dev, "Share override: %s\n", in pl310_print_config()
145 device_printf(sc->sc_dev, "Double linefill: %s\n", in pl310_print_config()
147 device_printf(sc->sc_dev, "Instruction prefetch: %s\n", in pl310_print_config()
149 device_printf(sc->sc_dev, "Data prefetch: %s\n", in pl310_print_config()
151 device_printf(sc->sc_dev, "Double linefill on WRAP request: %s\n", in pl310_print_config()
[all …]
/freebsd/sys/dev/irdma/
H A Dirdma_hw.c112 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_puda_ce_handler()
142 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_process_ceq()
210 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_process_aeq()
235 irdma_debug(&iwdev->rf->sc_dev, IRDMA_DEBUG_AEQ, in irdma_process_aeq()
257 irdma_debug(&iwdev->rf->sc_dev, IRDMA_DEBUG_AEQ, in irdma_process_aeq()
349 irdma_debug(&iwdev->rf->sc_dev, IRDMA_DEBUG_AEQ, in irdma_process_aeq()
464 irdma_ena_intr(&rf->sc_dev, rf->iw_msixtbl[0].idx); in irdma_dpc()
479 irdma_ena_intr(&rf->sc_dev, iwceq->msix_idx); in irdma_ceq_dpc()
499 irdma_dev_err(to_ibdev(&rf->sc_dev), "No MSI-X vectors reserved for RDMA.\n"); in irdma_save_msix_info()
600 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_destroy_irq()
[all …]
/freebsd/sys/dev/gem/
H A Dif_gem.c151 device_printf(sc->sc_dev, "flags=0x%x\n", sc->sc_flags); in gem_attach()
157 if_initname(ifp, device_get_name(sc->sc_dev), in gem_attach()
158 device_get_unit(sc->sc_dev)); in gem_attach()
174 error = bus_dma_tag_create(bus_get_dma_tag(sc->sc_dev), 1, 0, in gem_attach()
210 device_printf(sc->sc_dev, in gem_attach()
219 device_printf(sc->sc_dev, in gem_attach()
241 device_printf(sc->sc_dev, in gem_attach()
255 device_printf(sc->sc_dev, in gem_attach()
283 error = mii_attach(sc->sc_dev, &sc->sc_miibus, ifp, in gem_attach()
310 error = mii_attach(sc->sc_dev, &sc->sc_miibus, ifp, in gem_attach()
[all …]
/freebsd/sys/arm/broadcom/bcm2835/
H A Dbcm2835_clkman.c58 device_t sc_dev; member
102 sc->sc_dev = dev; in bcm2835_clkman_attach()
128 device_printf(sc->sc_dev, in bcm2835_clkman_set_frequency()
141 device_printf(sc->sc_dev, in bcm2835_clkman_set_frequency()
150 device_printf(sc->sc_dev, in bcm2835_clkman_set_frequency()
156 device_printf(sc->sc_dev, in bcm2835_clkman_set_frequency()
172 device_printf(sc->sc_dev, in bcm2835_clkman_set_frequency()
/freebsd/sys/arm/ti/
H A Daintc.c73 device_t sc_dev; member
128 device_printf(sc->sc_dev, in ti_aintc_intr()
140 device_printf(sc->sc_dev, "Stray irq %u disabled\n", irq); in ti_aintc_intr()
218 name = device_get_nameunit(sc->sc_dev); in ti_aintc_pic_attach()
223 sc->sc_dev, 0, "%s,%u", name, irq); in ti_aintc_pic_attach()
228 xref = OF_xref_from_node(ofw_bus_get_node(sc->sc_dev)); in ti_aintc_pic_attach()
229 pic = intr_pic_register(sc->sc_dev, xref); in ti_aintc_pic_attach()
233 return (intr_pic_claim_root(sc->sc_dev, xref, ti_aintc_intr, sc, in ti_aintc_pic_attach()
256 sc->sc_dev = dev; in ti_aintc_attach()

12345678910>>...17