/drivers/memory/ |
D | of_memory.c | 67 struct lpddr2_timings *tim) in of_do_get_timings() argument 71 ret = of_property_read_u32(np, "max-freq", &tim->max_freq); in of_do_get_timings() 72 ret |= of_property_read_u32(np, "min-freq", &tim->min_freq); in of_do_get_timings() 73 ret |= of_property_read_u32(np, "tRPab", &tim->tRPab); in of_do_get_timings() 74 ret |= of_property_read_u32(np, "tRCD", &tim->tRCD); in of_do_get_timings() 75 ret |= of_property_read_u32(np, "tWR", &tim->tWR); in of_do_get_timings() 76 ret |= of_property_read_u32(np, "tRAS-min", &tim->tRAS_min); in of_do_get_timings() 77 ret |= of_property_read_u32(np, "tRRD", &tim->tRRD); in of_do_get_timings() 78 ret |= of_property_read_u32(np, "tWTR", &tim->tWTR); in of_do_get_timings() 79 ret |= of_property_read_u32(np, "tXP", &tim->tXP); in of_do_get_timings() [all …]
|
/drivers/rtc/ |
D | rtc-mcp795.c | 187 static int mcp795_set_time(struct device *dev, struct rtc_time *tim) in mcp795_set_time() argument 204 data[0] = (data[0] & 0x80) | bin2bcd(tim->tm_sec); in mcp795_set_time() 205 data[1] = (data[1] & 0x80) | bin2bcd(tim->tm_min); in mcp795_set_time() 206 data[2] = bin2bcd(tim->tm_hour); in mcp795_set_time() 207 data[3] = (data[3] & 0xF8) | bin2bcd(tim->tm_wday + 1); in mcp795_set_time() 208 data[4] = bin2bcd(tim->tm_mday); in mcp795_set_time() 209 data[5] = (data[5] & MCP795_LP_BIT) | bin2bcd(tim->tm_mon + 1); in mcp795_set_time() 211 if (tim->tm_year > 100) in mcp795_set_time() 212 tim->tm_year -= 100; in mcp795_set_time() 214 data[6] = bin2bcd(tim->tm_year); in mcp795_set_time() [all …]
|
/drivers/ide/ |
D | opti621.c | 71 u8 tim, misc, addr_pio = pio, clk; in opti621_set_pio_mode() local 109 tim = data_rec_timings[clk][pio]; in opti621_set_pio_mode() 115 write_reg(tim, READ_REG); in opti621_set_pio_mode() 117 write_reg(tim, WRITE_REG); in opti621_set_pio_mode()
|
D | cs5536.c | 92 static void cs5536_program_dtc(ide_drive_t *drive, u8 tim) in cs5536_program_dtc() argument 100 dtc |= tim << dshift; in cs5536_program_dtc()
|
D | pmac.c | 501 struct ide_timing *tim = ide_timing_find_mode(XFER_PIO_0 + pio); in pmac_ide_set_pio_mode() local 529 recTime = cycle_time - tim->active - tim->setup; in pmac_ide_set_pio_mode() 531 accessTime = tim->active; in pmac_ide_set_pio_mode() 544 recTime = cycle_time - tim->active - tim->setup; in pmac_ide_set_pio_mode() 546 accessTime = tim->active; in pmac_ide_set_pio_mode()
|
/drivers/video/fbdev/omap/ |
D | sossi.c | 176 t->tim[0] = tw0 - 1; in calc_rd_timings() 177 t->tim[1] = tw1 - 1; in calc_rd_timings() 215 t->tim[2] = tw0 - 1; in calc_wr_timings() 216 t->tim[3] = tw1 - 1; in calc_wr_timings() 342 t->tim[4] = div; in sossi_convert_timings() 353 sossi.clk_tw0[RD_ACCESS] = t->tim[0]; in sossi_set_timings() 354 sossi.clk_tw1[RD_ACCESS] = t->tim[1]; in sossi_set_timings() 356 sossi.clk_tw0[WR_ACCESS] = t->tim[2]; in sossi_set_timings() 357 sossi.clk_tw1[WR_ACCESS] = t->tim[3]; in sossi_set_timings() 359 sossi.clk_div = t->tim[4]; in sossi_set_timings()
|
D | omapfb.h | 118 u32 tim[5]; /* set by extif->convert_timings */ member
|
/drivers/net/wireless/intersil/p54/ |
D | main.c | 106 u8 *tim; in p54_beacon_format_ie_tim() local 111 tim = p54_find_ie(skb, WLAN_EID_TIM); in p54_beacon_format_ie_tim() 112 if (!tim) in p54_beacon_format_ie_tim() 115 dtim_len = tim[1]; in p54_beacon_format_ie_tim() 116 dtim_period = tim[3]; in p54_beacon_format_ie_tim() 117 next = tim + 2 + dtim_len; in p54_beacon_format_ie_tim() 122 memmove(tim, next, skb_tail_pointer(skb) - next); in p54_beacon_format_ie_tim() 123 tim = skb_tail_pointer(skb) - (dtim_len + 2); in p54_beacon_format_ie_tim() 126 tim[0] = WLAN_EID_TIM; in p54_beacon_format_ie_tim() 127 tim[1] = 3; in p54_beacon_format_ie_tim() [all …]
|
D | fwio.c | 268 struct p54_tim *tim; in p54_update_beacon_tim() local 270 skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*tim), in p54_update_beacon_tim() 275 tim = skb_put(skb, sizeof(*tim)); in p54_update_beacon_tim() 276 tim->count = 1; in p54_update_beacon_tim() 277 tim->entry[0] = cpu_to_le16(set ? (aid | 0x8000) : aid); in p54_update_beacon_tim()
|
D | txrx.c | 298 u8 *tim; in p54_pspoll_workaround() local 313 tim = p54_find_ie(skb, WLAN_EID_TIM); in p54_pspoll_workaround() 314 if (!tim) in p54_pspoll_workaround() 317 tim_len = tim[1]; in p54_pspoll_workaround() 318 tim_ie = (struct ieee80211_tim_ie *) &tim[2]; in p54_pspoll_workaround()
|
/drivers/net/wireless/ath/carl9170/ |
D | rx.c | 523 u8 *tim; in carl9170_ps_beacon() local 541 tim = carl9170_find_ie(data, len - FCS_LEN, WLAN_EID_TIM); in carl9170_ps_beacon() 542 if (!tim) in carl9170_ps_beacon() 545 if (tim[1] < sizeof(*tim_ie)) in carl9170_ps_beacon() 548 tim_len = tim[1]; in carl9170_ps_beacon() 549 tim_ie = (struct ieee80211_tim_ie *) &tim[2]; in carl9170_ps_beacon()
|
/drivers/net/wireless/ti/wl1251/ |
D | cmd.c | 184 vbm->tim.bitmap_ctrl = bitmap_control; in wl1251_cmd_vbm() 190 memcpy(vbm->tim.pvb_field, bitmap, bitmap_len); in wl1251_cmd_vbm() 191 vbm->tim.identity = identity; in wl1251_cmd_vbm() 192 vbm->tim.length = bitmap_len + 3; in wl1251_cmd_vbm()
|
D | cmd.h | 318 struct wl1251_tim tim; member
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | rfbi.c | 454 rfbi_write_reg(RFBI_ONOFF_TIME(rfbi_module), t->tim[0]); in rfbi_set_timings() 455 rfbi_write_reg(RFBI_CYCLE_TIME(rfbi_module), t->tim[1]); in rfbi_set_timings() 459 (t->tim[2] ? 1 : 0), 4, 4); in rfbi_set_timings() 533 t->tim[0] = l; in rfbi_convert_timings() 562 t->tim[1] = l; in rfbi_convert_timings() 564 t->tim[2] = div - 1; in rfbi_convert_timings()
|
/drivers/staging/rtlwifi/ |
D | ps.c | 486 u8 *tim; in rtl_swlps_beacon() local 523 tim = rtl_find_ie(data, len - FCS_LEN, WLAN_EID_TIM); in rtl_swlps_beacon() 524 if (!tim) in rtl_swlps_beacon() 527 if (tim[1] < sizeof(*tim_ie)) in rtl_swlps_beacon() 530 tim_len = tim[1]; in rtl_swlps_beacon() 531 tim_ie = (struct ieee80211_tim_ie *)&tim[2]; in rtl_swlps_beacon()
|
/drivers/net/wireless/realtek/rtlwifi/ |
D | ps.c | 491 u8 *tim; in rtl_swlps_beacon() local 528 tim = rtl_find_ie(data, len - FCS_LEN, WLAN_EID_TIM); in rtl_swlps_beacon() 529 if (!tim) in rtl_swlps_beacon() 532 if (tim[1] < sizeof(*tim_ie)) in rtl_swlps_beacon() 535 tim_len = tim[1]; in rtl_swlps_beacon() 536 tim_ie = (struct ieee80211_tim_ie *) &tim[2]; in rtl_swlps_beacon()
|
/drivers/ata/ |
D | pata_cs5536.c | 120 static void cs5536_program_dtc(struct ata_device *adev, u8 tim) in cs5536_program_dtc() argument 128 dtc |= tim << dshift; in cs5536_program_dtc()
|
/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00dev.c | 661 u8 *tim; in rt2x00lib_rxdone_check_ps() local 683 tim = rt2x00lib_find_ie(skb->data, skb->len - FCS_LEN, WLAN_EID_TIM); in rt2x00lib_rxdone_check_ps() 684 if (!tim) in rt2x00lib_rxdone_check_ps() 687 if (tim[1] < sizeof(*tim_ie)) in rt2x00lib_rxdone_check_ps() 690 tim_len = tim[1]; in rt2x00lib_rxdone_check_ps() 691 tim_ie = (struct ieee80211_tim_ie *) &tim[2]; in rt2x00lib_rxdone_check_ps()
|
/drivers/mtd/nand/ |
D | omap2.c | 403 unsigned long tim, limit; in omap_write_buf_pref() local 431 tim = 0; in omap_write_buf_pref() 438 } while (val && (tim++ < limit)); in omap_write_buf_pref() 469 unsigned long tim, limit; in omap_nand_dma_transfer() local 508 tim = 0; in omap_nand_dma_transfer() 515 } while (val && (tim++ < limit)); in omap_nand_dma_transfer() 669 unsigned long tim, limit; in omap_write_buf_irq_pref() local 697 tim = 0; in omap_write_buf_irq_pref() 703 } while (val && (tim++ < limit)); in omap_write_buf_irq_pref()
|
/drivers/net/wireless/ath/ath9k/ |
D | recv.c | 509 struct ieee80211_tim_ie *tim; in ath_beacon_dtim_pending_cab() local 522 if (elen < sizeof(*tim)) in ath_beacon_dtim_pending_cab() 524 tim = (struct ieee80211_tim_ie *) pos; in ath_beacon_dtim_pending_cab() 525 if (tim->dtim_count != 0) in ath_beacon_dtim_pending_cab() 527 return tim->bitmap_ctrl & 0x01; in ath_beacon_dtim_pending_cab()
|
D | debug.h | 108 u32 tim; member
|
/drivers/net/ieee802154/ |
D | at86rf230.c | 489 ktime_t tim; in at86rf230_async_state_delay() local 513 tim = c->t_off_to_aack * NSEC_PER_USEC; in at86rf230_async_state_delay() 522 tim = c->t_off_to_tx_on * NSEC_PER_USEC; in at86rf230_async_state_delay() 542 tim = (c->t_frame + c->t_p_ack) * NSEC_PER_USEC; in at86rf230_async_state_delay() 554 tim = c->t_reset_to_off * NSEC_PER_USEC; in at86rf230_async_state_delay() 570 hrtimer_start(&ctx->timer, tim, HRTIMER_MODE_REL); in at86rf230_async_state_delay()
|
/drivers/net/wireless/intel/ipw2x00/ |
D | libipw_rx.c | 1225 network->tim.tim_count = info_element->data[0]; in libipw_parse_info_param() 1226 network->tim.tim_period = info_element->data[1]; in libipw_parse_info_param() 1492 dst->tim = src->tim; in update_network()
|
/drivers/staging/wlan-ng/ |
D | p80211mgmt.h | 327 struct wlan_ie_tim *tim; member
|
/drivers/infiniband/hw/cxgb3/ |
D | iwch_cm.c | 1344 struct iff_mac tim; in pass_accept_req() local 1356 tim.mac_addr = req->dst_mac; in pass_accept_req() 1357 tim.vlan_tag = ntohs(req->vlan_tag); in pass_accept_req() 1358 if (tdev->ctl(tdev, GET_IFF_FROM_MAC, &tim) < 0 || !tim.dev) { in pass_accept_req()
|