Searched refs:ADDR_IN_RANGE (Results 1 – 6 of 6) sorted by relevance
/linux-2.6.39/drivers/net/netxen/ |
D | netxen_nic_hw.c | 75 if (ADDR_IN_RANGE(off, FIRST_PAGE_GROUP_START, FIRST_PAGE_GROUP_END)) in pci_base_offset() 78 if (ADDR_IN_RANGE(off, SECOND_PAGE_GROUP_START, SECOND_PAGE_GROUP_END)) in pci_base_offset() 81 if (ADDR_IN_RANGE(off, THIRD_PAGE_GROUP_START, THIRD_PAGE_GROUP_END)) in pci_base_offset() 1376 if (ADDR_IN_RANGE(addr, NETXEN_ADDR_OCM0, NETXEN_ADDR_OCM0_MAX)) { in netxen_nic_pci_set_window_128M() 1379 } else if (ADDR_IN_RANGE(addr, in netxen_nic_pci_set_window_128M() 1488 if (ADDR_IN_RANGE(off, NETXEN_ADDR_QDR_NET, in netxen_nic_pci_mem_write_128M() 1500 if (ADDR_IN_RANGE(off, NETXEN_ADDR_DDR_NET, NETXEN_ADDR_DDR_NET_MAX)) { in netxen_nic_pci_mem_write_128M() 1511 if (ADDR_IN_RANGE(off, NETXEN_ADDR_OCM0, NETXEN_ADDR_OCM0_MAX) || in netxen_nic_pci_mem_write_128M() 1512 ADDR_IN_RANGE(off, NETXEN_ADDR_OCM1, NETXEN_ADDR_OCM1_MAX)) { in netxen_nic_pci_mem_write_128M() 1566 if (ADDR_IN_RANGE(off, NETXEN_ADDR_QDR_NET, in netxen_nic_pci_mem_read_128M() [all …]
|
D | netxen_nic_main.c | 2603 if (ADDR_IN_RANGE(offset, NETXEN_PCI_CAMQM, in netxen_sysfs_validate_crb() 2632 ADDR_IN_RANGE(offset, NETXEN_PCI_CAMQM, in netxen_sysfs_read_crb() 2660 ADDR_IN_RANGE(offset, NETXEN_PCI_CAMQM, in netxen_sysfs_write_crb()
|
D | netxen_nic.h | 98 #define ADDR_IN_RANGE(addr, low, high) \ macro
|
/linux-2.6.39/drivers/net/qlcnic/ |
D | qlcnic_hw.c | 979 if (ADDR_IN_RANGE(off, QLCNIC_ADDR_QDR_NET, in qlcnic_pci_mem_write_2M() 986 if (ADDR_IN_RANGE(off, QLCNIC_ADDR_DDR_NET, QLCNIC_ADDR_DDR_NET_MAX)) { in qlcnic_pci_mem_write_2M() 992 if (ADDR_IN_RANGE(off, QLCNIC_ADDR_OCM0, QLCNIC_ADDR_OCM0_MAX)) in qlcnic_pci_mem_write_2M() 1071 if (ADDR_IN_RANGE(off, QLCNIC_ADDR_QDR_NET, in qlcnic_pci_mem_read_2M() 1078 if (ADDR_IN_RANGE(off, QLCNIC_ADDR_DDR_NET, QLCNIC_ADDR_DDR_NET_MAX)) { in qlcnic_pci_mem_read_2M() 1084 if (ADDR_IN_RANGE(off, QLCNIC_ADDR_OCM0, QLCNIC_ADDR_OCM0_MAX)) { in qlcnic_pci_mem_read_2M()
|
D | qlcnic.h | 1230 #define ADDR_IN_RANGE(addr, low, high) \ macro
|
D | qlcnic_main.c | 3279 if (ADDR_IN_RANGE(offset, QLCNIC_PCI_CAMQM, in qlcnic_sysfs_validate_crb() 3307 if (ADDR_IN_RANGE(offset, QLCNIC_PCI_CAMQM, QLCNIC_PCI_CAMQM_END)) { in qlcnic_sysfs_read_crb() 3332 if (ADDR_IN_RANGE(offset, QLCNIC_PCI_CAMQM, QLCNIC_PCI_CAMQM_END)) { in qlcnic_sysfs_write_crb()
|