Home
last modified time | relevance | path

Searched refs:srr (Results 1 – 25 of 34) sorted by relevance

12

/openbmc/linux/arch/powerpc/kernel/
H A Dinterrupt_64.S18 .macro DEBUG_SRR_VALID srr argument
20 .ifc \srr,srr
323 DEBUG_SRR_VALID srr
411 .macro interrupt_return_macro srr argument
413 .globl interrupt_return_\srr
414 interrupt_return_\srr\():
415 _ASM_NOKPROBE_SYMBOL(interrupt_return_\srr\())
418 beq interrupt_return_\srr\()_kernel
419 interrupt_return_\srr\()_user: /* make backtraces match the _kernel variant */
420 _ASM_NOKPROBE_SYMBOL(interrupt_return_\srr\()_user)
[all …]
/openbmc/linux/drivers/usb/gadget/udc/bdc/
H A Dbdc_udc.c62 struct srr *srr; in srr_dqp_index_advc() local
64 srr = &bdc->srr; in srr_dqp_index_advc()
65 dev_dbg_ratelimited(bdc->dev, "srr->dqp_index:%d\n", srr->dqp_index); in srr_dqp_index_advc()
66 srr->dqp_index++; in srr_dqp_index_advc()
68 if (srr->dqp_index == NUM_SR_ENTRIES) in srr_dqp_index_advc()
69 srr->dqp_index = 0; in srr_dqp_index_advc()
314 __func__, eqp_index, dqp_index, bdc->srr.dqp_index); in bdc_udc_interrupt()
323 while (bdc->srr.dqp_index != eqp_index) { in bdc_udc_interrupt()
324 sreport = &bdc->srr.sr_bds[bdc->srr.dqp_index]; in bdc_udc_interrupt()
347 srr_int |= ((bdc->srr.dqp_index) << 16); in bdc_udc_interrupt()
H A Dbdc_core.c200 bdc->srr.dqp_index = 0; in setup_srr()
202 bdc->srr.sr_bds = dma_alloc_coherent(bdc->dev, in setup_srr()
204 &bdc->srr.dma_addr, GFP_KERNEL); in setup_srr()
205 if (!bdc->srr.sr_bds) in setup_srr()
223 bdc->srr.eqp_index = 0; in bdc_mem_init()
224 bdc->srr.dqp_index = 0; in bdc_mem_init()
233 dev_dbg(bdc->dev, "bdc->srr.sr_bds =%p\n", bdc->srr.sr_bds); in bdc_mem_init()
234 temp = lower_32_bits(bdc->srr.dma_addr); in bdc_mem_init()
241 upp32 = upper_32_bits(bdc->srr.dma_addr); in bdc_mem_init()
289 memset(bdc->srr.sr_bds, 0, in bdc_mem_init()
[all …]
H A Dbdc_dbg.c69 sr = bdc->srr.sr_bds; in bdc_dbg_srr()
70 addr = bdc->srr.dma_addr; in bdc_dbg_srr()
72 sr, bdc->srr.dqp_index); in bdc_dbg_srr()
74 sr = &bdc->srr.sr_bds[i]; in bdc_dbg_srr()
H A Dbdc.h378 struct srr { struct
425 struct srr srr; member
/openbmc/linux/net/ipv4/
H A Dip_options.c53 if (opt->srr) in ip_options_build()
54 memcpy(iph + opt->srr + iph[opt->srr + 1] - 4, &daddr, 4); in ip_options_build()
143 if (sopt->srr) { in __ip_options_echo()
144 unsigned char *start = sptr+sopt->srr; in __ip_options_echo()
170 dopt->srr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
295 if (opt->srr) { in __ip_options_compile()
309 opt->srr = optptr - iph; in __ip_options_compile()
484 if (opt->srr) { in ip_options_undo()
485 unsigned char *optptr = opt->__data + opt->srr - sizeof(struct iphdr); in ip_options_undo()
553 optptr = raw + opt->srr; in ip_forward_options()
[all …]
H A Dip_forward.c155 if (IPCB(skb)->flags & IPSKB_DOREDIRECT && !opt->srr && in ip_forward()
H A Ddatagram.c117 if (inet_opt && inet_opt->opt.srr) in ip4_datagram_release_cb()
H A Dinet_connection_sock.c821 (opt && opt->opt.srr) ? opt->opt.faddr : ireq->ir_rmt_addr, in inet_csk_route_req()
859 (opt && opt->opt.srr) ? opt->opt.faddr : ireq->ir_rmt_addr, in inet_csk_route_child_sock()
1504 if (inet_opt && inet_opt->opt.srr) in inet_csk_rebuild_route()
H A Dcipso_ipv4.c1987 if (opt->opt.srr || opt->opt.rr || opt->opt.ts || opt->opt.router_alert) { in cipso_v4_delopt()
1998 if (opt->opt.srr > opt->opt.cipso) in cipso_v4_delopt()
1999 opt->opt.srr -= cipso_len; in cipso_v4_delopt()
H A Dsyncookies.c417 opt->srr ? opt->faddr : ireq->ir_rmt_addr, in cookie_v4_check()
H A Dip_output.c166 iph->daddr = (opt && opt->opt.srr ? opt->opt.faddr : daddr); in ip_build_and_send_pkt()
484 if (inet_opt && inet_opt->opt.srr) in __ip_queue_xmit()
1610 if (replyopts.opt.opt.srr) in ip_send_unicast_reply()
H A Dip_input.c286 if (unlikely(opt->srr)) { in ip_rcv_options()
/openbmc/linux/drivers/scsi/qedf/
H A Dqedf_els.c625 struct fcp_srr srr; in qedf_send_srr() local
660 memset(&srr, 0, sizeof(srr)); in qedf_send_srr()
672 srr.srr_op = ELS_SRR; in qedf_send_srr()
673 srr.srr_ox_id = htons(orig_io_req->xid); in qedf_send_srr()
674 srr.srr_rx_id = htons(orig_io_req->rx_id); in qedf_send_srr()
675 srr.srr_rel_off = htonl(offset); in qedf_send_srr()
676 srr.srr_r_ctl = r_ctl; in qedf_send_srr()
678 rc = qedf_initiate_els(fcport, ELS_SRR, &srr, sizeof(srr), in qedf_send_srr()
/openbmc/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_els.c626 struct fcp_srr srr; in bnx2fc_send_srr() local
634 memset(&srr, 0, sizeof(srr)); in bnx2fc_send_srr()
646 srr.srr_op = ELS_SRR; in bnx2fc_send_srr()
647 srr.srr_ox_id = htons(orig_io_req->xid); in bnx2fc_send_srr()
648 srr.srr_rx_id = htons(orig_io_req->task->rxwr_txrd.var_ctx.rx_id); in bnx2fc_send_srr()
649 srr.srr_rel_off = htonl(offset); in bnx2fc_send_srr()
650 srr.srr_r_ctl = r_ctl; in bnx2fc_send_srr()
654 rc = bnx2fc_initiate_els(tgt, ELS_SRR, &srr, sizeof(srr), in bnx2fc_send_srr()
/openbmc/u-boot/arch/arm/include/asm/arch-rockchip/
H A Duart.h25 unsigned int srr; member
/openbmc/linux/drivers/scsi/libfc/
H A Dfc_fcp.c1721 struct fcp_srr *srr; in fc_fcp_srr() local
1730 fp = fc_fcp_frame_alloc(lport, sizeof(*srr)); in fc_fcp_srr()
1734 srr = fc_frame_payload_get(fp, sizeof(*srr)); in fc_fcp_srr()
1735 memset(srr, 0, sizeof(*srr)); in fc_fcp_srr()
1736 srr->srr_op = ELS_SRR; in fc_fcp_srr()
1737 srr->srr_ox_id = htons(ep->oxid); in fc_fcp_srr()
1738 srr->srr_rx_id = htons(ep->rxid); in fc_fcp_srr()
1739 srr->srr_r_ctl = r_ctl; in fc_fcp_srr()
1740 srr->srr_rel_off = htonl(offset); in fc_fcp_srr()
/openbmc/linux/drivers/tty/serial/
H A Dsh-sci.c2269 unsigned int *srr) in sci_sck_calc() argument
2284 *srr = sr - 1; in sci_sck_calc()
2291 *srr + 1); in sci_sck_calc()
2297 unsigned int *srr) in sci_brg_calc() argument
2315 *srr = sr - 1; in sci_brg_calc()
2322 min_err, *dlr, *srr + 1); in sci_brg_calc()
2328 unsigned int *brr, unsigned int *srr, in sci_scbrr_calc() argument
2380 *srr = sr - 1; in sci_scbrr_calc()
2390 min_err, *brr, *srr + 1, *cks); in sci_scbrr_calc()
2433 unsigned int brr = 255, cks = 0, srr = 15, dl = 0, sccks = 0; in sci_set_termios() local
[all …]
/openbmc/u-boot/drivers/spi/
H A Dxilinx_spi.c91 u32 srr; /* Softare Reset Register (SRR) */ member
120 writel(SPISSR_RESET_VALUE, &regs->srr); in xilinx_spi_probe()
/openbmc/qemu/hw/ppc/
H A Dppc405.h153 uint32_t srr; member
H A Dppc405_uc.c868 ret = cpc->srr; in dcr_read_epcpc()
910 cpc->srr = val; in dcr_write_epcpc()
930 cpc->srr = 0x00040000; in ppc405_cpc_reset()
/openbmc/linux/drivers/net/ethernet/natsemi/
H A Dnatsemi.c581 u32 srr; member
946 np->srr = readl(ioaddr + SiliconRev); in natsemi_probe1()
949 pci_name(np->pci_dev), np->srr); in natsemi_probe1()
1221 np->dspcfg = (np->srr <= SRR_DP83815_C)? in init_phy_fixup()
1586 if (np->srr >= SRR_DP83816_A5) in do_cable_magic()
1631 if (np->srr >= SRR_DP83816_A5) in undo_cable_magic()
2721 if (np->srr >= SRR_DP83815_D) { in netdev_set_wol()
2741 if (np->srr >= SRR_DP83815_D) { in netdev_get_wol()
2775 if (np->srr < SRR_DP83815_D) { in netdev_set_sopass()
2807 if (np->srr < SRR_DP83815_D) { in netdev_get_sopass()
/openbmc/linux/include/net/
H A Dinet_sock.h43 unsigned char srr; member
/openbmc/linux/net/netfilter/
H A Dnft_exthdr.c114 if (!opt->srr) in ipv4_find_option()
119 *offset = opt->srr; in ipv4_find_option()
/openbmc/linux/net/dccp/
H A Dipv4.c69 if (inet_opt != NULL && inet_opt->opt.srr) { in dccp_v4_connect()
89 if (inet_opt == NULL || !inet_opt->opt.srr) in dccp_v4_connect()

12