/drivers/edac/ |
D | edac_mc.c | 61 dimm->location[i]); in edac_dimm_info_location() 84 char location[80]; in edac_mc_dump_dimm() local 86 edac_dimm_info_location(dimm, location, sizeof(location)); in edac_mc_dump_dimm() 90 number, location, dimm->csrow, dimm->cschannel); in edac_mc_dump_dimm() 413 dimm->location[j] = pos[j]; in edac_mc_alloc() 978 const char *location, in edac_ce_error() argument 998 location, detail, other_detail); in edac_ce_error() 1003 location, detail); in edac_ce_error() 1032 const char *location, in edac_ue_error() argument 1048 location, detail, other_detail); in edac_ue_error() [all …]
|
D | i82860_edac.c | 124 dimm->location[0], dimm->location[1], -1, in i82860_process_error_info() 129 dimm->location[0], dimm->location[1], -1, in i82860_process_error_info()
|
/drivers/net/ethernet/dec/tulip/ |
D | media.c | 48 int tulip_mdio_read(struct net_device *dev, int phy_id, int location) in tulip_mdio_read() argument 52 int read_cmd = (0xf6 << 10) | ((phy_id & 0x1f) << 5) | location; in tulip_mdio_read() 58 if (location & ~0x1f) in tulip_mdio_read() 62 if (comet_miireg2offset[location]) in tulip_mdio_read() 63 return ioread32(ioaddr + comet_miireg2offset[location]); in tulip_mdio_read() 69 iowrite32(0x60020000 + (phy_id<<23) + (location<<18), ioaddr + 0xA0); in tulip_mdio_read() 110 void tulip_mdio_write(struct net_device *dev, int phy_id, int location, int val) in tulip_mdio_write() argument 114 int cmd = (0x5002 << 16) | ((phy_id & 0x1f) << 23) | (location<<18) | (val & 0xffff); in tulip_mdio_write() 119 if (location & ~0x1f) in tulip_mdio_write() 123 if (comet_miireg2offset[location]) in tulip_mdio_write() [all …]
|
D | eeprom.c | 342 int tulip_read_eeprom(struct net_device *dev, int location, int addr_len) in tulip_read_eeprom() argument 348 int read_cmd = location | (EE_READ_CMD << addr_len); in tulip_read_eeprom() 353 if (location > (1 << addr_len) - 1) in tulip_read_eeprom()
|
D | tulip.h | 485 int tulip_read_eeprom(struct net_device *dev, int location, int addr_len); 498 int tulip_mdio_read(struct net_device *dev, int phy_id, int location); 499 void tulip_mdio_write(struct net_device *dev, int phy_id, int location, int value);
|
D | winbond-840.c | 325 static int eeprom_read(void __iomem *ioaddr, int location); 326 static int mdio_read(struct net_device *dev, int phy_id, int location); 327 static void mdio_write(struct net_device *dev, int phy_id, int location, int value); 504 static int eeprom_read(void __iomem *addr, int location) in eeprom_read() argument 509 int read_cmd = location | EE_ReadCmd; in eeprom_read() 568 static int mdio_read(struct net_device *dev, int phy_id, int location) in mdio_read() argument 572 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() 598 static void mdio_write(struct net_device *dev, int phy_id, int location, int value) in mdio_write() argument 602 int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value; in mdio_write() 605 if (location == 4 && phy_id == np->phys[0]) in mdio_write()
|
/drivers/staging/iio/Documentation/ |
D | generic_buffer.c | 52 channels[i].location = bytes; in size_from_channelarray() 54 channels[i].location = bytes - bytes%channels[i].bytes in size_from_channelarray() 56 bytes = channels[i].location + channels[i].bytes; in size_from_channelarray() 104 print2byte(*(uint16_t *)(data + channels[k].location), in process_scan() 110 (data + channels[k].location); in process_scan() 121 channels[k].location); in process_scan()
|
/drivers/net/ethernet/freescale/fs_enet/ |
D | mii-fec.c | 52 static int fs_enet_fec_mii_read(struct mii_bus *bus , int phy_id, int location) in fs_enet_fec_mii_read() argument 61 out_be32(&fecp->fec_mii_data, (phy_id << 23) | mk_mii_read(location)); in fs_enet_fec_mii_read() 75 static int fs_enet_fec_mii_write(struct mii_bus *bus, int phy_id, int location, u16 val) in fs_enet_fec_mii_write() argument 85 out_be32(&fecp->fec_mii_data, (phy_id << 23) | mk_mii_write(location, val)); in fs_enet_fec_mii_write()
|
/drivers/block/ |
D | swim.c | 173 enum drive_location location; /* internal or external drive */ member 311 enum drive_location location) in swim_drive() argument 313 if (location == INTERNAL_DRIVE) { in swim_drive() 316 } else if (location == EXTERNAL_DRIVE) { in swim_drive() 449 swim_drive(base, fs->location); in floppy_eject() 506 swim_drive(base, fs->location); in floppy_read_sectors() 754 swim_drive(base, fs->location); in floppy_revalidate() 789 static int swim_add_floppy(struct swim_priv *swd, enum drive_location location) in swim_add_floppy() argument 794 fs->location = location; in swim_add_floppy() 796 swim_drive(base, location); in swim_add_floppy()
|
/drivers/md/persistent-data/ |
D | dm-btree.c | 415 __le64 location; in btree_split_sibling() local 448 location = cpu_to_le64(dm_block_location(left)); in btree_split_sibling() 449 __dm_bless_for_disk(&location); in btree_split_sibling() 451 &location, sizeof(__le64)); in btree_split_sibling() 453 location = cpu_to_le64(dm_block_location(right)); in btree_split_sibling() 454 __dm_bless_for_disk(&location); in btree_split_sibling() 457 le64_to_cpu(rn->keys[0]), &location); in btree_split_sibling() 599 __le64 location = cpu_to_le64(dm_block_location(shadow_current(s))); in btree_insert_raw() local 601 __dm_bless_for_disk(&location); in btree_insert_raw() 603 &location, sizeof(__le64)); in btree_insert_raw()
|
/drivers/gpu/drm/nouveau/core/subdev/bios/ |
D | dcb.c | 113 return (outp->extdev << 8) | (outp->location << 4) | outp->type; in dcb_outp_hasht() 131 outp->location = (conn & 0x00300000) >> 20; in dcb_outp_parse() 151 if (outp->location != 0) in dcb_outp_parse()
|
/drivers/tty/serial/ |
D | efm32-uart.c | 308 UARTn_ROUTE_LOCATION(efm_port->pdata.location) | in efm32_uart_startup() 668 u32 location; in efm32_uart_probe_dt() local 674 ret = of_property_read_u32(np, "location", &location); in efm32_uart_probe_dt() 676 if (location > 5) { in efm32_uart_probe_dt() 680 efm_debug(efm_port, "using location %u\n", location); in efm32_uart_probe_dt() 681 efm_port->pdata.location = location; in efm32_uart_probe_dt()
|
/drivers/video/console/ |
D | mdacon.c | 149 static inline void mda_set_cursor(unsigned int location) in mda_set_cursor() argument 151 if (mda_cursor_loc == location) in mda_set_cursor() 154 write_mda_w(location >> 1, 0x0e); in mda_set_cursor() 156 mda_cursor_loc = location; in mda_set_cursor()
|
/drivers/platform/x86/ |
D | hp-wmi.c | 458 u32 *location; in hp_wmi_notify() local 481 location = (u32 *)obj->buffer.pointer; in hp_wmi_notify() 483 event_id = *location; in hp_wmi_notify() 484 event_data = *(location + 1); in hp_wmi_notify() 486 event_id = *location; in hp_wmi_notify() 487 event_data = *(location + 2); in hp_wmi_notify()
|
/drivers/net/ethernet/realtek/ |
D | 8139too.c | 634 static int read_eeprom (void __iomem *ioaddr, int location, int addr_len); 636 static int mdio_read (struct net_device *dev, int phy_id, int location); 637 static void mdio_write (struct net_device *dev, int phy_id, int location, 1143 static int read_eeprom(void __iomem *ioaddr, int location, int addr_len) in read_eeprom() argument 1147 int read_cmd = location | (EE_READ_CMD << addr_len); in read_eeprom() 1224 static int mdio_read (struct net_device *dev, int phy_id, int location) in mdio_read() argument 1230 int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() 1236 return location < 8 && mii_2_8139_map[location] ? in mdio_read() 1237 RTL_R16 (mii_2_8139_map[location]) : 0; in mdio_read() 1266 static void mdio_write (struct net_device *dev, int phy_id, int location, in mdio_write() argument [all …]
|
D | 8139cp.c | 1272 static int mdio_read(struct net_device *dev, int phy_id, int location) in mdio_read() argument 1276 return location < 8 && mii_2_8139_map[location] ? in mdio_read() 1277 readw(cp->regs + mii_2_8139_map[location]) : 0; in mdio_read() 1281 static void mdio_write(struct net_device *dev, int phy_id, int location, in mdio_write() argument 1286 if (location == 0) { in mdio_write() 1290 } else if (location < 8 && mii_2_8139_map[location]) in mdio_write() 1291 cpw16(mii_2_8139_map[location], value); in mdio_write() 1678 static u16 read_eeprom (void __iomem *ioaddr, int location, int addr_len) in read_eeprom() argument 1683 int read_cmd = location | (EE_READ_CMD << addr_len); in read_eeprom() 1703 static void write_eeprom(void __iomem *ioaddr, int location, u16 val, in write_eeprom() argument [all …]
|
/drivers/net/ethernet/packetengines/ |
D | yellowfin.c | 341 static int read_eeprom(void __iomem *ioaddr, int location); 342 static int mdio_read(void __iomem *ioaddr, int phy_id, int location); 343 static void mdio_write(void __iomem *ioaddr, int phy_id, int location, int value); 525 static int read_eeprom(void __iomem *ioaddr, int location) in read_eeprom() argument 529 iowrite8(location, ioaddr + EEAddr); in read_eeprom() 530 iowrite8(0x30 | ((location >> 8) & 7), ioaddr + EECtrl); in read_eeprom() 540 static int mdio_read(void __iomem *ioaddr, int phy_id, int location) in mdio_read() argument 544 iowrite16((phy_id<<8) + location, ioaddr + MII_Addr); in mdio_read() 552 static void mdio_write(void __iomem *ioaddr, int phy_id, int location, int value) in mdio_write() argument 556 iowrite16((phy_id<<8) + location, ioaddr + MII_Addr); in mdio_write()
|
/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 619 if (cmd->fs.location >= MAX_NUM_OF_FS_RULES) in mlx4_en_validate_flow() 896 rule.priority = MLX4_DOMAIN_ETHTOOL | cmd->fs.location; in mlx4_en_flow_replace() 922 loc_rule = &priv->ethtool_rules[cmd->fs.location]; in mlx4_en_flow_replace() 927 cmd->fs.location, loc_rule->id); in mlx4_en_flow_replace() 938 cmd->fs.location); in mlx4_en_flow_replace() 961 if (cmd->fs.location >= MAX_NUM_OF_FS_RULES) in mlx4_en_flow_detach() 964 rule = &priv->ethtool_rules[cmd->fs.location]; in mlx4_en_flow_detach() 973 cmd->fs.location, rule->id); in mlx4_en_flow_detach() 1039 err = mlx4_en_get_flow(dev, cmd, cmd->fs.location); in mlx4_en_get_rxnfc()
|
/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1627 if (comp->fs.location > flow->location) { in gfar_add_cls() 1631 if (comp->fs.location == flow->location) { in gfar_add_cls() 1634 flow->location); in gfar_add_cls() 1665 if (comp->fs.location == loc) { in gfar_del_cls() 1684 if (comp->fs.location == cmd->fs.location) { in gfar_get_cls() 1704 rule_locs[i] = comp->fs.location; in gfar_get_cls_all() 1728 cmd->fs.location >= MAX_FILER_IDX) { in gfar_set_nfc() 1735 ret = gfar_del_cls(priv, cmd->fs.location); in gfar_set_nfc()
|
/drivers/net/usb/ |
D | mcs7830.c | 322 int location) in mcs7830_mdio_read() argument 325 return mcs7830_read_phy(dev, location); in mcs7830_mdio_read() 329 int location, int val) in mcs7830_mdio_write() argument 332 mcs7830_write_phy(dev, location, val); in mcs7830_mdio_write()
|
/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_sysfs.c | 48 ixgbe_attr->sensor->location); in ixgbe_hwmon_show_location() 224 if (adapter->hw.mac.thermal_sensor_data.sensor[i].location == 0) in ixgbe_sysfs_init()
|
/drivers/net/ethernet/intel/igb/ |
D | igb_hwmon.c | 54 igb_attr->sensor->location); in igb_hwmon_show_location() 238 if (adapter->hw.mac.thermal_sensor_data.sensor[i].location == 0) in igb_sysfs_init()
|
/drivers/gpu/drm/nouveau/dispnv04/ |
D | dfp.c | 158 if (dcb->type != DCB_OUTPUT_TMDS || dcb->location == DCB_LOC_ON_CHIP) in get_tmds_slave() 209 if (nv_encoder->dcb->location != DCB_LOC_ON_CHIP) in nv04_dfp_prepare_sel_clk() 261 if (nv_encoder->dcb->location == DCB_LOC_ON_CHIP) in nv04_dfp_prepare() 340 if (nv_encoder->dcb->location != DCB_LOC_ON_CHIP && in nv04_dfp_mode_set() 715 entry->location != DCB_LOC_ON_CHIP) in nv04_dfp_create()
|
/drivers/usb/misc/sisusbvga/ |
D | sisusb_con.c | 116 sisusb_set_cursor(struct sisusb_usb_data *sisusb, unsigned int location) in sisusb_set_cursor() argument 118 if (sisusb->sisusb_cursor_loc == location) in sisusb_set_cursor() 121 sisusb->sisusb_cursor_loc = location; in sisusb_set_cursor() 128 if ((location & 0x0007) == 0x0007) { in sisusb_set_cursor() 130 location--; in sisusb_set_cursor() 139 if (sisusb_setidxreg(sisusb, SISCR, 0x0e, (location >> 8))) in sisusb_set_cursor() 141 sisusb_setidxreg(sisusb, SISCR, 0x0f, (location & 0xff)); in sisusb_set_cursor()
|
/drivers/net/ethernet/3com/ |
D | 3c574_cs.c | 222 static int mdio_read(unsigned int ioaddr, int phy_id, int location); 223 static void mdio_write(unsigned int ioaddr, int phy_id, int location, 544 static int mdio_read(unsigned int ioaddr, int phy_id, int location) in mdio_read() argument 547 int read_cmd = (0xf6 << 10) | (phy_id << 5) | location; in mdio_read() 569 static void mdio_write(unsigned int ioaddr, int phy_id, int location, int value) in mdio_write() argument 571 int write_cmd = 0x50020000 | (phy_id << 23) | (location << 18) | value; in mdio_write()
|