Home
last modified time | relevance | path

Searched refs:laddr (Results 1 – 25 of 31) sorted by relevance

12

/drivers/scsi/arm/
Dcumana_1.c47 unsigned long *laddr; in cumanascsi_pwrite() local
54 laddr = (unsigned long *)addr; in cumanascsi_pwrite()
64 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
65 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
66 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
67 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
68 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
69 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
70 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
71 v=*laddr++; writew(L(v), dma); writew(H(v), dma); in cumanascsi_pwrite()
[all …]
/drivers/infiniband/hw/irdma/
Dtrace_cm.h24 __dynamic_array(u32, laddr, 4)
31 memcpy(__get_dynamic_array(laddr),
36 __print_ip_addr(__get_dynamic_array(laddr),
46 __dynamic_array(u32, laddr, 4)
54 memcpy(__get_dynamic_array(laddr),
60 __print_ip_addr(__get_dynamic_array(laddr),
74 __dynamic_array(u32, laddr, 4)
81 memcpy(__get_dynamic_array(laddr),
87 __print_ip_addr(__get_dynamic_array(laddr),
153 __dynamic_array(u32, laddr, 4)
[all …]
Dcm.c94 struct sockaddr_in *laddr = (struct sockaddr_in *)&event->local_addr; in irdma_fill_sockaddr4() local
97 laddr->sin_family = AF_INET; in irdma_fill_sockaddr4()
100 laddr->sin_port = htons(cm_node->loc_port); in irdma_fill_sockaddr4()
103 laddr->sin_addr.s_addr = htonl(cm_node->loc_addr[0]); in irdma_fill_sockaddr4()
3775 struct sockaddr_in *laddr; in irdma_connect() local
3791 laddr = (struct sockaddr_in *)&cm_id->m_local_addr; in irdma_connect()
3796 if (!(laddr->sin_port) || !(raddr->sin_port)) in irdma_connect()
3811 cm_info.loc_addr[0] = ntohl(laddr->sin_addr.s_addr); in irdma_connect()
3813 cm_info.loc_port = ntohs(laddr->sin_port); in irdma_connect()
3914 struct sockaddr_in *laddr; in irdma_create_listen() local
[all …]
/drivers/slimbus/
Dcore.c326 ida_simple_remove(&ctrl->laddr_ida, sbdev->laddr); in slim_report_absent()
430 u8 laddr; in slim_device_alloc_laddr() local
435 ret = ctrl->get_laddr(ctrl, &sbdev->e_addr, &laddr); in slim_device_alloc_laddr()
444 laddr = ret; in slim_device_alloc_laddr()
451 ret = ctrl->set_laddr(ctrl, &sbdev->e_addr, laddr); in slim_device_alloc_laddr()
458 sbdev->laddr = laddr; in slim_device_alloc_laddr()
465 laddr, sbdev->e_addr.manf_id, sbdev->e_addr.prod_code, in slim_device_alloc_laddr()
489 struct slim_eaddr *e_addr, u8 *laddr) in slim_device_report_present() argument
507 *laddr = sbdev->laddr; in slim_device_report_present()
Dstream.c130 DEFINE_SLIM_LDEST_TXN(txn, mc, 6, stream->dev->laddr, &msg); in slim_connect_port_channel()
150 DEFINE_SLIM_LDEST_TXN(txn, mc, 5, stream->dev->laddr, &msg); in slim_disconnect_port()
166 DEFINE_SLIM_LDEST_TXN(txn, mc, 5, stream->dev->laddr, &msg); in slim_deactivate_remove_channel()
270 DEFINE_SLIM_LDEST_TXN(txn, mc, 8, stream->dev->laddr, &msg); in slim_define_channel_content()
305 DEFINE_SLIM_LDEST_TXN(txn, mc, 8, stream->dev->laddr, &msg); in slim_define_channel()
329 DEFINE_SLIM_LDEST_TXN(txn, mc, 5, stream->dev->laddr, &msg); in slim_activate_channel()
Dqcom-ctrl.c390 struct slim_eaddr *ead, u8 laddr) in qcom_set_laddr() argument
398 u8 laddr; in qcom_set_laddr() member
402 10, laddr, &msg); in qcom_set_laddr()
409 p.laddr = laddr; in qcom_set_laddr()
417 laddr, ret); in qcom_set_laddr()
453 u8 laddr; in qcom_slim_rxwq() local
461 &laddr); in qcom_slim_rxwq()
Dslimbus.h417 struct slim_eaddr *ea, u8 laddr);
419 struct slim_eaddr *ea, u8 *laddr);
426 struct slim_eaddr *e_addr, u8 *laddr);
Dqcom-ngd-ctrl.c958 wbuf[txn.msg->num_bytes++] = sdev->laddr; in qcom_slim_ngd_enable_stream()
999 wbuf[1] = sdev->laddr; in qcom_slim_ngd_enable_stream()
1020 struct slim_eaddr *ea, u8 *laddr) in qcom_slim_ngd_get_laddr() argument
1057 *laddr = rbuf[6]; in qcom_slim_ngd_get_laddr()
1102 u32 laddr, rx_msgq; in qcom_slim_ngd_power_up() local
1125 laddr = readl_relaxed(ngd->base + NGD_STATUS); in qcom_slim_ngd_power_up()
1126 if (laddr & NGD_LADDR) { in qcom_slim_ngd_power_up()
Dmessaging.c236 DEFINE_SLIM_LDEST_TXN(txn_stack, mc, 6, sbdev->laddr, msg); in slim_xfer_msg()
/drivers/block/rsxx/
Ddma.c17 unsigned int laddr; /* Logical address */ member
280 dma->cmd, dma->laddr, hw_st); in rsxx_handle_dma_error()
328 dma->cmd, dma->laddr, hw_st); in rsxx_handle_dma_error()
456 cpu_to_le32(dma->laddr); in rsxx_issue_dmas()
463 ctrl->id, dma->laddr, tag, ctrl->cmd.idx); in rsxx_issue_dmas()
538 ctrl->id, dma->laddr, tag, status, count, in rsxx_dma_done()
599 unsigned int laddr, in rsxx_queue_discard() argument
610 dma->laddr = laddr; in rsxx_queue_discard()
619 dev_dbg(CARD_TO_DEV(card), "Queuing[D] laddr %x\n", dma->laddr); in rsxx_queue_discard()
631 unsigned int laddr, in rsxx_queue_dma() argument
[all …]
/drivers/infiniband/hw/qedr/
Dqedr_iw_cm.c46 struct sockaddr_in *laddr = (struct sockaddr_in *)&event->local_addr; in qedr_fill_sockaddr4() local
49 laddr->sin_family = AF_INET; in qedr_fill_sockaddr4()
52 laddr->sin_port = htons(cm_info->local_port); in qedr_fill_sockaddr4()
55 laddr->sin_addr.s_addr = htonl(cm_info->local_ip[0]); in qedr_fill_sockaddr4()
539 struct sockaddr_in *laddr; in qedr_iw_connect() local
546 laddr = (struct sockaddr_in *)&cm_id->m_local_addr; in qedr_iw_connect()
559 if (!laddr->sin_port || !raddr->sin_port) in qedr_iw_connect()
591 cm_info->local_ip[0] = ntohl(laddr->sin_addr.s_addr); in qedr_iw_connect()
593 cm_info->local_port = ntohs(laddr->sin_port); in qedr_iw_connect()
596 rc = qedr_addr4_resolve(dev, laddr, raddr, in qedr_iw_connect()
[all …]
/drivers/infiniband/sw/siw/
Dsiw_qp_tx.c60 (const void *)(uintptr_t)sge->laddr, bytes); in siw_try_1seg()
62 if (copy_from_user(paddr, u64_to_user_ptr(sge->laddr), in siw_try_1seg()
66 unsigned int off = sge->laddr & ~PAGE_MASK; in siw_try_1seg()
72 p = siw_get_upage(mem->umem, sge->laddr); in siw_try_1seg()
74 p = siw_get_pblpage(mem, sge->laddr, &pbl_idx); in siw_try_1seg()
91 sge->laddr + part); in siw_try_1seg()
94 sge->laddr + part, in siw_try_1seg()
139 cpu_to_be64(wqe->sqe.sge[0].laddr); in siw_qp_prepare_tx()
376 offset = (sge->laddr + offset) & ~PAGE_MASK; in siw_0copy_tx()
388 offset = sge->laddr & ~PAGE_MASK; in siw_0copy_tx()
[all …]
Dsiw_qp_rx.c177 srx->ddp_to = wqe->sqe.sge[0].laddr; in siw_rresp_check_ntoh()
367 wqe->rqe.sge[i].laddr = rqe->sge[i].laddr; in siw_rqe_get()
490 (void *)(uintptr_t)(sge->laddr + frx->sge_off), in siw_proc_send()
494 sge->laddr + frx->sge_off, sge_bytes); in siw_proc_send()
497 sge->laddr + frx->sge_off, sge_bytes); in siw_proc_send()
666 laddr = be64_to_cpu(srx->hdr.rreq.source_to); in siw_init_rresp() local
704 resp->sge[0].laddr = laddr; in siw_init_rresp()
760 wqe->sqe.sge[0].laddr = orqe->sge[0].laddr; in siw_orqe_start_rx()
855 (void *)(uintptr_t)(sge->laddr + wqe->processed), in siw_proc_rresp()
858 rv = siw_rx_umem(srx, mem_p->umem, sge->laddr + wqe->processed, in siw_proc_rresp()
[all …]
Dsiw_cm.c1312 static int kernel_bindconnect(struct socket *s, struct sockaddr *laddr, in kernel_bindconnect() argument
1316 size_t size = laddr->sa_family == AF_INET ? in kernel_bindconnect()
1330 rv = s->ops->bind(s, laddr, size); in kernel_bindconnect()
1345 struct sockaddr *laddr = (struct sockaddr *)&id->local_addr, in siw_connect() local
1358 if (laddr->sa_family == AF_INET6) in siw_connect()
1360 else if (laddr->sa_family != AF_INET) in siw_connect()
1378 siw_dbg_qp(qp, "pd_len %d, laddr %pISp, raddr %pISp\n", pd_len, laddr, in siw_connect()
1390 rv = kernel_bindconnect(s, laddr, raddr, id->afonly); in siw_connect()
1794 struct sockaddr_in *laddr = &to_sockaddr_in(id->local_addr); in siw_create_listen() local
1797 if (ipv4_is_zeronet(laddr->sin_addr.s_addr)) in siw_create_listen()
[all …]
Dsiw_qp.c278 wqe->sqe.sge[0].laddr = 0; in siw_qp_mpa_rts()
488 cpu_to_be64(wqe->sqe.sge[0].laddr); in siw_send_terminate()
873 rreq->sge[0].laddr = sqe->sge[0].laddr; in siw_read_to_orq()
911 wqe->sqe.sge[0].laddr = (uintptr_t)&wqe->sqe.sge[1]; in siw_activate_tx_from_sq()
1007 wqe->sqe.sge[0].laddr = irqe->sge[0].laddr; in siw_activate_tx()
Dsiw_verbs.h28 siw_sge->laddr = sge->addr; in siw_copy_sgl()
Dsiw_mem.c248 rv = siw_check_mem(pd, *mem, sge->laddr + off, perms, len); in siw_check_sge()
/drivers/net/ethernet/natsemi/
Dsonic.c124 dma_addr_t laddr = dma_map_single(lp->device, skb_put(lp->rx_skb[i], SONIC_RBSIZE), in sonic_open() local
126 if (dma_mapping_error(lp->device, laddr)) { in sonic_open()
140 lp->rx_laddr[i] = laddr; in sonic_open()
276 dma_addr_t laddr; in sonic_send_packet() local
294 laddr = dma_map_single(lp->device, skb->data, length, DMA_TO_DEVICE); in sonic_send_packet()
295 if (dma_mapping_error(lp->device, laddr)) { in sonic_send_packet()
308 sonic_tda_put(dev, entry, SONIC_TD_FRAG_PTR_L, laddr & 0xffff); in sonic_send_packet()
309 sonic_tda_put(dev, entry, SONIC_TD_FRAG_PTR_H, laddr >> 16); in sonic_send_packet()
322 lp->tx_laddr[entry] = laddr; in sonic_send_packet()
/drivers/pci/
Dof.c428 __be32 laddr[3]; in of_irq_parse_pci() local
500 laddr[0] = cpu_to_be32((pdev->bus->number << 16) | (pdev->devfn << 8)); in of_irq_parse_pci()
501 laddr[1] = laddr[2] = cpu_to_be32(0); in of_irq_parse_pci()
502 rc = of_irq_parse_raw(laddr, out_irq); in of_irq_parse_pci()
/drivers/isdn/mISDN/
Dlayer2.h38 struct laddr { struct
51 struct laddr addr; argument
/drivers/bcma/
Dmain.c163 __be32 laddr[1]; in bcma_of_irq_parse() local
176 laddr[0] = cpu_to_be32(core->addr); in bcma_of_irq_parse()
177 return of_irq_parse_raw(laddr, out_irq); in bcma_of_irq_parse()
/drivers/infiniband/hw/cxgb4/
Dcm.c2158 struct sockaddr_in *laddr = (struct sockaddr_in *) in c4iw_reconnect() local
2203 laddr->sin_addr.s_addr, in c4iw_reconnect()
2205 laddr->sin_port, in c4iw_reconnect()
3241 struct sockaddr_in *laddr = (struct sockaddr_in *)&cm_id->m_local_addr; in pick_local_ipaddrs() local
3252 laddr->sin_addr.s_addr = ifa->ifa_address; in pick_local_ipaddrs()
3308 struct sockaddr_in *laddr; in c4iw_connect() local
3376 laddr = (struct sockaddr_in *)&ep->com.local_addr; in c4iw_connect()
3396 &laddr->sin_addr, ntohs(laddr->sin_port), in c4iw_connect()
3399 laddr->sin_addr.s_addr, in c4iw_connect()
3401 laddr->sin_port, in c4iw_connect()
[all …]
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c58 return (union mlxsw_sp_l3addr) { .addr6 = parms.laddr }; in mlxsw_sp_ipip_parms6_saddr()
/drivers/ata/
Dsata_mv.c969 unsigned long laddr; in mv_write_cached_reg() local
980 laddr = (unsigned long)addr & 0xffff; in mv_write_cached_reg()
981 if (laddr >= 0x300 && laddr <= 0x33c) { in mv_write_cached_reg()
982 laddr &= 0x000f; in mv_write_cached_reg()
983 if (laddr == 0x4 || laddr == 0xc) { in mv_write_cached_reg()
/drivers/net/ethernet/faraday/
Dftmac100.c144 unsigned int laddr = mac[2] << 24 | mac[3] << 16 | mac[4] << 8 | mac[5]; in ftmac100_set_mac() local
147 iowrite32(laddr, priv->base + FTMAC100_OFFSET_MAC_LADR); in ftmac100_set_mac()

12