Home
last modified time | relevance | path

Searched defs:off (Results 1 – 25 of 571) sorted by relevance

12345678910>>...23

/drivers/mtd/
Dmtdpstore.c27 static int mtdpstore_block_isbad(struct mtdpstore_context *cxt, loff_t off) in mtdpstore_block_isbad()
50 loff_t off) in mtdpstore_panic_block_isbad()
61 loff_t off) in mtdpstore_mark_used()
71 loff_t off) in mtdpstore_mark_unused()
81 loff_t off) in mtdpstore_block_mark_unused()
97 static inline int mtdpstore_is_used(struct mtdpstore_context *cxt, loff_t off) in mtdpstore_is_used()
108 loff_t off) in mtdpstore_block_is_used()
140 static void mtdpstore_mark_removed(struct mtdpstore_context *cxt, loff_t off) in mtdpstore_mark_removed()
150 loff_t off) in mtdpstore_block_clear_removed()
166 loff_t off) in mtdpstore_block_is_removed()
[all …]
/drivers/scsi/
Dscsi_logging.c39 size_t off = 0; in sdev_format_header() local
59 size_t off = 0, logbuf_len; in sdev_prefix_printk() local
86 size_t off = 0, logbuf_len; in scmd_printk() local
111 size_t off; in scsi_format_opcode_name() local
159 size_t off; in __scsi_format_command() local
182 size_t off, logbuf_len; in scsi_print_command() local
244 size_t off = 0; in scsi_format_extd_sense() local
274 size_t off; in scsi_format_sense_hdr() local
306 size_t off; in scsi_log_dump_sense() local
323 size_t off, logbuf_len; in scsi_log_print_sense_hdr() local
[all …]
/drivers/w1/slaves/
Dw1_ds2408.c68 struct bin_attribute *bin_attr, char *buf, loff_t off, in state_read()
81 loff_t off, size_t count) in output_read()
94 loff_t off, size_t count) in activity_read()
107 loff_t off, size_t count) in cond_search_mask_read()
121 char *buf, loff_t off, size_t count) in cond_search_polarity_read()
131 loff_t off, size_t count) in status_control_read()
164 loff_t off, size_t count) in output_write()
214 loff_t off, size_t count) in activity_write()
244 loff_t off, size_t count) in status_control_write()
Dw1_ds2438.c294 loff_t off, size_t count) in iad_write()
316 loff_t off, size_t count) in iad_read()
337 loff_t off, size_t count) in page0_read()
367 loff_t off, size_t count) in page1_read()
397 loff_t off, size_t count) in offset_write()
416 loff_t off, size_t count) in temperature_read()
437 loff_t off, size_t count) in vad_read()
458 loff_t off, size_t count) in vdd_read()
Dw1_ds28e04.c60 static inline size_t w1_f1C_fix_count(loff_t off, size_t count, size_t size) in w1_f1C_fix_count()
75 int off = block * W1_PAGE_SIZE; in w1_f1C_refresh_block() local
116 loff_t off, size_t count) in eeprom_read()
224 loff_t off, size_t count) in eeprom_write()
279 struct bin_attribute *bin_attr, char *buf, loff_t off, in pio_read()
298 struct bin_attribute *bin_attr, char *buf, loff_t off, in pio_write()
Dw1_ds2431.c46 static inline size_t w1_f2d_fix_count(loff_t off, size_t count, size_t size) in w1_f2d_fix_count()
64 static int w1_f2d_readblock(struct w1_slave *sl, int off, int count, char *buf) in w1_f2d_readblock()
99 loff_t off, size_t count) in eeprom_read()
205 loff_t off, size_t count) in eeprom_write()
Dw1_ds2430.c47 static inline size_t w1_f14_fix_count(loff_t off, size_t count, size_t size) in w1_f14_fix_count()
65 static int w1_f14_readblock(struct w1_slave *sl, int off, int count, char *buf) in w1_f14_readblock()
99 loff_t off, size_t count) in eeprom_read()
206 loff_t off, size_t count) in eeprom_write()
Dw1_ds2805.c43 static inline size_t w1_f0d_fix_count(loff_t off, size_t count, size_t size) in w1_f0d_fix_count()
61 static int w1_f0d_readblock(struct w1_slave *sl, int off, int count, char *buf) in w1_f0d_readblock()
96 char *buf, loff_t off, size_t count) in w1_f0d_read_bin()
204 char *buf, loff_t off, size_t count) in w1_f0d_write_bin()
Dw1_ds2433.c49 static inline size_t w1_f23_fix_count(loff_t off, size_t count, size_t size) in w1_f23_fix_count()
65 int off = block * W1_PAGE_SIZE; in w1_f23_refresh_block() local
91 loff_t off, size_t count) in eeprom_read()
205 loff_t off, size_t count) in eeprom_write()
/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_rtsym.c227 u8 action, u8 token, u64 off, u32 *cpp_id, u64 *addr) in nfp_rtsym_to_dest()
258 u8 action, u8 token, u64 off, void *buf, size_t len) in __nfp_rtsym_read()
288 int nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_read()
295 u8 action, u8 token, u64 off, u32 *value) in __nfp_rtsym_readl()
314 int nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_readl()
321 u8 action, u8 token, u64 off, u64 *value) in __nfp_rtsym_readq()
345 int nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_readq()
352 u8 action, u8 token, u64 off, void *buf, size_t len) in __nfp_rtsym_write()
373 int nfp_rtsym_write(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_write()
380 u8 action, u8 token, u64 off, u32 value) in __nfp_rtsym_writel()
[all …]
/drivers/hid/
Dhid-picolcd_debugfs.c73 size_t s, loff_t *off) in picolcd_debug_eeprom_read()
112 size_t s, loff_t *off) in picolcd_debug_eeprom_write()
169 static int _picolcd_flash_setaddr(struct picolcd_data *data, u8 *buf, long off) in _picolcd_flash_setaddr()
180 char __user *u, size_t s, loff_t *off) in _picolcd_flash_read()
216 size_t s, loff_t *off) in picolcd_debug_flash_read()
235 loff_t *off) in _picolcd_flash_erase64()
262 const char __user *u, size_t s, loff_t *off) in _picolcd_flash_write()
299 size_t s, loff_t *off) in picolcd_debug_flash_write()
/drivers/s390/crypto/
Dpkey_api.c1591 loff_t off, size_t count) in pkey_protkey_aes_attr_read()
1637 char *buf, loff_t off, in protkey_aes_128_read()
1647 char *buf, loff_t off, in protkey_aes_192_read()
1657 char *buf, loff_t off, in protkey_aes_256_read()
1667 char *buf, loff_t off, in protkey_aes_128_xts_read()
1677 char *buf, loff_t off, in protkey_aes_256_xts_read()
1711 loff_t off, size_t count) in pkey_ccadata_aes_attr_read()
1741 char *buf, loff_t off, in ccadata_aes_128_read()
1751 char *buf, loff_t off, in ccadata_aes_192_read()
1761 char *buf, loff_t off, in ccadata_aes_256_read()
[all …]
/drivers/gpio/
Dgpio-ucb1400.c11 static int ucb1400_gpio_dir_in(struct gpio_chip *gc, unsigned off) in ucb1400_gpio_dir_in()
19 static int ucb1400_gpio_dir_out(struct gpio_chip *gc, unsigned off, int val) in ucb1400_gpio_dir_out()
28 static int ucb1400_gpio_get(struct gpio_chip *gc, unsigned off) in ucb1400_gpio_get()
36 static void ucb1400_gpio_set(struct gpio_chip *gc, unsigned off, int val) in ucb1400_gpio_set()
Dgpio-raspberrypi-exp.c54 static int rpi_exp_gpio_get_polarity(struct gpio_chip *gc, unsigned int off) in rpi_exp_gpio_get_polarity()
74 static int rpi_exp_gpio_dir_in(struct gpio_chip *gc, unsigned int off) in rpi_exp_gpio_dir_in()
103 static int rpi_exp_gpio_dir_out(struct gpio_chip *gc, unsigned int off, int val) in rpi_exp_gpio_dir_out()
132 static int rpi_exp_gpio_get_direction(struct gpio_chip *gc, unsigned int off) in rpi_exp_gpio_get_direction()
156 static int rpi_exp_gpio_get(struct gpio_chip *gc, unsigned int off) in rpi_exp_gpio_get()
178 static void rpi_exp_gpio_set(struct gpio_chip *gc, unsigned int off, int val) in rpi_exp_gpio_set()
Dgpio-adp5520.c23 static int adp5520_gpio_get_value(struct gpio_chip *chip, unsigned off) in adp5520_gpio_get_value()
44 unsigned off, int val) in adp5520_gpio_set_value()
55 static int adp5520_gpio_direction_input(struct gpio_chip *chip, unsigned off) in adp5520_gpio_direction_input()
67 unsigned off, int val) in adp5520_gpio_direction_output()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_hw.c22 #define CRB_BLK(off) ((off >> 20) & 0x3f) argument
23 #define CRB_SUBBLK(off) ((off >> 16) & 0xf) argument
25 #define CRB_HI(off) ((crb_hub_agt[CRB_BLK(off)] << 20) | ((off) & 0xf0000)) argument
33 #define PCI_OFFSET_FIRST_RANGE(adapter, off) \ argument
35 #define PCI_OFFSET_SECOND_RANGE(adapter, off) \ argument
37 #define PCI_OFFSET_THIRD_RANGE(adapter, off) \ argument
41 unsigned long off) in pci_base_offset()
1085 ulong off, void __iomem **addr) in netxen_nic_pci_get_crb_addr_2M()
1120 netxen_nic_pci_set_crbwindow_2M(struct netxen_adapter *adapter, ulong off) in netxen_nic_pci_set_crbwindow_2M()
1142 ulong off = win_off; in netxen_nic_map_indirect_address_128M() local
[all …]
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_hw.c19 #define CRB_BLK(off) ((off >> 20) & 0x3f) argument
20 #define CRB_SUBBLK(off) ((off >> 16) & 0xf) argument
22 #define CRB_HI(off) ((crb_hub_agt[CRB_BLK(off)] << 20) | ((off) & 0xf0000)) argument
32 u64 off; member
1115 ulong off, void __iomem **addr) in qlcnic_pci_get_crb_addr_2M()
1148 qlcnic_pci_set_crbwindow_2M(struct qlcnic_adapter *adapter, ulong off) in qlcnic_pci_set_crbwindow_2M()
1172 int qlcnic_82xx_hw_write_wx_2M(struct qlcnic_adapter *adapter, ulong off, in qlcnic_82xx_hw_write_wx_2M()
1204 int qlcnic_82xx_hw_read_wx_2M(struct qlcnic_adapter *adapter, ulong off, in qlcnic_82xx_hw_read_wx_2M()
1245 u32 window, u64 off, u64 *data, int op) in qlcnic_pci_mem_access_direct()
1273 qlcnic_pci_camqm_read_2M(struct qlcnic_adapter *adapter, u64 off, u64 *data) in qlcnic_pci_camqm_read_2M()
[all …]
/drivers/pci/controller/mobiveil/
Dpcie-mobiveil.h131 #define OFFSET_TO_PAGE_ADDR(off) \ argument
133 #define OFFSET_TO_PAGE_IDX(off) \ argument
191 static inline u32 mobiveil_csr_readl(struct mobiveil_pcie *pcie, u32 off) in mobiveil_csr_readl()
196 static inline u16 mobiveil_csr_readw(struct mobiveil_pcie *pcie, u32 off) in mobiveil_csr_readw()
201 static inline u8 mobiveil_csr_readb(struct mobiveil_pcie *pcie, u32 off) in mobiveil_csr_readb()
208 u32 off) in mobiveil_csr_writel()
214 u32 off) in mobiveil_csr_writew()
220 u32 off) in mobiveil_csr_writeb()
/drivers/rtc/
Drtc-bq4802.c30 static u8 bq4802_read_io(struct bq4802 *p, int off) in bq4802_read_io()
35 static void bq4802_write_io(struct bq4802 *p, int off, u8 val) in bq4802_write_io()
40 static u8 bq4802_read_mem(struct bq4802 *p, int off) in bq4802_read_mem()
45 static void bq4802_write_mem(struct bq4802 *p, int off, u8 val) in bq4802_write_mem()
/drivers/scsi/esas2r/
Desas2r_main.c70 char *buf, loff_t off, size_t count) in read_fw()
79 char *buf, loff_t off, size_t count) in write_fw()
88 char *buf, loff_t off, size_t count) in read_fs()
97 char *buf, loff_t off, size_t count) in write_fs()
113 char *buf, loff_t off, size_t count) in read_vda()
122 char *buf, loff_t off, size_t count) in write_vda()
131 char *buf, loff_t off, size_t count) in read_live_nvram()
142 char *buf, loff_t off, size_t count) in write_live_nvram()
162 char *buf, loff_t off, size_t count) in read_default_nvram()
173 char *buf, loff_t off, size_t count) in read_hw()
[all …]
/drivers/mtd/parsers/
Dafs.c78 static bool afs_is_v1(struct mtd_info *mtd, u_int off) in afs_is_v1()
98 static bool afs_is_v2(struct mtd_info *mtd, u_int off) in afs_is_v2()
120 u_int off, struct mtd_partition *part) in afs_parse_v1_partition()
217 u_int off, struct mtd_partition *part) in afs_parse_v2_partition()
328 u_int off, sz; in parse_afs_partitions() local
/drivers/pci/pcie/
Dportdrv_core.c394 size_t off = offsetof(struct pcie_port_service_driver, suspend); in pcie_port_device_suspend() local
400 size_t off = offsetof(struct pcie_port_service_driver, resume_noirq); in pcie_port_device_resume_noirq() local
410 size_t off = offsetof(struct pcie_port_service_driver, resume); in pcie_port_device_resume() local
420 size_t off = offsetof(struct pcie_port_service_driver, runtime_suspend); in pcie_port_device_runtime_suspend() local
430 size_t off = offsetof(struct pcie_port_service_driver, runtime_resume); in pcie_port_device_runtime_resume() local
/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dfbmem.h61 fbmem_peek(struct io_mapping *fb, u32 off) in fbmem_peek()
70 fbmem_poke(struct io_mapping *fb, u32 off, u32 val) in fbmem_poke()
79 fbmem_readback(struct io_mapping *fb, u32 off, u32 val) in fbmem_readback()
/drivers/reset/
Dreset-brcmstb.c43 unsigned int off = SW_INIT_BANK(id) * SW_INIT_BANK_SIZE; in brcmstb_reset_assert() local
54 unsigned int off = SW_INIT_BANK(id) * SW_INIT_BANK_SIZE; in brcmstb_reset_deassert() local
70 unsigned int off = SW_INIT_BANK(id) * SW_INIT_BANK_SIZE; in brcmstb_reset_status() local
/drivers/gpu/drm/i915/gt/
Dshmem_utils.c90 static int __shmem_rw(struct file *file, loff_t off, in __shmem_rw()
126 int shmem_read(struct file *file, loff_t off, void *dst, size_t len) in shmem_read()
131 int shmem_write(struct file *file, loff_t off, void *src, size_t len) in shmem_write()

12345678910>>...23