/linux/arch/powerpc/boot/ |
H A D | devtree.c | 21 int naddr, nsize, i; in dt_fixup_memory() local 25 if (getprop(root, "#address-cells", &naddr, sizeof(naddr)) < 0) in dt_fixup_memory() 26 naddr = 2; in dt_fixup_memory() 28 naddr = be32_to_cpu(naddr); in dt_fixup_memory() 29 if (naddr < 1 || naddr > 2) in dt_fixup_memory() 30 fatal("Can't cope with #address-cells == %d in /\n\r", naddr); in dt_fixup_memory() 40 if (naddr == 2) in dt_fixup_memory() 54 for (i = 1; i < (naddr + nsize); i++) in dt_fixup_memory() 58 setprop(memory, "reg", memreg, (naddr + nsize)*sizeof(u32)); in dt_fixup_memory() 137 void dt_get_reg_format(void *node, u32 *naddr, u32 *nsize) in dt_get_reg_format() argument [all …]
|
H A D | fsl-soc.c | 25 u32 naddr; in fsl_get_immr() local 29 naddr = prop_buf[0]; in fsl_get_immr() 31 naddr = 2; in fsl_get_immr() 33 if (naddr != 1 && naddr != 2) in fsl_get_immr() 42 if (naddr == 2 && prop_buf[1] != 0) in fsl_get_immr() 45 if (!dt_xlate_addr(soc, prop_buf + naddr, 8, &ret)) in fsl_get_immr()
|
H A D | cuboot-pq2.c | 53 u32 naddr, nsize; in update_cs_ranges() local 61 dt_get_reg_format(bus_node, &naddr, &nsize); in update_cs_ranges() 62 if (naddr != 2 || nsize != 1) in update_cs_ranges() 69 dt_get_reg_format(parent_node, &naddr, &nsize); in update_cs_ranges() 70 if (naddr != 1 || nsize != 1) in update_cs_ranges() 128 u32 naddr, nsize, mem_pow2, mem_mask; in fixup_pci() local 143 dt_get_reg_format(node, &naddr, &nsize); in fixup_pci() 144 if (naddr != 3 || nsize != 2) in fixup_pci() 151 dt_get_reg_format(parent_node, &naddr, &nsize); in fixup_pci() 152 if (naddr != 1 || nsize != 1) in fixup_pci()
|
H A D | ops.h | 96 void dt_get_reg_format(void *node, u32 *naddr, u32 *nsize);
|
/linux/drivers/misc/cxl/ |
H A D | of.c | 19 int i, len, entry_size, naddr, nsize, type; in read_phys_addr() local 23 naddr = of_n_addr_cells(np); in read_phys_addr() 28 entry_size = naddr + nsize; in read_phys_addr() 31 addr = of_read_number(prop, naddr); in read_phys_addr() 32 size = of_read_number(&prop[naddr], nsize); in read_phys_addr()
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_user_sdma.c | 73 u16 naddr; /* dimension of addr (1..3) ... */ member 363 qib_user_sdma_init_frag(pkt, pkt->naddr, /* index */ in qib_user_sdma_page_to_frags() 371 pkt->naddr++; in qib_user_sdma_page_to_frags() 372 if (pkt->naddr == pkt->addrlimit) { in qib_user_sdma_page_to_frags() 523 qib_user_sdma_init_frag(pkt, pkt->naddr, /* index */ in qib_user_sdma_page_to_frags() 529 pkt->index = pkt->naddr; in qib_user_sdma_page_to_frags() 531 pkt->naddr++; in qib_user_sdma_page_to_frags() 532 if (pkt->naddr == pkt->addrlimit) { in qib_user_sdma_page_to_frags() 733 for (idx = 1; idx < pkt->naddr; idx++) in qib_user_sdma_pin_pkt() 779 for (i = 0; i < pkt->naddr; i++) in qib_user_sdma_free_pkt_list() [all …]
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_sup.c | 441 nvram_conf_addr(struct qla_hw_data *ha, uint32_t naddr) in nvram_conf_addr() argument 443 return ha->nvram_conf_off + naddr; in nvram_conf_addr() 447 nvram_data_addr(struct qla_hw_data *ha, uint32_t naddr) in nvram_data_addr() argument 449 return ha->nvram_data_off + naddr; in nvram_data_addr() 1395 qla2x00_read_nvram_data(scsi_qla_host_t *vha, void *buf, uint32_t naddr, in qla2x00_read_nvram_data() argument 1405 for (i = 0; i < bytes >> 1; i++, naddr++) in qla2x00_read_nvram_data() 1407 naddr)); in qla2x00_read_nvram_data() 1414 qla24xx_read_nvram_data(scsi_qla_host_t *vha, void *buf, uint32_t naddr, in qla24xx_read_nvram_data() argument 1425 naddr = nvram_data_addr(ha, naddr); in qla24xx_read_nvram_data() 1427 for (i = 0; i < bytes; i++, naddr++, dwptr++) { in qla24xx_read_nvram_data() [all …]
|
/linux/include/net/ |
H A D | ip.h | 612 static inline void ip_eth_mc_map(__be32 naddr, char *buf) in ip_eth_mc_map() argument 614 __u32 addr=ntohl(naddr); in ip_eth_mc_map() 630 static inline void ip_ib_mc_map(__be32 naddr, const unsigned char *broadcast, char *buf) in ip_ib_mc_map() argument 639 addr = ntohl(naddr); in ip_ib_mc_map() 661 static inline void ip_ipgre_mc_map(__be32 naddr, const unsigned char *broadcast, char *buf) in ip_ipgre_mc_map() argument 666 memcpy(buf, &naddr, sizeof(naddr)); in ip_ipgre_mc_map()
|
/linux/arch/powerpc/platforms/pasemi/ |
H A D | setup.c | 247 int naddr, opplen; in pas_init_IRQ() local 271 naddr = of_n_addr_cells(root); in pas_init_IRQ() 278 openpic_addr = of_read_number(opprop, naddr); in pas_init_IRQ()
|
/linux/drivers/net/ethernet/ti/ |
H A D | netcp.h | 204 int (*add_addr)(void *intf_priv, struct netcp_addr *naddr); 205 int (*del_addr)(void *intf_priv, struct netcp_addr *naddr);
|
H A D | netcp_ethss.c | 2449 static int gbe_add_addr(void *intf_priv, struct netcp_addr *naddr) in gbe_add_addr() argument 2455 naddr->addr, naddr->type); in gbe_add_addr() 2457 switch (naddr->type) { in gbe_add_addr() 2460 gbe_add_mcast_addr(gbe_intf, naddr->addr); in gbe_add_addr() 2464 gbe_add_ucast_addr(gbe_intf, naddr->addr); in gbe_add_addr() 2475 static int gbe_del_addr(void *intf_priv, struct netcp_addr *naddr) in gbe_del_addr() argument 2481 naddr->addr, naddr->type); in gbe_del_addr() 2483 switch (naddr->type) { in gbe_del_addr() 2486 gbe_del_mcast_addr(gbe_intf, naddr->addr); in gbe_del_addr() 2490 gbe_del_ucast_addr(gbe_intf, naddr->addr); in gbe_del_addr()
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | setup.c | 219 int naddr; in pseries_setup_i8259_cascade() local 250 naddr = of_n_addr_cells(np); in pseries_setup_i8259_cascade() 251 intack = addrp[naddr-1]; in pseries_setup_i8259_cascade() 252 if (naddr > 1) in pseries_setup_i8259_cascade() 253 intack |= ((unsigned long)addrp[naddr-2]) << 32; in pseries_setup_i8259_cascade()
|
/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_hw.c | 1528 unsigned int naddr, const u8 **addr, u16 *idx, in t4vf_alloc_mac_filt() argument 1533 unsigned int rem = naddr; in t4vf_alloc_mac_filt() 1537 if (naddr > max_naddr) in t4vf_alloc_mac_filt() 1540 for (offset = 0; offset < naddr; /**/) { in t4vf_alloc_mac_filt() 1614 unsigned int naddr, const u8 **addr, bool sleep_ok) in t4vf_free_mac_filt() argument 1620 unsigned int rem = naddr; in t4vf_free_mac_filt() 1622 if (naddr > max_naddr) in t4vf_free_mac_filt() 1625 for (offset = 0; offset < (int)naddr ; /**/) { in t4vf_free_mac_filt() 2199 unsigned int *naddr, u8 *addr) in t4vf_get_vf_mac_acl() argument 2213 if (cmd.nmac < *naddr) in t4vf_get_vf_mac_acl() [all …]
|
H A D | t4vf_common.h | 405 int t4vf_free_mac_filt(struct adapter *, unsigned int, unsigned int naddr, 419 unsigned int *naddr, u8 *addr);
|
H A D | cxgb4vf_main.c | 2869 unsigned int naddr = 1, pidx = 0; in cxgb4vf_get_port_mask() local 2877 err = t4vf_get_vf_mac_acl(adapter, pidx, &naddr, mac); in cxgb4vf_get_port_mask() 3034 unsigned int naddr = 1; in cxgb4vf_pci_probe() local 3111 err = t4vf_get_vf_mac_acl(adapter, port_id, &naddr, mac); in cxgb4vf_pci_probe() 3116 } else if (naddr && adapter->params.vfres.nvi == 1) { in cxgb4vf_pci_probe()
|
/linux/drivers/mtd/spi-nor/ |
H A D | core.h | 22 #define SPI_NOR_READID_OP(naddr, ndummy, buf, len) \ argument 24 SPI_MEM_OP_ADDR(naddr, 0, 0), \ 617 int spi_nor_read_id(struct spi_nor *nor, u8 naddr, u8 ndummy, u8 *id,
|
H A D | spansion.c | 49 #define CYPRESS_NOR_WR_ANY_REG_OP(naddr, addr, ndata, buf) \ argument 51 SPI_MEM_OP_ADDR(naddr, addr, 0), \ 55 #define CYPRESS_NOR_RD_ANY_REG_OP(naddr, addr, ndummy, buf) \ argument 57 SPI_MEM_OP_ADDR(naddr, addr, 0), \
|
H A D | micron-st.c | 33 #define MICRON_ST_NOR_WR_ANY_REG_OP(naddr, addr, ndata, buf) \ argument 35 SPI_MEM_OP_ADDR(naddr, addr, 0), \
|
/linux/fs/nfs/ |
H A D | nfs42xdr.c | 833 struct nfs42_netaddr *naddr; in decode_nl4_server() local 856 naddr = &ns->u.nl4_addr; in decode_nl4_server() 864 naddr->netid_len = dummy; in decode_nl4_server() 865 memcpy(naddr->netid, dummy_str, naddr->netid_len); in decode_nl4_server() 873 naddr->addr_len = dummy; in decode_nl4_server() 874 memcpy(naddr->addr, dummy_str, naddr->addr_len); in decode_nl4_server()
|
H A D | nfs42proc.c | 25 static void nfs42_set_netaddr(struct file *filep, struct nfs42_netaddr *naddr) in nfs42_set_netaddr() argument 31 naddr->netid_len = scnprintf(naddr->netid, in nfs42_set_netaddr() 32 sizeof(naddr->netid), "%s", in nfs42_set_netaddr() 35 naddr->addr_len = scnprintf(naddr->addr, in nfs42_set_netaddr() 36 sizeof(naddr->addr), in nfs42_set_netaddr()
|
/linux/include/linux/mtd/ |
H A D | spinand.h | 35 #define SPINAND_READID_OP(naddr, ndummy, buf, len) \ argument 37 SPI_MEM_OP_ADDR(naddr, 0, 1), \
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_ipip.c | 149 union mlxsw_sp_l3addr naddr = {0}; in mlxsw_sp_l3addr_is_zero() local 151 return !memcmp(&addr, &naddr, sizeof(naddr)); in mlxsw_sp_l3addr_is_zero()
|
/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4.h | 2011 unsigned int viid, bool free, unsigned int naddr, 2014 unsigned int viid, unsigned int naddr, 2079 u8 start, unsigned int naddr, u8 *addr); 2136 bool free, unsigned int naddr, 2140 unsigned int naddr, const u8 **addr, bool sleep_ok);
|
/linux/drivers/mtd/nand/raw/gpmi-nand/ |
H A D | gpmi-nand.c | 2347 struct gpmi_nand_data *this, u8 cmd, const u8 *addr, int naddr) in gpmi_chain_command() argument 2362 | BF_GPMI_CTRL0_XFER_COUNT(naddr + 1); in gpmi_chain_command() 2375 if (naddr) in gpmi_chain_command() 2376 memcpy(&transfer->cmdbuf[1], addr, naddr); in gpmi_chain_command() 2378 sg_init_one(&transfer->sgl, transfer->cmdbuf, naddr + 1); in gpmi_chain_command()
|
/linux/fs/nfsd/ |
H A D | nfs4proc.c | 1483 struct nfs42_netaddr *naddr; in nfsd4_interssc_connect() local 1492 naddr = &nss->u.nl4_addr; in nfsd4_interssc_connect() 1493 tmp_addrlen = rpc_uaddr2sockaddr(SVC_NET(rqstp), naddr->addr, in nfsd4_interssc_connect() 1494 naddr->addr_len, in nfsd4_interssc_connect() 1508 if (naddr->netid_len != match_netid_len || in nfsd4_interssc_connect() 1509 strncmp(naddr->netid, match_netid, naddr->netid_len)) in nfsd4_interssc_connect()
|