Searched refs:OFFSET (Results 1 – 10 of 10) sorted by relevance
/drivers/net/ethernet/chelsio/cxgb/ |
D | pm3393.c | 48 #define OFFSET(REG_ADDR) ((REG_ADDR) << 2) macro 99 t1_tpi_read(cmac->adapter, OFFSET(reg), data32); in pmread() 105 t1_tpi_write(cmac->adapter, OFFSET(reg), data32); in pmwrite() 435 t1_tpi_read((mac)->adapter, OFFSET(name), &val0); \ 436 t1_tpi_read((mac)->adapter, OFFSET((name)+1), &val1); \ 437 t1_tpi_read((mac)->adapter, OFFSET((name)+2), &val2); \ 606 t1_tpi_write(adapter, OFFSET(0x0001), 0x00008000); in pm3393_mac_create() 607 t1_tpi_write(adapter, OFFSET(0x0001), 0x00000000); in pm3393_mac_create() 608 t1_tpi_write(adapter, OFFSET(0x2308), 0x00009800); in pm3393_mac_create() 609 t1_tpi_write(adapter, OFFSET(0x2305), 0x00001001); /* PL4IO Enable */ in pm3393_mac_create() [all …]
|
D | my3126.c | 34 #define OFFSET(REG_ADDR) (REG_ADDR << 2) macro 60 t1_tpi_write(adapter, OFFSET(SUNI1x10GEXP_REG_MSTAT_CONTROL), in my3126_interrupt_handler() 63 OFFSET(SUNI1x10GEXP_REG_MSTAT_COUNTER_1_LOW), &act_count); in my3126_interrupt_handler() 65 OFFSET(SUNI1x10GEXP_REG_MSTAT_COUNTER_33_LOW), &val); in my3126_interrupt_handler()
|
/drivers/xen/xen-pciback/ |
D | conf_space.c | 183 field_start = OFFSET(cfg_entry); in xen_pcibk_config_read() 184 field_end = OFFSET(cfg_entry) + field->size; in xen_pcibk_config_read() 229 field_start = OFFSET(cfg_entry); in xen_pcibk_config_write() 230 field_end = OFFSET(cfg_entry) + field->size; in xen_pcibk_config_write() 334 field->reset(dev, OFFSET(cfg_entry), cfg_entry->data); in xen_pcibk_config_reset_dev() 354 field->release(dev, OFFSET(cfg_entry), cfg_entry->data); in xen_pcibk_config_free_dev() 380 err = xen_pcibk_field_is_dup(dev, OFFSET(cfg_entry)); in xen_pcibk_config_add_field_offset() 385 tmp = field->init(dev, OFFSET(cfg_entry)); in xen_pcibk_config_add_field_offset() 396 OFFSET(cfg_entry)); in xen_pcibk_config_add_field_offset()
|
D | conf_space.h | 69 #define OFFSET(cfg_entry) ((cfg_entry)->base_offset+(cfg_entry)->field->offset) macro
|
D | conf_space_quirks.c | 55 if (OFFSET(cfg_entry) == reg) { in xen_pcibk_field_is_dup()
|
/drivers/hwmon/ |
D | adt7475.c | 31 #define OFFSET 3 macro 401 case OFFSET: in show_temp() 452 case OFFSET: in set_temp() 455 out = data->temp[OFFSET][sattr->index] = val / 1000; in set_temp() 458 out = data->temp[OFFSET][sattr->index] = val / 500; in set_temp() 505 case OFFSET: in set_temp() 964 set_temp, OFFSET, 0); 980 set_temp, OFFSET, 1); 997 set_temp, OFFSET, 2); 1593 data->temp[OFFSET][i] = in adt7475_update_device()
|
/drivers/media/dvb-frontends/ |
D | bcm3510_priv.h | 193 u8 OFFSET :1; member 218 u8 OFFSET :1; member
|
D | bcm3510.c | 544 cmd.ACQUIRE0.OFFSET = 0; in bcm3510_set_frontend()
|
/drivers/media/platform/davinci/ |
D | dm355_ccdc_regs.h | 51 #define OFFSET 0x6c macro
|
D | dm355_ccdc.c | 163 regw(ccdc_cfg.bayer.ccdc_offset, OFFSET); in ccdc_config_gain_offset()
|