tm_wday           214 arch/m68k/apollo/config.c     t->tm_wday=rtc->day_of_week;
tm_wday           224 arch/m68k/apollo/config.c     if(t->tm_wday!=-1)
tm_wday           225 arch/m68k/apollo/config.c       rtc->day_of_week=t->tm_wday;
tm_wday           172 arch/m68k/atari/time.c         val.weekday = t->tm_wday;
tm_wday           193 arch/m68k/atari/time.c         t->tm_wday = val.weekday;
tm_wday           217 arch/m68k/atari/time.c         wday = t->tm_wday + (t->tm_wday >= 0);
tm_wday           314 arch/m68k/atari/time.c         t->tm_wday = wday - 1;
tm_wday           306 arch/m68k/bvme6000/config.c 		if (t->tm_wday >= 0)
tm_wday           307 arch/m68k/bvme6000/config.c 			rtc->bcd_dow = bin2bcd(t->tm_wday+1);
tm_wday           321 arch/m68k/bvme6000/config.c 			t->tm_wday = bcd2bin(rtc->bcd_dow)-1;
tm_wday            64 arch/m68k/bvme6000/rtc.c 			wtime.tm_wday = bcd2bin(rtc->bcd_dow)-1;
tm_wday           119 arch/m68k/bvme6000/rtc.c 		if (rtc_tm.tm_wday >= 0)
tm_wday           120 arch/m68k/bvme6000/rtc.c 			rtc->bcd_dow = bin2bcd(rtc_tm.tm_wday+1);
tm_wday           212 arch/m68k/hp300/config.c 		t->tm_wday = -1;
tm_wday           636 arch/m68k/mac/misc.c 		t->tm_wday = 0;
tm_wday            60 arch/m68k/mvme16x/rtc.c 		wtime.tm_wday = bcd2bin(rtc->bcd_dow)-1;
tm_wday           229 arch/m68k/q40/config.c 		if (t->tm_wday >= 0)
tm_wday           230 arch/m68k/q40/config.c 			Q40_RTC_DOW = bin2bcd(t->tm_wday+1);
tm_wday           248 arch/m68k/q40/config.c 		t->tm_wday = bcd2bin(Q40_RTC_DOW)-1;
tm_wday            47 arch/m68k/sun3/intersil.c 		todintersil->weekday = t->tm_wday;
tm_wday            57 arch/m68k/sun3/intersil.c 		t->tm_wday = todintersil->weekday;
tm_wday            53 arch/m68k/sun3x/time.c 		h->wday = bin2bcd(t->tm_wday);
tm_wday            63 arch/m68k/sun3x/time.c 		t->tm_wday = bcd2bin(h->wday);
tm_wday           165 arch/mips/sibyte/swarm/rtc_m41t81.c 	if (tm.tm_wday == 0) tm.tm_wday = 7;
tm_wday           166 arch/mips/sibyte/swarm/rtc_m41t81.c 	tm.tm_wday = bin2bcd(tm.tm_wday);
tm_wday           167 arch/mips/sibyte/swarm/rtc_m41t81.c 	m41t81_write(M41T81REG_DY, tm.tm_wday);
tm_wday            75 arch/powerpc/platforms/maple/time.c 	tm->tm_wday = -1;
tm_wday            30 arch/powerpc/platforms/powernv/opal-rtc.c 	tm->tm_wday     = -1;
tm_wday            97 drivers/base/power/trace.c 		.tm_wday = 3,
tm_wday           129 drivers/char/efirtc.c 	wtime->tm_wday = compute_wday(eft);
tm_wday          1214 drivers/char/rtc.c 	rtc_tm->tm_wday = CMOS_READ(RTC_DAY_OF_WEEK);
tm_wday          1229 drivers/char/rtc.c 		rtc_tm->tm_wday = bcd2bin(rtc_tm->tm_wday);
tm_wday           124 drivers/input/misc/hp_sdc_rtc.c 	rtctm->tm_wday = (tseq[48] & 0x0f);
tm_wday           373 drivers/macintosh/smu.c 	cmd_buf->data[4] = time->tm_wday;
tm_wday           398 drivers/macintosh/smu.c 	time->tm_wday = bcd2hex(cmd.buffer[3]);
tm_wday           420 drivers/macintosh/smu.c 			      time->tm_wday,
tm_wday           191 drivers/media/platform/vivid/vivid-vbi-gen.c 	packet[6] = calc_parity(0x40 | (1 + tm.tm_wday));
tm_wday           912 drivers/mfd/menelaus.c 	t->tm_wday = bcd2bin(regs[6]);
tm_wday           925 drivers/mfd/menelaus.c 	status = menelaus_write_reg(MENELAUS_RTC_WKDAY, bin2bcd(t->tm_wday));
tm_wday           273 drivers/rtc/dev.c 		alarm.time.tm_wday = -1;
tm_wday           200 drivers/rtc/interface.c 		alarm->time.tm_wday = -1;
tm_wday            58 drivers/rtc/lib.c 	tm->tm_wday = (days + 4) % 7;
tm_wday           241 drivers/rtc/rtc-ab-b5ze-s3.c 	tm->tm_wday = bcd2bin(regs[ABB5ZES3_REG_RTC_DW]);
tm_wday           258 drivers/rtc/rtc-ab-b5ze-s3.c 	regs[ABB5ZES3_REG_RTC_DW] = bin2bcd(tm->tm_wday);
tm_wday           372 drivers/rtc/rtc-ab-b5ze-s3.c 	alarm_tm->tm_wday = -1;
tm_wday           155 drivers/rtc/rtc-ab-eoz9.c 	tm->tm_wday = bcd2bin(regs[ABEOZ9_REG_WEEKDAYS - ABEOZ9_REG_SEC]);
tm_wday           173 drivers/rtc/rtc-ab-eoz9.c 	regs[ABEOZ9_REG_WEEKDAYS - ABEOZ9_REG_SEC] = bin2bcd(tm->tm_wday);
tm_wday           192 drivers/rtc/rtc-abx80x.c 	tm->tm_wday = buf[ABX8XX_REG_WD] & 0x7;
tm_wday           216 drivers/rtc/rtc-abx80x.c 	buf[ABX8XX_REG_WD] = tm->tm_wday;
tm_wday           290 drivers/rtc/rtc-abx80x.c 	t->time.tm_wday = buf[5] & 0x7;
tm_wday           398 drivers/rtc/rtc-ac100.c 	rtc_tm->tm_wday = bcd2bin(reg[3] & AC100_RTC_WEE_MASK);
tm_wday           426 drivers/rtc/rtc-ac100.c 	reg[3] = bin2bcd(rtc_tm->tm_wday)    & AC100_RTC_WEE_MASK;
tm_wday           473 drivers/rtc/rtc-ac100.c 	alrm_tm->tm_wday = bcd2bin(reg[3] & AC100_ALM_WEE_MASK);
tm_wday           507 drivers/rtc/rtc-ac100.c 	reg[3] = bin2bcd(alrm_tm->tm_wday) & AC100_ALM_WEE_MASK;
tm_wday           158 drivers/rtc/rtc-asm9260.c 	tm->tm_wday = (ctime0 >> BM_CTIME0_DOW_S)  & BM_CTIME0_DOW_M;
tm_wday           182 drivers/rtc/rtc-asm9260.c 	iowrite32(tm->tm_wday, priv->iobase + HW_DOW);
tm_wday           198 drivers/rtc/rtc-asm9260.c 	alrm->time.tm_wday = ioread32(priv->iobase + HW_ALDOW);
tm_wday           217 drivers/rtc/rtc-asm9260.c 	iowrite32(alrm->time.tm_wday, priv->iobase + HW_ALDOW);
tm_wday           131 drivers/rtc/rtc-at91rm9200.c 	tm->tm_wday = bcd2bin((date & AT91_RTC_DAY) >> 21) - 1;	/* day of the week [0-6], Sunday=0 */
tm_wday           178 drivers/rtc/rtc-at91rm9200.c 			| bin2bcd(tm->tm_wday + 1) << 21	/* day of the week [0-6], Sunday=0 */
tm_wday           191 drivers/rtc/rtc-bd70528.c 	r->week |= bin2bcd(t->tm_wday);
tm_wday           213 drivers/rtc/rtc-bd70528.c 	t->tm_wday = bcd2bin(r->week & BD70528_MASK_RTC_WEEK);
tm_wday           109 drivers/rtc/rtc-bq32k.c 	tm->tm_wday = bcd2bin(regs.day) - 1;
tm_wday           124 drivers/rtc/rtc-bq32k.c 	regs.day = bin2bcd(tm->tm_wday + 1);
tm_wday            68 drivers/rtc/rtc-bq4802.c 	tm->tm_wday = p->read(p, 0x08);
tm_wday            81 drivers/rtc/rtc-bq4802.c 	tm->tm_wday = bcd2bin(tm->tm_wday);
tm_wday           145 drivers/rtc/rtc-cadence.c 	tm->tm_wday = bcd2bin(FIELD_GET(CDNS_RTC_CAL_DAY, reg)) - 1;
tm_wday           167 drivers/rtc/rtc-cadence.c 	     | FIELD_PREP(CDNS_RTC_CAL_DAY, tm->tm_wday + 1);
tm_wday            95 drivers/rtc/rtc-ds1216.c 	tm->tm_wday = (regs.wday & 7) - 1;
tm_wday           123 drivers/rtc/rtc-ds1216.c 	regs.wday |= tm->tm_wday;
tm_wday           274 drivers/rtc/rtc-ds1286.c 	alm->time.tm_wday = ds1286_rtc_read(priv, RTC_DAY_ALARM)    & 0x07;
tm_wday            65 drivers/rtc/rtc-ds1302.c 	*bp++ = time->tm_wday + 1;
tm_wday            93 drivers/rtc/rtc-ds1302.c 	time->tm_wday = buf[RTC_ADDR_DAY] - 1;
tm_wday           191 drivers/rtc/rtc-ds1305.c 	time->tm_wday = buf[DS1305_WDAY] - 1;
tm_wday           200 drivers/rtc/rtc-ds1305.c 		time->tm_mon, time->tm_year, time->tm_wday);
tm_wday           215 drivers/rtc/rtc-ds1305.c 		time->tm_mon, time->tm_year, time->tm_wday);
tm_wday           223 drivers/rtc/rtc-ds1305.c 	*bp++ = (time->tm_wday < 7) ? (time->tm_wday + 1) : 1;
tm_wday           268 drivers/rtc/rtc-ds1307.c 	t->tm_wday = bcd2bin(regs[DS1307_REG_WDAY] & 0x07) - 1;
tm_wday           282 drivers/rtc/rtc-ds1307.c 		t->tm_mon, t->tm_year, t->tm_wday);
tm_wday           299 drivers/rtc/rtc-ds1307.c 		t->tm_mon, t->tm_year, t->tm_wday);
tm_wday           315 drivers/rtc/rtc-ds1307.c 	regs[DS1307_REG_WDAY] = bin2bcd(t->tm_wday + 1);
tm_wday           571 drivers/rtc/rtc-ds1307.c 	t->time.tm_wday = -1;
tm_wday           580 drivers/rtc/rtc-ds1307.c 		t->time.tm_wday, t->time.tm_mday, t->time.tm_mon, t->enabled);
tm_wday           597 drivers/rtc/rtc-ds1307.c 		t->time.tm_wday, t->time.tm_mday, t->time.tm_mon,
tm_wday           707 drivers/rtc/rtc-ds1307.c 	t->time.tm_wday = bcd2bin(regs[6] & 0x7) - 1;
tm_wday           717 drivers/rtc/rtc-ds1307.c 		t->time.tm_wday, t->time.tm_mday, t->time.tm_mon, t->enabled,
tm_wday           741 drivers/rtc/rtc-ds1307.c 	return (tm_now.tm_wday + days_alarm - days_now) % 7 + 1;
tm_wday           760 drivers/rtc/rtc-ds1307.c 		t->time.tm_wday, t->time.tm_mday, t->time.tm_mon,
tm_wday           248 drivers/rtc/rtc-ds1343.c 	dt->tm_wday	= bcd2bin(buf[3]) - 1;
tm_wday           277 drivers/rtc/rtc-ds1343.c 				bin2bcd(dt->tm_wday + 1));
tm_wday            62 drivers/rtc/rtc-ds1347.c 	dt->tm_wday = bcd2bin(buf[5]) - 1;
tm_wday            81 drivers/rtc/rtc-ds1347.c 	buf[5] = bin2bcd(dt->tm_wday + 1);
tm_wday           146 drivers/rtc/rtc-ds1390.c 	dt->tm_wday	= bcd2bin(chip->txrx_buf[3]);
tm_wday           166 drivers/rtc/rtc-ds1390.c 	chip->txrx_buf[4] = bin2bcd(dt->tm_wday);
tm_wday           198 drivers/rtc/rtc-ds1511.c 	dow = rtc_tm->tm_wday & 0x7; /* automatic BCD */
tm_wday           251 drivers/rtc/rtc-ds1511.c 	rtc_tm->tm_wday = rtc_read(RTC_DOW) & 0x7;
tm_wday           263 drivers/rtc/rtc-ds1511.c 	rtc_tm->tm_wday = bcd2bin(rtc_tm->tm_wday);
tm_wday            83 drivers/rtc/rtc-ds1553.c 	writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY);
tm_wday           120 drivers/rtc/rtc-ds1553.c 	tm->tm_wday = bcd2bin(week);
tm_wday           259 drivers/rtc/rtc-ds1685.c 	tm->tm_wday  = (ds1685_rtc_bcd2bin(rtc, wday, RTC_WDAY_MASK,
tm_wday           290 drivers/rtc/rtc-ds1685.c 	wday    = ds1685_rtc_bin2bcd(rtc, (tm->tm_wday + 1), RTC_WDAY_MASK,
tm_wday           456 drivers/rtc/rtc-ds1685.c 	alrm->time.tm_wday	= -1;
tm_wday            68 drivers/rtc/rtc-ds1742.c 	writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY);
tm_wday           105 drivers/rtc/rtc-ds1742.c 	tm->tm_wday = bcd2bin(week);
tm_wday           139 drivers/rtc/rtc-ds3232.c 	time->tm_wday = bcd2bin(week) - 1;
tm_wday           162 drivers/rtc/rtc-ds3232.c 	buf[3] = bin2bcd(time->tm_wday + 1);
tm_wday            99 drivers/rtc/rtc-efi.c 	wtime->tm_wday = compute_wday(eft, wtime->tm_yday);
tm_wday            73 drivers/rtc/rtc-em3027.c 	tm->tm_wday	= bcd2bin(buf[4]);
tm_wday            96 drivers/rtc/rtc-em3027.c 	buf[5] = bin2bcd(tm->tm_wday);
tm_wday           121 drivers/rtc/rtc-fm3130.c 	t->tm_wday = bcd2bin(fm3130->regs[FM3130_RTC_DAY] & 0x07) - 1;
tm_wday           133 drivers/rtc/rtc-fm3130.c 		t->tm_mon, t->tm_year, t->tm_wday);
tm_wday           149 drivers/rtc/rtc-fm3130.c 		t->tm_mon, t->tm_year, t->tm_wday);
tm_wday           155 drivers/rtc/rtc-fm3130.c 	buf[FM3130_RTC_DAY] = bin2bcd(t->tm_wday + 1);
tm_wday           224 drivers/rtc/rtc-fm3130.c 		tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           249 drivers/rtc/rtc-fm3130.c 		tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           111 drivers/rtc/rtc-hym8563.c 	tm->tm_wday = bcd2bin(buf[4] & HYM8563_WEEKDAY_MASK); /* 0 = Sun */
tm_wday           133 drivers/rtc/rtc-hym8563.c 	buf[4] = bin2bcd(tm->tm_wday);
tm_wday           206 drivers/rtc/rtc-hym8563.c 	alm_tm->tm_wday = (buf[3] & HYM8563_ALM_BIT_DISABLE) ?
tm_wday           264 drivers/rtc/rtc-hym8563.c 	buf[3] = (alm_tm->tm_wday < 7 && alm_tm->tm_wday >= 0) ?
tm_wday           265 drivers/rtc/rtc-hym8563.c 			bin2bcd(alm_tm->tm_wday) : HYM8563_ALM_BIT_DISABLE;
tm_wday           140 drivers/rtc/rtc-isl12022.c 	tm->tm_wday = buf[ISL12022_REG_DW] & 0x07;
tm_wday           148 drivers/rtc/rtc-isl12022.c 		tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           165 drivers/rtc/rtc-isl12022.c 		tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           217 drivers/rtc/rtc-isl12022.c 	buf[ISL12022_REG_DW] = tm->tm_wday & 0x07;
tm_wday           190 drivers/rtc/rtc-isl12026.c 	op[8] = bin2bcd(tm->tm_wday & 7); /* DW */
tm_wday           266 drivers/rtc/rtc-isl12026.c 	tm->tm_wday = ccr[6] & 0x07;
tm_wday           341 drivers/rtc/rtc-isl1208.c 	tm->tm_wday = bcd2bin(regs[ISL1208_REG_DW]);
tm_wday           373 drivers/rtc/rtc-isl1208.c 	tm->tm_wday = bcd2bin(regs[ISL1208_REG_DWA - ISL1208_REG_SCA] & 0x03);
tm_wday           420 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_DWA - offs] = bin2bcd(alarm_tm->tm_wday & 7) | enable;
tm_wday           465 drivers/rtc/rtc-isl1208.c 	regs[ISL1208_REG_DW] = bin2bcd(tm->tm_wday & 7);
tm_wday            98 drivers/rtc/rtc-lp8788.c static inline int _to_lp8788_wday(int tm_wday)
tm_wday           100 drivers/rtc/rtc-lp8788.c 	return LP8788_WDAY_SET << (tm_wday - 1);
tm_wday           128 drivers/rtc/rtc-lp8788.c 	tm->tm_wday = _to_tm_wday(data[LPTIME_WDAY]);
tm_wday           182 drivers/rtc/rtc-lp8788.c 	tm->tm_wday = _to_tm_wday(data[LPTIME_WDAY]);
tm_wday           208 drivers/rtc/rtc-lp8788.c 	data[LPTIME_WDAY] = _to_lp8788_wday(tm->tm_wday);
tm_wday            79 drivers/rtc/rtc-lpc24xx.c 	rtc_writel(rtc, LPC24XX_DOW,	tm->tm_wday);
tm_wday           102 drivers/rtc/rtc-lpc24xx.c 	tm->tm_wday = CT0_DOW(ct0);
tm_wday           120 drivers/rtc/rtc-lpc24xx.c 	tm->tm_wday = rtc_readl(rtc, LPC24XX_ALDOW);
tm_wday           143 drivers/rtc/rtc-lpc24xx.c 	rtc_writel(rtc, LPC24XX_ALDOW,  tm->tm_wday);
tm_wday           223 drivers/rtc/rtc-m41t80.c 	tm->tm_wday = buf[M41T80_REG_WDAY] & 0x07;
tm_wday           248 drivers/rtc/rtc-m41t80.c 	buf[M41T80_REG_WDAY] = tm->tm_wday;
tm_wday            56 drivers/rtc/rtc-m41t93.c 		tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday            93 drivers/rtc/rtc-m41t93.c 	data[M41T93_REG_WDAY]		= bin2bcd(tm->tm_wday + 1);
tm_wday           148 drivers/rtc/rtc-m41t93.c 	tm->tm_wday	= bcd2bin(buf[M41T93_REG_WDAY] & 0x0f) - 1;
tm_wday           157 drivers/rtc/rtc-m41t93.c 		tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday            38 drivers/rtc/rtc-m41t94.c 		tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday            44 drivers/rtc/rtc-m41t94.c 	buf[M41T94_REG_WDAY]    = bin2bcd(tm->tm_wday + 1);
tm_wday            86 drivers/rtc/rtc-m41t94.c 	tm->tm_wday = bcd2bin(spi_w8r8(spi, M41T94_REG_WDAY)) - 1;
tm_wday            97 drivers/rtc/rtc-m41t94.c 		tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday            90 drivers/rtc/rtc-m48t59.c 	tm->tm_wday	= bcd2bin(val & 0x07);
tm_wday           137 drivers/rtc/rtc-m48t59.c 	val |= (bin2bcd(tm->tm_wday) & 0x07);
tm_wday            81 drivers/rtc/rtc-m48t86.c 		tm->tm_wday	= m48t86_readb(dev, M48T86_DOW);
tm_wday            92 drivers/rtc/rtc-m48t86.c 		tm->tm_wday	= bcd2bin(m48t86_readb(dev, M48T86_DOW));
tm_wday           121 drivers/rtc/rtc-m48t86.c 		m48t86_writeb(dev, tm->tm_wday, M48T86_DOW);
tm_wday           130 drivers/rtc/rtc-m48t86.c 		m48t86_writeb(dev, bin2bcd(tm->tm_wday), M48T86_DOW);
tm_wday           159 drivers/rtc/rtc-max6900.c 	tm->tm_wday = bcd2bin(regs[MAX6900_REG_DW]);
tm_wday           184 drivers/rtc/rtc-max6900.c 	regs[MAX6900_REG_DW] = bin2bcd(tm->tm_wday);
tm_wday            71 drivers/rtc/rtc-max6902.c 	dt->tm_wday	= bcd2bin(buf[5]);
tm_wday           100 drivers/rtc/rtc-max6902.c 	max6902_set_reg(dev, MAX6902_REG_DAY, bin2bcd(dt->tm_wday));
tm_wday            71 drivers/rtc/rtc-max6916.c 	dt->tm_wday = bcd2bin(buf[5]) - 1;
tm_wday            94 drivers/rtc/rtc-max6916.c 	buf[6] = bin2bcd(dt->tm_wday + 1);
tm_wday           272 drivers/rtc/rtc-max77686.c 	tm->tm_wday = ffs(data[RTC_WEEKDAY] & mask) - 1;
tm_wday           293 drivers/rtc/rtc-max77686.c 	data[RTC_WEEKDAY] = 1 << tm->tm_wday;
tm_wday            64 drivers/rtc/rtc-max8907.c 	tm->tm_wday = (regs[RTC_WEEKDAY] & 0x07);
tm_wday            88 drivers/rtc/rtc-max8907.c 	regs[RTC_WEEKDAY] = tm->tm_wday;
tm_wday            95 drivers/rtc/rtc-max8925.c 	tm->tm_wday = buf[RTC_WEEKDAY] & 0x07;
tm_wday           135 drivers/rtc/rtc-max8925.c 	buf[RTC_WEEKDAY] = tm->tm_wday;
tm_wday            87 drivers/rtc/rtc-max8997.c 	tm->tm_wday = fls(data[RTC_WEEKDAY] & 0x7f) - 1;
tm_wday           100 drivers/rtc/rtc-max8997.c 	data[RTC_WEEKDAY] = 1 << tm->tm_wday;
tm_wday            86 drivers/rtc/rtc-max8998.c 	tm->tm_wday = data[RTC_WEEKDAY] & 0x07;
tm_wday            98 drivers/rtc/rtc-max8998.c 	data[RTC_WEEKDAY] = tm->tm_wday;
tm_wday           203 drivers/rtc/rtc-mcp795.c 	data[3] = (data[3] & 0xF8) | bin2bcd(tim->tm_wday + 1);
tm_wday           250 drivers/rtc/rtc-mcp795.c 	tim->tm_wday	= bcd2bin(data[3] & 0x07) - 1;
tm_wday           297 drivers/rtc/rtc-mcp795.c 	tmp[3] = (tmp[3] & 0x80) | bin2bcd(alm->time.tm_wday + 1);
tm_wday           315 drivers/rtc/rtc-mcp795.c 		&alm->time, alm->time.tm_wday, &alm->time);
tm_wday           332 drivers/rtc/rtc-mcp795.c 	alm->time.tm_wday	= bcd2bin(data[3] & 0x07) - 1;
tm_wday           340 drivers/rtc/rtc-mcp795.c 		&alm->time, alm->time.tm_wday, &alm->time);
tm_wday           224 drivers/rtc/rtc-moxart.c 	tm->tm_wday = (v & 0x0f) - 1;
tm_wday           169 drivers/rtc/rtc-mpc5121.c 	tm->tm_wday = (tmp >> 5) % 7;
tm_wday           185 drivers/rtc/rtc-mpc5121.c 	out_8(&regs->weekday_set, tm->tm_wday ? tm->tm_wday : 7);
tm_wday           141 drivers/rtc/rtc-msm6242.c 	tm->tm_wday = msm6242_read(priv, MSM6242_WEEK);
tm_wday           183 drivers/rtc/rtc-msm6242.c 	if (tm->tm_wday != -1)
tm_wday           184 drivers/rtc/rtc-msm6242.c 		msm6242_write(priv, tm->tm_wday, MSM6242_WEEK);
tm_wday           175 drivers/rtc/rtc-mt6397.c 	tm->tm_wday = (days + 4) % 7;
tm_wday           176 drivers/rtc/rtc-mt7622.c 	tm->tm_wday = wday;
tm_wday           194 drivers/rtc/rtc-mt7622.c 	mtk_w32(hw, MTK_RTC_TREG(time_alarm, MTK_DOW), tm->tm_wday);
tm_wday            55 drivers/rtc/rtc-mv.c 		(bin2bcd(tm->tm_wday) << RTC_WDAY_OFFS);
tm_wday            89 drivers/rtc/rtc-mv.c 	tm->tm_wday = bcd2bin(wday);
tm_wday           120 drivers/rtc/rtc-mv.c 	alm->time.tm_wday = bcd2bin(wday);
tm_wday            31 drivers/rtc/rtc-opal.c 	tm->tm_wday = -1;
tm_wday           195 drivers/rtc/rtc-pcf2123.c 	tm->tm_wday = rxbuf[4] & 0x07;
tm_wday           222 drivers/rtc/rtc-pcf2123.c 	txbuf[4] = tm->tm_wday & 0x07;
tm_wday           262 drivers/rtc/rtc-pcf2123.c 	alm->time.tm_wday = bcd2bin(rxbuf[3] & 0x07);
tm_wday           137 drivers/rtc/rtc-pcf2127.c 	tm->tm_wday = buf[PCF2127_REG_DW] & 0x07;
tm_wday           147 drivers/rtc/rtc-pcf2127.c 		tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           162 drivers/rtc/rtc-pcf2127.c 		tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           169 drivers/rtc/rtc-pcf2127.c 	buf[i++] = tm->tm_wday & 0x07;
tm_wday            67 drivers/rtc/rtc-pcf50633.c 	rtc->tm_wday = bcd2bin(pcf->time[PCF50633_TI_WKDAY]);
tm_wday            78 drivers/rtc/rtc-pcf50633.c 	pcf->time[PCF50633_TI_WKDAY] = bin2bcd(rtc->tm_wday);
tm_wday            93 drivers/rtc/rtc-pcf85063.c 	tm->tm_wday = regs[4] & 0x07;
tm_wday           127 drivers/rtc/rtc-pcf85063.c 	regs[4] = tm->tm_wday & 0x07;
tm_wday           219 drivers/rtc/rtc-pcf8523.c 	tm->tm_wday = regs[4] & 0x7;
tm_wday           254 drivers/rtc/rtc-pcf8523.c 	regs[5] = tm->tm_wday;
tm_wday           137 drivers/rtc/rtc-pcf85363.c 	tm->tm_wday = buf[DT_WEEKDAYS] & 7;
tm_wday           164 drivers/rtc/rtc-pcf85363.c 	buf[DT_WEEKDAYS] = tm->tm_wday;
tm_wday           230 drivers/rtc/rtc-pcf8563.c 	tm->tm_wday = buf[PCF8563_REG_DW] & 0x07;
tm_wday           241 drivers/rtc/rtc-pcf8563.c 		tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           256 drivers/rtc/rtc-pcf8563.c 		tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           273 drivers/rtc/rtc-pcf8563.c 	buf[PCF8563_REG_DW] = tm->tm_wday & 0x07;
tm_wday           335 drivers/rtc/rtc-pcf8563.c 	tm->time.tm_wday = bcd2bin(buf[3] & 0x7);
tm_wday           343 drivers/rtc/rtc-pcf8563.c 		tm->time.tm_hour, tm->time.tm_mday, tm->time.tm_wday,
tm_wday           365 drivers/rtc/rtc-pcf8563.c 		tm->time.tm_min, tm->time.tm_hour, tm->time.tm_wday,
tm_wday           371 drivers/rtc/rtc-pcf8563.c 	buf[3] = tm->time.tm_wday & 0x07;
tm_wday            72 drivers/rtc/rtc-pcf8583.c 		dt->tm_wday = buf[5] >> 5;
tm_wday           102 drivers/rtc/rtc-pcf8583.c 		buf[7] = bin2bcd(dt->tm_mon + 1)  | (dt->tm_wday << 5);
tm_wday           118 drivers/rtc/rtc-pl031.c 	int wday = tm->tm_wday;
tm_wday           122 drivers/rtc/rtc-pl031.c 		dev_err(dev, "invalid wday value %d\n", tm->tm_wday);
tm_wday           131 drivers/rtc/rtc-pl031.c 		wday = calc_tm.tm_wday;
tm_wday           155 drivers/rtc/rtc-pl031.c 	tm->tm_wday = ((st_time & RTC_WDAY_MASK) >> RTC_WDAY_SHIFT) - 1;
tm_wday            95 drivers/rtc/rtc-pxa.c 		| (((tm->tm_wday + 1) << RDxR_DOW_S) & RDxR_DOW_MASK)
tm_wday           106 drivers/rtc/rtc-pxa.c 	tm->tm_wday = ((rycr & RDxR_DOW_MASK) >> RDxR_DOW_S) - 1;
tm_wday           151 drivers/rtc/rtc-r7301.c 		tm->tm_wday = -1;
tm_wday           159 drivers/rtc/rtc-r7301.c 	tm->tm_wday = (rtc7301_read(priv, RTC7301_DAY_OF_WEEK) & ~RTC7301_AE);
tm_wday           188 drivers/rtc/rtc-r7301.c 	rtc7301_write(priv, alarm ? RTC7301_AE : tm->tm_wday,
tm_wday           109 drivers/rtc/rtc-r9701.c 	ret = ret ? ret : write_reg(dev, RWKCNT, 1 << dt->tm_wday);
tm_wday            75 drivers/rtc/rtc-rc5t583.c 	tm->tm_wday = bcd2bin(rtc_data[3]);
tm_wday            92 drivers/rtc/rtc-rc5t583.c 	rtc_data[3] = bin2bcd(tm->tm_wday);
tm_wday           140 drivers/rtc/rtc-rk808.c 	tm->tm_wday = bcd2bin(rtc_data[6] & WEEKS_REG_MSK);
tm_wday           142 drivers/rtc/rtc-rk808.c 	dev_dbg(dev, "RTC date/time %ptRd(%d) %ptRt\n", tm, tm->tm_wday, tm);
tm_wday           155 drivers/rtc/rtc-rk808.c 	dev_dbg(dev, "set RTC date/time %ptRd(%d) %ptRt\n", tm, tm->tm_wday, tm);
tm_wday           163 drivers/rtc/rtc-rk808.c 	rtc_data[6] = bin2bcd(tm->tm_wday);
tm_wday           222 drivers/rtc/rtc-rk808.c 		&alrm->time, alrm->time.tm_wday, &alrm->time);
tm_wday           265 drivers/rtc/rtc-rk808.c 		&alrm->time, alrm->time.tm_wday, &alrm->time);
tm_wday           108 drivers/rtc/rtc-rp5c01.c 	tm->tm_wday = rp5c01_read(priv, RP5C01_DAY_OF_WEEK);
tm_wday           137 drivers/rtc/rtc-rp5c01.c 	if (tm->tm_wday != -1)
tm_wday           138 drivers/rtc/rtc-rp5c01.c 		rp5c01_write(priv, tm->tm_wday, RP5C01_DAY_OF_WEEK);
tm_wday           265 drivers/rtc/rtc-rs5c313.c 	tm->tm_wday = bcd2bin(data);
tm_wday           322 drivers/rtc/rtc-rs5c313.c 	data = bin2bcd(tm->tm_wday);
tm_wday            94 drivers/rtc/rtc-rs5c348.c 	txp[RS5C348_REG_WDAY] = bin2bcd(tm->tm_wday);
tm_wday           148 drivers/rtc/rtc-rs5c348.c 	tm->tm_wday = bcd2bin(rxbuf[RS5C348_REG_WDAY] & RS5C348_WDAY_MASK);
tm_wday           239 drivers/rtc/rtc-rs5c372.c 	tm->tm_wday = bcd2bin(rs5c->regs[RS5C372_REG_WDAY] & 0x07);
tm_wday           252 drivers/rtc/rtc-rs5c372.c 		tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           269 drivers/rtc/rtc-rs5c372.c 		tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           275 drivers/rtc/rtc-rs5c372.c 	buf[3] = bin2bcd(tm->tm_wday);
tm_wday           234 drivers/rtc/rtc-rv3028.c 	tm->tm_wday = ilog2(date[RV3028_WDAY] & 0x7f);
tm_wday           251 drivers/rtc/rtc-rv3028.c 	date[RV3028_WDAY]  = 1 << (tm->tm_wday);
tm_wday           407 drivers/rtc/rtc-rv3029c2.c 	tm->tm_wday = bcd2bin(regs[RV3029_W_DAYS - RV3029_W_SEC]) - 1;
tm_wday           449 drivers/rtc/rtc-rv3029c2.c 	tm->tm_wday = bcd2bin(regs[RV3029_A_DW - RV3029_A_SC] & 0x07) - 1;
tm_wday           512 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_A_DW - RV3029_A_SC] = (bin2bcd(tm->tm_wday + 1) & 0x7)
tm_wday           556 drivers/rtc/rtc-rv3029c2.c 	regs[RV3029_W_DAYS - RV3029_W_SEC] = bin2bcd(tm->tm_wday + 1) & 0x7;
tm_wday           221 drivers/rtc/rtc-rv8803.c 	tm->tm_wday = ilog2(date[RV8803_WEEK] & 0x7f);
tm_wday           248 drivers/rtc/rtc-rv8803.c 	date[RV8803_WEEK]  = 1 << (tm->tm_wday);
tm_wday           153 drivers/rtc/rtc-rx4581.c 	tm->tm_wday = ilog2(date[RX4581_REG_DW] & 0x7F);
tm_wday           165 drivers/rtc/rtc-rx4581.c 		tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           180 drivers/rtc/rtc-rx4581.c 		tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           195 drivers/rtc/rtc-rx4581.c 	buf[RX4581_REG_DW+1] = (0x1 << tm->tm_wday);
tm_wday           132 drivers/rtc/rtc-rx6110.c 	data[RTC_WDAY] = BIT(bin2bcd(tm->tm_wday));
tm_wday           152 drivers/rtc/rtc-rx6110.c 	tm->tm_wday = ffs(data[RTC_WDAY] & 0x7f);
tm_wday           135 drivers/rtc/rtc-rx8010.c 	dt->tm_wday = ffs(date[RX8010_WDAY - RX8010_SEC] & 0x7f);
tm_wday           166 drivers/rtc/rtc-rx8010.c 	date[RX8010_WDAY - RX8010_SEC] = bin2bcd(1 << dt->tm_wday);
tm_wday           233 drivers/rtc/rtc-rx8025.c 	date[RX8025_REG_WDAY] = bin2bcd(dt->tm_wday);
tm_wday           122 drivers/rtc/rtc-rx8581.c 	tm->tm_wday = ilog2(date[RX8581_REG_DW] & 0x7F);
tm_wday           131 drivers/rtc/rtc-rx8581.c 		tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           147 drivers/rtc/rtc-rx8581.c 		tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           161 drivers/rtc/rtc-rx8581.c 	buf[RX8581_REG_DW] = (0x1 << tm->tm_wday);
tm_wday           220 drivers/rtc/rtc-s35390a.c 		tm->tm_wday);
tm_wday           228 drivers/rtc/rtc-s35390a.c 	buf[S35390A_BYTE_WDAY] = bin2bcd(tm->tm_wday);
tm_wday           263 drivers/rtc/rtc-s35390a.c 	tm->tm_wday = bcd2bin(buf[S35390A_BYTE_WDAY]);
tm_wday           271 drivers/rtc/rtc-s35390a.c 		tm->tm_wday);
tm_wday           286 drivers/rtc/rtc-s35390a.c 		alm->time.tm_mon, alm->time.tm_year, alm->time.tm_wday);
tm_wday           311 drivers/rtc/rtc-s35390a.c 	if (alm->time.tm_wday != -1)
tm_wday           312 drivers/rtc/rtc-s35390a.c 		buf[S35390A_ALRM_BYTE_WDAY] = bin2bcd(alm->time.tm_wday) | 0x80;
tm_wday           367 drivers/rtc/rtc-s35390a.c 		alm->time.tm_wday =
tm_wday           383 drivers/rtc/rtc-s35390a.c 			alm->time.tm_wday);
tm_wday           186 drivers/rtc/rtc-s5m.c 	tm->tm_wday = ffs(data[RTC_WEEKDAY] & 0x7f);
tm_wday           204 drivers/rtc/rtc-s5m.c 	data[RTC_WEEKDAY] = 1 << tm->tm_wday;
tm_wday           351 drivers/rtc/rtc-s5m.c 	tm->tm_wday = data[RTC_WEEKDAY] & 0x07;
tm_wday           363 drivers/rtc/rtc-s5m.c 	data[RTC_WEEKDAY] = tm->tm_wday;
tm_wday           409 drivers/rtc/rtc-s5m.c 	dev_dbg(dev, "%s: %ptR(%d)\n", __func__, tm, tm->tm_wday);
tm_wday           437 drivers/rtc/rtc-s5m.c 	dev_dbg(dev, "%s: %ptR(%d)\n", __func__, tm, tm->tm_wday);
tm_wday           489 drivers/rtc/rtc-s5m.c 	dev_dbg(dev, "%s: %ptR(%d)\n", __func__, &alrm->time, alrm->time.tm_wday);
tm_wday           508 drivers/rtc/rtc-s5m.c 	dev_dbg(info->dev, "%s: %ptR(%d)\n", __func__, &tm, tm.tm_wday);
tm_wday           551 drivers/rtc/rtc-s5m.c 	dev_dbg(info->dev, "%s: %ptR(%d)\n", __func__, &tm, tm.tm_wday);
tm_wday           611 drivers/rtc/rtc-s5m.c 	dev_dbg(dev, "%s: %ptR(%d)\n", __func__, &alrm->time, alrm->time.tm_wday);
tm_wday           115 drivers/rtc/rtc-sd3078.c 	tm->tm_wday = rtc_data[SD3078_REG_DW] & 0x07;
tm_wday           133 drivers/rtc/rtc-sd3078.c 	rtc_data[SD3078_REG_DW] = tm->tm_wday & 0x07;
tm_wday           297 drivers/rtc/rtc-sh.c 		tm->tm_wday	= bcd2bin(readb(rtc->regbase + RWKCNT));
tm_wday           331 drivers/rtc/rtc-sh.c 		tm->tm_mday, tm->tm_mon + 1, tm->tm_year, tm->tm_wday);
tm_wday           353 drivers/rtc/rtc-sh.c 	writeb(bin2bcd(tm->tm_wday), rtc->regbase + RWKCNT);
tm_wday           401 drivers/rtc/rtc-sh.c 	tm->tm_wday	= sh_rtc_read_alarm_value(rtc, RWKAR);
tm_wday           442 drivers/rtc/rtc-sh.c 	sh_rtc_write_alarm_value(rtc, tm->tm_wday, RWKAR);
tm_wday            83 drivers/rtc/rtc-stk17ta8.c 	writeb(bin2bcd(tm->tm_wday) & RTC_DAY_MASK, ioaddr + RTC_DAY);
tm_wday           122 drivers/rtc/rtc-stk17ta8.c 	tm->tm_wday = bcd2bin(week);
tm_wday           249 drivers/rtc/rtc-stm32.c 	tm->tm_wday = (!tm->tm_wday) ? 7 : tm->tm_wday;
tm_wday           267 drivers/rtc/rtc-stm32.c 	tm->tm_wday %= 7;
tm_wday           287 drivers/rtc/rtc-stm32.c 	tm->tm_wday = (dr & STM32_RTC_DR_WDAY) >> STM32_RTC_DR_WDAY_SHIFT;
tm_wday           314 drivers/rtc/rtc-stm32.c 	     ((tm->tm_wday << STM32_RTC_DR_WDAY_SHIFT) & STM32_RTC_DR_WDAY);
tm_wday           354 drivers/rtc/rtc-stm32.c 		tm->tm_wday = -1;
tm_wday           359 drivers/rtc/rtc-stm32.c 			tm->tm_wday = (alrmar & STM32_RTC_ALRMXR_WDAY) >>
tm_wday           361 drivers/rtc/rtc-stm32.c 			tm->tm_wday %= 7;
tm_wday           364 drivers/rtc/rtc-stm32.c 			tm->tm_wday = -1;
tm_wday            85 drivers/rtc/rtc-tps80031.c 	tm->tm_wday = bcd2bin(buff[6]);
tm_wday           100 drivers/rtc/rtc-tps80031.c 	buff[6] = bin2bcd(tm->tm_wday);
tm_wday           228 drivers/rtc/rtc-v3020.c 	dt->tm_wday	= bcd2bin(tmp);
tm_wday           239 drivers/rtc/rtc-v3020.c 	dev_dbg(dev, "tm_wday: %i\n", dt->tm_wday);
tm_wday           254 drivers/rtc/rtc-v3020.c 	dev_dbg(dev, "tm_wday: %i\n", dt->tm_wday);
tm_wday           263 drivers/rtc/rtc-v3020.c 	v3020_set_reg(chip, V3020_WEEK_DAY,	bin2bcd(dt->tm_wday));
tm_wday           116 drivers/rtc/rtc-vt8500.c 	tm->tm_wday = (time & TIME_DOW_MASK) >> TIME_DOW_S;
tm_wday           136 drivers/rtc/rtc-vt8500.c 	writel((bin2bcd(tm->tm_wday) << TIME_DOW_S)
tm_wday           116 drivers/rtc/rtc-wilco-ec.c 	tm->tm_wday = -1;
tm_wday           132 drivers/rtc/rtc-wilco-ec.c 	int wday = tm->tm_wday == 6 ? 0 : tm->tm_wday + 1;
tm_wday            59 drivers/rtc/rtc-wm8350.c 			tm->tm_wday = ((time1[1] >> WM8350_RTC_DAY_SHIFT)
tm_wday           100 drivers/rtc/rtc-wm8350.c 	time[1] |= (tm->tm_wday + 1) << WM8350_RTC_DAY_SHIFT;
tm_wday           164 drivers/rtc/rtc-wm8350.c 	tm->tm_wday = ((time[1] >> WM8350_RTC_ALMDAY_SHIFT) & 0x7) - 1;
tm_wday           165 drivers/rtc/rtc-wm8350.c 	if (tm->tm_wday > 7)
tm_wday           166 drivers/rtc/rtc-wm8350.c 		tm->tm_wday = -1;
tm_wday           267 drivers/rtc/rtc-wm8350.c 	if (tm->tm_wday != -1)
tm_wday           268 drivers/rtc/rtc-wm8350.c 		time[1] |= (tm->tm_wday + 1) << WM8350_RTC_ALMDAY_SHIFT;
tm_wday           134 drivers/rtc/rtc-x1205.c 	tm->tm_wday = buf[CCR_WDAY];
tm_wday           140 drivers/rtc/rtc-x1205.c 		tm->tm_mday, tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           190 drivers/rtc/rtc-x1205.c 		tm->tm_mon, tm->tm_year, tm->tm_wday);
tm_wday           205 drivers/rtc/rtc-x1205.c 	buf[CCR_WDAY] = tm->tm_wday & 0x07;
tm_wday            66 include/linux/time.h 	int tm_wday;
tm_wday            28 include/uapi/linux/rtc.h 	int tm_wday;
tm_wday           102 kernel/time/timeconv.c 	result->tm_wday = (4 + days) % 7;
tm_wday           103 kernel/time/timeconv.c 	if (result->tm_wday < 0)
tm_wday           104 kernel/time/timeconv.c 		result->tm_wday += 7;