for (port = MAX(baseport, HD64465_IOMAP_LO_THRESH) ; 
for (port = max_t(unsigned int, baseport, HD64465_IOMAP_LO_THRESH); 
void hd64465_port_map(unsigned short baseport, unsigned int nports,		      unsigned long addr, unsigned char shift){    	unsigned int port, endport = baseport + nports;    	DPRINTK("hd64465_port_map(base=0x%04hx, n=0x%04hx, addr=0x%08lx,endport=0x%04x)\n",	    baseport, nports, addr,endport);	    	for (port = baseport ;	     port < endport && port < HD64465_IOMAP_LO_THRESH ;	     port += (1<<HD64465_IOMAP_LO_SHIFT)) {	    DPRINTK("    maplo[0x%x] = 0x%08lx\n", port, addr);    	    hd64465_iomap_lo[port>>HD64465_IOMAP_LO_SHIFT] = addr;    	    hd64465_iomap_lo_shift[port>>HD64465_IOMAP_LO_SHIFT] = shift;	    addr += (1<<(HD64465_IOMAP_LO_SHIFT));	}	for (port = MAX(baseport, HD64465_IOMAP_LO_THRESH) ;	     port < endport && port < HD64465_IOMAP_HI_THRESH ;	     port += (1<<HD64465_IOMAP_HI_SHIFT)) {	    DPRINTK("    maphi[0x%x] = 0x%08lx\n", port, addr);    	    hd64465_iomap_hi[port>>HD64465_IOMAP_HI_SHIFT] = addr;    	    hd64465_iomap_hi_shift[port>>HD64465_IOMAP_HI_SHIFT] = shift;	    addr += (1<<(HD64465_IOMAP_HI_SHIFT));	}}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/31a34571e5eed7cb1d70d5e7edd013261fe602e9/io.c/clean/arch/sh/cchips/hd6446x/hd64465/io.c