Home
last modified time | relevance | path

Searched refs:current_offset (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/tools/power/acpi/common/
Dcmfsize.c32 long current_offset; in cm_get_file_size() local
37 current_offset = ftell(file); in cm_get_file_size()
38 if (current_offset < 0) { in cm_get_file_size()
54 status = fseek(file, current_offset, SEEK_SET); in cm_get_file_size()
/Linux-v4.19/drivers/regulator/
Dad5398.c27 unsigned int current_offset; member
80 ret = (data & chip->current_mask) >> chip->current_offset; in ad5398_get_current_limit()
116 selector = (selector << chip->current_offset) & chip->current_mask; in ad5398_set_current_limit()
202 int current_offset; member
241 chip->current_offset = df->current_offset; in ad5398_probe()
242 chip->current_mask = (chip->current_level - 1) << chip->current_offset; in ad5398_probe()
/Linux-v4.19/arch/powerpc/platforms/powernv/
Dpci-ioda-tce.c219 unsigned long *current_offset, unsigned long *total_allocated) in pnv_pci_ioda2_table_do_alloc_pages() argument
231 *current_offset += allocated; in pnv_pci_ioda2_table_do_alloc_pages()
237 levels, limit, current_offset, total_allocated); in pnv_pci_ioda2_table_do_alloc_pages()
244 if (*current_offset >= limit) in pnv_pci_ioda2_table_do_alloc_pages()
/Linux-v4.19/drivers/net/ethernet/8390/
Dlib8390.c658 unsigned short current_offset; in ei_receive() local
692 current_offset = this_frame << 8; in ei_receive()
733 ei_block_input(dev, pkt_len, skb, current_offset + sizeof(rx_frame)); in ei_receive()
Daxnet_cs.c1337 unsigned short current_offset; in ei_receive() local
1368 current_offset = this_frame << 8; in ei_receive()
1402 ei_block_input(dev, pkt_len, skb, current_offset + sizeof(rx_frame)); in ei_receive()
/Linux-v4.19/drivers/staging/vc04_services/interface/vchiq_arm/
Dvchiq_arm.c762 size_t current_offset; member
777 if (offset != copy_context->current_offset) in vchiq_ioc_copy_element_data()
814 copy_context->current_offset += bytes_this_round; in vchiq_ioc_copy_element_data()
846 context.current_offset = 0; in vchiq_ioc_queue_message()
/Linux-v4.19/drivers/scsi/esas2r/
Datioctl.h830 u32 current_offset; member
Desas2r_ioctl.c937 u32 offset = trc->current_offset; in hba_ioctl_callback()
971 trc->current_offset = 0; in hba_ioctl_callback()
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_bsg.c3039 size_t segment_len = 0, segment_offset = 0, current_offset = 0; in lpfc_bsg_diag_loopback_run() local
3186 if (current_offset == 0) { in lpfc_bsg_diag_loopback_run()
3201 ptr + current_offset, in lpfc_bsg_diag_loopback_run()
3204 current_offset += segment_len - segment_offset; in lpfc_bsg_diag_loopback_run()
3205 BUG_ON(current_offset > size); in lpfc_bsg_diag_loopback_run()