| /drivers/misc/mei/hdcp/ |
| A D | mei_hdcp.c | 47 ssize_t byte; in mei_hdcp_initiate_session() local 67 if (byte < 0) { in mei_hdcp_initiate_session() 69 return byte; in mei_hdcp_initiate_session() 74 if (byte < 0) { in mei_hdcp_initiate_session() 76 return byte; in mei_hdcp_initiate_session() 117 ssize_t byte; in mei_hdcp_verify_receiver_cert_prepare_km() local 142 return byte; in mei_hdcp_verify_receiver_cert_prepare_km() 149 return byte; in mei_hdcp_verify_receiver_cert_prepare_km() 189 ssize_t byte; in mei_hdcp_verify_hprime() local 212 return byte; in mei_hdcp_verify_hprime() [all …]
|
| /drivers/media/platform/mediatek/jpeg/ |
| A D | mtk_jpeg_dec_parse.c | 30 int byte; in read_word_be() local 33 if (byte == -1) in read_word_be() 35 temp = byte << 8; in read_word_be() 37 if (byte == -1) in read_word_be() 63 int i, length, byte; in mtk_jpeg_do_parse() local 67 if (byte == -1) in mtk_jpeg_do_parse() 69 if (byte != 0xff) in mtk_jpeg_do_parse() 74 if (byte == -1) in mtk_jpeg_do_parse() 76 if (byte == 0) in mtk_jpeg_do_parse() 80 switch (byte) { in mtk_jpeg_do_parse() [all …]
|
| /drivers/gpu/drm/i915/display/ |
| A D | intel_hdcp_gsc_message.c | 24 ssize_t byte; in intel_hdcp_gsc_initiate_session() local 51 if (byte < 0) { in intel_hdcp_gsc_initiate_session() 53 return byte; in intel_hdcp_gsc_initiate_session() 83 ssize_t byte; in intel_hdcp_gsc_verify_receiver_cert_prepare_km() local 115 return byte; in intel_hdcp_gsc_verify_receiver_cert_prepare_km() 148 ssize_t byte; in intel_hdcp_gsc_verify_hprime() local 178 return byte; in intel_hdcp_gsc_verify_hprime() 198 ssize_t byte; in intel_hdcp_gsc_store_pairing_info() local 229 return byte; in intel_hdcp_gsc_store_pairing_info() 251 ssize_t byte; in intel_hdcp_gsc_initiate_locality_check() local [all …]
|
| /drivers/media/i2c/ |
| A D | tea6415c.c | 41 u8 byte = 0; in tea6415c_s_routing() local 54 byte = 0x00; in tea6415c_s_routing() 57 byte = 0x20; in tea6415c_s_routing() 60 byte = 0x10; in tea6415c_s_routing() 63 byte = 0x08; in tea6415c_s_routing() 66 byte = 0x18; in tea6415c_s_routing() 69 byte = 0x28; in tea6415c_s_routing() 75 byte |= 0x00; in tea6415c_s_routing() 78 byte |= 0x04; in tea6415c_s_routing() 81 byte |= 0x02; in tea6415c_s_routing() [all …]
|
| A D | tda9840.c | 60 u8 byte; in tda9840_status() local 62 rc = i2c_master_recv(client, &byte, 1); in tda9840_status() 71 if (byte & 0x80) { in tda9840_status() 78 return byte & 0x60; in tda9840_status() 84 int byte; in tda9840_s_tuner() local 91 byte = TDA9840_SET_MONO; in tda9840_s_tuner() 93 byte = (t->audmode == V4L2_TUNER_MODE_MONO) ? in tda9840_s_tuner() 98 byte = TDA9840_SET_BOTH; in tda9840_s_tuner() 101 byte = TDA9840_SET_LANG2; in tda9840_s_tuner() 104 byte = TDA9840_SET_LANG1; in tda9840_s_tuner() [all …]
|
| A D | tea6420.c | 43 u8 byte; in tea6420_s_routing() local 53 byte = ((o - 1) << 5); in tea6420_s_routing() 54 byte |= (i - 1); in tea6420_s_routing() 59 byte |= (3 << 3); in tea6420_s_routing() 62 byte |= (2 << 3); in tea6420_s_routing() 65 byte |= (1 << 3); in tea6420_s_routing() 71 ret = i2c_smbus_write_byte(client, byte); in tea6420_s_routing()
|
| /drivers/ata/pata_parport/ |
| A D | pata_parport.h | 34 #define out_p(offs, byte) do { outb(byte, pi->port + offs); delay_p; } while (0) argument 37 #define w0(byte) out_p(0, byte) argument 39 #define w1(byte) out_p(1, byte) argument 41 #define w2(byte) out_p(2, byte) argument 43 #define w3(byte) out_p(3, byte) argument 44 #define w4(byte) out_p(4, byte) argument
|
| /drivers/net/wireless/rsi/ |
| A D | rsi_91x_sdio_ops.c | 33 u8 byte; in rsi_sdio_master_access_msword() local 45 &byte); in rsi_sdio_master_access_msword() 59 &byte); in rsi_sdio_master_access_msword() 151 u8 byte; in rsi_init_sdio_slave_regs() local 159 &byte); in rsi_init_sdio_slave_regs() 170 byte = 0x3; in rsi_init_sdio_slave_regs() 186 byte = 0x24; in rsi_init_sdio_slave_regs() 191 &byte); in rsi_init_sdio_slave_regs() 204 &byte); in rsi_init_sdio_slave_regs() 211 byte = 32; in rsi_init_sdio_slave_regs() [all …]
|
| /drivers/input/serio/ |
| A D | ps2-gpio.c | 83 unsigned char byte; member 87 unsigned char byte; member 123 drvdata->tx.byte = val; in __ps2_gpio_write() 164 unsigned char byte, cnt; in ps2_gpio_irq_rx() local 169 byte = drvdata->rx.byte; in ps2_gpio_irq_rx() 250 cnt = byte = 0; in ps2_gpio_irq_rx() 262 cnt = byte = 0; in ps2_gpio_irq_rx() 266 drvdata->rx.byte = byte; in ps2_gpio_irq_rx() 272 unsigned char byte, cnt; in ps2_gpio_irq_tx() local 277 byte = drvdata->tx.byte; in ps2_gpio_irq_tx() [all …]
|
| /drivers/misc/mchp_pci1xxxx/ |
| A D | mchp_pci1xxxx_otpe2p.c | 127 u32 byte; in pci1xxxx_eeprom_read() local 140 for (byte = 0; byte < count; byte++) { in pci1xxxx_eeprom_read() 168 u32 byte; in pci1xxxx_eeprom_write() local 181 for (byte = 0; byte < count; byte++) { in pci1xxxx_eeprom_write() 184 (off + byte); in pci1xxxx_eeprom_write() 222 u32 byte; in pci1xxxx_otp_read() local 236 for (byte = 0; byte < count; byte++) { in pci1xxxx_otp_read() 237 otp_device_set_address(priv, (u16)(off + byte)); in pci1xxxx_otp_read() 271 u32 byte; in pci1xxxx_otp_write() local 285 for (byte = 0; byte < count; byte++) { in pci1xxxx_otp_write() [all …]
|
| /drivers/misc/mei/pxp/ |
| A D | mei_pxp.c | 66 ssize_t byte; in mei_pxp_send_message() local 75 if (byte < 0) { in mei_pxp_send_message() 76 dev_dbg(dev, "mei_cldev_send failed. %zd\n", byte); in mei_pxp_send_message() 77 switch (byte) { in mei_pxp_send_message() 85 byte = ret; in mei_pxp_send_message() 88 return byte; in mei_pxp_send_message() 116 ssize_t byte; in mei_pxp_receive_message() local 127 if (byte < 0) { in mei_pxp_receive_message() 129 switch (byte) { in mei_pxp_receive_message() 143 byte = ret; in mei_pxp_receive_message() [all …]
|
| /drivers/parport/ |
| A D | ieee1284_ops.c | 42 unsigned char byte; in parport_ieee1284_write_compat() local 117 byte = *addr++; in parport_ieee1284_write_compat() 205 *buf++ = byte; in parport_ieee1284_read_nibble() 207 byte = nibble; in parport_ieee1284_read_nibble() 243 unsigned char byte; in parport_ieee1284_read_byte() 271 *buf++ = byte; in parport_ieee1284_read_byte() 415 unsigned char byte; in parport_ieee1284_ecp_write_data() 417 byte = *buf; in parport_ieee1284_ecp_write_data() 503 unsigned char byte; in parport_ieee1284_ecp_read_data() 606 *buf = byte; in parport_ieee1284_ecp_read_data() [all …]
|
| /drivers/mtd/maps/ |
| A D | ck804xrom.c | 85 u8 byte; in ck804xrom_cleanup() local 89 pci_read_config_byte(window->pdev, 0x6d, &byte); in ck804xrom_cleanup() 120 u8 byte; in ck804xrom_init_one() local 138 pci_read_config_byte(pdev, 0x88, &byte); in ck804xrom_init_one() 142 pci_read_config_byte(pdev, 0x88, &byte); in ck804xrom_init_one() 144 if ((byte & ((1<<7)|(1<<6))) == ((1<<7)|(1<<6))) in ck804xrom_init_one() 146 else if ((byte & (1<<7)) == (1<<7)) in ck804xrom_init_one() 153 pci_read_config_byte(pdev, 0x88, &byte); in ck804xrom_init_one() 156 pci_read_config_byte(pdev, 0x8c, &byte); in ck804xrom_init_one() 188 pci_read_config_byte(pdev, 0x6d, &byte); in ck804xrom_init_one() [all …]
|
| A D | ichxrom.c | 97 u8 byte; in ichxrom_init_one() local 115 if (byte == 0xff) { in ichxrom_init_one() 118 if ((byte & 0x0f) == 0x0f) { in ichxrom_init_one() 121 else if ((byte & 0x0e) == 0x0e) { in ichxrom_init_one() 131 else if ((byte & 0xfe) == 0xfe) { in ichxrom_init_one() 134 else if ((byte & 0xfc) == 0xfc) { in ichxrom_init_one() 137 else if ((byte & 0xf8) == 0xf8) { in ichxrom_init_one() 140 else if ((byte & 0xf0) == 0xf0) { in ichxrom_init_one() 143 else if ((byte & 0xe0) == 0xe0) { in ichxrom_init_one() 146 else if ((byte & 0xc0) == 0xc0) { in ichxrom_init_one() [all …]
|
| A D | amd76xrom.c | 72 u8 byte; in amd76xrom_cleanup() local 76 pci_read_config_byte(window->pdev, 0x40, &byte); in amd76xrom_cleanup() 77 pci_write_config_byte(window->pdev, 0x40, byte & ~1); in amd76xrom_cleanup() 108 u8 byte; in amd76xrom_init_one() local 123 pci_read_config_byte(pdev, 0x43, &byte); in amd76xrom_init_one() 124 pci_write_config_byte(pdev, 0x43, byte | win_size_bits ); in amd76xrom_init_one() 127 pci_read_config_byte(pdev, 0x43, &byte); in amd76xrom_init_one() 128 if ((byte & ((1<<7)|(1<<6))) == ((1<<7)|(1<<6))) { in amd76xrom_init_one() 131 else if ((byte & (1<<7)) == (1<<7)) { in amd76xrom_init_one() 160 pci_read_config_byte(pdev, 0x40, &byte); in amd76xrom_init_one() [all …]
|
| /drivers/scsi/bfa/ |
| A D | bfa_cs.h | 281 u8 byte[8]; in wwn2str() member 285 sprintf(wwn_str, "%02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x", w.byte[0], in wwn2str() 286 w.byte[1], w.byte[2], w.byte[3], w.byte[4], w.byte[5], in wwn2str() 287 w.byte[6], w.byte[7]); in wwn2str() 295 u8 byte[4]; in fcid2str() member 299 sprintf(fcid_str, "%02x:%02x:%02x", f.byte[1], f.byte[2], f.byte[3]); in fcid2str()
|
| /drivers/input/misc/ |
| A D | cm109.c | 82 u8 byte[4]; member 320 u8 data = dev->irq_data->byte[HID_IR0]; in cm109_report_special() 396 dev->irq_data->byte[0], in cm109_urb_irq_callback() 397 dev->irq_data->byte[1], in cm109_urb_irq_callback() 398 dev->irq_data->byte[2], in cm109_urb_irq_callback() 399 dev->irq_data->byte[3], in cm109_urb_irq_callback() 441 dev->ctl_data->byte[0], in cm109_urb_ctl_callback() 442 dev->ctl_data->byte[1], in cm109_urb_ctl_callback() 443 dev->ctl_data->byte[2], in cm109_urb_ctl_callback() 444 dev->ctl_data->byte[3]); in cm109_urb_ctl_callback() [all …]
|
| /drivers/iio/chemical/ |
| A D | sps30_serial.c | 77 u8 byte; member 86 static int sps30_serial_put_byte(u8 *buf, u8 byte) in sps30_serial_put_byte() argument 91 if (sps30_serial_bytes[i].byte != byte) in sps30_serial_put_byte() 100 buf[0] = byte; in sps30_serial_put_byte() 116 return sps30_serial_bytes[i].byte; in sps30_serial_get_byte() 220 u8 byte; in sps30_serial_receive_buf() local 240 byte = buf[i]; in sps30_serial_receive_buf() 242 if (byte == SPS30_SERIAL_ESCAPE_CHAR) { in sps30_serial_receive_buf() 247 byte = sps30_serial_get_byte(priv->escaped, byte); in sps30_serial_receive_buf() 248 if (priv->escaped && !byte) in sps30_serial_receive_buf() [all …]
|
| /drivers/gpu/drm/radeon/ |
| A D | radeon_dp_auxch.c | 64 u8 byte; in radeon_dp_aux_transfer_native() local 120 byte = (msg->request << 4) | ((msg->address >> 16) & 0xf); in radeon_dp_aux_transfer_native() 122 AUX_SW_DATA_MASK(byte) | AUX_SW_AUTOINCREMENT_DISABLE); in radeon_dp_aux_transfer_native() 124 byte = (msg->address >> 8) & 0xff; in radeon_dp_aux_transfer_native() 126 AUX_SW_DATA_MASK(byte)); in radeon_dp_aux_transfer_native() 128 byte = msg->address & 0xff; in radeon_dp_aux_transfer_native() 130 AUX_SW_DATA_MASK(byte)); in radeon_dp_aux_transfer_native() 132 byte = msize; in radeon_dp_aux_transfer_native() 134 AUX_SW_DATA_MASK(byte)); in radeon_dp_aux_transfer_native()
|
| /drivers/spi/ |
| A D | spi-butterfly.c | 70 u8 bit, byte = pp->lastbyte; in setsck() local 75 byte |= bit; in setsck() 77 byte &= ~bit; in setsck() 78 parport_write_data(pp->port, byte); in setsck() 79 pp->lastbyte = byte; in setsck() 86 u8 bit, byte = pp->lastbyte; in setmosi() local 91 byte |= bit; in setmosi() 93 byte &= ~bit; in setmosi() 94 parport_write_data(pp->port, byte); in setmosi() 95 pp->lastbyte = byte; in setmosi()
|
| /drivers/media/usb/cx231xx/ |
| A D | cx231xx-i2c.c | 365 int addr, rc, i, byte; in cx231xx_i2c_xfer() local 388 for (byte = 0; byte < msgs[i].len; byte++) in cx231xx_i2c_xfer() 389 printk(KERN_CONT " %02x", msgs[i].buf[byte]); in cx231xx_i2c_xfer() 396 for (byte = 0; byte < msgs[i].len; byte++) in cx231xx_i2c_xfer() 397 printk(KERN_CONT " %02x", msgs[i].buf[byte]); in cx231xx_i2c_xfer() 408 for (byte = 0; byte < msgs[i+1].len; byte++) in cx231xx_i2c_xfer() 409 printk(KERN_CONT " %02x", msgs[i+1].buf[byte]); in cx231xx_i2c_xfer() 415 for (byte = 0; byte < msgs[i].len; byte++) in cx231xx_i2c_xfer() 416 printk(KERN_CONT " %02x", msgs[i].buf[byte]); in cx231xx_i2c_xfer()
|
| /drivers/mtd/nand/raw/ |
| A D | nandsim.c | 587 ns->pages[i].byte = NULL; in ns_alloc_device() 621 if (ns->pages[i].byte) in ns_free_device() 623 ns->pages[i].byte); in ns_free_device() 767 if (!ns->buf.byte) { in ns_init() 796 kfree(ns->buf.byte); in ns_free() 1140 uint byte = (uint)bt; in ns_accept_addr_byte() local 1452 if (mypage->byte == NULL) { in ns_read_page() 1487 mypage->byte = NULL; in ns_erase_sector() 1975 (uint)byte, in ns_nand_write_byte() 1983 ns->regs.command = byte; in ns_nand_write_byte() [all …]
|
| /drivers/scsi/qedi/ |
| A D | qedi_nvm_iscsi_cfg.h | 21 u8 byte[NVM_ISCSI_CFG_DHCP_NAME_MAX_LEN]; member 27 u8 byte[NVM_ISCSI_IPV4_ADDR_BYTE_LEN]; member 33 u8 byte[NVM_ISCSI_IPV6_ADDR_BYTE_LEN]; member 77 u8 byte[NVM_ISCSI_CFG_ISCSI_NAME_MAX_LEN]; member 83 u8 byte[NVM_ISCSI_CFG_CHAP_NAME_MAX_LEN]; member 91 u8 byte[NVM_ISCSI_CFG_CHAP_PWD_MAX_LEN]; member 95 u8 byte[8]; member
|
| /drivers/pci/ |
| A D | syscall.c | 19 u8 byte; in SYSCALL_DEFINE5() local 36 cfg_ret = pci_user_read_config_byte(dev, off, &byte); in SYSCALL_DEFINE5() 55 err = put_user(byte, (u8 __user *)buf); in SYSCALL_DEFINE5() 90 u8 byte; in SYSCALL_DEFINE5() local 105 err = get_user(byte, (u8 __user *)buf); in SYSCALL_DEFINE5() 108 err = pci_user_write_config_byte(dev, off, byte); in SYSCALL_DEFINE5()
|
| /drivers/i2c/ |
| A D | i2c-stub.c | 47 module_param_array(bank_reg, byte, NULL, S_IRUGO); 51 module_param_array(bank_mask, byte, NULL, S_IRUGO); 55 module_param_array(bank_start, byte, NULL, S_IRUGO); 59 module_param_array(bank_end, byte, NULL, S_IRUGO); 157 data->byte = *wordp & 0xff; in stub_xfer() 160 addr, data->byte); in stub_xfer() 170 *wordp |= data->byte; in stub_xfer() 173 addr, data->byte, command); in stub_xfer() 178 (data->byte >> chip->bank_shift) in stub_xfer() 185 data->byte = *wordp & 0xff; in stub_xfer() [all …]
|