/drivers/leds/ |
D | uleds.c | 43 bool new_data; member 56 udev->new_data = true; in uleds_brightness_set() 130 udev->new_data = true; in uleds_write() 156 } else if (!udev->new_data && (file->f_flags & O_NONBLOCK)) { in uleds_read() 158 } else if (udev->new_data) { in uleds_read() 161 udev->new_data = false; in uleds_read() 172 udev->new_data || in uleds_read() 185 if (udev->new_data) in uleds_poll()
|
/drivers/net/wireless/intel/iwlwifi/dvm/ |
D | rx.c | 907 struct iwl_wipan_noa_data *new_data, *old_data; in iwlagn_rx_noa_notification() local 924 new_data = kmalloc(sizeof(*new_data) + len, GFP_ATOMIC); in iwlagn_rx_noa_notification() 925 if (new_data) { in iwlagn_rx_noa_notification() 926 new_data->length = len; in iwlagn_rx_noa_notification() 927 new_data->data[0] = WLAN_EID_VENDOR_SPECIFIC; in iwlagn_rx_noa_notification() 928 new_data->data[1] = len - 2; /* not counting EID, len */ in iwlagn_rx_noa_notification() 929 new_data->data[2] = (WLAN_OUI_WFA >> 16) & 0xff; in iwlagn_rx_noa_notification() 930 new_data->data[3] = (WLAN_OUI_WFA >> 8) & 0xff; in iwlagn_rx_noa_notification() 931 new_data->data[4] = (WLAN_OUI_WFA >> 0) & 0xff; in iwlagn_rx_noa_notification() 932 new_data->data[5] = WLAN_OUI_TYPE_WFA_P2P; in iwlagn_rx_noa_notification() [all …]
|
/drivers/video/console/ |
D | newport_con.c | 507 unsigned char *new_data, *data = op->data, *p; in newport_set_font() local 515 if (!(new_data = kmalloc(FONT_EXTRA_WORDS * sizeof(int) + size, in newport_set_font() 518 new_data += FONT_EXTRA_WORDS * sizeof(int); in newport_set_font() 519 FNTSIZE(new_data) = size; in newport_set_font() 520 FNTCHARCNT(new_data) = op->charcount; in newport_set_font() 521 REFCOUNT(new_data) = 0; /* usage counter */ in newport_set_font() 523 p = new_data; in newport_set_font() 534 && !memcmp(font_data[i], new_data, size)) { in newport_set_font() 535 kfree(new_data - FONT_EXTRA_WORDS * sizeof(int)); in newport_set_font() 539 new_data = font_data[i]; in newport_set_font() [all …]
|
/drivers/md/ |
D | dm-ioctl.c | 372 char *new_data, *old_name = NULL; in dm_hash_rename() local 382 new_data = kstrdup(new, GFP_KERNEL); in dm_hash_rename() 383 if (!new_data) in dm_hash_rename() 403 kfree(new_data); in dm_hash_rename() 415 kfree(new_data); in dm_hash_rename() 428 kfree(new_data); in dm_hash_rename() 433 __set_cell_uuid(hc, new_data); in dm_hash_rename() 435 old_name = __change_cell_name(hc, new_data); in dm_hash_rename() 906 char *new_data = (char *) param + param->data_start; in dev_rename() local 910 if (new_data < param->data || in dev_rename() [all …]
|
/drivers/iio/common/st_sensors/ |
D | st_sensors_core.c | 33 u8 new_data; in st_sensors_write_data_with_mask() local 36 err = sdata->tf->read_byte(&sdata->tb, sdata->dev, reg_addr, &new_data); in st_sensors_write_data_with_mask() 40 new_data = ((new_data & (~mask)) | ((data << __ffs(mask)) & mask)); in st_sensors_write_data_with_mask() 41 err = sdata->tf->write_byte(&sdata->tb, sdata->dev, reg_addr, new_data); in st_sensors_write_data_with_mask()
|
/drivers/tty/ |
D | n_r3964.c | 1128 unsigned char *new_data; in r3964_write() local 1151 new_data = kmalloc(count + sizeof(struct r3964_block_header), in r3964_write() 1153 TRACE_M("r3964_write - kmalloc %p", new_data); in r3964_write() 1154 if (new_data == NULL) { in r3964_write() 1161 pHeader = (struct r3964_block_header *)new_data; in r3964_write() 1162 pHeader->data = new_data + sizeof(struct r3964_block_header); in r3964_write()
|
/drivers/tty/serial/ |
D | ioc3_serial.c | 960 int new_parity = 0, new_parity_enable = 0, new_stop = 0, new_data = 8; in ioc3_change_speed() local 968 new_data = 5; in ioc3_change_speed() 971 new_data = 6; in ioc3_change_speed() 974 new_data = 7; in ioc3_change_speed() 977 new_data = 8; in ioc3_change_speed() 981 new_data = 5; in ioc3_change_speed() 1033 new_data, new_stop, new_parity_enable, new_parity, in ioc3_change_speed() 1037 new_data, /* byte size */ in ioc3_change_speed()
|
D | ioc4_serial.c | 1695 int new_parity = 0, new_parity_enable = 0, new_stop = 0, new_data = 8; in ioc4_change_speed() local 1703 new_data = 5; in ioc4_change_speed() 1707 new_data = 6; in ioc4_change_speed() 1711 new_data = 7; in ioc4_change_speed() 1715 new_data = 8; in ioc4_change_speed() 1720 new_data = 5; in ioc4_change_speed() 1776 __func__, (void *)port, cflag, baud, new_data, new_stop, in ioc4_change_speed() 1780 new_data, /* byte size */ in ioc4_change_speed()
|
/drivers/video/fbdev/core/ |
D | fbcon.c | 2600 u8 *new_data, *data = font->data; in fbcon_set_font() local 2619 new_data = kmalloc(FONT_EXTRA_WORDS * sizeof(int) + size, GFP_USER); in fbcon_set_font() 2621 if (!new_data) in fbcon_set_font() 2624 new_data += FONT_EXTRA_WORDS * sizeof(int); in fbcon_set_font() 2625 FNTSIZE(new_data) = size; in fbcon_set_font() 2626 FNTCHARCNT(new_data) = charcount; in fbcon_set_font() 2627 REFCOUNT(new_data) = 0; /* usage counter */ in fbcon_set_font() 2629 memcpy(new_data + i*h*pitch, data + i*32*pitch, h*pitch); in fbcon_set_font() 2634 csum = crc32(0, new_data, size); in fbcon_set_font() 2636 FNTSUM(new_data) = csum; in fbcon_set_font() [all …]
|
/drivers/char/tpm/ |
D | tpm.h | 455 const unsigned char *new_data, in tpm_buf_append() argument 471 memcpy(&buf->data[len], new_data, new_len); in tpm_buf_append()
|
/drivers/net/ethernet/mediatek/ |
D | mtk_eth_soc.c | 971 u8 *data, *new_data; in mtk_poll_rx() local 1008 new_data = napi_alloc_frag(ring->frag_size); in mtk_poll_rx() 1009 if (unlikely(!new_data)) { in mtk_poll_rx() 1014 new_data + NET_SKB_PAD, in mtk_poll_rx() 1018 skb_free_frag(new_data); in mtk_poll_rx() 1026 skb_free_frag(new_data); in mtk_poll_rx() 1050 ring->data[idx] = new_data; in mtk_poll_rx()
|
/drivers/usb/gadget/ |
D | configfs.c | 1003 char *new_data; in ext_prop_data_store() local 1008 new_data = kmemdup(page, len, GFP_KERNEL); in ext_prop_data_store() 1009 if (!new_data) in ext_prop_data_store() 1015 ext_prop->data = new_data; in ext_prop_data_store()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_cmn.c | 763 u8 *new_data, *data = rx_buf->data; in bnx2x_tpa_stop() local 775 new_data = bnx2x_frag_alloc(fp, GFP_ATOMIC); in bnx2x_tpa_stop() 781 if (likely(new_data)) in bnx2x_tpa_stop() 813 rx_buf->data = new_data; in bnx2x_tpa_stop() 817 if (new_data) in bnx2x_tpa_stop() 818 bnx2x_frag_free(fp, new_data); in bnx2x_tpa_stop()
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_main.c | 563 u64 new_data; in i40e_stat_update48() local 566 new_data = rd32(hw, loreg); in i40e_stat_update48() 567 new_data |= ((u64)(rd32(hw, hireg) & 0xFFFF)) << 32; in i40e_stat_update48() 569 new_data = rd64(hw, loreg); in i40e_stat_update48() 572 *offset = new_data; in i40e_stat_update48() 573 if (likely(new_data >= *offset)) in i40e_stat_update48() 574 *stat = new_data - *offset; in i40e_stat_update48() 576 *stat = (new_data + BIT_ULL(48)) - *offset; in i40e_stat_update48() 591 u32 new_data; in i40e_stat_update32() local 593 new_data = rd32(hw, reg); in i40e_stat_update32() [all …]
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_ll2.c | 170 u8 *new_data; in qed_ll2b_complete_rx_packet() local 193 rc = qed_ll2_alloc_buffer(p_hwfn->cdev, &new_data, in qed_ll2b_complete_rx_packet() 237 buffer->data = new_data; in qed_ll2b_complete_rx_packet()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 1392 u8 *new_data; in bnxt_tpa_end() local 1395 new_data = __bnxt_alloc_rx_data(bp, &new_mapping, GFP_ATOMIC); in bnxt_tpa_end() 1396 if (!new_data) { in bnxt_tpa_end() 1401 tpa_info->data = new_data; in bnxt_tpa_end() 1402 tpa_info->data_ptr = new_data + bp->rx_offset; in bnxt_tpa_end()
|