/linux-master/drivers/power/supply/ |
H A D | da9150-fg.c | 88 static u32 da9150_fg_read_attr(struct da9150_fg *fg, u8 code, u8 size) argument 96 /* Set QIF code (READ mode) */ 97 read_addr = (code & DA9150_QIF_CODE_MASK) | DA9150_QIF_READ; 106 static void da9150_fg_write_attr(struct da9150_fg *fg, u8 code, u8 size, argument 114 /* Set QIF code (WRITE mode) */ 115 write_addr = (code & DA9150_QIF_CODE_MASK) | DA9150_QIF_WRITE; 163 static u32 da9150_fg_read_attr_sync(struct da9150_fg *fg, u8 code, u8 size) argument 168 val = da9150_fg_read_attr(fg, code, size); 175 static void da9150_fg_write_attr_sync(struct da9150_fg *fg, u8 code, u8 size, argument 201 /* Write value for QIF code */ [all...] |
/linux-master/drivers/gpu/ipu-v3/ |
H A D | ipu-vdi.c | 120 void ipu_vdi_setup(struct ipu_vdi *vdi, u32 code, int xres, int yres) argument 134 if (code == MEDIA_BUS_FMT_UYVY8_2X8 || 135 code == MEDIA_BUS_FMT_UYVY8_1X16 || 136 code == MEDIA_BUS_FMT_YUYV8_2X8 || 137 code == MEDIA_BUS_FMT_YUYV8_1X16)
|
/linux-master/arch/mips/kernel/ |
H A D | ftrace.c | 255 unsigned int code; local 270 /* get the code at "ip": code = *(unsigned int *)ip; */ 271 safe_load_code(code, ip, faulted); 280 if ((code & S_R_SP) != S_R_SP) 285 } while ((code & S_RA_SP) != S_RA_SP); 287 sp = fp + (code & OFFSET_MASK);
|
/linux-master/drivers/net/fjes/ |
H A D | fjes_hw.h | 141 __le32 code; member in struct:fjes_device_command_res::__anon1409 149 __le32 code; member in struct:fjes_device_command_res::__anon1411 153 __le32 code; member in struct:fjes_device_command_res::__anon1412 157 __le32 code; member in struct:fjes_device_command_res::__anon1413 161 __le32 code; member in struct:fjes_device_command_res::__anon1414 183 /* error code for command control */
|
/linux-master/net/bridge/netfilter/ |
H A D | nft_reject_bridge.c | 64 int hook, u8 code) 68 nskb = nf_reject_skb_v4_unreach(net, oldskb, NULL, hook, code); 97 int hook, u8 code) 101 nskb = nf_reject_skb_v6_unreach(net, oldskb, NULL, hook, code); 169 regs->verdict.code = NF_DROP; 61 nft_reject_br_send_v4_unreach(struct net *net, struct sk_buff *oldskb, const struct net_device *dev, int hook, u8 code) argument 94 nft_reject_br_send_v6_unreach(struct net *net, struct sk_buff *oldskb, const struct net_device *dev, int hook, u8 code) argument
|
H A D | ebt_ip6.c | 11 * This is just a modification of the IPv4 code written by 33 u8 code; member in struct:pkthdr::__anon722 99 pptr->icmphdr.code < info->icmpv6_code[0] || 100 pptr->icmphdr.code > info->icmpv6_code[1]))
|
/linux-master/sound/usb/line6/ |
H A D | midibuf.c | 13 static int midibuf_message_length(unsigned char code) argument 17 if (code < 0x80) 19 else if (code < 0xf0) { 22 message_length = length[(code >> 4) - 8]; 27 message_length = length[code & 0x0f];
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | gm20b.c | 91 const u64 code = (base + lsfw->app_resident_code_offset) >> 8; local 95 .code_dma_base = lower_32_bits(code), 101 .overlay_dma_base = lower_32_bits(code), 104 .code_dma_base1 = upper_32_bits(code), 106 .overlay_dma_base1 = upper_32_bits(code),
|
/linux-master/lib/zlib_deflate/ |
H A D | defutil.h | 15 /* number of length codes, not counting the special END_BLOCK code */ 21 /* number of Literal or Length codes, including the END_BLOCK code */ 41 /* Data structure describing a single value and its code string. */ 45 ush code; /* bit string */ member in union:ct_data_s::__anon25 54 #define Code fc.code 62 int max_code; /* largest code with non zero frequency */ 207 * example a binary file with poorly compressible code followed by 217 /* Buffer for distances. To simplify the code, d_buf and l_buf have 226 int last_eob_len; /* bit length of EOB code for last block */ 269 /* In order to simplify the code, particularl 298 bi_reverse( unsigned code, int len ) argument [all...] |
/linux-master/arch/um/kernel/ |
H A D | trap.c | 110 * However, the generic code can mark a PTE writable but clean on a 234 * This code is used in __do_copy_from_user() of TT mode. 278 int code, err; local 291 code = si->si_code; 293 if ((err == 0) && (siginfo_layout(sig, code) == SIL_FAULT)) { 296 force_sig_fault(sig, code, (void __user *)FAULT_ADDRESS(*fi)); 299 sig, code, err);
|
/linux-master/drivers/net/ethernet/realtek/ |
H A D | r8169_firmware.c | 40 #define FW_OPCODE_SIZE sizeof_field(struct rtl_fw_phy_action, code[0]) 73 pa->code = (__le32 *)(fw->data + start); 81 pa->code = (__le32 *)fw->data; 94 u32 action = le32_to_cpu(pa->code[index]); 149 u32 action = le32_to_cpu(pa->code[index]);
|
/linux-master/sound/virtio/ |
H A D | virtio_ctl_msg.c | 140 response->code = cpu_to_le32(VIRTIO_SND_S_IO_ERR); 162 le32_to_cpu(request->code)); 184 le32_to_cpu(request->code)); 191 switch (le32_to_cpu(response->code)) { 252 * @command: Control request code (VIRTIO_SND_R_XXX_INFO). 274 query->hdr.code = cpu_to_le32(command);
|
/linux-master/drivers/media/platform/samsung/exynos4-is/ |
H A D | mipi-csis.c | 232 * @code: corresponding media bus code 238 u32 code; member in struct:csis_pix_format 245 .code = MEDIA_BUS_FMT_VYUY8_2X8, 249 .code = MEDIA_BUS_FMT_JPEG_1X8, 253 .code = MEDIA_BUS_FMT_S5C_UYVY_JPEG_1X8, 257 .code = MEDIA_BUS_FMT_SGRBG8_1X8, 261 .code = MEDIA_BUS_FMT_SGRBG10_1X10, 265 .code = MEDIA_BUS_FMT_SGRBG12_1X12, 285 if (mf->code 539 s5pcsis_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/linux-master/drivers/input/ |
H A D | input-leds.c | 47 unsigned int code; /* One of LED_* constants */ member in struct:input_led 61 return test_bit(led->code, input->led) ? cdev->max_brightness : 0; 69 input_inject_event(led->handle, EV_LED, led->code, !!brightness); 73 unsigned int code, int value) 130 led->code = led_code; 72 input_leds_event(struct input_handle *handle, unsigned int type, unsigned int code, int value) argument
|
H A D | matrix-keymap.c | 29 unsigned short code = KEY_VAL(key); local 38 keymap[MATRIX_SCAN_CODE(row, col, row_shift)] = code; 39 __set_bit(code, input_dev->keybit); 125 * @keymap_data: keymap supplied by the platform code
|
/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_subdev.h | 39 u32 code; member in struct:atomisp_in_fmt_conv 313 u32 atomisp_subdev_uncompressed_code(u32 code); 314 bool atomisp_subdev_is_compressed(u32 code); 315 const struct atomisp_in_fmt_conv *atomisp_find_in_fmt_conv(u32 code); 326 const struct atomisp_in_fmt_conv *atomisp_find_in_fmt_conv_compressed(u32 code);
|
/linux-master/drivers/media/platform/renesas/ |
H A D | rcar-csi2.c | 242 u16 code; member in struct:phtw_value 514 u32 code; member in struct:rcar_csi2_format 521 .code = MEDIA_BUS_FMT_RGB888_1X24, 525 .code = MEDIA_BUS_FMT_UYVY8_1X16, 529 .code = MEDIA_BUS_FMT_YUYV8_1X16, 533 .code = MEDIA_BUS_FMT_UYVY8_2X8, 537 .code = MEDIA_BUS_FMT_YUYV10_2X10, 541 .code = MEDIA_BUS_FMT_Y10_1X10, 545 .code = MEDIA_BUS_FMT_SBGGR8_1X8, 549 .code 567 rcsi2_code_to_fmt(unsigned int code) argument 1428 rcsi2_phtw_write(struct rcar_csi2 *priv, u16 data, u16 code) argument 1464 rcsi2_phtw_write_mbps(struct rcar_csi2 *priv, unsigned int mbps, const struct rcsi2_mbps_reg *values, u16 code) argument [all...] |
/linux-master/drivers/media/platform/qcom/camss/ |
H A D | camss-ispif.c | 319 * Return 0 on success or a negative error code otherwise 357 * Return 0 on success or a negative error code otherwise 525 * Return 0 on success or a negative error code otherwise 717 * @code: media bus format code 723 static void ispif_config_pack(struct ispif_device *ispif, u32 code, argument 728 if (code != MEDIA_BUS_FMT_SBGGR10_2X8_PADHI_LE && 729 code != MEDIA_BUS_FMT_Y10_2X8_PADHI_LE) 800 * Return 0 on success or a negative error code otherwise 835 line->fmt[MSM_ISPIF_PAD_SINK].code, 942 ispif_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/linux-master/drivers/media/i2c/ |
H A D | rj54n1cb0c.c | 114 u32 code; member in struct:rj54n1_datafmt 118 /* Find a data format by a pixel code in an array */ 120 u32 code, const struct rj54n1_datafmt *fmt, 125 if (fmt[i].code == code) 492 struct v4l2_subdev_mbus_code_enum *code) 494 if (code->pad || code->index >= ARRAY_SIZE(rj54n1_colour_fmts)) 497 code->code 119 rj54n1_find_datafmt( u32 code, const struct rj54n1_datafmt *fmt, int n) argument 490 rj54n1_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *sd_state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/linux-master/drivers/input/misc/ |
H A D | uinput.c | 42 unsigned int code; /* UI_FF_UPLOAD, UI_FF_ERASE */ member in struct:uinput_request 73 unsigned int type, unsigned int code, int value) 84 .code = code, 166 uinput_dev_event(udev->dev, EV_UINPUT, request->code, request->id); 253 request.code = UI_FF_UPLOAD; 268 request.code = UI_FF_ERASE; 398 static int uinput_validate_absinfo(struct input_dev *dev, unsigned int code, argument 409 UINPUT_NAME, code, min, max); 416 UINPUT_NAME, code, ab 72 uinput_dev_event(struct input_dev *dev, unsigned int type, unsigned int code, int value) argument [all...] |
/linux-master/drivers/media/platform/ti/cal/ |
H A D | cal-camerarx.c | 62 fmtinfo = cal_format_by_code(fmt->code); 622 struct v4l2_subdev_mbus_code_enum *code) 625 if (cal_rx_pad_is_source(code->pad)) { 628 if (code->index > 0) 633 code->code = fmt->code; 635 if (code->index >= cal_num_formats) 638 code->code 620 cal_camerarx_sd_enum_mbus_code(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, struct v4l2_subdev_mbus_code_enum *code) argument [all...] |
/linux-master/drivers/s390/cio/ |
H A D | chsc_sch.c | 403 if (chsc_area->header.code & 0x4000) { 455 scpcd_area->request.code = 0x0028; 467 if (scpcd_area->response.code != 0x0001) { 469 CHSC_MSG(0, "scpcd: response code=%x\n", 470 scpcd_area->response.code); 517 scucd_area->request.code = 0x0026; 529 if (scucd_area->response.code != 0x0001) { 531 CHSC_MSG(0, "scucd: response code=%x\n", 532 scucd_area->response.code); 580 sscud_area->request.code [all...] |
/linux-master/lib/zlib_inflate/ |
H A D | inftrees.c | 12 Build a set of tables to decode the provided canonical Huffman code. 13 The code lengths are lens[0..codes-1]. The result starts at *table, 15 lens shorts, which is used as a work area. type is the type of code 17 -1 is an invalid code, and +1 means that ENOUGH isn't enough. table 21 longest code or if it is less than the shortest code. 24 code **table, unsigned *bits, unsigned short *work) 26 unsigned len; /* a code's length in bits */ 27 unsigned sym; /* index of code symbols */ 28 unsigned min, max; /* minimum and maximum code length [all...] |
/linux-master/drivers/watchdog/ |
H A D | sbc8360.c | 289 static int sbc8360_notify_sys(struct notifier_block *this, unsigned long code, argument 292 if (code == SYS_DOWN || code == SYS_HALT)
|
H A D | indydog.c | 142 unsigned long code, void *unused) 144 if (code == SYS_DOWN || code == SYS_HALT) 141 indydog_notify_sys(struct notifier_block *this, unsigned long code, void *unused) argument
|