Searched refs:page_len (Results 1 – 8 of 8) sorted by relevance
/drivers/vfio/pci/mlx5/ |
D | main.c | 169 size_t page_len; in mlx5vf_save_read() local 181 page_len = min_t(size_t, len, PAGE_SIZE - page_offset); in mlx5vf_save_read() 183 ret = copy_to_user(buf, from_buff + page_offset, page_len); in mlx5vf_save_read() 189 *pos += page_len; in mlx5vf_save_read() 190 len -= page_len; in mlx5vf_save_read() 191 done += page_len; in mlx5vf_save_read() 192 buf += page_len; in mlx5vf_save_read() 306 size_t page_len; in mlx5vf_resume_write() local 318 page_len = min_t(size_t, len, PAGE_SIZE - page_offset); in mlx5vf_resume_write() 320 ret = copy_from_user(to_buff + page_offset, buf, page_len); in mlx5vf_resume_write() [all …]
|
/drivers/i2c/busses/ |
D | i2c-mt7621.c | 131 static int mtk_i2c_master_cmd(struct mtk_i2c *i2c, u32 cmd, int page_len) in mtk_i2c_master_cmd() argument 133 iowrite32(cmd | SM0CTL1_TRI | SM0CTL1_PGLEN(page_len), in mtk_i2c_master_cmd() 144 int i, j, ret, len, page_len; in mtk_i2c_master_xfer() local 192 page_len = (len >= 8) ? 8 : len; in mtk_i2c_master_xfer() 198 memcpy(data, &pmsg->buf[j], page_len); in mtk_i2c_master_xfer() 204 ret = mtk_i2c_master_cmd(i2c, cmd, page_len); in mtk_i2c_master_xfer() 211 memcpy(&pmsg->buf[j], data, page_len); in mtk_i2c_master_xfer() 215 (1 << page_len) in mtk_i2c_master_xfer()
|
/drivers/scsi/device_handler/ |
D | scsi_dh_rdac.c | 85 u8 page_len; member 98 u8 page_len[2]; member 109 u8 page_len; member 124 u8 page_len; member 137 u8 page_len; member 175 u8 page_len; member 282 rdac_pg->page_len[0] = 0x01; in rdac_failover_get() 283 rdac_pg->page_len[1] = 0x28; in rdac_failover_get() 293 rdac_pg->page_len = 0x68; in rdac_failover_get()
|
/drivers/target/ |
D | target_core_pscsi.c | 219 int ident_len, page_len, off = 4, ret; in pscsi_get_inquiry_vpd_device_ident() local 237 page_len = get_unaligned_be16(&buf[2]); in pscsi_get_inquiry_vpd_device_ident() 238 while (page_len > 0) { in pscsi_get_inquiry_vpd_device_ident() 262 page_len -= (ident_len + 4); in pscsi_get_inquiry_vpd_device_ident() 268 page_len -= (ident_len + 4); in pscsi_get_inquiry_vpd_device_ident() 275 page_len -= (ident_len + 4); in pscsi_get_inquiry_vpd_device_ident()
|
/drivers/scsi/bfa/ |
D | bfa_fc.h | 568 u32 page_len:8; member 600 u32 page_len:8; member 759 u32 page_len:8; member 775 u32 page_len:8; member
|
D | bfa_fcbuild.c | 672 tprlo_acc->page_len = 0x10; in fc_tprlo_acc_build() 695 prlo_acc->page_len = 0x10; in fc_prlo_acc_build() 855 prlo->page_len = 0x10; in fc_prlo_build() 879 tprlo->page_len = 0x10; in fc_tprlo_build()
|
/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 3415 u32 page_len = trans->init_dram.paging[i].size; in iwl_trans_pcie_dump_data() local 3418 data->len = cpu_to_le32(sizeof(*paging) + page_len); in iwl_trans_pcie_dump_data() 3422 trans->init_dram.paging[i].block, page_len); in iwl_trans_pcie_dump_data() 3425 len += sizeof(*data) + sizeof(*paging) + page_len; in iwl_trans_pcie_dump_data()
|
/drivers/md/ |
D | raid1.c | 2176 int page_len[RESYNC_PAGES] = { 0 }; in process_checks() local 2185 page_len[j++] = bi->bv_len; in process_checks() 2191 page_len[j])) in process_checks()
|