| /drivers/scsi/ |
| A D | scsi_logging.c | 44 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header() 51 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_format_header() 71 off += scnprintf(logbuf + off, logbuf_len - off, in sdev_prefix_printk() 137 off += scnprintf(buffer + off, buf_len - off, in scsi_format_opcode_name() 140 off += scnprintf(buffer + off, buf_len - off, in scsi_format_opcode_name() 252 off += scnprintf(buffer + off, buf_len - off, in scsi_format_extd_sense() 257 off += scnprintf(buffer + off, buf_len - off, in scsi_format_extd_sense() 262 off += scnprintf(buffer + off, buf_len - off, in scsi_format_extd_sense() 278 off += scnprintf(buffer + off, buf_len - off, in scsi_format_sense_hdr() 281 off += scnprintf(buffer + off, buf_len - off, in scsi_format_sense_hdr() [all …]
|
| /drivers/ntb/hw/intel/ |
| A D | ntb_hw_gen3.c | 279 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read() 282 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read() 286 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read() 288 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read() 305 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read() 307 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read() 309 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read() 311 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read() 313 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read() 316 off += scnprintf(buf + off, buf_size - off, in ndev_ntb3_debugfs_read() [all …]
|
| A D | ntb_hw_gen4.c | 240 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() 243 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() 247 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() 249 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() 266 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() 268 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() 270 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() 272 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() 274 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() 277 off += scnprintf(buf + off, buf_size - off, in ndev_ntb4_debugfs_read() [all …]
|
| A D | ntb_hw_gen1.c | 514 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read() 517 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read() 528 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read() 532 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read() 534 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read() 551 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read() 553 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read() 555 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read() 557 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read() 559 off += scnprintf(buf + off, buf_size - off, in ndev_ntb_debugfs_read() [all …]
|
| /drivers/mtd/ |
| A D | mtdpstore.c | 33 off = ALIGN_DOWN(off, mtd->erasesize); in mtdpstore_block_isbad() 50 loff_t off) in mtdpstore_panic_block_isbad() argument 55 off = ALIGN_DOWN(off, mtd->erasesize); in mtdpstore_panic_block_isbad() 61 loff_t off) in mtdpstore_mark_used() argument 71 loff_t off) in mtdpstore_mark_unused() argument 81 loff_t off) in mtdpstore_block_mark_unused() argument 87 off = ALIGN_DOWN(off, mtd->erasesize); in mtdpstore_block_mark_unused() 114 off = ALIGN_DOWN(off, mtd->erasesize); in mtdpstore_block_is_used() 156 off = ALIGN_DOWN(off, mtd->erasesize); in mtdpstore_block_clear_removed() 172 off = ALIGN_DOWN(off, mtd->erasesize); in mtdpstore_block_is_removed() [all …]
|
| /drivers/rapidio/ |
| A D | rio-sysfs.c | 142 off++; in rio_read_config() 151 off += 2; in rio_read_config() 162 off += 4; in rio_read_config() 171 off += 2; in rio_read_config() 179 off++; in rio_read_config() 204 rio_write_config_8(dev, off, data[off - init_off]); in rio_write_config() 205 off++; in rio_write_config() 213 off += 2; in rio_write_config() 223 off += 4; in rio_write_config() 231 off += 2; in rio_write_config() [all …]
|
| /drivers/s390/crypto/ |
| A D | pkey_sysfs.c | 192 off, count); in protkey_aes_128_read() 202 off, count); in protkey_aes_192_read() 212 off, count); in protkey_aes_256_read() 222 off, count); in protkey_aes_128_xts_read() 232 off, count); in protkey_aes_256_xts_read() 349 off, count); in ccadata_aes_128_read() 359 off, count); in ccadata_aes_192_read() 369 off, count); in ccadata_aes_256_read() 379 off, count); in ccadata_aes_128_xts_read() 389 off, count); in ccadata_aes_256_xts_read() [all …]
|
| /drivers/acpi/ |
| A D | ec_sys.c | 37 loff_t init_off = *off; in acpi_ec_read_io() 40 if (*off >= size) in acpi_ec_read_io() 42 if (*off + count >= size) { in acpi_ec_read_io() 43 size -= *off; in acpi_ec_read_io() 54 if (*off - init_off) in acpi_ec_read_io() 58 *off += 1; in acpi_ec_read_io() 65 size_t count, loff_t *off) in acpi_ec_write_io() argument 72 loff_t init_off = *off; in acpi_ec_write_io() 78 if (*off >= EC_SPACE_SIZE) in acpi_ec_write_io() 88 if (*off - init_off) in acpi_ec_write_io() [all …]
|
| /drivers/gpio/ |
| A D | gpio-adp5585.c | 42 int (*bank)(unsigned int off); 43 int (*bit)(unsigned int off); 71 return ADP5585_BANK(off); in adp5585_gpio_bank() 76 return ADP5585_BIT(off); in adp5585_gpio_bit() 81 return ADP5589_BANK(off); in adp5589_gpio_bank() 86 return ADP5589_BIT(off); in adp5589_gpio_bit() 106 info->bit(off)); in adp5585_gpio_direction_input() 175 bit = off * 2; in adp5585_gpio_set_bias() 177 bit += (off > 5 ? 4 : 0); in adp5585_gpio_set_bias() 257 info->bit(off)); in adp5585_gpio_request() [all …]
|
| A D | gpio-raspberrypi-exp.c | 62 get.gpio = off + RPI_EXP_GPIO_BASE; /* GPIO to update */ in rpi_exp_gpio_get_polarity() 68 off, ret, get.gpio); in rpi_exp_gpio_get_polarity() 88 ret = rpi_exp_gpio_get_polarity(gc, off); in rpi_exp_gpio_dir_in() 97 off, ret, set_in.gpio); in rpi_exp_gpio_dir_in() 117 ret = rpi_exp_gpio_get_polarity(gc, off); in rpi_exp_gpio_dir_out() 126 off, ret, set_out.gpio); in rpi_exp_gpio_dir_out() 140 get.gpio = off + RPI_EXP_GPIO_BASE; /* GPIO to update */ in rpi_exp_gpio_get_direction() 146 "Failed to get GPIO %u config (%d %x)\n", off, ret, in rpi_exp_gpio_get_direction() 164 get.gpio = off + RPI_EXP_GPIO_BASE; /* GPIO to update */ in rpi_exp_gpio_get() 171 "Failed to get GPIO %u state (%d %x)\n", off, ret, in rpi_exp_gpio_get() [all …]
|
| /drivers/isdn/hardware/mISDN/ |
| A D | iohelper.h | 28 return inb(hw->ap.port + off); \ 32 outb(val, hw->ap.port + off); \ 36 insb(hw->ap.port + off, dp, size); \ 40 outsb(hw->ap.port + off, dp, size); \ 46 outb(off, hw->ap.ale); \ 51 outb(off, hw->ap.ale); \ 56 outb(off, hw->ap.ale); \ 61 outb(off, hw->ap.ale); \ 68 return readb(((typ *)hw->adr) + off); \ 72 writeb(val, ((typ *)hw->adr) + off); \ [all …]
|
| /drivers/vdpa/solidrun/ |
| A D | snet_main.c | 348 off += 4; in snet_write_conf() 350 off += 4; in snet_write_conf() 352 off += 4; in snet_write_conf() 354 off += 4; in snet_write_conf() 356 off += 4; in snet_write_conf() 358 off += 8; in snet_write_conf() 360 off += 8; in snet_write_conf() 694 off += 4; in psnet_read_cfg() 696 off += 4; in psnet_read_cfg() 698 off += 4; in psnet_read_cfg() [all …]
|
| /drivers/net/ethernet/netronome/nfp/nfpcore/ |
| A D | nfp_rtsym.c | 235 *addr = sym->addr + off; in nfp_rtsym_to_dest() 265 if (off > sym_size) { in __nfp_rtsym_read() 267 sym->name, off, len, sym_size); in __nfp_rtsym_read() 276 memcpy(buf, &tmp[off], len); in __nfp_rtsym_read() 301 if (off + 4 > nfp_rtsym_size(sym)) { in __nfp_rtsym_readl() 303 sym->name, off, nfp_rtsym_size(sym)); in __nfp_rtsym_readl() 327 if (off + 8 > nfp_rtsym_size(sym)) { in __nfp_rtsym_readq() 359 if (off > sym_size) { in __nfp_rtsym_write() 361 sym->name, off, len, sym_size); in __nfp_rtsym_write() 386 if (off + 4 > nfp_rtsym_size(sym)) { in __nfp_rtsym_writel() [all …]
|
| /drivers/net/ethernet/chelsio/cxgb4/ |
| A D | cxgb4_tc_u32_parse.h | 104 { .off = 0, .val = cxgb4_fill_ipv4_tos }, 230 { .off = 0, .val = cxgb4_fill_l4_ports }, 235 { .off = 0, .val = cxgb4_fill_l4_ports }, 258 .off = 0, 264 .off = 8, 273 .off = 0, 279 .off = 8, 295 .off = 40, 301 .off = 4, 310 .off = 40, [all …]
|
| /drivers/net/dsa/ |
| A D | bcm_sf2.h | 130 return off << priv->core_reg_align; in bcm_sf2_mangle_addr() 136 return readl_relaxed(priv->name + off); \ 139 u32 val, u32 off) \ 141 writel_relaxed(val, priv->name + off); \ 154 dir = name##_readl(priv, off); \ 160 u32 off) \ 164 name##_writel(priv, lower_32_bits(val), off); \ 184 u32 tmp = bcm_sf2_mangle_addr(priv, off); in core_readl() 190 u32 tmp = bcm_sf2_mangle_addr(priv, off); in core_writel() 196 return readl_relaxed(priv->reg + priv->reg_offsets[off]); in reg_readl() [all …]
|
| /drivers/video/fbdev/core/ |
| A D | fbcvt.c | 218 int off = 0; in fb_cvt_print_name() local 229 off += scnprintf(buf + off, size - off, "fbcvt: %dx%d@%d: CVT Name - ", in fb_cvt_print_name() 233 off += scnprintf(buf + off, size - off, in fb_cvt_print_name() 238 off += scnprintf(buf + off, size - off, "%d", pixcount); in fb_cvt_print_name() 240 off += scnprintf(buf + off, size - off, ".%03dM", pixcount_mod); in fb_cvt_print_name() 243 off += scnprintf(buf + off, size - off, "3"); in fb_cvt_print_name() 245 off += scnprintf(buf + off, size - off, "4"); in fb_cvt_print_name() 247 off += scnprintf(buf + off, size - off, "9"); in fb_cvt_print_name() 249 off += scnprintf(buf + off, size - off, "A"); in fb_cvt_print_name() 252 off += scnprintf(buf + off, size - off, "-R"); in fb_cvt_print_name()
|
| /drivers/mtd/parsers/ |
| A D | afs.c | 81 u_int ptr = off + mtd->erasesize - 12; in afs_is_v1() 101 u_int ptr = off + mtd->erasesize - 8; in afs_is_v2() 177 if (img_ptr > off) in afs_parse_v1_partition() 236 off, off + mtd->erasesize); in afs_parse_v2_partition() 328 u_int off, sz; in parse_afs_partitions() local 333 for (i = off = sz = 0; off < mtd->size; off += mtd->erasesize) { in parse_afs_partitions() 334 if (afs_is_v1(mtd, off)) { in parse_afs_partitions() 338 if (afs_is_v2(mtd, off)) { in parse_afs_partitions() 354 for (i = off = 0; off < mtd->size; off += mtd->erasesize) { in parse_afs_partitions() 355 if (afs_is_v1(mtd, off)) { in parse_afs_partitions() [all …]
|
| /drivers/net/ethernet/intel/i40e/ |
| A D | i40e_ptp.c | 54 off, enumerator 83 {off, off, off, high, high, high, high}, 84 {off, in_A, off, high, high, high, low}, 85 {off, out_A, off, high, low, high, high}, 86 {off, in_B, off, high, high, high, low}, 87 {off, out_B, off, high, low, high, high}, 88 {in_A, off, off, high, high, high, low}, 91 {out_A, off, off, high, low, high, high}, 93 {in_B, off, off, high, high, high, low}, 96 {out_B, off, off, high, low, high, high}, [all …]
|
| /drivers/net/ethernet/freescale/dpaa2/ |
| A D | dpaa2-ethtool.c | 350 int off; in dpaa2_eth_prep_eth_rule() local 380 int off; in dpaa2_eth_prep_uip_rule() local 402 *(u8 *)(key + off) = uip_value->proto; in dpaa2_eth_prep_uip_rule() 403 *(u8 *)(mask + off) = uip_mask->proto; in dpaa2_eth_prep_uip_rule() 425 *(__be16 *)(mask + off) = htons(0xFFFF); in dpaa2_eth_prep_uip_rule() 435 int off; in dpaa2_eth_prep_l4_rule() local 471 *(__be16 *)(mask + off) = htons(0xFFFF); in dpaa2_eth_prep_l4_rule() 475 *(u8 *)(key + off) = l4_proto; in dpaa2_eth_prep_l4_rule() 476 *(u8 *)(mask + off) = 0xFF; in dpaa2_eth_prep_l4_rule() 486 int off; in dpaa2_eth_prep_ext_rule() local [all …]
|
| /drivers/w1/slaves/ |
| A D | w1_ds28e04.c | 62 if (off > size) in w1_f1C_fix_count() 65 if ((off + count) > size) in w1_f1C_fix_count() 66 return size - off; in w1_f1C_fix_count() 75 int off = block * W1_PAGE_SIZE; in w1_f1C_refresh_block() local 86 wrbuf[1] = off & 0xff; in w1_f1C_refresh_block() 87 wrbuf[2] = off >> 8; in w1_f1C_refresh_block() 116 loff_t off, size_t count) in eeprom_read() argument 241 (int)off, count); in eeprom_write() 250 (int)off); in eeprom_write() 261 addr = off + idx; in eeprom_write() [all …]
|
| A D | w1_ds2408.c | 69 loff_t off, size_t count) in state_read() argument 74 if (count != 1 || off != 0) in state_read() 81 loff_t off, size_t count) in output_read() argument 86 if (count != 1 || off != 0) in output_read() 99 if (count != 1 || off != 0) in activity_read() 112 if (count != 1 || off != 0) in cond_search_mask_read() 123 if (count != 1 || off != 0) in cond_search_polarity_read() 133 if (count != 1 || off != 0) in status_control_read() 171 if (count != 1 || off != 0) in output_write() 219 if (count != 1 || off != 0) in activity_write() [all …]
|
| A D | w1_ds2433.c | 74 if (off > size) in w1_f23_fix_count() 77 if ((off + count) > size) in w1_f23_fix_count() 78 return (size - off); in w1_f23_fix_count() 88 int off = block * W1_PAGE_SIZE; in w1_f23_refresh_block() local 99 wrbuf[1] = off & 0xff; in w1_f23_refresh_block() 100 wrbuf[2] = off >> 8; in w1_f23_refresh_block() 114 loff_t off, size_t count) in eeprom_read() argument 151 wrbuf[1] = off & 0xff; in eeprom_read() 152 wrbuf[2] = off >> 8; in eeprom_read() 241 (int)off, count); in eeprom_write() [all …]
|
| /drivers/pci/controller/mobiveil/ |
| A D | pcie-mobiveil.h | 131 #define OFFSET_TO_PAGE_ADDR(off) \ argument 132 ((off & PAGE_LO_MASK) | PAGED_ADDR_BNDRY) 133 #define OFFSET_TO_PAGE_IDX(off) \ argument 192 return mobiveil_csr_read(pcie, off, 0x4); in mobiveil_csr_readl() 197 return mobiveil_csr_read(pcie, off, 0x2); in mobiveil_csr_readw() 207 u32 off) in mobiveil_csr_writel() argument 209 mobiveil_csr_write(pcie, val, off, 0x4); in mobiveil_csr_writel() 213 u32 off) in mobiveil_csr_writew() argument 215 mobiveil_csr_write(pcie, val, off, 0x2); in mobiveil_csr_writew() 219 u32 off) in mobiveil_csr_writeb() argument [all …]
|
| /drivers/ntb/hw/amd/ |
| A D | ntb_hw_amd.c | 859 off += scnprintf(buf + off, buf_size - off, in ndev_debugfs_read() 862 off += scnprintf(buf + off, buf_size - off, in ndev_debugfs_read() 866 off += scnprintf(buf + off, buf_size - off, in ndev_debugfs_read() 883 off += scnprintf(buf + off, buf_size - off, in ndev_debugfs_read() 885 off += scnprintf(buf + off, buf_size - off, in ndev_debugfs_read() 887 off += scnprintf(buf + off, buf_size - off, in ndev_debugfs_read() 889 off += scnprintf(buf + off, buf_size - off, in ndev_debugfs_read() 892 off += scnprintf(buf + off, buf_size - off, in ndev_debugfs_read() 896 off += scnprintf(buf + off, buf_size - off, in ndev_debugfs_read() 900 off += scnprintf(buf + off, buf_size - off, in ndev_debugfs_read() [all …]
|
| /drivers/ntb/hw/idt/ |
| A D | ntb_hw_idt.c | 2352 off += scnprintf(strbuf + off, size - off, in idt_dbgfs_info_read() 2356 off += scnprintf(strbuf + off, size - off, in idt_dbgfs_info_read() 2369 off += scnprintf(strbuf + off, size - off, in idt_dbgfs_info_read() 2393 off += scnprintf(strbuf + off, size - off, in idt_dbgfs_info_read() 2454 off += scnprintf(strbuf + off, size - off, in idt_dbgfs_info_read() 2457 off += scnprintf(strbuf + off, size - off, in idt_dbgfs_info_read() 2460 off += scnprintf(strbuf + off, size - off, in idt_dbgfs_info_read() 2465 off += scnprintf(strbuf + off, size - off, in idt_dbgfs_info_read() 2468 off += scnprintf(strbuf + off, size - off, in idt_dbgfs_info_read() 2471 off += scnprintf(strbuf + off, size - off, in idt_dbgfs_info_read() [all …]
|