Home
last modified time | relevance | path

Searched refs:faddr (Results 1 – 21 of 21) sorted by relevance

/drivers/scsi/qla2xxx/
Dqla_sup.c429 flash_conf_addr(struct qla_hw_data *ha, uint32_t faddr) in flash_conf_addr() argument
431 return ha->flash_conf_off + faddr; in flash_conf_addr()
435 flash_data_addr(struct qla_hw_data *ha, uint32_t faddr) in flash_data_addr() argument
437 return ha->flash_data_off + faddr; in flash_data_addr()
476 qla24xx_read_flash_data(scsi_qla_host_t *vha, uint32_t *dwptr, uint32_t faddr, in qla24xx_read_flash_data() argument
484 faddr = flash_data_addr(ha, faddr); in qla24xx_read_flash_data()
485 for (i = 0; i < dwords; i++, faddr++, dwptr++) { in qla24xx_read_flash_data()
486 ret = qla24xx_read_flash_dword(ha, faddr, dwptr); in qla24xx_read_flash_data()
520 uint32_t faddr, ids = 0; in qla24xx_get_flash_manufacturer() local
524 faddr = flash_conf_addr(ha, 0x03ab); in qla24xx_get_flash_manufacturer()
[all …]
Dqla_nx.c2504 qla82xx_read_flash_data(scsi_qla_host_t *vha, __le32 *dwptr, uint32_t faddr, in qla82xx_read_flash_data() argument
2512 for (i = 0; i < length/4; i++, faddr += 4) { in qla82xx_read_flash_data()
2513 if (qla82xx_rom_fast_read(ha, faddr, &val)) { in qla82xx_read_flash_data()
2636 uint32_t faddr, uint32_t dwords) in qla82xx_write_flash_data() argument
2649 if (page_mode && !(faddr & 0xfff) && in qla82xx_write_flash_data()
2670 for (liter = 0; liter < dwords; liter++, faddr += 4, dwptr++) { in qla82xx_write_flash_data()
2672 if ((faddr & rest_addr) == 0) { in qla82xx_write_flash_data()
2674 ret = qla82xx_erase_sector(ha, faddr); in qla82xx_write_flash_data()
2678 faddr); in qla82xx_write_flash_data()
2689 (ha->flash_data_off | faddr), in qla82xx_write_flash_data()
[all …]
Dqla_attr.c189 uint32_t faddr; in qla2x00_sysfs_read_nvram() local
206 faddr = ha->flt_region_nvram; in qla2x00_sysfs_read_nvram()
210 faddr = ha->flt_region_nvram_sec; in qla2x00_sysfs_read_nvram()
212 ha->isp_ops->read_optrom(vha, ha->nvram, faddr << 2, ha->nvram_size); in qla2x00_sysfs_read_nvram()
549 uint32_t faddr; in qla2x00_sysfs_read_vpd() local
561 faddr = ha->flt_region_vpd << 2; in qla2x00_sysfs_read_vpd()
566 faddr = ha->flt_region_vpd_sec << 2; in qla2x00_sysfs_read_vpd()
580 ha->isp_ops->read_optrom(vha, ha->vpd, faddr, ha->vpd_size); in qla2x00_sysfs_read_vpd()
583 ha->isp_ops->read_optrom(vha, ha->vpd, faddr, ha->vpd_size); in qla2x00_sysfs_read_vpd()
Dqla_init.c8478 uint32_t faddr) in qla24xx_load_risc_flash() argument
8492 "FW: Loading firmware from flash (%x).\n", faddr); in qla24xx_load_risc_flash()
8495 qla24xx_read_flash_data(vha, dcode, faddr, 8); in qla24xx_load_risc_flash()
8513 qla24xx_read_flash_data(vha, dcode, faddr, 10); in qla24xx_load_risc_flash()
8528 fragment, risc_addr, faddr, dlen); in qla24xx_load_risc_flash()
8529 qla24xx_read_flash_data(vha, dcode, faddr, dlen); in qla24xx_load_risc_flash()
8541 faddr += dlen; in qla24xx_load_risc_flash()
8558 qla24xx_read_flash_data(vha, dcode, faddr, 7); in qla24xx_load_risc_flash()
8562 j, faddr, risc_size); in qla24xx_load_risc_flash()
8570 faddr += 7; in qla24xx_load_risc_flash()
[all …]
Dqla_nx2.c3688 uint32_t faddr, uint32_t dwords) in qla8044_write_flash_buffer_mode() argument
3741 QLA8044_FLASH_FIRST_TEMP_VAL | (faddr >> 2)); in qla8044_write_flash_buffer_mode()
3771 uint32_t faddr, uint32_t dwords) in qla8044_write_flash_dword_mode() argument
3776 for (liter = 0; liter < dwords; liter++, faddr += 4, dwptr++) { in qla8044_write_flash_dword_mode()
3777 ret = qla8044_flash_write_u32(vha, faddr, dwptr); in qla8044_write_flash_dword_mode()
3781 faddr, *dwptr); in qla8044_write_flash_dword_mode()
/drivers/macintosh/
Dsmu.c112 unsigned long faddr, fend; in smu_start_cmd() local
133 faddr = (unsigned long)smu->cmd_buf; in smu_start_cmd()
134 fend = faddr + smu->cmd_buf->length + 2; in smu_start_cmd()
135 flush_dcache_range(faddr, fend); in smu_start_cmd()
187 unsigned long faddr; in smu_db_intr() local
196 faddr = (unsigned long)smu->cmd_buf; in smu_db_intr()
197 flush_dcache_range(faddr, faddr + 256); in smu_db_intr()
/drivers/usb/host/
Disp1362.h219 u16 faddr; member
368 #define PTD_GET_FA(p) (((p)->faddr & PTD_FA_MSK) >> 0)
370 #define PTD_GET_SF_INT(p) (((p)->faddr & PTD_SF_INT_MSK) >> 8)
372 #define PTD_GET_SF_ISO(p) (((p)->faddr & PTD_SF_ISO_MSK) >> 8)
374 #define PTD_GET_PR(p) (((p)->faddr & PTD_PR_MSK) >> 13)
872 DBG(0, " %04x %04x %04x %04x\n", ptd->count, ptd->mps, ptd->len, ptd->faddr); in dump_ptd()
Disp116x.h180 u16 faddr; member
208 #define PTD_GET_FA(p) (((p)->faddr & PTD_FA_MSK) >> 0)
210 #define PTD_GET_FMT(p) (((p)->faddr & PTD_FMT_MSK) >> 7)
Disp116x-hcd.c183 isp116x_write_data16(isp116x, ptd->faddr); in pack_fifo()
213 ptd->faddr = isp116x_read_data16(isp116x); in unpack_fifo()
280 ptd->faddr = PTD_FA(usb_pipedevice(urb->pipe)); in preproc_atl_queue()
Disp1362-hcd.c333 ptd->faddr = PTD_FA(usb_pipedevice(urb->pipe)); in prepare_ptd()
336 ptd->faddr |= PTD_SF_INT(ep->branch); in prepare_ptd()
337 ptd->faddr |= PTD_PR(ep->interval ? __ffs(ep->interval) : 0); in prepare_ptd()
340 ptd->faddr |= PTD_SF_ISO(fno); in prepare_ptd()
/drivers/s390/cio/
Ddevice_status.c163 memcpy(cdev_irb->esw.esw0.faddr, irb->esw.esw0.faddr, in ccw_device_accumulate_esw()
164 sizeof (irb->esw.esw0.faddr)); in ccw_device_accumulate_esw()
/drivers/edac/
Dthunderx_edac.c491 static phys_addr_t thunderx_faddr_to_phys(u64 faddr, struct thunderx_lmc *lmc) in thunderx_faddr_to_phys() argument
497 addr |= LMC_FADR_FDIMM(faddr) << lmc->dimm_lsb; in thunderx_faddr_to_phys()
498 addr |= LMC_FADR_FBUNK(faddr) << lmc->rank_lsb; in thunderx_faddr_to_phys()
499 addr |= LMC_FADR_FROW(faddr) << lmc->row_lsb; in thunderx_faddr_to_phys()
500 addr |= (LMC_FADR_FCOL(faddr) >> 4) << lmc->col_hi_lsb; in thunderx_faddr_to_phys()
502 bank = LMC_FADR_FBANK(faddr) << lmc->bank_lsb; in thunderx_faddr_to_phys()
/drivers/gpu/drm/i915/
Di915_gpu_error.h85 u64 faddr; member
Di915_gpu_error.c553 err_printf(m, " FADDR: 0x%08x %08x\n", upper_32_bits(ee->faddr), in error_print_engine()
554 lower_32_bits(ee->faddr)); in error_print_engine()
1142 ee->faddr = ENGINE_READ(engine, RING_DMA_FADD); in engine_record_registers()
1149 ee->faddr |= (u64)ENGINE_READ(engine, RING_DMA_FADD_UDW) << 32; in engine_record_registers()
1154 ee->faddr = ENGINE_READ(engine, DMA_FADD_I8XX); in engine_record_registers()
/drivers/net/ethernet/chelsio/cxgb/
Dcpl5_cmd.h602 u32 faddr; member
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c182 if (ether_addr_equal(tmp_fil->faddr, addr) && in qlcnic_find_mac_filter()
227 memcpy(fil->faddr, &src_addr, ETH_ALEN); in qlcnic_add_lb_filter()
333 if (ether_addr_equal(tmp_fil->faddr, (u8 *)&src_addr) && in qlcnic_send_filter()
355 memcpy(fil->faddr, &src_addr, ETH_ALEN); in qlcnic_send_filter()
Dqlcnic_hw.c646 tmp_fil->faddr, in qlcnic_prune_lb_filters()
688 tmp_fil->faddr, in qlcnic_delete_lb_filters()
Dqlcnic.h1072 u8 faddr[ETH_ALEN]; member
/drivers/infiniband/hw/qib/
Dqib_user_sdma.c878 const unsigned long faddr = in qib_user_sdma_queue_pkts() local
881 if (slen & 3 || faddr & 3 || !slen) { in qib_user_sdma_queue_pkts()
/drivers/scsi/qla4xxx/
Dql4_nx.c3632 flash_conf_addr(struct ql82xx_hw_data *hw, uint32_t faddr) in flash_conf_addr() argument
3634 return hw->flash_conf_off | faddr; in flash_conf_addr()
3639 uint32_t faddr, uint32_t length) in qla4_82xx_read_flash_data() argument
3655 for (i = 0; i < length/4; i++, faddr += 4) { in qla4_82xx_read_flash_data()
3656 if (qla4_82xx_do_rom_fast_read(ha, faddr, &val)) { in qla4_82xx_read_flash_data()
/drivers/net/ethernet/chelsio/cxgb3/
Dt3_cpl.h1377 __be32 faddr; member