Lines Matching refs:sc

189 	struct octeon_soft_command *sc;  member
276 struct octeon_soft_command *sc; in octeon_update_tx_completion_counters() local
287 sc = buf; in octeon_update_tx_completion_counters()
288 skb = sc->callback_arg; in octeon_update_tx_completion_counters()
303 struct octeon_soft_command *sc; in octeon_report_sent_bytes_to_bql() local
315 sc = buf; in octeon_report_sent_bytes_to_bql()
316 skb = sc->callback_arg; in octeon_report_sent_bytes_to_bql()
1424 struct octeon_soft_command *sc; in free_netsgbuf_with_resp() local
1431 sc = (struct octeon_soft_command *)buf; in free_netsgbuf_with_resp()
1432 skb = (struct sk_buff *)sc->callback_arg; in free_netsgbuf_with_resp()
1718 struct octeon_soft_command *sc = (struct octeon_soft_command *)buf; in if_cfg_callback() local
1722 resp = (struct liquidio_if_cfg_resp *)sc->virtrptr; in if_cfg_callback()
1723 ctx = (struct liquidio_if_cfg_context *)sc->ctxptr; in if_cfg_callback()
2510 struct octeon_soft_command *sc; in handle_timestamp() local
2517 sc = finfo->sc; in handle_timestamp()
2519 resp = (struct oct_timestamp_resp *)sc->virtrptr; in handle_timestamp()
2540 octeon_free_soft_command(oct, sc); in handle_timestamp()
2555 struct octeon_soft_command *sc; in send_nic_timestamp_pkt() local
2563 sc = octeon_alloc_soft_command_resp(oct, &ndata->cmd, in send_nic_timestamp_pkt()
2565 finfo->sc = sc; in send_nic_timestamp_pkt()
2567 if (!sc) { in send_nic_timestamp_pkt()
2577 sc->callback = handle_timestamp; in send_nic_timestamp_pkt()
2578 sc->callback_arg = finfo->skb; in send_nic_timestamp_pkt()
2579 sc->iq_no = ndata->q_no; in send_nic_timestamp_pkt()
2581 ih = (struct octeon_instr_ih *)&sc->cmd.ih; in send_nic_timestamp_pkt()
2582 rdp = (struct octeon_instr_rdp *)&sc->cmd.rdp; in send_nic_timestamp_pkt()
2585 retval = octeon_send_command(oct, sc->iq_no, ring_doorbell, &sc->cmd, in send_nic_timestamp_pkt()
2586 sc, ih->dlengsz, ndata->reqtype); in send_nic_timestamp_pkt()
2591 octeon_free_soft_command(oct, sc); in send_nic_timestamp_pkt()
2711 finfo->sc = NULL; in liquidio_xmit()
3126 struct octeon_soft_command *sc; in setup_nic_devices() local
3158 sc = (struct octeon_soft_command *) in setup_nic_devices()
3161 resp = (struct liquidio_if_cfg_resp *)sc->virtrptr; in setup_nic_devices()
3162 ctx = (struct liquidio_if_cfg_context *)sc->ctxptr; in setup_nic_devices()
3188 octeon_prepare_soft_command(octeon_dev, sc, OPCODE_NIC, in setup_nic_devices()
3192 sc->callback = if_cfg_callback; in setup_nic_devices()
3193 sc->callback_arg = sc; in setup_nic_devices()
3194 sc->wait_time = 1000; in setup_nic_devices()
3196 retval = octeon_send_soft_command(octeon_dev, sc); in setup_nic_devices()
3364 octeon_free_soft_command(octeon_dev, sc); in setup_nic_devices()
3371 octeon_free_soft_command(octeon_dev, sc); in setup_nic_devices()